get_public_key
Derive the public key from a mnemonic or private key. Provide curve, path, and derive type for mnemonics; omit them for private or secret keys.
Instructions
Get the derived public key for a key. For mnemonic keys, provide curve/path/deriveType. For private/secret keys, omit all deriving params.
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": {
"keyCode": "<keyCode>"
},
"name": "get_public_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | BIP44 derivation path (mnemonic only) | |
| curve | No | Curve (mnemonic only) | |
| keyCode | Yes | The key code | |
| deriveType | No | Derive type (mnemonic only) |