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- requiredstring | Array<number>minimum length is 3. read moreshowOnOneKey- optionalbooleandetermines if address will be displayed on device. Default is set totrue
Exporting bundle of addresses
bundle-Arrayof Objects withpathandshowOnOneKeyfields
Example
Result with single address
Result with bundle of addresses
Error
Last updated
Was this helpful?