tonSignProof
Last updated
Was this helpful?
Last updated
Was this helpful?
Firmware version required
Touch: 4.10.0
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.
path
— required string | Array<number>
minimum length is 3
appdomain
— required string
domain of the dApp requesting the proof
comment
— optional string
message comment in hex format
expireAt
— required number
proof expiration timestamp
walletVersion
— optional TonWalletVersion
TON wallet version (default: 3)
walletId
— optional number
wallet ID (default: 698983191)
workchain
— optional TonWorkChain
TON workchain (0: BaseChain, 1: MasterChain)
isBounceable
— optional boolean
whether message is bounceable (default: false)
isTestnetOnly
— optional boolean
whether to use testnet (default: false)
Response
signature
- proof signature in hex format
Result
Error