scdoGetAddress

Use requirement

  • Firmware version required

    • Touch: 4.10.0

SCDO: 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.scdoGetAddress(connectId, deviceId, {
    path: "m/44'/541'/0'/0/0",
    showOnOneKey: true
});

Params

Optional common params

Exporting single address

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

  • 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

Result with single address

Result with bundle of addresses

Error

Last updated

Was this helpful?