signTransaction

abstract fun signTransaction(message: ByteArray, signer: Account): ByteArray

Sign a transaction

This function will sign a transaction with the given message and signer.

Return

The signed transaction

Parameters

message

The message to sign

signer

The signer