Binance Web3 Connector JS
    Preparing search index...

    Request parameters for broadcastTransactions operation in TransactionApi. BroadcastTransactionsRequest

    interface BroadcastTransactionsRequest {
        address: string;
        binanceChainId: string;
        enableMevProtection?: boolean;
        nonce?: string;
        recvWindow?: number | bigint;
        signedTransaction: string;
    }
    Index
    address: string

    Sender wallet address. Used for status attribution and signature verification. On Tron and Solana the address is case-sensitive base58check.

    TransactionApiBroadcastTransactions

    binanceChainId: string

    Unique chain identifier (e.g. "1"=Ethereum, "56"=BSC, "CT_501"=Solana, "CT_195"=Tron).

    TransactionApiBroadcastTransactions

    enableMevProtection?: boolean

    When true, route the transaction through a private mempool for MEV protection.

    TransactionApiBroadcastTransactions

    nonce?: string

    Unique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.

    TransactionApiBroadcastTransactions

    recvWindow?: number | bigint

    Allowed time deviation in milliseconds (default: 5000, max: 60000).

    TransactionApiBroadcastTransactions

    signedTransaction: string

    Client-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, containing raw_data (with contract[].parameter.value.owner_address) and a signature array. 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.

    TransactionApiBroadcastTransactions