Beispiel #1
0
 /// <summary>
 /// API name: get_fill_order_history
 ///
 /// </summary>
 /// <param name="a">API type: asset_id_type</param>
 /// <param name="b">API type: asset_id_type</param>
 /// <param name="limit">API type: uint32_t</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: order_history_object</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <OrderHistoryObject[]> > GetFillOrderHistory(AssetIdType a, AssetIdType b, uint limit, CancellationToken token)
 {
     return(CustomGetRequest <OrderHistoryObject[]>(KnownApiNames.HistoryApi, "get_fill_order_history", new object[] { a, b, limit }, token));
 }
Beispiel #2
0
 /// <summary>
 /// API name: get_market_history
 ///
 /// </summary>
 /// <param name="a">API type: asset_id_type</param>
 /// <param name="b">API type: asset_id_type</param>
 /// <param name="bucketSeconds">API type: uint32_t</param>
 /// <param name="start">API type: fc::time_point_sec</param>
 /// <param name="end">API type: fc::time_point_sec</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: bucket_object</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <BucketObject[]> > GetMarketHistory(AssetIdType a, AssetIdType b, uint bucketSeconds, TimePointSec start, TimePointSec end, CancellationToken token)
 {
     return(CustomGetRequest <BucketObject[]>(KnownApiNames.HistoryApi, "get_market_history", new object[] { a, b, bucketSeconds, start, end }, token));
 }