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
Exporting single address
path- requiredstring | Array<number>minimum length is 3group- optionalnumber | undefined | nullshowOnOneKey- optionalbooleandetermines if address will be displayed on device. Default is set totrue
Exporting bundle of addresses
bundle-Arrayof Objects withpathandshowOnOneKeyandgroupfields
Example
Result
Result with only one address
Result with bundle of addresses sorted by FIFO
Error
Last updated
Was this helpful?