Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::rebate::rest_api::Api Class Reference

#include <api.hpp>

Public Member Functions

 Api (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< GetSpotRebateHistoryRecordsResponse > get_spot_rebate_history_records (const GetSpotRebateHistoryRecordsParams &params={}) const
 Get Spot Rebate History Records (USER_DATA).
template<class CompletionToken>
auto async_get_spot_rebate_history_records (const GetSpotRebateHistoryRecordsParams &params, CompletionToken &&token) const
 Asynchronous get_spot_rebate_history_records().

Constructor & Destructor Documentation

◆ Api()

binance::rebate::rest_api::Api::Api ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ get_spot_rebate_history_records()

common::RestApiResponse< GetSpotRebateHistoryRecordsResponse > binance::rebate::rest_api::Api::get_spot_rebate_history_records ( const GetSpotRebateHistoryRecordsParams & params = {}) const
nodiscard

Get Spot Rebate History Records (USER_DATA).

GET /sapi/v1/rebate/taxQuery.

Get Spot Rebate History Records

Weight(UID): 12000

Security Type: USER_DATA

Notes:

  • The max interval between startTime and endTime is 30 days.
  • If startTime and endTime are not sent, the recent 7 days' data will be returned.
  • The earliest supported startTime is June 10, 2020.
  • Return up to 200 records per request.

See https://developers.binance.com/en/docs/catalog/investment-and-services-rebate/api/rest-api/~#get-spot-rebate-history-records

◆ async_get_spot_rebate_history_records()

template<class CompletionToken>
auto binance::rebate::rest_api::Api::async_get_spot_rebate_history_records ( const GetSpotRebateHistoryRecordsParams & params,
CompletionToken && token ) const
inline

Asynchronous get_spot_rebate_history_records().

Completes with void(std::exception_ptr, common::RestApiResponse<GetSpotRebateHistoryRecordsResponse>).