kaspaGetAddress
Use requirement
Firmware version required
Touch: 4.3.0
Classic/Mini: 3.0.0
Kaspa: 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 result = await HardwareSDK.kaspaGetAddress(connectId, deviceId, params);Params
Exporting single public key
path- requiredstring | Array<number>minimum length is3. read moreshowOnOneKey- optionalbooleandetermines if address will be displayed on device. Default is set totrueprefix- optionalstringAddress prefix. Default is set tokaspascheme- optionalstringEncryption algorithm mode. Default is set toschnorr
Exporting bundle of public keys
bundle-Arrayof Objects withpath,coinfields
Example
Return public key of first ethereum account:
Return a bundle of public keys for multiple ethereum accounts:
Result
Result with only one public key
Result with bundle of public keys
Error
Last updated
Was this helpful?