Bitcoin Taproot m-of-n multisig address (dev tool)
taproot_multisig_addressBitcoin Taproot script-path m-of-n multisig: one CHECKSIGADD leaf under the BIP341 NUMS internal key (no key path), from x-only or compressed PUBLIC keys + threshold + network (bitcoin default, testnet, signet, regtest). Returns address, leaf_script, control_block, merkle_root, internal_key and descriptor. Pure, offline computation (blocktools); nothing is fetched or stored. How to combine this with the other tools: swapchan_playbook (workflows: find-money, best-swap, rebalance, revoke-approvals, bridge-stuck, token-safety, recover-old-wallet).
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": {
"threshold": "<threshold>",
"pubkeys": "<pubkeys>"
},
"name": "taproot_multisig_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | ||
| pubkeys | Yes | Public keys in order (order is consensus-significant) | |
| threshold | Yes |