Solana Transaction Decoder
Decodes any Solana transaction into a human-readable breakdown. Returns all program interactions, token transfers, swap details, fees paid, accounts involved and a plain-English summary of what the transaction did. Useful for auditing transactions, understanding on-chain activity, and debugging agent actions.
Endpoint
Expected Input
| signature | Solana transaction signature (base58) |
Example Output
{
"signature": "5xKj9...",
"type": "Token Swap",
"summary": "Swapped 100 USDC for 0.82 SOL via Jupiter on Raydium",
"programs": [
"Jupiter Aggregator",
"Raydium AMM"
],
"transfers": [
{
"from": "9apA...",
"to": "Pool",
"amount": "100 USDC"
}
],
"feePaid": "0.000025 SOL",
"blockTime": "2026-06-05T10:14:22Z"
}Call this tool
import { wrapFetchWithPayment } from "@x402/fetch";
// Set up x402 client with your wallet
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const response = await fetchWithPayment("https://modulr402.com/api/marketplace/transaction-decoder", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"signature":"..."}),
});
const result = await response.json();curl -X POST "https://modulr402.com/api/marketplace/transaction-decoder" \
-H "Content-Type: application/json" \
-d '{"signature":"..."}' {
"signature": "Solana transaction signature (base58)"
}See the developers page for the full x402 setup guide.
More from @Modulr402
Solana Whale Tracker
Track large SOL and SPL token movements from any wallet.
Token Holder Analyzer
Analyze SPL token holder distribution and concentration.
DeFi Liquidity Scanner
Scan liquidity pools across major Solana DEXes for any token.
NFT Collection Analyzer
Analyze floor price, volume, holders and wash trading for any NFT collection.
Wallet PnL Tracker
Estimate realized and unrealized PnL for any Solana wallet from swap history.
DeFi Protocol Risk Scanner
Scan any Solana DeFi protocol for TVL, audit status and exploit risk.
