{"uid":"cap_LcgJFFOQT745QPNI8VtdC","slug":"preflight-bitcoin-transaction-inspector-6e5c84f2","name":"Preflight Bitcoin Transaction Inspector","description":"Call before signing or broadcasting a Bitcoin transaction. Decodes a raw transaction hex or a PSBT and returns inputs, outputs, script types, addresses, vsize, fee rate when derivable, and objective signals such as RBF, dust outputs, non-standard sighash flags and unsigned inputs. Parses only the bytes you send: no network access. Describes the transaction; never advises whether to sign it.","url":"https://preflight402.com/v1/btc/tx-inspect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"raw":{"type":"string"},"psbt":{"type":"string"},"network":{"enum":["mainnet","testnet"],"type":"string","default":"mainnet"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qzaGhagNDoYHmRK5ukxdr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a raw Bitcoin transaction hex or PSBT and returns inputs, outputs, script types, addresses, vsize, fee rate, RBF flags, dust outputs, non-standard sighash flags, and unsigned inputs — offline, no network access.","exampleAgentPrompt":"Before I sign this Bitcoin PSBT, can you inspect it for me and tell me all the inputs, outputs, addresses, fee rate, vsize, and flag anything unusual like RBF, dust outputs, or unsigned inputs? Here's the PSBT: cHNidP8BAH...","exampleUseCases":[{"title":"PSBT review before hardware wallet signing","prompt":"I have this PSBT I'm about to sign on my hardware wallet — can you decode it and tell me all the inputs and outputs, the fee rate, vsize, and whether any inputs are still unsigned or have non-standard sighash flags? PSBT: cHNidP8BAFUCAAAAAd..."},{"title":"Raw transaction sanity check before broadcast","prompt":"Before I broadcast this raw Bitcoin mainnet transaction, inspect it and tell me the inputs, outputs, addresses involved, vsize, fee rate, and whether RBF is set or there are any dust outputs: 0200000001abc123..."},{"title":"Detecting dust outputs in a constructed transaction","prompt":"I built a Bitcoin transaction and want to check if any of the outputs are dust before I send it — can you decode this raw hex on mainnet and flag any dust outputs along with the full breakdown of inputs and outputs? Raw hex: 01000000..."}],"resultDescription":"A structured breakdown of the decoded transaction including: all inputs (with script type, address, value if derivable, and signed/unsigned status), all outputs (with address, script type, value, and dust flag), overall vsize, fee rate when calculable, RBF flag, presence of non-standard sighash flags, and a list of any unsigned inputs. No network calls are made; all analysis is from the raw bytes provided.","failureModes":["Invalid or malformed transaction hex returns a parse error","Malformed PSBT base64 returns a decode error","Fee rate cannot be returned when input values are missing from the PSBT (no UTXO data)","Network mismatch (e.g., testnet address in mainnet mode) may cause address decoding issues","Empty or missing both 'raw' and 'psbt' fields returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to inspect a Bitcoin transaction or PSBT offline, without any network access, before signing or broadcasting. Prefer this over chain-aware endpoints when you only want structural and objective signal analysis of the raw bytes (inputs, outputs, script types, RBF, dust, sighash flags) and do not need UTXO confirmations or mempool status. It is the right choice for automated signing pipelines, hardware wallet integrations, or any agent that must verify what it is about to sign.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:34:23.028Z","isFirstParty":false,"canonicalSlug":"preflight-bitcoin-transaction-inspector-6e5c84f2"}