BSC RPC eth_sendBundle
Introduce how Project Builders can integrate BlockRazor BSC RPC’s `eth_sendMevBundle` method.
Endpoint
Endpoint type
URL
General RPC
https://bsc.blockrazor.xyz
Project Default RPC
https://bsc.blockrazor.xyz/<rpc_id>
Project Custom RPC
https://<custom_domain>.bsc.blockrazor.xyz
Request parameters
Bundle
Parameters
Mandatory
Format
Example
Remark
txs
mandatory
[]bytes
[ "0xf84a……e54284" ]
raw txs, up to 50 transactions allowed to be set
revertingTxHashes
optional
[]hash
["0x1f23……0abb1e"]
Transactions that allow to be reverted, a subset of txs
maxBlockNumber
optional
uint64
39177941
The maximum block number for the bundle to be valid, with the default set to the current block number + 100
Request Example
curl -X POST -H "Content-Type: application/json" --data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendMevBundle",
"params": [{
"Txs": [
"0xf8668203988405f5e100825208942ee393c739036a7660ec11bf2101d537eb52f3ac80808193a06836d5f4052376dc3114794da5fedd7a5b8090ddae0ec45dfa66c234fcabb6efa07cf17dad992c33e8e3e4d82355cfe12d3be2560fc2b0873c36dce398088d8e4f"
],
"revertingTxHashes":[],
"maxBlockNumber":62934913
}]
}' https://bsc.blockrazor.xyzResponse Example
normal
abnormal
Last updated
Was this helpful?