using CryptoExchange.Net.Objects;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.SharedApis
{
///
/// Endpoint definition for retrieving user deposit history on an exchange.
///
public interface IGetDepositHistoryRest : ISharedRest
{
///
/// Deposits 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.
///
GetDepositHistoryOptions GetDepositHistoryOptions { get; }
///
/// Get deposit records, see for request options and exchange specific required/optional parameters.
/// The result is paginated, if there are more results to be retrieved, the property of the result will contain the pagination request to be used for the next request to continue pagination.
///
/// Request info
/// The pagination request from the previous request result property to continue pagination
/// Cancellation token
///
Task> GetDepositHistoryAsync(GetDepositsRequest request, PageRequest? nextPageToken = null, CancellationToken ct = default);
}
}