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.

attachmentConstraint

The attachment constraint

contractState

The state itself.

contractClassName

The class name of the contract that verifies this state.