nemGetAddress

Use requirement

  • Firmware version required

    • Touch: 4.4.0

    • Classic/Mini: 3.2.0

NEM: get address

Display requested address derived by given BIP32 path on device and returns it to caller. User is presented with a description of the requested key and asked to confirm the export on OneKey.

const response = await HardwareSDK.nemGetAddress(connectId, deviceId, params)

Params

Optional common params

Exporting single address

  • path - required string | Array<number> minimum length is 5. more information

  • network- optional number Network id. The default value is MAINNET(104)

  • 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 fields

Example

Display address of first nem account:

Return a bundle of aptos addresses without displaying them on device:

Result

Result with only one address

Result with bundle of addresses sorted by FIFO

Error

Last updated

Was this helpful?