nostr_get_pubkey
Retrieves the configured signer's public key in hex and npub format. Returns an error if no signer is configured or while waiting for NIP-46 bunker handshake.
Instructions
Return the configured signer's public key as hex + npub. Errors clearly if no signer is configured (server is in read-only mode). For NIP-46 signers, this blocks until the bunker handshake completes.
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 | |||