コード例 #1
0
 /// <summary>
 /// Returns a JSON Array with all operations of specified block Operations are returned in DESCENDING order
 /// </summary>
 /// <param name="block">Block number</param>
 /// <param name="start">Integer (optional, default = 0). If provided, will start at this position (index starts at position 0)</param>
 /// <param name="max">Integer (optional, default = 100). If provided, will return max registers. If not provided, max=100 by default</param>
 /// <returns>Returns a JSON Array with "Operation Object" items</returns>
 public static Task <Operation[]> GetBlockOperationsAsync(this IPascalCoinClient client, uint block, int?start = null, int?max = null)
 {
     return(Task.Run(() => client.GetBlockOperations(block, start, max)));
 }