NotaryChangeWireTransaction.<init> - corda

corda / net.corda.core.transactions / NotaryChangeWireTransaction / <init>

# <init>

`NotaryChangeWireTransaction(serializedComponents: List<OpaqueBytes>)`

Old version of NotaryChangeWireTransaction constructor for ABI compatibility.

`NotaryChangeWireTransaction(inputs: List<StateRef>, notary: Party, newNotary: Party)` `NotaryChangeWireTransaction(serializedComponents: List<OpaqueBytes>, digestService: DigestService)`

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.