Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "common/address"

Index

Functions

useBech32Config

  • If bech32config is just global variable, it make conflicts when you use mutiple chain api in an application. So, to overcome this, each config should be used in separated way. Use Bech32 encoding, decoding within this function. But if you just use only one chain api in general way, you can use useGlobalBech32Config for convenience

    Type parameters

    • T

    Parameters

    Returns T

useBech32ConfigPromise

  • useBech32ConfigPromise<T>(config: Bech32Config, fn: function): Promise<T>

useGlobalBech32Config

  • useGlobalBech32Config(config: Bech32Config | undefined): void

Generated using TypeDoc