|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <redeem_api.hpp>
Public Member Functions | |
| RedeemApi (std::shared_ptr< common::RestClient > client) | |
| common::RestApiResponse< BatchRedeemResponse > | batch_redeem (const BatchRedeemParams ¶ms) const |
| Batch Redeem (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_batch_redeem (const BatchRedeemParams ¶ms, CompletionToken &&token) const |
| Asynchronous batch_redeem(). | |
| common::RestApiResponse< GetRedeemStatusResponse > | get_redeem_status (const GetRedeemStatusParams ¶ms) const |
| Get Redeem Status (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_get_redeem_status (const GetRedeemStatusParams ¶ms, CompletionToken &&token) const |
| Asynchronous get_redeem_status(). | |
|
explicit |
|
nodiscard |
Batch Redeem (PREDICTION_TRADE).
POST /sapi/v1/w3w/wallet/prediction/batch-redeem.
Redeem one or more settled prediction tokens on-chain to claim winnings. Requires SAS authorization.
Weight(IP): 1
Security Type: PREDICTION_TRADE
|
inline |
Asynchronous batch_redeem().
Completes with void(std::exception_ptr, common::RestApiResponse<BatchRedeemResponse>).
|
nodiscard |
Get Redeem Status (PREDICTION_TRADE).
GET /sapi/v1/w3w/wallet/prediction/redeem/status.
Query the on-chain transaction status of a previously submitted redeem request.
Weight(IP): 1
Security Type: PREDICTION_TRADE
Response Notes:
| Value | Description |
|---|---|
| PENDING | Transaction submitted, awaiting confirmation |
| CONFIRMED | Transaction confirmed on-chain |
| FAILED | Transaction failed |
| NOT_FOUND | Transaction hash not found |
|
inline |
Asynchronous get_redeem_status().
Completes with void(std::exception_ptr, common::RestApiResponse<GetRedeemStatusResponse>).