data class NotaryChangeWireTransaction : CoreTransaction
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.
enum class Component |
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. |
val digestService: DigestService |
|
val id: SecureHash
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. |
|
val inputs: List<StateRef>
The inputs of this transaction, containing state references only. |
|
val networkParametersHash: SecureHash?
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. |
|
val newNotary: Party
Identity of the notary service to reassign the states to. |
|
val notary: Party
If present, the notary for this transaction. If absent then the transaction is not notarised at all. This is intended for issuance/genesis transactions that don't consume any other states and thus can't double spend anything. |
|
val outputs: List<TransactionState<ContractState>>
This transaction does not contain any output states, outputs can be obtained by resolving a NotaryChangeLedgerTransaction and applying the notary modification to inputs. |
|
val references: List<StateRef>
The reference inputs of this transaction, containing the state references only. |
|
val serializedComponents: List<OpaqueBytes>
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. |
fun copy(serializedComponents: List<OpaqueBytes>): NotaryChangeWireTransaction
Old version of NotaryChangeWireTransaction.copy for ABI compatibility. |
|
fun resolve(services: ServicesForResolution, sigs: List<TransactionSignature>): NotaryChangeLedgerTransaction
Resolves input states and network parameters and builds a NotaryChangeLedgerTransaction. fun resolve(services: ServiceHub, sigs: List<TransactionSignature>): NotaryChangeLedgerTransaction
Resolves input states and builds a NotaryChangeLedgerTransaction. |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |