sign

open fun sign(coin: CoinType, input: Array<Byte>): Array<Byte>

Signs an arbitrary message to prove ownership of an address for off-chain services.

Return

The serialized data of a `MessageSigningOutput` proto object, (e.g. `TW.Solana.Proto.MessageSigningOutput`).

Parameters

coin

The given coin type to sign the message for.

input

The serialized data of a `MessageSigningInput` proto object, (e.g. `TW.Solana.Proto.MessageSigningInput`).