{"uid":"cap_DxSdeXeG0-NEEm82nwGFr","slug":"47620-xyz-solana-transaction-fee-breakdown-b02ee656","name":"47620.xyz Solana Transaction Fee Breakdown","description":"Fee breakdown for a transaction: base fee, compute units consumed, and compute-unit price if present.","url":"https://47620.xyz/x/tx-fees/:solana_tx?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Txrih2mzbHeANZ7ZHQQxp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a detailed fee breakdown for a Solana transaction, including base fee, compute units consumed, and compute-unit price if set.","exampleAgentPrompt":"Can you pull the full fee breakdown for Solana transaction 5J3v...kXzQ — I want to see the base fee, how many compute units it used, and the compute-unit price if one was set?","exampleUseCases":[{"title":"Auditing high-fee DeFi swap","prompt":"I just sent a Solana swap transaction and the fee seemed way higher than usual — can you break down the base fee, compute units consumed, and compute-unit price for tx signature 5J3vABC...kXzQ so I can see what drove the cost?"},{"title":"Optimizing compute budget for a bot","prompt":"My trading bot submitted transaction 3RkLmno...WqPx — can you check its fee breakdown so I can see how many compute units it actually used and whether the compute-unit price I set was reasonable?"},{"title":"Cost reporting for on-chain activity","prompt":"I need to calculate the true transaction cost for our monthly report — fetch the fee breakdown for Solana tx 8YtZpqr...HsBv, including base fee and compute units consumed."}],"resultDescription":"Returns structured fee data for the specified Solana transaction: the base fee in lamports, total compute units consumed, and the compute-unit price (micro-lamports per compute unit) if a compute budget instruction was included in the transaction.","failureModes":["Invalid or malformed transaction signature returns an error","Transaction not found (e.g. pruned from RPC node history) returns a not-found error","Network timeout or RPC node unavailability returns a service error","Transaction that has not yet been confirmed may return empty or pending state"],"whenToPreferThis":"Use this endpoint when you need a structured, ready-to-use fee breakdown for a specific Solana transaction without parsing raw RPC responses yourself. Prefer it over generic Solana RPC calls when you need compute-unit data and base fees parsed and surfaced cleanly, especially in agentic or cost-auditing workflows where fee transparency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:36.623Z","isFirstParty":false,"canonicalSlug":"47620-xyz-solana-transaction-fee-breakdown-b02ee656"}