tonSignProof
Use requirement
Firmware version required
Touch: 4.10.0
TON: sign proof
Sign a proof message for dApp authentication using the private key derived by given BIP32 path. User needs to confirm the action on OneKey device.
Params
path
— requiredstring | Array<number>
minimum length is 3appdomain
— requiredstring
domain of the dApp requesting the proofcomment
— optionalstring
message comment in hex formatexpireAt
— requirednumber
proof expiration timestampwalletVersion
— optionalTonWalletVersion
TON wallet version (default: 3)walletId
— optionalnumber
wallet ID (default: 698983191)workchain
— optionalTonWorkChain
TON workchain (0: BaseChain, 1: MasterChain)isBounceable
— optionalboolean
whether message is bounceable (default: false)isTestnetOnly
— optionalboolean
whether to use testnet (default: false)
Returns
Response
signature
- proof signature in hex format
Example
Result
Error
Last updated