tonSignMessage
Last updated
Was this helpful?
Last updated
Was this helpful?
Firmware version required
Touch: 4.10.0
Sign a message or transaction using the private key derived by given BIP32 path. User needs to confirm the action on OneKey device.
Required Parameters
path
— required string | Array<number>
minimum length is 3
destination
— required string
destination address
tonAmount
— required number
amount of TON to transfer
seqno
— required number
sequence number
expireAt
— required number
message expiration timestamp
Optional Parameters
walletVersion
— optional TonWalletVersion
TON wallet version (default: 3)
isBounceable
— optional boolean
whether message is bounceable (default: false)
isTestnetOnly
— optional boolean
whether to use testnet (default: false)
jettonMasterAddress
— optional string
Jetton master contract address
jettonAmount
— optional number
amount of jettons to transfer
fwdFee
— optional number
forward fee for jetton transfer
comment
— optional string
message comment
mode
— optional number
message mode
workchain
— optional TonWorkChain
TON workchain
walletId
— optional number
wallet ID
Result
Error