Main API endpoint

Hierarchy

  • Ada

Properties

transport: default

$FlowIgnore[value-as-type]

Constructors

  • $FlowIgnore[value-as-type]

    Parameters

    • transport: default
    • scrambleKey: string = 'ADA'

    Returns Ada

Methods

  • Returns an object containing the app version.

    Returns

    Result object containing the application version number.

    Example

    const { major, minor, patch, flags } = await ada.getVersion(); console.log(App version ${major}.${minor}.${patch});

    Returns Promise<GetVersionResponse>

  • Returns an object containing the device serial number.

    Returns

    Result object containing the device serial number.

    Example

    const { serialHex } = await ada.getSerial(); console.log(Serial number ${serial});

    Returns Promise<Serial>

  • Runs unit tests on the device (DEVEL app build only)

    Returns Promise<void>

  • Show address corresponding to a given derivation path on the device. This is useful for users to check whether the wallet does not try to scam the user.

    Parameters

    Returns Promise<void>

Generated using TypeDoc