Skip to main content

avax.getAtomicTxStatus RPC Method

Get the status of a transaction sent to the network.

Updated on
Nov 2, 2023

avax.getAtomicTxStatus RPC Method

Parameters

txID
String
The transaction ID. It should be in cb58 format.

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.
blockHeight
String
Returned when status is accepted.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/C/avax \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "avax.getAtomicTxStatus",
7
"params": {
8
"txID": "cZbtbhQhrri34fSdFSUdSr5CjDAXGqL3qcB8VeJQvnAEa52Wj"
9
}
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free