Consensual Transaction Builder
Defines a builder for ConsensualSignedTransactions.
It is a transaction class that's mutable (unlike the others which are all immutable). It is intended to be passed around parties that may edit it by adding new states. Then, once the states are right, this class can be used as a holding bucket to gather signatures from multiple parties.
Functions
Link copied to clipboard
abstract fun signInitial(publicKey: PublicKey): ConsensualSignedTransaction
Content copied to clipboard
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.
Link copied to clipboard
abstract fun withStates(vararg states: ConsensualState): ConsensualTransactionBuilder
Content copied to clipboard
Adds the specified ConsensualStates to the ConsensualTransactionBuilder.