JSON-RPC

eth_sendRawTransaction

eth_sendRawTransaction of BlockRazor RPC is compatible with native JSON-RPC methods and requires no additional modifications. If you need to modify parameters such as hint, refund address and revert protection, you can configure the dedicated RPC in the portalarrow-up-right

Request parameters

Parameters
Mandatory
Format
Example
Remark

-

Mandatory

bytes

"0xd46e……445675"

raw tx

Request Example

curl -X POST -H "Content-Type: application/json" --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_sendRawTransaction",
    "params": [
        "0xd46e……445675"
    ]
}' https://bsc.blockrazor.xyz

Response Example

normal

{
  "id":1,
  "jsonrpc": "2.0",
  "result": "0xe670……527331"
}

abnormal

eth_sendMevBundle

Bundle Submission is supported in BlockRazor RPC, please refer to Bundle

Other JSON-RPC Methods

BlockRazor RPC supports standard JSON-RPC method, you can refer to https://ethereum.org/zh/developers/docs/apis/json-rpc/#json-rpc-methodsarrow-up-right

Last updated