{"uid":"cap_socqXC6YzSoUQLNzLjz0F","slug":"btc-tx-toolkit-psbt-analyzer-8d63c8e0","name":"BTC Tx Toolkit – PSBT Analyzer","description":"Bitcoin transaction decoder, PSBT analyzer and address validator API. Pay-per-call in USDC via x402. Read-only: nothing is broadcast, logged or stored.","url":"https://btc-tx-toolkit.stackstats.workers.dev/psbt/analyze?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"psbt":{"type":"string","description":"PSBT, base64 or hex"},"network":{"enum":["mainnet","testnet","regtest"],"type":"string","default":"mainnet"}}},"responseSchema":{"type":"json","example":{"ok":true,"vsize":141,"change":{"count":1,"outputs":[1],"value_sat":50000},"fee_sat":1410,"warnings":[],"dust_outputs":[],"rbf_signaled":true,"feerate_sat_vb":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_jg_zxUz0_6awyJEMlt1Wg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and analyzes a Bitcoin PSBT (Partially Signed Bitcoin Transaction) to return fee, feerate, vsize, change outputs, RBF signaling, dust detection, and warnings — without broadcasting or storing anything.","exampleAgentPrompt":"Can you analyze this PSBT for me — base64 encoded — on mainnet, and tell me the fee, feerate, vsize, and whether RBF is signaled, without broadcasting it? Here's the PSBT: cHNidP8BAH...","exampleUseCases":[{"title":"Pre-signing fee sanity check","prompt":"Before I sign this PSBT, can you decode it and tell me the fee in satoshis, the feerate in sat/vbyte, and whether the fee looks reasonable? Here's the base64 PSBT on mainnet: cHNidP8BAH..."},{"title":"Dust and warning audit for wallet dev","prompt":"I'm building a wallet and need to check this PSBT on testnet for any dust outputs or warnings before presenting it to the user — can you analyze it and flag anything suspicious? PSBT: 70736274ff..."},{"title":"Change output verification before hardware signing","prompt":"I want to confirm the change output count and value in satoshis on this mainnet PSBT before I send it to my hardware wallet to sign — can you decode and analyze it? PSBT: cHNidP8BAH..."}],"resultDescription":"Returns a JSON object with: ok (boolean), vsize (virtual transaction size in bytes), fee_sat (total fee in satoshis), feerate_sat_vb (fee rate in sat/vbyte), change object (output indices, count, and total value in satoshis), rbf_signaled (boolean), dust_outputs (array of outputs below dust threshold), and warnings (array of human-readable alert strings).","failureModes":["Invalid or malformed PSBT string returns an error with ok:false","Unsupported network value causes a validation error","Very large PSBTs may exceed payload limits","Missing psbt field in request body returns a 400-level error","Malformed base64 or hex encoding causes a parse failure"],"whenToPreferThis":"Use this endpoint when you need a read-only, privacy-preserving analysis of a PSBT before signing or broadcasting — especially when fee sanity checking, dust detection, RBF verification, or change output inspection is needed. Prefer it over full-node RPC calls when you don't control a node, or over explorers when the transaction hasn't been broadcast yet and must remain private. Ideal for wallet UIs, signing flows, and agent-driven transaction review pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:30:31.786Z","isFirstParty":false,"canonicalSlug":"btc-tx-toolkit-psbt-analyzer-8d63c8e0"}