avax.getAtomicTx
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
This method will use 10
.
txID
- string - The transaction ID in hex format.
encoding
- string - (optional) The encoding format to use. Can only be hex when a value is provided.
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.