WalletCore
WalletCore
/
wallet.core.jni
/
MessageSigner
Message
Signer
class
MessageSigner
Represents a message signer to sign custom messages for any blockchain.
Functions
Functions
sign
Link copied to clipboard
open
fun
sign
(
coin
:
CoinType
,
input
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Signs an arbitrary message to prove ownership of an address for off-chain services.
verify
Link copied to clipboard
open
fun
verify
(
coin
:
CoinType
,
input
:
Array
<
Byte
>
)
:
Boolean
Verifies a signature for a message.