nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / decodeFromBech32

Function: decodeFromBech32()

decodeFromBech32(str): object

Defined in: crypto/bech32.ts:174

Decode bech32 to hex string

Parameters

str

string

Returns

object

prefix

prefix: string

hex

hex: string