Transaction DSL
Underlying class for the transaction DSL. Do not instantiate directly, instead use the transaction function.
Functions
Attaches an attachment containing the named contract to the transaction
Attaches an attachment containing the named contract to the transaction.
Creates a local scoped copy of the transaction.
Adds an Attachment reference to the transaction.
Adds a command to the transaction.
Asserts that verifies throws, with no condition on the exception message.
Asserts that verifies() throws.
Looks up the output label and adds the found state as an input.
Creates an LedgerDSLInterpreter._unverifiedTransaction with a single output state and adds its reference as an input to the current transaction.
Adds an input reference to the transaction. Note that verifies will resolve this reference.
Adds an output to the transaction.
Adds a labelled output to the transaction.
Looks up the output label and adds the found state as an reference input state.
Creates an LedgerDSLInterpreter._unverifiedTransaction with a single reference input state and adds its reference as in input to the current transaction.
Add a reference input state to the transaction. Note that verifies will resolve this reference.
Retrieves an output previously defined by TransactionDSLInterpreter.output with a label passed in.
Sets the TimeWindow of the transaction.
Sets the time-window of the transaction.
Creates a local scoped copy of the transaction.
Verifies the ledger/transaction, throws if the verification fails.