Interface IWallet<TKey>

Presents for an instance of wallet

Type Parameters

  • TKey

Hierarchy

  • IWallet

Methods

  • The key (private) of wallet either the private key of legacy wallet or a key holder of a HD wallet

    Returns TKey

  • Returns the public address of wallet, depends on each chain we use different methods to produce it from the public key (e.g hashing)

    Returns Promise<string>

  • Returns the public address of wallet, depends on each chain we use different methods to produce it from the public key (e.g hashing)

    Returns Promise<Uint8Array>

  • Returns the formatted public key of wallet, depends on each chain one will format/prefix the public key with different values

    Returns Promise<string>

  • Returns the public key of wallet, which is formated depends on chains

    Returns Promise<Uint8Array>

  • Returns the raw public key of wallet, which is computed from the private key

    Returns Promise<string>

  • Returns the raw public key of wallet, which is computed from the private key

    Returns Promise<Uint8Array>

  • Returns the reference key of wallet either a private key for legacy wallet or derived path of sub-wallet of HD wallet

    Returns string

Generated using TypeDoc