Get Transaction
Get the details for a posted transaction
Last updated
Was this helpful?
Get the details for a posted transaction
Last updated
Was this helpful?
Get details about a transaction that has already been posted to the network with the help of the getTransaction
function.
The function is called as follows:
The following params are available for this function and they must be passed in as an object:
transactionId: string
: The unique identification Id associated with a transaction.
environment: 'local' | 'mainnet'
: The environment on which the transaction was posted.
The function call returns the following data:
transaction: Transaction
: An object of type is returned by Arweave.