tonSignMessage
Use requirement
Firmware version required
Touch: 4.10.0
TON: sign message
Sign a message or transaction using the private key derived by given BIP32 path. User needs to confirm the action on OneKey device.
Params
Required Parameters
path
— requiredstring | Array<number>
minimum length is 3destination
— requiredstring
destination addresstonAmount
— requirednumber
amount of TON to transferseqno
— requirednumber
sequence numberexpireAt
— requirednumber
message expiration timestamp
Optional Parameters
walletVersion
— optionalTonWalletVersion
TON wallet version (default: 3)isBounceable
— optionalboolean
whether message is bounceable (default: false)isTestnetOnly
— optionalboolean
whether to use testnet (default: false)jettonMasterAddress
— optionalstring
Jetton master contract addressjettonAmount
— optionalnumber
amount of jettons to transferfwdFee
— optionalnumber
forward fee for jetton transfercomment
— optionalstring
message commentmode
— optionalnumber
message modeworkchain
— optionalTonWorkChain
TON workchainwalletId
— optionalnumber
wallet ID
Example
Result
Error
Last updated