eth_sendPrivateTransaction

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_sendPrivateTransaction",
  "params": [
    {
      tx,               // Signed raw tx hex
      maxBlockNumber,   // (Optional) String, a hex-encoded string representing the block number of the last block in which the transaction should be included
    }
  ]‍

CURL example

curl -s --data '{"jsonrpc": "2.0","id": "1","method": "eth_sendPrivateTransaction","params": [{"tx": "0x12…ab"}]}' -H "Content-Type: application/json" -X POST https://rpc.titanbuilder.xyz

Response example

{"result":200,"error":null,"id":1}‍

Last updated