nostr_get_pubkey
Derive the Nostr public key from the active wallet via NIP-06 and return it in hex and npub formats; an unlocked wallet is required.
Instructions
Derive the Nostr public key from the active wallet. Uses the NIP-06 derivation path (m/44'/1237'/0'/0/0). Returns both hex pubkey and npub (bech32) formats. Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nostr_get_pubkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||