コード例 #1
0
 /// <summary>
 /// Get the latest quote of aggregate market metrics. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.
 /// </summary>
 public Response <AggregateMarketMetrics> GetAggregateMarketMetrics(AggregateMarketMetricsParams request)
 {
     return(GetAggregateMarketMetricsAsync(request, CancellationToken.None).Result);
 }
コード例 #2
0
 /// <summary>
 /// Get the latest quote of aggregate market metrics. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.
 /// </summary>
 public async Task <Response <AggregateMarketMetrics> > GetAggregateMarketMetricsAsync(AggregateMarketMetricsParams request, CancellationToken cancellationToken)
 {
     return(await SendApiRequest <AggregateMarketMetrics>(request, "global-metrics/quotes/latest", cancellationToken));
 }