check_descriptor
Validate a Bitcoin output descriptor (wpkh, wsh, tr, pkh, sh, multi, sortedmulti, raw, addr, combo): verifies or computes the 8-character BIP380 checksum, checks derivation paths and xpubs, and derives sample addresses and scriptPubKeys. Never send xprv, WIF, or seed phrases.
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": {
"descriptor": "<descriptor>"
},
"name": "check_descriptor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network for derived addresses (default: mainnet). | |
| descriptor | Yes | Public output descriptor string (with or without `#checksum`). | |
| x402TxHash | No | Optional confirmed Base mainnet USDC transfer transaction hash (`0x...`) to pay via x402. | |
| creditToken | No | Optional WorkSats bearer credit token (`crd_...`) to pay 2 credits when free daily calls are used up. | |
| deriveCount | No | Number of wildcard addresses to derive from index 0 (0..5, default: 3). |