Notary Change Wire Transaction
A special transaction for changing the notary of a state. It only needs specifying the state(s) as input(s), old and new notaries. Output states can be computed by applying the notary modification to corresponding inputs on the fly.
Constructors
Old version of NotaryChangeWireTransaction constructor for ABI compatibility.
Properties
A privacy salt is not really required in this case, because we already used nonces in normal transactions and thus input state refs will always be unique. Also, filtering doesn't apply on this type of transactions.
Hash of the network parameters that were in force when the transaction was notarised. Null means, that the transaction was created on older version of Corda (before 4), resolution will default to initial parameters.
This transaction does not contain any output states, outputs can be obtained by resolving a NotaryChangeLedgerTransaction and applying the notary modification to inputs.
Helper property to return a list of ContractState objects, rather than the often less convenient TransactionState
The reference inputs of this transaction, containing the state references only.
Contains all of the transaction components in serialized form. This is used for calculating the transaction id in a deterministic fashion, since re-serializing properties may result in a different byte sequence depending on the serialization context.
Functions
Old version of NotaryChangeWireTransaction.copy for ABI compatibility.
Helper to simplify filtering outputs according to a Predicate.
Helper to simplify filtering output StateAndRef items according to a Predicate.
Helper to simplify finding a single output matching a Predicate.
Helper to simplify finding a single output StateAndRef matching a Predicate.
Helper to simplify getting an indexed output.
Helper to simplify getting all output states of a particular class, interface, or base class.
Returns a StateAndRef for the given output index.
Returns a StateAndRef for the requested output state, or throws IllegalArgumentException if not found.
Helper to simplify getting all output StateAndRef items of a particular state class, interface, or base class.
Resolves input states and builds a NotaryChangeLedgerTransaction.
Resolves input states and network parameters and builds a NotaryChangeLedgerTransaction.