sign
suspend fun sign(transactionSigner: KeyPair? = null, force: Boolean = false): AssembledTransaction<T>
Signs the transaction.
Return
This AssembledTransaction for chaining
Parameters
transaction Signer
The KeyPair to sign with (or null to use constructor signer)
force
Whether to sign even if this is a read call (default false)
Throws
if not yet simulated
if read call and force=false
if contract state needs restoration
if more auth signatures required