Skip to main content

eth_sendRawTransaction RPC Method

Creates new message call transaction or a contract creation for signed transactions. The new API Credit value for this method is 20 when used part of the Core API. If you are using eth_sendRawTransaction as part of a Marketplace add-on, view the add-on's homepage for more information about the specific charge.

Updated on
Dec 4, 2024

eth_sendRawTransaction RPC Method

To use the eth_sendRawTransaction method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

Parameters

data
string
The signed transaction (typically signed with a library, using your private key)

Returns

result
string
The transaction hash, or the zero hash if the transaction is not yet available
Request
1
curl https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["SIGNED_TRANSACTION"],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free