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

eth_sendBundle

Introduce how to integrate BlockRazor Ethereum RPC’s `eth_sendBundle` method.

Endpoint

For project RPC, please refer to the Integration

Endpoint type
URL

General RPC

https://eth.blockrazor.xyz

Project Default RPC

https://eth.blockrazor.xyz/<rpc_id>

Project Custom RPC

https://<custom_domain>.eth.blockrazor.xyz

Request parameters

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

blockNumber

optional

uint64

"0x3C04F81"

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_sendBundle",
  "params": [{
    "Txs": [
"0xf8668203988405f5e100825208942ee393c739036a7660ec11bf2101d537eb52f3ac80808193a06836d5f4052376dc3114794da5fedd7a5b8090ddae0ec45dfa66c234fcabb6efa07cf17dad992c33e8e3e4d82355cfe12d3be2560fc2b0873c36dce398088d8e4f"
    ]
    "revertingTxHashes":[],
    "blockNumber":"0x3C04F81"
  }]
}' https://eth.blockrazor.xyz

Response Example

normal

abnormal

Last updated

Was this helpful?