Skip to main content

avm.getTxStatus RPC Method

Get the status of a transaction sent to the network.

Updated on
Nov 2, 2023

avm.getTxStatus RPC Method

Parameters

txID
String
A specific transaction ID.

Returns

status
string
status is one of the following:
accepted
string
The transaction is (or will be) accepted by every node.
processing
string
The transaction is being voted on by this node.
rejected
string
The transaction will never be accepted by any node in the network.
unknown
string
The transaction hasn’t been seen by this node.
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.getTxStatus",
7
"params": {
8
"txID": "2HHr7xUJgWiLESV7g8T3oWfWvdpWJXd4Hctj6U3KhzUN6EsgBG"
9
}
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free