Skip to main content

qn_broadcastRawTransaction RPC Method

Sends a transaction to multiple regions to encourage faster mining.

Updated on
Nov 2, 2023

qn_broadcastRawTransaction RPC Method

Please note that this RPC method requires the Transaction Broadcast  add-on enabled on your QuickNode endpoint.

Parameters

data
string
REQUIRED
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
1
curl https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"qn_broadcastRawTransaction","params":["SIGNED_TRANSACTION"],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free