crypto_psbt_decode
Bitcoin PSBT decoder and pre-signing check — Decode a Partially Signed Bitcoin Transaction (PSBT, BIP174 v0 and BIP370 v2, taproot fields) offline and check it before signing or broadcasting. psbt= base64 (cHNidP8...) or hex (70736274ff...); optional network= mainnet (default), testnet, signet, regtest. Returns signing status UNSIGNED/PARTIALLY_SIGNED/SIGNED_NOT_FINALIZED/FINALIZED with the next step, per input: amount and address from witness_utxo or non_witness_utxo (the full previous transaction is hashed and checked against the outpoint), spend type, signatures present vs needed (m-of-n from the witness or redeem script), sighash, BIP32/taproot derivation paths; per output: amount, address and role (change when the output carries a wallet derivation path, payment or data). Totals in/out, amount sent externally vs change, exact fee, estimated vsize and fee rate in sat/vB, and the txid (marked final only when every input is native segwit). Flags UTXO/amount mismatches (fee attacks), negative, very high or below-relay fees, unknown fees, dust, burns and nonstandard sighash, with a verdict OK/REVIEW/DANGER. No network calls; never needs keys. Price: $0.004 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"psbt": "<psbt>"
},
"name": "crypto_psbt_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| psbt | Yes | 70736274ff0100a6020000000262e8b344de73a51894124b7ef3b15c1db18c5d0014334f435d108e81f51a325b0000000000ffffffff62e8b344de73a51894124b7ef3b15c1db18c5d0014334f435d108e81f51a325b0300000000ffffffff02905f010000000000160014e8df018c7e326cc253faac7e46cdc51e68542c4274bd000000000000225120d3a0d82bbfae272329e54e3b3410efc98646eaf06b7b6bf7cadceee05ba1447e000000000001011fa08601000000000016001479b000887626b294a914501a4cd226b58b2359830001012b409c000000000000225120d3a0d82bbfae272329e54e3b3410efc98646eaf06b7b6bf7cadceee05ba1447e011720531fe6068134503d2723133227c867ac8fa6c83c537e9a44c3c5bdbdcb1fe3370000010520531fe6068134503d2723133227c867ac8fa6c83c537e9a44c3c5bdbdcb1fe3372107531fe6068134503d2723133227c867ac8fa6c83c537e9a44c3c5bdbdcb1fe3371900d34db33f560000800000008000000080010000000000000000 |