avax.getAtomicTx RPC Method
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
Loading...
encoding
string
Loading...
Returns
tx
string
Loading...
encoding
string
Loading...
blockHeight
string
Loading...
Request
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "avax.getAtomicTx",6"params": {7"txID": "2GD5SRYJQr2kw5jE73trBFiAgVQyrDKe9Ufi9QKd6Kv3wzosNy",8"encoding": "hex"9},10"id": 111}'
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "avax.getAtomicTx",6"params": {7"txID": "2GD5SRYJQr2kw5jE73trBFiAgVQyrDKe9Ufi9QKd6Kv3wzosNy",8"encoding": "hex"9},10"id": 111}'
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