Method
async function getPublicKey(): string;
Response
The hex-encoded version of your public key.
Code Example
const publicKey = await window.nostr.getPublicKey();
Last updated 1 year ago
Was this helpful?