Alby Developer Guide
Alby Browser Extension APIs
Ask or search…
K
Links

getPublicKey

Method
async function getPublicKey(): string;
Response
The hex-encoded version of your public key.
Code Example
const publicKey = await window.nostr.getPublicKey();
Last modified 6mo ago