POSTgetTransaction
Returns transaction details for a confirmed transaction
It contains following items:
- Transaction signature (
required) - ConfigurationObject (
optional)
Transaction signature, as base-58 encoded string
The request ID
The JSON-RPC version
Estimated production time, as Unix timestamp (seconds since the Unix epoch) of when the transaction was processed. null if not available
Error if transaction failed, null if transaction succeeded.
fee this transaction was charged, as u64 integer
array of u64 account balances from before the transaction was processed
array of u64 account balances after the transaction was processed
List of inner instructions or null if inner instruction recording was not enabled during this transaction
Index of the transaction instruction from which the inner instruction(s) originated
Ordered list of inner program instructions that were invoked during a single transaction instruction.
Index into the message.accountKeys array indicating the program account that executes this instruction.
List of ordered indices into the message.accountKeys array indicating which accounts to pass to the program.
The program input data encoded in a base-58 string.
List of token balances from before the transaction was processed or omitted if token balance recording was not yet enabled during this transaction
Index of the account in which the token balance is provided for.
Pubkey of the token's mint.
Pubkey of token balance's owner.
Pubkey of the Token program that owns the account.
Raw amount of tokens as a string, ignoring decimals.
Number of decimals configured for token's mint.
DEPRECATED Token amount as a float, accounting for decimals.
Token amount as a string, accounting for decimals.
List of token balances from after the transaction was processed or omitted if token balance recording was not yet enabled during this transaction
Index of the account in which the token balance is provided for.
Pubkey of the token's mint.
Pubkey of token balance's owner.
Pubkey of the Token program that owns the account.
Raw amount of tokens as a string, ignoring decimals.
Number of decimals configured for token's mint.
DEPRECATED Token amount as a float, accounting for decimals.
Token amount as a string, accounting for decimals.
array of string log messages or null if log message recording was not enabled during this transaction
transaction-level rewards
The public key, as base-58 encoded string, of the account that received the reward
number of reward lamports credited or debited by the account, as a i64
account balance in lamports after the reward was applied
vote account commission when the reward was credited, only present for voting and staking rewards
Transaction addresses loaded from address lookup tables. Undefined if maxSupportedTransactionVersion is not set in request params, or if jsonParsed encoding is set in request params.
Ordered list of base-58 encoded addresses for writable loaded accounts
Ordered list of base-58 encoded addresses for readonly loaded accounts
the most-recent return data generated by an instruction in the transaction, with the following fields:
the program that generated the return data, as base-58 encoded Pubkey
the return data itself, as base-64 encoded binary data
number of compute units consumed by the transaction
Transaction version. Undefined if maxSupportedTransactionVersion is not set in request params.
present if "signatures" are requested for transaction details; an array of signatures strings, corresponding to the transaction order in the block
The slot this transaction was processed in
List of base-58 encoded public keys used by the transaction, including by the instructions and for signatures. The first message.header.numRequiredSignatures public keys must sign the transaction.
Details the account types and signatures required by the transaction.
The total number of signatures required to make the transaction valid. The signatures must match the first numRequiredSignatures of message.accountKeys.
The last numReadonlySignedAccounts of the signed keys are read-only accounts. Programs may process multiple transactions that load read-only accounts within a single PoH entry, but are not permitted to credit or debit lamports or modify account data. Transactions targeting the same read-write account are evaluated sequentially.
The last numReadonlyUnsignedAccounts of the unsigned keys are read-only accounts.
A base-58 encoded hash of a recent block in the ledger used to prevent transaction duplication and to give transactions lifetimes.
Index into the message.accountKeys array indicating the program account that executes this instruction.
List of ordered indices into the message.accountKeys array indicating which accounts to pass to the program.
The program input data encoded in a base-58 string.
Base-58 encoded public key for an address lookup table account.
List of indices used to load addresses of writable accounts from a lookup table.
List of indices used to load addresses of readonly accounts from a lookup table.
A list of base-58 encoded signatures applied to the transaction. The list is always of length message.header.numRequiredSignatures and not empty. The signature at index i corresponds to the public key at index i in message.accountKeys. The first one is used as the transaction id.
Transaction version. Undefined if maxSupportedTransactionVersion is not set in request params.