Send PrivateTransaction

Introduction

This API is used to receive private transactions submitted by users, with the method name eth_sendPrivateTransaction

Rate Limit

Unlimited

Request Parameters

ParametersMandatoryFormatExampleDescription

transaction

Mandatory

String

"0x…4b"

signed raw transaction hash

Request Example

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_sendPrivateTransaction",
  "params": ["0x…4b"]  // signed raw transaction hash
  

Reponse Example

{
 "jsonrpc":"2.0",
 "id":"1",
 "result":"0xa06b……f7e8ec"  // tx hash
}‍‍
{
  "jsonrpc":"2.0",
  "id":"1",
  "error":{
    "code":-32000,
    "message":"nonce too low: next nonce 57, tx nonce 56"
    }
}

Last updated