solana-tx-parse

Any Solana transaction, in words

Give it a signature and get back who paid, what it cost (base and priority fee), whether it failed and why, which programs ran, whose balances moved, the SOL and SPL transfers, and the swaps. Legacy, v0 (address lookup tables) and v1 transactions. Zero dependencies, any RPC.

View on GitHubStart trading at blixvip.comJoin the Discord

Try it

npx github:blixvip/solana-tx-parse x2nTgvSFFneAKW5W5mHcfMYhzen5o7Lfb1pBmepDQQDJZ4ud2Z7QpDxdYVVTVMDqG2e5TJ1qAA8zGDPAxdpudKR
Signature  x2nTgvSFFneAKW5W5mHcfMYhzen5o7Lfb1pBmepDQQDJZ4ud2Z7QpDxdYVVTVMDqG2e5TJ1qAA8zGDPAxdpudKR
Status     success
Slot       470,678,784 · 2026-11-17 21:08:28 UTC · version legacy
Fee payer  H8sMJSCQxfKiFTCfDR3DUMLPwcRbM61LGFJ8N4dK3WjS
Fee        0.0001065 SOL (106,500 lamports: base 5,000 + priority 101,500)
Compute    255 CU used of 203,000 (default limit) @ 500,000 micro-lamports/CU
Programs   Token Program, Compute Budget

Balance changes
  H8sM…3WjS  -0.0001065 SOL (includes the fee)
  H8sM…3WjS  -37.742077 EPjF…Dt1v
  3vKW…AxbM  +37.742077 EPjF…Dt1v

Transfers
  H8sM…3WjS → 3vKW…AxbM  37.742077 EPjF…Dt1v

Add --json for the full result and --rpc <url> (or SOLANA_RPC_URL) for your own endpoint.

What it does

Use it in your code

npm install github:blixvip/solana-tx-parse
import { parseTransaction } from "solana-tx-parse";

const tx = await parseTransaction("x2nTgvSFFneAKW5W5mHcfMYhzen5o7Lfb1pBmepDQQDJZ4ud2Z7QpDxdYVVTVMDqG2e5TJ1qAA8zGDPAxdpudKR");

console.log(tx.status, tx.feePayer);
console.log(tx.fee.lamports, tx.fee.baseLamports, tx.fee.priorityLamports);
for (const t of tx.transfers) console.log(t.fromOwner, "->", t.toOwner, t.amount, t.mint);

Already have the transaction from a websocket or your own client? parseFetchedTransaction(tx) parses it synchronously with no network. Full documentation and every result field are in the README and API reference. MIT licensed, no dependencies.

Integrations

BLIX: AI-powered Solana memecoin terminal. Trade memes first.

Guides

How to parse a Solana transaction in Node.js without web3.js

How to see the priority fee a Solana transaction paid

From the team behind Blix

solana-tx-parse is a small, open piece of what runs behind Blix, the AI-powered Solana memecoin terminal with 0% fees: every pump.fun launch live, AI coin ratings, narratives, wallet and X tracking, and one-click trading. If you want the result rather than the plumbing, use Blix. There is also a public API and an MCP server for AI agents.

Contribute

Pull requests are welcome and there are good first issues with step-by-step instructions. Setup is git clone and npm test, fully offline. Ask anything in Discussions or the Discord.

More Solana tools from Blix

solana-token-metaToken metadata and rug check: authorities, extensions, name and symbolsolana-swap-parserWhat a Solana transaction traded: wallet, sold, bought, price, DEXsol-holdersTop holders of any Solana token, pools and curves left outsolana-rpc-poolA Solana RPC load balancer: several endpoints, rate limits, failoverpump-curveRead a pump.fun bonding curve: price, market cap, progress, migration