decode_wif
Decode a WIF private key to derive its public key and Bitcoin addresses. Works offline without echoing the private key.
Instructions
Show the public key and addresses for a WIF private key. Works offline.
Requires MCP_BITCOIN_ALLOW_MNEMONIC=true. The private key is not echoed back.
Args: wif: The WIF-encoded private key. network: Override the server's network for this 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": {
"wif": "<wif>"
},
"name": "decode_wif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wif | Yes | ||
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |