eth_sendRawTransaction

zkLink Nova chain RPC Methods & API Documentation


eth_sendRawTransaction RPC method

Returns

Transaction hash - The transaction hash, or the zero hash if the transaction is not yet available.

🔌 To use eth_sendRawTransaction you must be connected to a blockchain node.

Parameters

Transaction data [required] - Hex string - The signed transaction data.

Request

POST https://<network>.chainnodes.org/YOUR-API-KEY

Example

  • HTTPS POST Request with a JSON RPC call in the body
  • Replace YOUR-API-KEY with the API key from your CHAINNODES.ORG Dashboard
  • You can use a different supported network by replacing zklink-nova-mainnet
curl https://zklink-nova-mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["XXXXXXXXXXXXXXXXXXXX"],"id":1}'

Body

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "xxxxxxxxxxxxxxxxxxxxxxx"
}

💡 Confusing?

Ask our experienced blockchain developers in Telegram