Avax
avax.getAtomicTx
Gets a transaction by its ID. Optional encoding parameter to specify the format for the returned transaction. Can only be hex when a value is provided.
POST
Parameters
string
default:"43114"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"avax.getAtomicTx"
required
JSON-RPC method name.
object
required
Parameters for
avax.getAtomicTx:params.txID: The transaction ID (in CB58 format).params.encoding: Optional encoding format of the result. Only “hex” is allowed.
Returns
object
The JSON-RPC result.