Skip to content

Project Builder

RPC Endpoint

{% hint style="info" %} The project builders could send bundle to the Endpoint Exclusive for Project {% endhint %}

https://eth.blockrazor.xyz

Request parameters

ParametersMandatoryFormatExampleRemark
txsmandatory[]bytes[ "0xf84a……e54284" ]raw txs, up to 50 transactions allowed to be set
revertingTxHashesoptional[]hash["0x1f23……0abb1e"]Transactions that allow to be reverted, a subset of txs
maxBlockNumberoptionaluint6439177941The 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":[],
    "maxBlockNumber":62934913
  }]
}' https://eth.blockrazor.xyz

Response Example

normal

{"jsonrpc":"2.0","id":1,"result": "0x11111111..."}

abnormal

{"jsonrpc":"2.0","id":1,"jsonerror":{"code":-38000,"message":"nonce too low: address 0x9Abae1b279A4Be25AEaE49a33e807cDd3cCFFa0C, tx: 0 state: 45"}}