Skip to main content

platform.getTx RPC Method

Returns the specified transaction.

Updated on
Nov 02, 2023

Parameters

txID
string

The transaction ID

encoding
string

Specifies the format for the returned transaction. Can be either hex or json. Defaults to hex.

Returns

tx
object

The transaction object with the following fields:

unsignedTx
object

The unsigned transaction associated with the specified transaction ID.

networkID
integer

The ID of the Avalanche network where the transaction was created.

blockchainID
string

The ID of the blockchain on which the transaction was created.

outputs
array

An array of output details for the transaction.

inputs
array

An array of input details for the transaction.

memo
string

A string containing any memo or message included in the transaction.

destinationChain
string

The ID of the destination chain for the exported assets.

exportedOutputs
array

An array of output details for the assets being exported.

credentials
array

The required credentials.

signatures
array

The list of signatures for the transaction.

id
string

The transaction ID.

encoding
string

The encoding format used for the returned transaction.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free