output
abstract fun output(contractClassName: <Error class: unknown class>, label: String?, notary: <Error class: unknown class>, encumbrance: Int?, attachmentConstraint: <Error class: unknown class>, contractState: <Error class: unknown class>)
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.