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

#include <travel_rule_api.hpp>

Public Member Functions

 TravelRuleApi (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< BrokerWithdrawResponse > broker_withdraw (const BrokerWithdrawParams &params) const
 Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA).
template<class CompletionToken>
auto async_broker_withdraw (const BrokerWithdrawParams &params, CompletionToken &&token) const
 Asynchronous broker_withdraw().
common::RestApiResponse< CheckQuestionnaireRequirementsResponse > check_questionnaire_requirements (const CheckQuestionnaireRequirementsParams &params={}) const
 Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_check_questionnaire_requirements (const CheckQuestionnaireRequirementsParams &params, CompletionToken &&token) const
 Asynchronous check_questionnaire_requirements().
common::RestApiResponse< std::vector< DepositHistoryTravelRuleResponseInner > > deposit_history_travel_rule (const DepositHistoryTravelRuleParams &params={}) const
 Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_deposit_history_travel_rule (const DepositHistoryTravelRuleParams &params, CompletionToken &&token) const
 Asynchronous deposit_history_travel_rule().
common::RestApiResponse< std::vector< DepositHistoryV2ResponseInner > > deposit_history_v2 (const DepositHistoryV2Params &params={}) const
 Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_deposit_history_v2 (const DepositHistoryV2Params &params, CompletionToken &&token) const
 Asynchronous deposit_history_v2().
common::RestApiResponse< std::vector< FetchAddressVerificationListResponseInner > > fetch_address_verification_list (const FetchAddressVerificationListParams &params={}) const
 Fetch address verification list (USER_DATA).
template<class CompletionToken>
auto async_fetch_address_verification_list (const FetchAddressVerificationListParams &params, CompletionToken &&token) const
 Asynchronous fetch_address_verification_list().
common::RestApiResponse< GetCountryListResponse > get_country_list (const GetCountryListParams &params={}) const
 Get Country List (USER_DATA).
template<class CompletionToken>
auto async_get_country_list (const GetCountryListParams &params, CompletionToken &&token) const
 Asynchronous get_country_list().
common::RestApiResponse< GetRegionListResponse > get_region_list (const GetRegionListParams &params) const
 Get Region List (USER_DATA).
template<class CompletionToken>
auto async_get_region_list (const GetRegionListParams &params, CompletionToken &&token) const
 Asynchronous get_region_list().
common::RestApiResponse< SubmitDepositQuestionnaireResponse > submit_deposit_questionnaire (const SubmitDepositQuestionnaireParams &params) const
 Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_submit_deposit_questionnaire (const SubmitDepositQuestionnaireParams &params, CompletionToken &&token) const
 Asynchronous submit_deposit_questionnaire().
common::RestApiResponse< SubmitDepositQuestionnaireTravelRuleResponse > submit_deposit_questionnaire_travel_rule (const SubmitDepositQuestionnaireTravelRuleParams &params) const
 Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_submit_deposit_questionnaire_travel_rule (const SubmitDepositQuestionnaireTravelRuleParams &params, CompletionToken &&token) const
 Asynchronous submit_deposit_questionnaire_travel_rule().
common::RestApiResponse< SubmitDepositQuestionnaireV2Response > submit_deposit_questionnaire_v2 (const SubmitDepositQuestionnaireV2Params &params) const
 Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_submit_deposit_questionnaire_v2 (const SubmitDepositQuestionnaireV2Params &params, CompletionToken &&token) const
 Asynchronous submit_deposit_questionnaire_v2().
common::RestApiResponse< std::vector< VaspListResponseInner > > vasp_list (const VaspListParams &params={}) const
 VASP list (for local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_vasp_list (const VaspListParams &params, CompletionToken &&token) const
 Asynchronous vasp_list().
common::RestApiResponse< std::vector< WithdrawHistoryV1ResponseInner > > withdraw_history_v1 (const WithdrawHistoryV1Params &params={}) const
 Withdraw History Travel Rule (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_withdraw_history_v1 (const WithdrawHistoryV1Params &params, CompletionToken &&token) const
 Asynchronous withdraw_history_v1().
common::RestApiResponse< std::vector< WithdrawHistoryV1ResponseInner > > withdraw_history_v2 (const WithdrawHistoryV2Params &params={}) const
 Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA).
template<class CompletionToken>
auto async_withdraw_history_v2 (const WithdrawHistoryV2Params &params, CompletionToken &&token) const
 Asynchronous withdraw_history_v2().
common::RestApiResponse< WithdrawTravelRuleResponse > withdraw_travel_rule (const WithdrawTravelRuleParams &params) const
 Withdraw Travel Rule (USER_DATA).
template<class CompletionToken>
auto async_withdraw_travel_rule (const WithdrawTravelRuleParams &params, CompletionToken &&token) const
 Asynchronous withdraw_travel_rule().

Constructor & Destructor Documentation

◆ TravelRuleApi()

binance::wallet::rest_api::TravelRuleApi::TravelRuleApi ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ broker_withdraw()

common::RestApiResponse< BrokerWithdrawResponse > binance::wallet::rest_api::TravelRuleApi::broker_withdraw ( const BrokerWithdrawParams & params) const
nodiscard

Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA).

POST /sapi/v1/localentity/broker/withdraw/apply.

Submit a withdrawal request for brokers of local entities that required travel rule.

Weight(UID): 600

Security Type: USER_DATA

Notes:

  • If network not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.
  • You can get network in networkList of a coin in the response of Get /sapi/v1/capital/config/getall (HMAC SHA256).
  • Questionnaire is different for each local entity, please refer to the Withdraw Questionnaire Contents page.
  • If getting error like Questionnaire format not valid. or Questionnaire must not be blank, please try to verify the format of the questionnaire and use URL-encoded format.

StandardPii

For Natural Person

  • piiType (INTEGER, Mandatory): Fix to 0: Natural Person
  • latinNames (List<PiiName>, Mandatory): In case a person have complicated names or multiple names, this parameter is a list
  • localNames (List<PiiName>, Optional): In case a person have complicated names or multiple names, this parameter is a list
  • nationality (STRING, Optional)
  • residenceCountry (STRING, Mandatory)
  • nationalIdentifier (STRING, Optional)
  • nationalIdentifierType (STRING, Optional)
  • nationalIdentifierIssueCountry (STRING, Optional)
  • dateOfBirth (STRING, Optional): yyyy-mm-dd. Not required but strongly recommended. Providing DOB could greatly reduce false positive rate during risk checking process.
  • placeOfBirth (STRING, Optional)
  • address (STRING, Optional)

For Legal Person

  • piiType (INTEGER, Mandatory): Fix to 1: Legal Person
  • latinName (STRING, Mandatory): It's company name for Legal Person
  • localName (STRING, Optional)
  • registrationCountry (STRING, Mandatory)
  • nationalIdentifier (STRING, Optional)
  • nationalIdentifierType (STRING, Optional)
  • nationalIdentifierIssueCountry (STRING, Optional)
  • registrationDate (STRING, Optional): yyyy-mm-dd. Not required but strongly recommended.
  • address (STRING, Optional)
  • walletAddress (STRING, Optional)
  • walletTag (STRING, Optional)

PiiName

  • firstName (STRING, Mandatory): Mandatory for Natural person
  • middleName (STRING, Optional)
  • lastName (STRING, Optional)

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#broker-withdraw

◆ async_broker_withdraw()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_broker_withdraw ( const BrokerWithdrawParams & params,
CompletionToken && token ) const
inline

Asynchronous broker_withdraw().

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

◆ check_questionnaire_requirements()

common::RestApiResponse< CheckQuestionnaireRequirementsResponse > binance::wallet::rest_api::TravelRuleApi::check_questionnaire_requirements ( const CheckQuestionnaireRequirementsParams & params = {}) const
nodiscard

Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA).

GET /sapi/v1/localentity/questionnaire-requirements.

This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.

Weight(IP): 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#check-questionnaire-requirements

◆ async_check_questionnaire_requirements()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_check_questionnaire_requirements ( const CheckQuestionnaireRequirementsParams & params,
CompletionToken && token ) const
inline

◆ deposit_history_travel_rule()

common::RestApiResponse< std::vector< DepositHistoryTravelRuleResponseInner > > binance::wallet::rest_api::TravelRuleApi::deposit_history_travel_rule ( const DepositHistoryTravelRuleParams & params = {}) const
nodiscard

Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA).

GET /sapi/v1/localentity/deposit/history.

Fetch deposit history for local entities that required travel rule.

Weight(IP): 1

Security Type: USER_DATA

Notes:

  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTime are sent, time between startTime and endTime must be less than 90 days.
  • Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-travel-rule

◆ async_deposit_history_travel_rule()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_deposit_history_travel_rule ( const DepositHistoryTravelRuleParams & params,
CompletionToken && token ) const
inline

Asynchronous deposit_history_travel_rule().

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

◆ deposit_history_v2()

common::RestApiResponse< std::vector< DepositHistoryV2ResponseInner > > binance::wallet::rest_api::TravelRuleApi::deposit_history_v2 ( const DepositHistoryV2Params & params = {}) const
nodiscard

Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA).

GET /sapi/v2/localentity/deposit/history.

Fetch deposit history for local entities that with required travel rule information.

Weight(IP): 1

Security Type: USER_DATA

Notes:

  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTime are sent, time between startTime and endTime must be less than 90 days.
  • Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-v2

◆ async_deposit_history_v2()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_deposit_history_v2 ( const DepositHistoryV2Params & params,
CompletionToken && token ) const
inline

Asynchronous deposit_history_v2().

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

◆ fetch_address_verification_list()

common::RestApiResponse< std::vector< FetchAddressVerificationListResponseInner > > binance::wallet::rest_api::TravelRuleApi::fetch_address_verification_list ( const FetchAddressVerificationListParams & params = {}) const
nodiscard

Fetch address verification list (USER_DATA).

GET /sapi/v1/addressVerify/list.

Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.

Weight(IP): 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#fetch-address-verification-list

◆ async_fetch_address_verification_list()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_fetch_address_verification_list ( const FetchAddressVerificationListParams & params,
CompletionToken && token ) const
inline

Asynchronous fetch_address_verification_list().

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

◆ get_country_list()

common::RestApiResponse< GetCountryListResponse > binance::wallet::rest_api::TravelRuleApi::get_country_list ( const GetCountryListParams & params = {}) const
nodiscard

Get Country List (USER_DATA).

GET /sapi/v1/localentity/country/list.

Query the active country list for travel rule questionnaires. Currently supports AU and BR entities.

Weight(IP): 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-country-list

◆ async_get_country_list()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_get_country_list ( const GetCountryListParams & params,
CompletionToken && token ) const
inline

Asynchronous get_country_list().

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

◆ get_region_list()

common::RestApiResponse< GetRegionListResponse > binance::wallet::rest_api::TravelRuleApi::get_region_list ( const GetRegionListParams & params) const
nodiscard

Get Region List (USER_DATA).

GET /sapi/v1/localentity/region/list.

Query the active region/city list for a given country. Currently, only supports AU entity.

Weight(IP): 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-region-list

◆ async_get_region_list()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_get_region_list ( const GetRegionListParams & params,
CompletionToken && token ) const
inline

Asynchronous get_region_list().

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

◆ submit_deposit_questionnaire()

common::RestApiResponse< SubmitDepositQuestionnaireResponse > binance::wallet::rest_api::TravelRuleApi::submit_deposit_questionnaire ( const SubmitDepositQuestionnaireParams & params) const
nodiscard

Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA).

PUT /sapi/v1/localentity/broker/deposit/provide-info.

Submit questionnaire for brokers of local entities that require travel rule. The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not yet onboarded with GTR.

Weight(UID): 600

Security Type: USER_DATA

Notes:

  • Questionnaire is different for each local entity, please refer to Deposit Questionnaire Content page.
  • If getting error like Questionnaire format not valid. or Questionnaire must not be blank, please try to verify the format of the questionnaire and use URL-encoded format.

StandardPii

For Natural Person

  • piiType (INTEGER, Mandatory): Fix to 0: Natural Person
  • latinNames (List<PiiName>, Mandatory): In case a person have complicated names or multiple names, this parameter is a list
  • localNames (List<PiiName>, Optional): In case a person have complicated names or multiple names, this parameter is a list
  • nationality (STRING, Optional)
  • residenceCountry (STRING, Mandatory)
  • nationalIdentifier (STRING, Optional)
  • nationalIdentifierType (STRING, Optional)
  • nationalIdentifierIssueCountry (STRING, Optional)
  • dateOfBirth (STRING, Optional): yyyy-mm-dd. Not required but strongly recommended. Providing DOB could greatly reduce false positive rate during risk checking process.
  • placeOfBirth (STRING, Optional)
  • address (STRING, Optional)

For Legal Person

  • piiType (INTEGER, Mandatory): Fix to 1: Legal Person
  • latinName (STRING, Mandatory): It's company name for Legal Person
  • localName (STRING, Optional)
  • registrationCountry (STRING, Mandatory)
  • nationalIdentifier (STRING, Optional)
  • nationalIdentifierType (STRING, Optional)
  • nationalIdentifierIssueCountry (STRING, Optional)
  • registrationDate (STRING, Optional): yyyy-mm-dd. Not required but strongly recommended.
  • address (STRING, Optional)
  • walletAddress (STRING, Optional)
  • walletTag (STRING, Optional)

PiiName

  • firstName (STRING, Mandatory): Mandatory for Natural person
  • middleName (STRING, Optional)
  • lastName (STRING, Optional)

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire

◆ async_submit_deposit_questionnaire()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_submit_deposit_questionnaire ( const SubmitDepositQuestionnaireParams & params,
CompletionToken && token ) const
inline

Asynchronous submit_deposit_questionnaire().

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

◆ submit_deposit_questionnaire_travel_rule()

common::RestApiResponse< SubmitDepositQuestionnaireTravelRuleResponse > binance::wallet::rest_api::TravelRuleApi::submit_deposit_questionnaire_travel_rule ( const SubmitDepositQuestionnaireTravelRuleParams & params) const
nodiscard

Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA).

PUT /sapi/v1/localentity/deposit/provide-info.

Submit questionnaire for local entities that require travel rule. The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not yet onboarded with GTR.

Weight(UID): 600

Security Type: USER_DATA

Notes:

  • Questionnaire is different for each local entity, please refer to Deposit Questionnaire Content page.
  • If getting error like Questionnaire format not valid. or Questionnaire must not be blank, please try to verify the format of the questionnaire and use URL-encoded format.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-travel-rule

◆ async_submit_deposit_questionnaire_travel_rule()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_submit_deposit_questionnaire_travel_rule ( const SubmitDepositQuestionnaireTravelRuleParams & params,
CompletionToken && token ) const
inline

◆ submit_deposit_questionnaire_v2()

common::RestApiResponse< SubmitDepositQuestionnaireV2Response > binance::wallet::rest_api::TravelRuleApi::submit_deposit_questionnaire_v2 ( const SubmitDepositQuestionnaireV2Params & params) const
nodiscard

Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA).

PUT /sapi/v2/localentity/deposit/provide-info.

Submit questionnaire for local entities that require travel rule. The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not yet onboarded with GTR.

Weight(UID): 600

Security Type: USER_DATA

Notes:

  • Questionnaire is different for each local entity, please refer to Deposit Questionnaire Content page.
  • If getting error like Questionnaire format not valid. or Questionnaire must not be blank, please try to verify the format of the questionnaire and use URL-encoded format.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-v2

◆ async_submit_deposit_questionnaire_v2()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_submit_deposit_questionnaire_v2 ( const SubmitDepositQuestionnaireV2Params & params,
CompletionToken && token ) const
inline

◆ vasp_list()

common::RestApiResponse< std::vector< VaspListResponseInner > > binance::wallet::rest_api::TravelRuleApi::vasp_list ( const VaspListParams & params = {}) const
nodiscard

VASP list (for local entities that require travel rule) (supporting network) (USER_DATA).

GET /sapi/v1/localentity/vasp.

Fetch the VASP list for local entities.

Weight(IP): 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#vasp-list

◆ async_vasp_list()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_vasp_list ( const VaspListParams & params,
CompletionToken && token ) const
inline

Asynchronous vasp_list().

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

◆ withdraw_history_v1()

common::RestApiResponse< std::vector< WithdrawHistoryV1ResponseInner > > binance::wallet::rest_api::TravelRuleApi::withdraw_history_v1 ( const WithdrawHistoryV1Params & params = {}) const
nodiscard

Withdraw History Travel Rule (supporting network) (USER_DATA).

GET /sapi/v1/localentity/withdraw/history.

Fetch withdraw history for local entities that required travel rule.

Weight(IP): 1

Security Type: USER_DATA

Notes:

  • network may not be in the response for old withdraw.
  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTimeare sent, time between startTimeand endTimemust be less than 90 days.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v1

◆ async_withdraw_history_v1()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_withdraw_history_v1 ( const WithdrawHistoryV1Params & params,
CompletionToken && token ) const
inline

Asynchronous withdraw_history_v1().

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

◆ withdraw_history_v2()

common::RestApiResponse< std::vector< WithdrawHistoryV1ResponseInner > > binance::wallet::rest_api::TravelRuleApi::withdraw_history_v2 ( const WithdrawHistoryV2Params & params = {}) const
nodiscard

Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA).

GET /sapi/v2/localentity/withdraw/history.

Fetch withdraw history for local entities that required travel rule.

Weight(IP): 1

Security Type: USER_DATA

Notes:

  • network may not be in the response for old withdraw.
  • Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.
  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTimeare sent, time between startTimeand endTimemust be less than 90 days.
  • If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
  • If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.
  • Maximum support trId,txId number is 45.
  • WithdrawOrderId only support 1.
  • If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v2

◆ async_withdraw_history_v2()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_withdraw_history_v2 ( const WithdrawHistoryV2Params & params,
CompletionToken && token ) const
inline

Asynchronous withdraw_history_v2().

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

◆ withdraw_travel_rule()

common::RestApiResponse< WithdrawTravelRuleResponse > binance::wallet::rest_api::TravelRuleApi::withdraw_travel_rule ( const WithdrawTravelRuleParams & params) const
nodiscard

Withdraw Travel Rule (USER_DATA).

POST /sapi/v1/localentity/withdraw/apply.

Submit a withdrawal request for local entities that required travel rule.

Weight(UID): 600

Security Type: USER_DATA

Notes:

  • If network not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.
  • You can get network and isDefault in networkList of a coin in the response of Get /sapi/v1/capital/config/getall (HMAC SHA256).
  • Questionnaire is different for each local entity, please refer to the Withdraw Questionnaire Contents page.
  • If getting error like Questionnaire format not valid. or Questionnaire must not be blank, please try to verify the format of the questionnaire and use URL-encoded format.

See https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-travel-rule

◆ async_withdraw_travel_rule()

template<class CompletionToken>
auto binance::wallet::rest_api::TravelRuleApi::async_withdraw_travel_rule ( const WithdrawTravelRuleParams & params,
CompletionToken && token ) const
inline

Asynchronous withdraw_travel_rule().

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