avax.getAtomicTx RPC Method
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
1curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/avax \2--header 'Content-Type: application/json' \3--data-raw '{4"jsonrpc":"2.0",5"id" :1,6"method" :"avax.getAtomicTx",7"params" :{8"txID":"TRANSACTION_ID",9"encoding": "hex"10}11}'12
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free