cardanoGetPublicKey
Use requirement
Firmware version required
Touch: 4.1.0
Classic/Mini: 3.0.0
Cardano: get public key
Retrieves BIP32-Ed25529 extended public derived by given BIP32-Ed25519 path. User is presented with a description of the requested key and asked to confirm the export.
const result = await HardwareSDK.cardanoGetPublicKey(connectId, deviceId, params);Params
Exporting single public key
path- requiredstring | Array<number>minimum length is1. read moreshowOnOneKey- optionalbooleandetermines if address will be displayed on device. Default is set totruederivationType- optionalCardanoDerivationTypeenum. determines used derivation type. Default is set to ICARUS=1
Exporting bundle of public keys
bundle-Arrayof Objects withpath,showOnOneKeyfields
Example
Return public key of first cardano account:
Return a bundle of public keys for multiple cardano accounts:
Result
Result with only one public key
Error
Last updated
Was this helpful?