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

#include <capital_api.hpp>

Public Attributes

common::Required< std::string > coin
common::Required< std::string > address
 Withdrawal address.
common::Required< common::Decimal > amount
 Amount.
std::optional< std::string > withdraw_order_id = std::nullopt
 client side id for withdrawal, if provide here, can be used in GET /sapi/v1/capital/withdraw/history for query.
std::optional< std::string > network = std::nullopt
 Withdrawal network.
std::optional< std::string > address_tag = std::nullopt
 Secondary address identifier for coins like XRP,XMR etc.
std::optional< bool > transaction_fee_flag = std::nullopt
 When making internal transfer, true for returning the fee to the destination account; false for returning the fee back to the departure account.
std::optional< std::string > name = std::nullopt
std::optional< std::int64_t > wallet_type = std::nullopt
 The wallet type for withdraw,0-spot wallet ,1-funding wallet.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ coin

common::Required<std::string> binance::wallet::rest_api::WithdrawParams::coin

◆ address

common::Required<std::string> binance::wallet::rest_api::WithdrawParams::address

Withdrawal address.

◆ amount

common::Required<common::Decimal> binance::wallet::rest_api::WithdrawParams::amount

Amount.

◆ withdraw_order_id

std::optional<std::string> binance::wallet::rest_api::WithdrawParams::withdraw_order_id = std::nullopt

client side id for withdrawal, if provide here, can be used in GET /sapi/v1/capital/withdraw/history for query.

◆ network

std::optional<std::string> binance::wallet::rest_api::WithdrawParams::network = std::nullopt

Withdrawal network.

◆ address_tag

std::optional<std::string> binance::wallet::rest_api::WithdrawParams::address_tag = std::nullopt

Secondary address identifier for coins like XRP,XMR etc.

◆ transaction_fee_flag

std::optional<bool> binance::wallet::rest_api::WithdrawParams::transaction_fee_flag = std::nullopt

When making internal transfer, true for returning the fee to the destination account; false for returning the fee back to the departure account.

Default false.

◆ name

std::optional<std::string> binance::wallet::rest_api::WithdrawParams::name = std::nullopt

◆ wallet_type

std::optional<std::int64_t> binance::wallet::rest_api::WithdrawParams::wallet_type = std::nullopt

The wallet type for withdraw,0-spot wallet ,1-funding wallet.

Default walletType is the current "selected wallet" under wallet->Fiat and Spot/Funding->Deposit

◆ recv_window

std::optional<std::int64_t> binance::wallet::rest_api::WithdrawParams::recv_window = std::nullopt