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

#include <user_information_api.hpp>

Public Member Functions

 UserInformationApi (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< CheckVIPLoanCollateralAccountResponse > check_vip_loan_collateral_account (const CheckVIPLoanCollateralAccountParams &params={}) const
 Check VIP Loan Collateral Account (USER_DATA).
template<class CompletionToken>
auto async_check_vip_loan_collateral_account (const CheckVIPLoanCollateralAccountParams &params, CompletionToken &&token) const
 Asynchronous check_vip_loan_collateral_account().
common::RestApiResponse< GetVIPLoanAccruedInterestResponse > get_vip_loan_accrued_interest (const GetVIPLoanAccruedInterestParams &params={}) const
 Get VIP Loan Accrued Interest (USER_DATA).
template<class CompletionToken>
auto async_get_vip_loan_accrued_interest (const GetVIPLoanAccruedInterestParams &params, CompletionToken &&token) const
 Asynchronous get_vip_loan_accrued_interest().
common::RestApiResponse< GetVIPLoanOngoingOrdersResponse > get_vip_loan_ongoing_orders (const GetVIPLoanOngoingOrdersParams &params={}) const
 Get VIP Loan Ongoing Orders (USER_DATA).
template<class CompletionToken>
auto async_get_vip_loan_ongoing_orders (const GetVIPLoanOngoingOrdersParams &params, CompletionToken &&token) const
 Asynchronous get_vip_loan_ongoing_orders().
common::RestApiResponse< GetVIPLoanRepaymentHistoryResponse > get_vip_loan_repayment_history (const GetVIPLoanRepaymentHistoryParams &params={}) const
 Get VIP Loan Repayment History (USER_DATA).
template<class CompletionToken>
auto async_get_vip_loan_repayment_history (const GetVIPLoanRepaymentHistoryParams &params, CompletionToken &&token) const
 Asynchronous get_vip_loan_repayment_history().
common::RestApiResponse< QueryApplicationStatusResponse > query_application_status (const QueryApplicationStatusParams &params={}) const
 Query Application Status (USER_DATA).
template<class CompletionToken>
auto async_query_application_status (const QueryApplicationStatusParams &params, CompletionToken &&token) const
 Asynchronous query_application_status().

Constructor & Destructor Documentation

◆ UserInformationApi()

binance::vip_loan::rest_api::UserInformationApi::UserInformationApi ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ check_vip_loan_collateral_account()

common::RestApiResponse< CheckVIPLoanCollateralAccountResponse > binance::vip_loan::rest_api::UserInformationApi::check_vip_loan_collateral_account ( const CheckVIPLoanCollateralAccountParams & params = {}) const
nodiscard

Check VIP Loan Collateral Account (USER_DATA).

GET /sapi/v1/loan/vip/collateral/account.

VIP loan is available for VIP users only

Weight(IP): 6000

Security Type: USER_DATA

Notes:

  • If the logged-in account is a borrowing account, all collateral accounts bound to that borrowing account can be queried.
  • If the logged-in account is a collateral account, only collateral assets under that account can be queried.

See https://developers.binance.com/en/docs/catalog/investment-and-services-vip-loan/api/rest-api/user-information#check-viploan-collateral-account

◆ async_check_vip_loan_collateral_account()

template<class CompletionToken>
auto binance::vip_loan::rest_api::UserInformationApi::async_check_vip_loan_collateral_account ( const CheckVIPLoanCollateralAccountParams & params,
CompletionToken && token ) const
inline

◆ get_vip_loan_accrued_interest()

common::RestApiResponse< GetVIPLoanAccruedInterestResponse > binance::vip_loan::rest_api::UserInformationApi::get_vip_loan_accrued_interest ( const GetVIPLoanAccruedInterestParams & params = {}) const
nodiscard

Get VIP Loan Accrued Interest (USER_DATA).

GET /sapi/v1/loan/vip/accruedInterest.

Check VIP Loan interest record

Weight(IP): 400

Security Type: USER_DATA

Notes:

  • If startTime and endTime are not sent, recent 90-day data is returned.
  • The maximum interval between startTime and endTime is 90 days.
  • Rate limit: 1 request per second per account.

See https://developers.binance.com/en/docs/catalog/investment-and-services-vip-loan/api/rest-api/user-information#get-viploan-accrued-interest

◆ async_get_vip_loan_accrued_interest()

template<class CompletionToken>
auto binance::vip_loan::rest_api::UserInformationApi::async_get_vip_loan_accrued_interest ( const GetVIPLoanAccruedInterestParams & params,
CompletionToken && token ) const
inline

Asynchronous get_vip_loan_accrued_interest().

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

◆ get_vip_loan_ongoing_orders()

common::RestApiResponse< GetVIPLoanOngoingOrdersResponse > binance::vip_loan::rest_api::UserInformationApi::get_vip_loan_ongoing_orders ( const GetVIPLoanOngoingOrdersParams & params = {}) const
nodiscard

Get VIP Loan Ongoing Orders (USER_DATA).

GET /sapi/v1/loan/vip/ongoing/orders.

VIP loan is available for VIP users only.

Weight(IP): 400

Security Type: USER_DATA

Notes:

  • Rate limit: 1 request per second per account.

See https://developers.binance.com/en/docs/catalog/investment-and-services-vip-loan/api/rest-api/user-information#get-viploan-ongoing-orders

◆ async_get_vip_loan_ongoing_orders()

template<class CompletionToken>
auto binance::vip_loan::rest_api::UserInformationApi::async_get_vip_loan_ongoing_orders ( const GetVIPLoanOngoingOrdersParams & params,
CompletionToken && token ) const
inline

Asynchronous get_vip_loan_ongoing_orders().

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

◆ get_vip_loan_repayment_history()

common::RestApiResponse< GetVIPLoanRepaymentHistoryResponse > binance::vip_loan::rest_api::UserInformationApi::get_vip_loan_repayment_history ( const GetVIPLoanRepaymentHistoryParams & params = {}) const
nodiscard

Get VIP Loan Repayment History (USER_DATA).

GET /sapi/v1/loan/vip/repay/history.

VIP Loans are available only to VIP users.

Weight(IP): 400

Security Type: USER_DATA

Notes:

  • If startTime and endTime are not sent, recent 90-day data is returned.
  • The maximum interval between startTime and endTime is 180 days.
  • Rate limit: 1 request per second per account, shared with repayment history queries on the Binance website.

See https://developers.binance.com/en/docs/catalog/investment-and-services-vip-loan/api/rest-api/user-information#get-viploan-repayment-history

◆ async_get_vip_loan_repayment_history()

template<class CompletionToken>
auto binance::vip_loan::rest_api::UserInformationApi::async_get_vip_loan_repayment_history ( const GetVIPLoanRepaymentHistoryParams & params,
CompletionToken && token ) const
inline

Asynchronous get_vip_loan_repayment_history().

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

◆ query_application_status()

common::RestApiResponse< QueryApplicationStatusResponse > binance::vip_loan::rest_api::UserInformationApi::query_application_status ( const QueryApplicationStatusParams & params = {}) const
nodiscard

Query Application Status (USER_DATA).

GET /sapi/v1/loan/vip/request/data.

Query Application Status

Weight(UID): 400

Security Type: USER_DATA

Notes:

  • Rate limit: 1 request per second per account.

See https://developers.binance.com/en/docs/catalog/investment-and-services-vip-loan/api/rest-api/user-information#query-application-status

◆ async_query_application_status()

template<class CompletionToken>
auto binance::vip_loan::rest_api::UserInformationApi::async_query_application_status ( const QueryApplicationStatusParams & params,
CompletionToken && token ) const
inline

Asynchronous query_application_status().

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