btc_import_descriptor
Imports a watch-only Bitcoin wallet from a BIP84 descriptor for monitoring on mainnet or testnet; use a separate Liquid CT descriptor import for Liquid wallets.
Instructions
Import a watch-only Bitcoin wallet from a BIP84 descriptor. ONLY imports Bitcoin — to monitor the same seed's Liquid wallet, the user must separately import its CT descriptor with lw_import_descriptor (different derivation path + SLIP-77 key).
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>",
"wallet_name": "<wallet_name>"
},
"name": "btc_import_descriptor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network to use | mainnet |
| descriptor | Yes | BIP84 external descriptor (with or without [fp/path] prefix) | |
| wallet_name | Yes | Wallet name (may add Bitcoin to an existing Liquid-only wallet) | |
| change_descriptor | No | Optional change descriptor; auto-derived from external if omitted (replaces /0/* with /1/*) |