output
open override fun output(contractClassName: ContractClassName, label: String?, notary: Party, encumbrance: Int?, attachmentConstraint: AttachmentConstraint, contractState: ContractState)
Adds an output to the transaction.
Parameters
label
An optional label that may be later used to retrieve the output probably in other transactions.
notary
The associated notary.
encumbrance
The position of the encumbrance state.
attachment Constraint
The attachment constraint
contract State
The state itself.
contract Class Name
The class name of the contract that verifies this state.