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

#include <tokenized_api.hpp>

Public Member Functions

 TokenizedApi (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< BstocksCorporateActionRecordsResponse > bstocks_corporate_action_records (const BstocksCorporateActionRecordsParams &params) const
 Bstocks Corporate Action Records (USER_DATA).
template<class CompletionToken>
auto async_bstocks_corporate_action_records (const BstocksCorporateActionRecordsParams &params, CompletionToken &&token) const
 Asynchronous bstocks_corporate_action_records().
common::RestApiResponse< CorporateActionRecordsResponse > corporate_action_records (const CorporateActionRecordsParams &params) const
 Corporate Action Records (USER_DATA).
template<class CompletionToken>
auto async_corporate_action_records (const CorporateActionRecordsParams &params, CompletionToken &&token) const
 Asynchronous corporate_action_records().
common::RestApiResponse< TokenizedConvertHistoryResponse > tokenized_convert_history (const TokenizedConvertHistoryParams &params={}) const
 Tokenized Convert History (USER_DATA).
template<class CompletionToken>
auto async_tokenized_convert_history (const TokenizedConvertHistoryParams &params, CompletionToken &&token) const
 Asynchronous tokenized_convert_history().
common::RestApiResponse< TokenizedConvertStatusResponse > tokenized_convert_status (const TokenizedConvertStatusParams &params) const
 Tokenized Convert Status (USER_DATA).
template<class CompletionToken>
auto async_tokenized_convert_status (const TokenizedConvertStatusParams &params, CompletionToken &&token) const
 Asynchronous tokenized_convert_status().
common::RestApiResponse< TokenizedMintResponse > tokenized_mint (const TokenizedMintParams &params) const
 Tokenized Mint (TRADE).
template<class CompletionToken>
auto async_tokenized_mint (const TokenizedMintParams &params, CompletionToken &&token) const
 Asynchronous tokenized_mint().
common::RestApiResponse< TokenizedRedeemResponse > tokenized_redeem (const TokenizedRedeemParams &params) const
 Tokenized Redeem (TRADE).
template<class CompletionToken>
auto async_tokenized_redeem (const TokenizedRedeemParams &params, CompletionToken &&token) const
 Asynchronous tokenized_redeem().

Constructor & Destructor Documentation

◆ TokenizedApi()

binance::stocks::rest_api::TokenizedApi::TokenizedApi ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ bstocks_corporate_action_records()

common::RestApiResponse< BstocksCorporateActionRecordsResponse > binance::stocks::rest_api::TokenizedApi::bstocks_corporate_action_records ( const BstocksCorporateActionRecordsParams & params) const
nodiscard

Bstocks Corporate Action Records (USER_DATA).

GET /sapi/v1/bstocks/corp-action/history.

Query the asset balance changes caused by corporate actions (for example stock splits and cash dividends) on the caller's account. Cursor-style pagination — supply the nextTime and nextId from the previous page's response as lastTime and lastId to fetch the next page. Records are returned in descending order of modification time. This endpoint is equivalent to /sapi/v1/equity/corp-action/history.

Weight: 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#bstocks-corporate-action-records

◆ async_bstocks_corporate_action_records()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_bstocks_corporate_action_records ( const BstocksCorporateActionRecordsParams & params,
CompletionToken && token ) const
inline

◆ corporate_action_records()

common::RestApiResponse< CorporateActionRecordsResponse > binance::stocks::rest_api::TokenizedApi::corporate_action_records ( const CorporateActionRecordsParams & params) const
nodiscard

Corporate Action Records (USER_DATA).

GET /sapi/v1/equity/corp-action/history.

Query the asset balance changes caused by corporate actions (for example stock splits and cash dividends) on the caller's account. Cursor-style pagination — supply the nextTime and nextId from the previous page's response as lastTime and lastId to fetch the next page. Records are returned in descending order of modification time. This endpoint is equivalent to /sapi/v1/bstocks/corp-action/history.

Weight: 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#corporate-action-records

◆ async_corporate_action_records()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_corporate_action_records ( const CorporateActionRecordsParams & params,
CompletionToken && token ) const
inline

Asynchronous corporate_action_records().

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

◆ tokenized_convert_history()

common::RestApiResponse< TokenizedConvertHistoryResponse > binance::stocks::rest_api::TokenizedApi::tokenized_convert_history ( const TokenizedConvertHistoryParams & params = {}) const
nodiscard

Tokenized Convert History (USER_DATA).

GET /sapi/v1/equity/tokenized/history.

Paged history of mint / redeem conversions for the caller. Cursor-style pagination — supply the nextLastId from the previous page's response to fetch the next page.

Weight: 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#tokenized-convert-history

◆ async_tokenized_convert_history()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_tokenized_convert_history ( const TokenizedConvertHistoryParams & params,
CompletionToken && token ) const
inline

Asynchronous tokenized_convert_history().

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

◆ tokenized_convert_status()

common::RestApiResponse< TokenizedConvertStatusResponse > binance::stocks::rest_api::TokenizedApi::tokenized_convert_status ( const TokenizedConvertStatusParams & params) const
nodiscard

Tokenized Convert Status (USER_DATA).

GET /sapi/v1/equity/tokenized/convert-status.

Query the current status of a single mint / redeem request by its issuerRequestId. Returns an empty object when no record matches (caller's ID scope only).

Weight: 1

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#tokenized-convert-status

◆ async_tokenized_convert_status()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_tokenized_convert_status ( const TokenizedConvertStatusParams & params,
CompletionToken && token ) const
inline

Asynchronous tokenized_convert_status().

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

◆ tokenized_mint()

common::RestApiResponse< TokenizedMintResponse > binance::stocks::rest_api::TokenizedApi::tokenized_mint ( const TokenizedMintParams & params) const
nodiscard

Tokenized Mint (TRADE).

POST /sapi/v1/equity/tokenized/mint.

Mint a tokenized asset from an underlying equity holding. The caller's underlying equity (e.g. AAPL) is burned (or locked), and the corresponding tokenized asset (e.g. AAPLB) is credited. The tokenized asset is resolved server-side from underlyingAsset; callers only provide the underlying ticker and quantity. Mint is asynchronous: the endpoint returns an issuerRequestId immediately with a transient status; poll /tokenized/convert-status to observe the terminal state, or inspect /tokenized/history for the full record. Rate limit: 50 requests / min (UID).

Weight: 1

Security Type: TRADE

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#tokenized-mint

◆ async_tokenized_mint()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_tokenized_mint ( const TokenizedMintParams & params,
CompletionToken && token ) const
inline

Asynchronous tokenized_mint().

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

◆ tokenized_redeem()

common::RestApiResponse< TokenizedRedeemResponse > binance::stocks::rest_api::TokenizedApi::tokenized_redeem ( const TokenizedRedeemParams & params) const
nodiscard

Tokenized Redeem (TRADE).

POST /sapi/v1/equity/tokenized/redeem.

Redeem a tokenized asset back into the underlying equity. The caller's tokenized asset (e.g. AAPLB) is burned, and the corresponding underlying equity (e.g. AAPL) is released. The underlying asset is resolved server-side from tokenizedAsset; callers only provide the tokenized asset and quantity. Redeem is asynchronous: the endpoint returns an issuerRequestId immediately with a transient status; poll /tokenized/convert-status to observe the terminal state, or inspect /tokenized/history for the full record. Rate limit: 200 requests / min (UID).

Weight: 1

Security Type: TRADE

See https://developers.binance.com/en/docs/catalog/advanced-trading-stocks-trading/api/rest-api/tokenized#tokenized-redeem

◆ async_tokenized_redeem()

template<class CompletionToken>
auto binance::stocks::rest_api::TokenizedApi::async_tokenized_redeem ( const TokenizedRedeemParams & params,
CompletionToken && token ) const
inline

Asynchronous tokenized_redeem().

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