Applesauce
Preparing search index...
applesauce-core
Helpers
normalizeToPubkey
Function normalizeToPubkey
normalizeToPubkey
(
str
:
`
npub1
${
string
}
`
)
:
string
Gets the hex pubkey from any nip-19 encoded string
Parameters
str
:
`
npub1
${
string
}
`
Returns
string
normalizeToPubkey
(
str
:
string
)
:
string
|
null
Gets the hex pubkey from any nip-19 encoded string
Parameters
str
:
string
Returns
string
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Applesauce
Loading...
Gets the hex pubkey from any nip-19 encoded string