Get Transaction Supported Chains
Return the blockchain networks supported by the Transaction service for gas estimation, simulation, and broadcasting. The list is dynamically configured server-side and may change over time.
Get Transaction Supported Chains › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Get Transaction Supported Chains › Responses
Supported chains returned successfully.
codeBusiness status code. 0 indicates success; any non-zero value indicates a business error.
msgStatus description message.
List of supported blockchain networks.
binanceChainIdUnique chain identifier (follows EIP-155 chainId for EVM chains; e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron).
nameFull chain name.
shortNameShort chain name / ticker.
logoUrlChain logo image URL.
timestampServer response timestamp in milliseconds.
successConvenience flag derived from code == 0.
Get Gas Price
Query the current network gas price for the specified chain. The response shape varies by chain family:
- EVM chains return both
evmLegacyGasPrice(legacy gasPrice) andeip1559GasPrice(baseFee + priority/max fees) when EIP-1559 is supported. - Solana returns
solanaGasPrice(compute-unit prices and Jito tips). - Tron ("CT_195") returns an emptydataobject because Tron has no on-chain gas-price concept; use the gas-limit endpoint instead.
Fields not applicable to the chain family are returned as null.
Get Gas Price › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Query Parameters
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron).
Get Gas Price › Responses
Current gas price for the specified chain.
codeBusiness status code. 0 indicates success.
msgGas price details. Populated fields depend on chain family.
evmLegacyGasPriceLegacy EVM gas price tiers (wei, integer string). Null on non-EVM chains.
eip1559GasPriceEIP-1559 fee structure (wei, integer strings). Null on chains that don't support EIP-1559 or non-EVM chains.
solanaGasPriceSolana compute-unit prices and Jito tips. Null on non-Solana chains.
timestampsuccessGet Latest Block Height
Return the latest block height that the Binance Web3 node has synced to for the specified chain. Callers can use this to monitor node sync progress for risk control and detect when the node lags behind the canonical chain head.
Get Latest Block Height › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Query Parameters
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron).
Get Latest Block Height › Responses
Latest block height for the specified chain.
codeBusiness status code. 0 indicates success; any non-zero value indicates a business error.
msgStatus description message.
Latest block height info.
binanceChainIdThe chain identifier echoed back from the request.
blockHeightLatest block height (slot for Solana) tracked by the Binance Web3 node. Represented as a 64-bit integer.
timestampServer response timestamp in milliseconds.
successConvenience flag derived from code == 0.
Get Gas Limit
Estimate the gas limit (or compute-unit ceiling on Solana) for an unsigned transaction.
Provide either evmTx for EVM chains, solTx for Solana, or tronTx for Tron ("CT_195"), matching the value of binanceChainId.
On Tron the response carries energy/bandwidth fields instead of a single gas limit; gasLimit is the fee limit (in sun) and the energy/bandwidth fields describe resource consumption and pricing.
Get Gas Limit › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Get Gas Limit › Request Body
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron). Provide evmTx for EVM chains, solTx for Solana, or tronTx for Tron — exactly one must be present. Note: evmTx, solTx, and tronTx are marked required in this schema for rendering purposes only; in practice supply exactly one matching binanceChainId.
EVM transaction payload. Required when binanceChainId belongs to an EVM chain.
fromSender address.
toDestination address (contract or EOA).
valueNative token amount in wei (integer string). Use "0" for ERC-20 transfers.
dataABI-encoded calldata (hex). Optional when no contract call is involved.
Solana transaction payload. Required when binanceChainId=CT_501.
base64TxBase64-encoded unsigned Solana transaction.
Tron transaction payload. Required when binanceChainId=CT_195.
fromSender address (base58check).
txTypeTron contract type. TRIGGER_SMART_CONTRACT requires triggerSmartContractParams; TRANSFER_CONTRACT requires transferContractParams.
Required when txType=TRIGGER_SMART_CONTRACT.
contractAddressSmart-contract address (base58check).
dataABI-encoded calldata (hex, no 0x prefix).
callValueAmount of TRX (in sun) to attach as call_value.
feeLimitSunOptional max fee the caller is willing to pay (in sun). If omitted, server default applies.
Required when txType=TRANSFER_CONTRACT.
toAddressRecipient address (base58check).
amountTRX amount in sun (1 TRX = 1_000_000 sun).
Get Gas Limit › Responses
Estimated gas limit.
codemsgEstimated gas limit. On Tron, the response additionally carries energy/bandwidth fields; non-applicable fields are returned as null.
gasLimitEstimated gas limit (EVM), compute-unit ceiling (Solana), or fee limit in sun (Tron), as an integer string.
energyRequiredEnergy consumed by the Tron transaction (integer string). Null on non-Tron chains.
bandwidthRequiredBandwidth consumed by the Tron transaction (integer string). Null on non-Tron chains.
freeEnergyFree energy available to the account on Tron (integer string). Null on non-Tron chains.
freeBandwidthFree bandwidth available to the account on Tron (integer string). Null on non-Tron chains.
energyFeeUnit price of energy on Tron (sun per energy, integer string). Null on non-Tron chains.
bandwidthFeeUnit price of bandwidth on Tron (sun per byte, integer string). Null on non-Tron chains.
timestampsuccessSimulate Transactions
Simulate transaction execution off-chain to predict its outcome before broadcasting. The response includes the predicted execution status, balance changes per affected account/token, and ERC-20 allowance changes (EVM chains).
Provide either evmTx (EVM chains), solTx (Solana), or tronTx (Tron "CT_195") matching binanceChainId. On Tron, allowanceChanges is returned as an empty array.
Note: Metis (chainId 1088) is not supported by this endpoint.
Simulate Transactions › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Simulate Transactions › Request Body
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron). Provide evmTx for EVM chains, solTx for Solana, or tronTx for Tron — exactly one must be present. Note: evmTx, solTx, and tronTx are marked required in this schema for rendering purposes only; in practice supply exactly one matching binanceChainId.
EVM transaction payload. Required when binanceChainId belongs to an EVM chain.
fromSender address.
toDestination address (contract or EOA).
valueNative token amount in wei (integer string).
dataABI-encoded calldata (hex). Optional.
Solana transaction payload. Required when binanceChainId=CT_501.
base64TxBase64-encoded unsigned Solana transaction.
addressOwner / fee-payer Solana address used to attribute balance changes.
Tron transaction payload. Required when binanceChainId=CT_195.
fromSender address (base58check), also used to attribute balance changes.
txTypeTron contract type. TRIGGER_SMART_CONTRACT requires triggerSmartContractParams; TRANSFER_CONTRACT requires transferContractParams.
Required when txType=TRIGGER_SMART_CONTRACT.
contractAddressSmart-contract address (base58check).
dataABI-encoded calldata (hex, no 0x prefix).
callValueAmount of TRX (in sun) to attach as call_value.
feeLimitSunOptional max fee the caller is willing to pay (in sun). If omitted, server default applies.
Required when txType=TRANSFER_CONTRACT.
toAddressRecipient address (base58check).
amountTRX amount in sun (1 TRX = 1_000_000 sun).
Simulate Transactions › Responses
Simulation result.
codemsgstatusPredicted execution status.
failReasonFailure reason when status=FAILED; otherwise null.
Predicted balance changes for the simulated transaction.
contractAddressToken contract address. Empty / native marker for the chain's native asset.
tokenTypeToken standard.
changeSigned balance delta in the smallest token unit (integer string). Negative for outflows, positive for inflows.
ownerAddress whose balance is changing.
Predicted ERC-20 allowance changes (EVM chains only).
tokenAddressERC-20 token contract address.
ownerToken owner address.
spenderSpender address whose allowance is changing.
preAmountAllowance before the transaction (smallest unit, integer string).
postAmountAllowance after the transaction (smallest unit, integer string).
timestampsuccessBroadcast Transactions
Broadcast a client-signed transaction to the chain via the Binance Web3 API relay. Returns the transaction hash and an internal orderId you can use to track on-chain status via the post-transaction service.
Optional MEV protection (EVM chains only) routes the transaction through a private mempool to mitigate front-running and sandwich attacks. Tron and Solana do not support MEV protection; the flag is ignored on these chains.
Broadcast Transactions › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Broadcast Transactions › Request Body
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron).
signedTransactionClient-signed raw transaction. Format depends on binanceChainId:
- EVM chains: hex-encoded RLP transaction (e.g.
0xf86c...). - Solana (
CT_501): base64-encoded signed transaction. - Tron (
CT_195): JSON string of the signed transaction returned by a Tron signer, containingraw_data(withcontract[].parameter.value.owner_address) and asignaturearray. Example:{"raw_data":{"contract":[{"type":"TriggerSmartContract","parameter":{"value":{"owner_address":"T...","contract_address":"T...","data":"<calldata hex>","call_value":0}}}]},"signature":["..."]}.
Note for Tron: signedTransaction is NOT the calldata hex passed to simulate / getGasLimit under tronTx.triggerSmartContractParams.data. The signer is extracted from raw_data.contract[0].parameter.value.owner_address and must match address; passing calldata hex here will be rejected with code=40001, invalid signedTransaction: failed to parse Tron signedTransaction: syntax error.
addressSender wallet address. Used for status attribution and signature verification. On Tron and Solana the address is case-sensitive base58check.
enableMevProtectionWhen true, route the transaction through a private mempool for MEV protection.
Broadcast Transactions › Responses
Transaction submitted successfully.
codemsgorderIdInternal order identifier. Use this to query on-chain status via the post-transaction service.
txHashOn-chain transaction hash. EVM chains return a hex hash; Tron returns a base58check hash; Solana returns a base58 hash.
timestampsuccessGet Broadcast Orders
Look up broadcast orders previously submitted via /pre-transaction/broadcast-transaction. Filter by txStatus or orderId, paginate with cursor.
Get Broadcast Orders › Authorization
Headers
X-OC-APIKEYAPI Key issued by Binance Web3 API for authentication.
X-OC-TIMESTAMPCurrent UTC time in ISO 8601 format with milliseconds, e.g. 2026-05-11T10:08:57.715Z.
X-OC-SIGNRequest signature (Base64-encoded).
X-OC-RECV-WINDOWAllowed time deviation in milliseconds (default: 5000, max: 60000).
X-OC-NONCEUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Query Parameters
addressSender wallet address whose orders to list.
binanceChainIdUnique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana).
txStatusOptional filter on transaction status (server-defined string, e.g. "pending", "success", "fail").
orderIdOptional filter to fetch a single order by its internal order ID.
cursorPagination cursor returned by the previous page. Omit on the first request.
limitPage size. Defaults to 20.
Get Broadcast Orders › Responses
Orders returned successfully.
codemsgcursorCursor for the next page. Empty string when no more pages.
Order list.
orderIdInternal order identifier.
binanceChainIdChain identifier.
addressSender wallet address.
txHashOn-chain transaction hash. Null while the order is pending.
txStatusTransaction status (server-defined string, e.g. "pending", "success", "fail").
failReasonFailure reason. Populated when the transaction failed; null otherwise.
timestampsuccess