Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ledger<Descriptor>

Type parameters

  • Descriptor

Hierarchy

Index

Constructors

constructor

Methods

connect

  • connect(): Promise<void>

getAddress

  • getAddress(derivationPath: DerivationPath, index: number): Promise<string>

getDerivationPaths

Protected getExtendedKey

  • getExtendedKey(derivationPath: string): Promise<ExtendedPublicKey>

Protected getHardenedAddress

  • getHardenedAddress(derivationPath: DerivationPath, index: number): Promise<string>

Private getMetadata

  • getMetadata(): Promise<AppMetadata>

getType

isHardwareWallet

serialize

  • serialize(): string

signMessage

Static deserialize

  • deserialize(serializedData: string): Ledger<unknown>
  • Get a class instance from serialized data. Useful for using the class in a web worker.

    Parameters

    • serializedData: string

    Returns Ledger<unknown>

Generated using TypeDoc