Skip to main content

avm.issueTx RPC Method

Send a signed transaction to the network.

Updated on
Nov 2, 2023

avm.issueTx RPC Method

Parameters

tx
String
REQUIRED
The signed transaction (typically signed with a library, using your private key).
encoding
String
The encoding format to use. Can only be hex when a value is provided. Defaults to "hex".

Returns

txID
String
The transaction hash, or the zero hash if the transaction is not yetavailable.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/X \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc":"2.0",
5
"id" : 1,
6
"method" :"avm.issueTx",
7
"params" :{
8
"tx":"0x00000009de31b4d8b22991d51aa6aa1fc733f23a851a8c9400000000000186a0000000005f041280000000005f9ca900000030390000000000000001fceda8f90fcb5d30614b99d79fc4baa29307762668f16eb0259a57c2d3b78c875c86ec2045792d4df2d926c40f829196e0bb97ee697af71f5b0a966dabff749634c8b729855e937715b0e44303fd1014daedc752006011b730",
9
"encoding": "hex"
10
}
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free