using CryptoExchange.Net.Objects; using System.Threading; using System.Threading.Tasks; namespace CryptoExchange.Net.SharedApis { /// /// Client for requesting spot tickers /// public interface ISpotTickerRestClient : ISharedClient { /// /// Spot ticker request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object. ///
GetTickerOptions GetSpotTickerOptions { get; } /// /// Get ticker for a specific spot symbol, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task> GetSpotTickerAsync(GetTickerRequest request, CancellationToken ct = default); /// /// Spot tickers request options.
/// Use and to check for required and optional parameters for the request.
/// Exchange specific parameters can be added to the request via the `ExchangeParameters` property of the request object. ///
GetAllTickersOptions GetSpotTickersOptions { get; } /// /// Get tickers for all spot symbols, see for request options and exchange specific required/optional parameters.
///
/// Request info /// Cancellation token Task> GetSpotTickersAsync(GetTickersRequest request, CancellationToken ct = default); } }