signMessageEip155

open fun signMessageEip155(privateKey: PrivateKey, message: String, chainId: Int): String

Sign a message with Eip-155 msg type.

Parameters

privateKey

: the private key used for signing

message

: A custom message which is input to the signing.

chainId

: chainId for eip-155 protection