eth_sendRawTransaction RPC Method
To use the eth_sendRawTransaction method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
data
The signed transaction (typically signed with a library, using your private key)
Returns
result
The transaction hash, or the zero hash if the transaction is not yet available
Request
1curl https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/rpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf8680685051f4d5c00833d090094ac2d0226ade52e6b4ccc97359359f01e34d50352834c4b40802aa004f4410acfc636f5d65e75ca37448fd0b1e90632661ad3ea071594b646e7621fa0186d78ddbeef43bc372fcc650ad4e77e0629206426cd183d751e9ddcc8d5e777"],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free