avax.getAtomicTx
Gets a transaction by its ID.
The avax.getAtomicTx
command is used to obtain a transaction using its ID.
The command has an optional encoding parameter specifying the format for the transaction it returns. The format can be either c58b or hex, but defaults to cb58.
Signature
Request
txID
is the transaction ID. It should be in cb58 format.encoding
is the encoding format to use. Can be eithercb58
orhex
. Defaults tocb58
.
Response
tx
is the transaction encoded toencoding
.encoding
is theencoding
.blockHeight
is the height of the block which the transaction was included in.
Example Request and Result for avax.getAtomicTx
Request
Result
Last updated