cosmosGetPublicKey
Use requirement
Firmware version required
Touch: 4.0.0
Classic/Mini: 2.10.0
Cosmos: get public key
Retrieves BIP32 extended public derived by given BIP32 path. User is presented with a description of the requested key and asked to confirm the export.
Params
Exporting single public key
path
— requiredstring | Array<number>
minimum length is1
.curve
— optionalstring
of the elliptic curve algorithm, default issecp256k1
showOnOneKey
— optionalboolean
determines if address will be displayed on device. Default is set totrue
Exporting bundle of public keys
bundle
-Array
of Objects withpath
,showOnOneKey
,curve
fields
Example
Return public key of fifth cosmos account:
Return a bundle of public keys for multiple cosmos accounts:
Result
Result with only one public key
Read more about BIP32 serialization format
Result with bundle of public keys
Error
Last updated