aptosSignMessage
Use requirement
Firmware version required
Touch: 3.0.0
Classic/Mini: 2.6.0
Aptos: sign message
Asks device to sign a message using the private key derived by given BIP32 path.
const result = await HardwareSDK.aptosSignMessage(connectId, deviceId, params);Params
path- requiredstring | Array<number>minimum length is3. read morepayload-AptosMessagePayloadtypeaddress- optionalstringof path Derived addresschainId- optionalstringof the id of the chainapplication- optionalstringof DApp web site urlnonce- requiredstringof random numbermessage- requiredstringmessage to sign text
Example
Result
Error
Last updated
Was this helpful?