Skip to main content

avax.getAtomicTx RPC Method

Returns the specified transaction.

Updated on
Apr 29, 2026
To use the avax.getAtomicTx method on the C-Chain, ensure that the end of your URL includes ext/bc/C/avax.

Parameters

txID
string
REQUIRED

The transaction ID in hex format

encoding
string

The encoding format to use. Can only be hex when a value is provided

Returns

tx
string

The transaction encoded to encoding

encoding
string

The encoding format

blockHeight
string

The height of the block which the transaction was included in

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"tx": "0x00000000000400003039000000000000000000000000000000000000000000000000000000000000000000000001dbcf890f77f49b96857648b72b77f9f82937f28a68704af05da0dc12ba53f2db00000007002386f26fc100000000000000000000000001000000013cb7d3842e8cee6a0ebd09f1fe884f6861e1b29c",
6
"encoding": "hex"
7
}
8
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"tx": "0x00000000000400003039000000000000000000000000000000000000000000000000000000000000000000000001dbcf890f77f49b96857648b72b77f9f82937f28a68704af05da0dc12ba53f2db00000007002386f26fc100000000000000000000000001000000013cb7d3842e8cee6a0ebd09f1fe884f6861e1b29c",
6
"encoding": "hex"
7
}
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free