Decode and analyze a PSBT
bitcoin_decode_psbtDecode and analyze a PSBT (base64): inputs, outputs, fee and fee rate when the input data is present, estimated vsize, signatures still missing and the next step. Nothing is signed or broadcast. Paid per call. Price: 5 sats or US$0.005 (USDC) per call.
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": "bitcoin_decode_psbt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| l402 | No | Optional. After paying the Lightning invoice: '<token>:<preimage>'. | |
| pass | No | Optional. A Diamond budget token (dp_...) that your user approved once (from US$0.89; USDC or other Base tokens, or Lightning) or that you funded with the free diamond_budget tool. Each call deducts its price; no wallet needed in the agent. | |
| psbt | Yes | A PSBT in base64 (URL-encode + as %2B) | |
| pay_with | No | Optional. 'lightning' requests a BOLT11 invoice and a token when Diamond can receive Lightning payments. |