Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/ledger

Index

Functions

Const getLedgerTransport

  • Returns an instance of a (wired) Ledger transport method. Currently, this will return the WebUSB method if it is supported, with WebHID method as fallback, and U2F method as fallback for WebHID.

    If no transport method is supported, this will throw an error.

    Returns Promise<LedgerU2F | LedgerWebHID | LedgerWebUSB>

Const parseRawData

  • parseRawData(data: Uint8Array, index?: number): [string, number]
  • Parse data received from Transport.send.

    Parameters

    • data: Uint8Array
    • index: number = 0

    Returns [string, number]

Generated using TypeDoc