Skip to main content

getParsedTransaction RPC Method

Returns transaction details for a confirmed transaction

Updated on
Oct 19, 2026
The getParsedTransaction method is only supported with the @solana/web3.js SDK. To use cURL, Solana Kit, or solana.py, check out the getTransaction method examples where the encoding is set to jsonParsed.

Parameters

tx_sig
string

The transaction signature as base-58 encoded string

object
array

The configuration object with the following fields:

encoding
string

The encoding format for account data. It can be jsonParsed or n/a if using JS getParsedTransaction

commitment
string

The level of commitment required for the query. The options include:

finalized
string

The node will query the most recent block the cluster has recognized as finalized

confirmed
string

The node will query the most recent block that has been voted on by supermajority of the cluster

processed
string

It is not supported for this method

maxSupportedTransactionVersion
integer

The maximum transaction version to return, as a JSON integer. Set it to 1 to receive legacy, version 0, and version 1 transactions

legacy
string

The older transaction format with no additional benefit

Returns

result

The result will be null if the specified transaction is not confirmed otherwise an object with the following fields:

slot

The slot number in which the transaction was processed

parsedTransaction
object

The parsed transaction object with the following fields:

signatures
array

An array of signatures on the transaction

parsedMessage

The parsed message of the transaction

accountKeys
array

An array of public keys involved in the transaction

instructions
array

An array of instructions that were executed in the block's transactions

recentBlockhash
string

The recent blockhash from the transaction

addressTableLookups

This field is omitted for legacy and version 1 transactions. An array of address lookups that were performed during the execution of transactions in the block

transactionConfig
object

Version 1 transactions only. The compute and fee settings for the transaction

priorityFee
integer

The priority fee for the transaction, in lamports

computeUnitLimit
integer

The maximum compute units the transaction may consume

loadedAccountsDataSizeLimit
integer

The maximum total size in bytes of the account data the transaction may load

heapSize
integer

The requested heap size in bytes, or null when not set

blockTime

The estimated production time, as Unix timestamp (seconds since the Unix epoch). It's null if not available

meta

The transaction status metadata object with the following fields:

err

Error code if the transaction failed or null if the transaction succeeds

fee

The total fees paid by all transactions in the block encoded as u64 integer

preBalances

An array of lamport balances for each account in the block before the transactions were processed

postBalances

An array of lamport balances for each account in the block after the transactions were processed

parsedInnerInstructions

List of inner instructions or omitted if inner instruction recording was not yet enabled during this transaction.

preTokenBalances

An array of token balances for each token account in the block before the transactions were processed (omitted if inner instruction recording is not enabled)

postTokenBalances

An array of token balances for each token account in the block after the transactions were processed (omitted if inner instruction recording is not enabled)

logMessages

An array of strings containing any log messages generated by the block's transactions (omitted if inner instruction recording is not enabled)

rewards

An object containing information about the rewards earned by the block's validators (only present if the rewards are requested). It has the following fields:

pubkey

The public key of the account that received the award encoded as base-58 string

lamports

The number of reward lamports credited or debited by the account

postBalance

The account balance in lamports after the reward was applied

rewardType

The type of reward. It could be fee, rent, voting, staking

commission

The vote account commission when the reward was credited, only present for voting and staking rewards

version
string|integer

The transaction version, one of "legacy", 0, or 1

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