using CryptoExchange.Net.Objects;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.SharedApis
{
///
/// Client for requesting user balance info
///
public interface IBalanceRestClient : ISharedClient
{
///
/// Balances 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.
///
GetBalancesOptions GetBalancesOptions { get; }
///
/// Get balances for the user, see for request options and exchange specific required/optional parameters.
///
/// Request info
/// Cancellation token
///
Task> GetBalancesAsync(GetBalancesRequest request, CancellationToken ct = default);
}
}