NotaryChangeLedgerTransaction - corda

corda / net.corda.core.transactions / NotaryChangeLedgerTransaction

# NotaryChangeLedgerTransaction

`class NotaryChangeLedgerTransaction : FullTransaction, TransactionWithSignatures`

A notary change transaction with fully resolved inputs and signatures. In contrast with a regular transaction, signatures are checked against the signers specified by input states' participants fields, so full resolution is needed for signature verification.

### Constructors

#### <init> | `NotaryChangeLedgerTransaction(inputs: List<StateAndRef<ContractState>>, notary: Party, newNotary: Party, id: SecureHash, sigs: List<TransactionSignature>)`

### Properties

#### id | `val id: SecureHash`
#### inputs | The inputs of this transaction. Note that in BaseTransaction subclasses the type of this list may change! `val inputs: List<StateAndRef<ContractState>>`
#### networkParameters | Network parameters that were in force when this transaction was created. Resolved from the hash of network parameters on the corresponding wire transaction. `val networkParameters: NetworkParameters?`
#### newNotary | `val newNotary: Party`
#### notary | 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 notary: Party`
#### outputs | We compute the outputs on demand by applying the notary field modification to the inputs. `val outputs: List<TransactionState<ContractState>>`
#### references | A list of reusable reference data states which can be referred to by other contracts in this transaction. `val references: List<StateAndRef<ContractState>>`
#### requiredSigningKeys | Specifies all the public keys that require signatures for the transaction to be valid. `val requiredSigningKeys: Set<PublicKey>`
#### sigs | List of signatures on this transaction. `val sigs: List<TransactionSignature>`

### Functions

#### component1 | `operator fun component1(): List<StateAndRef<ContractState>>`
#### component2 | `operator fun component2(): Party`
#### component3 | `operator fun component3(): Party`
#### component4 | `operator fun component4(): SecureHash`
#### component5 | `operator fun component5(): List<TransactionSignature>`
#### component6 | `operator fun component6(): NetworkParameters?`
#### copy | `fun copy(inputs: List<StateAndRef<ContractState>> = this.inputs, notary: Party = this.notary, newNotary: Party = this.newNotary, id: SecureHash = this.id, sigs: List<TransactionSignature> = this.sigs): NotaryChangeLedgerTransaction`
#### equals | `fun equals(other: Any?): Boolean`
#### getKeyDescriptions | Get a human readable description of where signatures are required from, and are missing, to assist in debugging the underlying cause. `fun getKeyDescriptions(keys: Set<PublicKey>): List<String>`
#### hashCode | `fun hashCode(): Int`
#### toString | `fun toString(): String`