orymsolana.xyz

How to Interpret a Solana Transaction on Solscan Step by Step

You can read a Solana transaction on Solscan by following the transaction's lifecycle from signature to finality, checking each instruction's program, accounts, and data against what you expected. This page walks through a typical swap or transfer transaction, explains what each field means, and points out where silent failures or unexpected behavior hide.

1. Find the Transaction on Solscan

Paste the transaction signature (a base-58 string, typically 87 - 88 characters) into Solscan's search bar. The result page loads a summary and a detailed breakdown.

Summary Block

The top section shows: - Status: "Success" or "Failed". A "Success" status only means the transaction was processed without a runtime error. Individual instructions within it can still fail silently - Solscan does not always flag this clearly. - Signature: The unique identifier. Click it to copy. - Timestamp: The slot time, not necessarily when the transaction was submitted. Solana's proof-of-history clock means timestamps are approximate. - Block: The slot number where the transaction landed. You can click to see other transactions in the same block. - Fee: The total SOL deducted from the fee payer. This includes the base fee (0.000005 SOL per signature) plus any priority fee you set. Check the "Fee Breakdown" tab for compute-unit details if available. - Compute Units Consumed: How many compute units the transaction actually used. Compare this to your requested compute budget to see if you overpaid.

2. Read the "Transaction Overview" Tab

This tab lists all instructions in order. Each instruction has: - Program ID: The on-chain program that executed this instruction. For a token transfer, this is the Token Program (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA). For a Jupiter swap, you'll see the Jupiter program, the token program, and possibly a DEX program like Raydium or Orca. - Accounts: A numbered list of account addresses used by this instruction. The first account is usually the "authority" or signer. Others include the source token account, destination token account, mint, and fee account. Hover or click to see each account's balance and owner. - Data: The raw hexadecimal instruction data. Solscan sometimes decodes this into a human-readable format if it knows the program's interface. If you see "Unknown", the program is not on Solscan's decoder list - you'll need to check the program's source code or documentation to interpret the bytes.

How to Spot a Silent Failure

If the transaction status is "Success" but the balances or state didn't change as you expected, look for instructions that consumed compute units but produced no output. Common causes: - A token transfer that succeeded but the recipient's token account was not the correct SPL token type. - A swap instruction that returned zero output because the pool had no liquidity. - A program that executed but returned an "ok" instead of the expected data.

Solscan does not highlight these. You must compare the "Post Balances" column (if visible) or check the token accounts on the "Account Changes" tab.

3. Check the "Account Changes" Tab

This tab shows every SOL and SPL token balance change caused by the transaction. For each account: - Pre Balance: Balance before the transaction. - Post Balance: Balance after. - Change: The difference, positive or negative.

Important: Solscan shows SOL balances in lamports (1 SOL = 1,000,000,000 lamports) and token balances in the token's native decimal unit. If you see a change of "1000000" for a token with 6 decimals, that's exactly 1 token. Always verify the token's decimal count on the mint page.

4. Examine the "Inner Instructions" Tab

Many programs, especially DEX aggregators like Jupiter, execute multiple "inner instructions" (also called nested instructions). These are instructions called by the top-level program, not directly by your wallet. They often reveal the real mechanics: - A Jupiter swap might have inner instructions for transferring tokens from your account to the pool, swapping via an AMM, and sending the output back. - A stake operation might have inner instructions for splitting, delegating, or merging stake accounts.

Each inner instruction has the same structure as a top-level instruction: program, accounts, data. Trace the token flow through these to confirm the swap route or fee deductions.

5. Verify the Transaction Against Your Intent

When you sent the transaction, you expected specific outcomes. Use Solscan to confirm: - Recipient address: The destination account in the token transfer instruction's account list. - Token amount: The data field or inner instruction's token transfer amount. Note: Solscan may display amounts in the token's smallest unit (e.g., lamports for SOL, raw units for SPL tokens). Divide by 10^decimals to get the human-readable value. - Fees deducted: Check the fee payer's SOL balance change and any priority fee in the summary. - Slippage tolerance: For swaps, compare the expected output (from your wallet or Jupiter quote) to the actual output in the inner instructions. If the output is lower, slippage or price impact caused it.

6. handle common confusions

7. when solscan shows something unexpected

If the transaction appears correct but your wallet balance disagrees, check: - Account refresh: Solscan caches data; a recent transaction may not reflect immediately. Refresh the page. - Token account creation: A new SPL token account might have been created as a side effect. Look for "Account Created" in the "Account Changes" tab. - Program upgrade: If the program ID changed between when you signed and when the transaction executed, the instruction might have different behavior. Verify the program ID against the current deployed version.

Solscan is a powerful tool, but it is a frontend to the blockchain's raw data. When in doubt, cross-reference with another explorer like SolanaFM or use the solana CLI to inspect the transaction yourself.

Not financial advice. orymsolana.xyz publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to solana