Parameters
- txIDstring
The transaction ID
- encodingstring
Specifies the format for the returned transaction. Can be either hex or json. Defaults to hex.
Returns
- txobject
The transaction object with the following fields:
- unsignedTxobject
The unsigned transaction associated with the specified transaction ID.
- networkIDinteger
The ID of the Avalanche network where the transaction was created.
- blockchainIDstring
The ID of the blockchain on which the transaction was created.
- outputsarray
An array of output details for the transaction.
- inputsarray
An array of input details for the transaction.
- memostring
A string containing any memo or message included in the transaction.
- destinationChainstring
The ID of the destination chain for the exported assets.
- exportedOutputsarray
An array of output details for the assets being exported.
- credentialsarray
The required credentials.
- signaturesarray
The list of signatures for the transaction.
- idstring
The transaction ID.
- encodingstring
The encoding format used for the returned transaction.