signInitial

abstract fun signInitial(publicKey: PublicKey): ConsensualSignedTransaction
  1. Verifies the content of the ConsensualTransactionBuilder 2.a Creates 2.b signs 2.c and returns a ConsensualSignedTransaction

Calling this function once consumes the ConsensualTransactionBuilder, so it cannot be used again. Therefore, if you want to build two transactions you need two builders.

Return

Returns a new ConsensualSignedTransaction with the specified details.

Parameters

publicKey

The private counterpart of the specified public key will be used for signing the ConsensualSignedTransaction.

Throws

when called second time on the same object to prevent duplicate transactions accidentally.