For the complete documentation index, see llms.txt. This page is also available as Markdown.

Project Builder

Introduce how Project Builders can integrate BlockRazor BSC RPC’s `eth_sendMevBundle` method.

Endpoint

For project RPC, please refer to the Integration

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

On BSC, eth_sendMevBundle allows transactions with 0 gwei in the bundle, but the average gasPrice of transactions(excluding those from the public mempool) in the bundle must still be no less than 0.05 gwei. Since head builders of BSC have a preference for this model, it is recommended to construct transactions with 0 gwei.

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.xyz

Response Example

normal

abnormal

Last updated

Was this helpful?