Bundle API

Our Anti-MEV RPC on BSC supports the method eth_sendBundleto send multiple private transactions in a bundle.

eth_sendBundle

POST /

Send private transactions in a bundle

Request Parameters

Parameter
Mandatory
Format
Example
Description

txs

Mandatory

array[hex]

["0x…35", "0x…4e"]

List of signed raw transactions.

maxBlockNumber

Optional

uint64

47793530

Maximum block number for the bundle's validity. Default is current block number + 100.

revertingTxHashes

Optional

array[hash]

["0x…2c", "0x…3d"]

List of transaction hashes allowed for revert.

Request Example

curl https://bsc.rpc.blocksec.com \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
         "jsonrpc": "2.0",
         "id": "1", 
         "method": "eth_sendBundle", 
         "params": {
            ...
          }
        }'     

One example of the detailed request.

Response Example

Last updated