VentzCoin.GetRecordsMinute
Skip to content
mnscript
VentzCoinRecord[] VentzCoin.GetRecordsMinute() 

Description ​

Gets the VentzCoin history for the past minute.

Returns ​

VentzCoinRecord[] - 60 records for each second of the past minute of VentzCoin

Example ​

msc
using Console;
using VentzCoin;
using Util;
using Array;

// Prints the value of VentzCoin for each second of the past minute.

VentzCoinRecord[] records = VentzCoin.GetRecordsMinute();
number numRecords = Array.Length(records);
number recordIndex = 1;

while(recordIndex <= numRecords){
    VentzCoinRecord record = records[recordIndex];
    
    Console.WriteLine("Record "..recordIndex..": "..record.GetValue());
    recordIndex = recordIndex + 1;
}