signMessage

open fun signMessage(privateKey: PrivateKey, message: String): String

Signs an arbitrary message to prove ownership of an address for off-chain services. https://github.com/ton-foundation/specs/blob/main/specs/wtf-0002.md

Parameters

privateKey

: the private key used for signing

message

: A custom message which is input to the signing.