@exodus/bytes
    Preparing search index...
    • Encode bytes to a bech32 string

      Parameters

      • prefix: string

        The human-readable prefix (e.g., 'bc' for Bitcoin)

      • bytes: Uint8Array

        The input bytes to encode

      • Optionallimit: number

        Maximum length of the encoded string (default: 90)

      Returns string

      The bech32 encoded string