Back to Marketplace
Modulr Official
x402 Ready

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.

$0.05 USDC per call@Modulr402Last tested 2026-06-05
solanatransactiondecoderdevelopmentdebug

Endpoint

POSThttps://modulr402.com/api/marketplace/transaction-decoder
x402 compatible — payment handled automatically

Expected Input

signatureSolana 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

TypeScript — x402
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 — raw request
curl -X POST "https://modulr402.com/api/marketplace/transaction-decoder" \
  -H "Content-Type: application/json" \
  -d '{"signature":"..."}' 
Example request body
{
  "signature": "Solana transaction signature (base58)"
}

See the developers page for the full x402 setup guide.