alephiumGetAddress

Use requirement

  • Firmware version required

    • Touch: 4.10.0

Alephium: get address

Display requested address derived by given BIP32 path on device and returns it to caller. User is asked to confirm the export on OneKey.

const result = await HardwareSDK.alephiumGetAddress(connectId, deviceId, {
    path: "m/44'/1234'/0'/0/0",
    showOnOneKey: false,
    group: 0,
    includePublicKey: true
});

Params

Optional common params

Exporting single address

  • path - required string | Array<number> minimum length is 3

  • group - optional number | undefined | null

  • showOnOneKey - optional boolean determines if address will be displayed on device. Default is set to true

Exporting bundle of addresses

  • bundle - Array of Objects with path and showOnOneKey and group fields

Example

Result

Result with only one address

Result with bundle of addresses sorted by FIFO

Error

Last updated

Was this helpful?