Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.

Hierarchy

  • Bech32

Index

Constructors

Methods

Constructors

Methods

  • decode(address: string, limit?: number): { data: Uint8Array; prefix: string }
  • deprecated

    This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.

    Parameters

    • address: string
    • limit: number = Infinity

    Returns { data: Uint8Array; prefix: string }

    • Readonly data: Uint8Array
    • Readonly prefix: string
  • encode(prefix: string, data: Uint8Array, limit?: number): string
  • deprecated

    This class is deprecated and will be removed soon. Please use fromBech32() and toBech32() instead. For more details please refer to https://github.com/cosmos/cosmjs/issues/1053.

    Parameters

    • prefix: string
    • data: Uint8Array
    • Optional limit: number

    Returns string

Generated using TypeDoc