validate_btc_address
Validate a Bitcoin address before sending funds. Checks Base58Check and Bech32/Bech32m formats, returns address type and network to catch mistyped addresses.
Instructions
USE THIS to verify a Bitcoin address before sending funds or storing it — do not assume it is valid. Checks Base58Check (P2PKH/P2SH, double-SHA256 checksum) and Bech32/Bech32m SegWit (bc1…, incl. Taproot), and returns the address type and network. A bad checksum means a mistyped address.
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": {
"address": "<address>"
},
"name": "validate_btc_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The Bitcoin address (legacy 1…/3… or bech32 bc1…). |