nostrEncryptMessage
Last updated
Was this helpful?
Last updated
Was this helpful?
Firmware version required
Touch: 4.6.0
Classic/Mini: 3.5.0
Classic1s: 3.6.0
Asks device to encrypt message using the private key derived by given BIP32 path. User is asked to confirm all transaction details on OneKey.
path
— required string | Array<number>
minimum length is 3
.
pubkey
— required string
public key .
plaintext
— required string
messages that need to be encrypted.
showOnOneKey
— optional boolean
determines if address will be displayed on device. Default is set to true
.
Result
Error