@orangecheck/sdk / nostrPubkeyToHex
Function: nostrPubkeyToHex()
function nostrPubkeyToHex(value: string): string | null;
Defined in: nostr-pubkey.ts:12
A Nostr public key as lowercase hex, from either npub1… or hex. Null if it is neither.
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
string | null