FullTransaction
Keywords: net.corda.core.transactions.FullTransaction class
Date: 2023-09-18

net.corda.core.transactions

## Class FullTransaction

- net.corda.core.transactions.BaseTransaction
- - net.corda.core.transactions.FullTransaction

- All Implemented Interfaces:
    NamedByHash
  Direct Known Subclasses:
    ContractUpgradeLedgerTransaction, LedgerTransaction, NotaryChangeLedgerTransaction

      public class FullTransaction
      extends BaseTransaction

  A transaction with fully resolved components, such as input states.

- - ### Constructor Detail

    - #### FullTransaction

          public FullTransaction()

      A transaction with fully resolved components, such as input states.

  - ### Method Detail

    - #### getInputs

          @NotNull
          public java.util.List<net.corda.core.contracts.StateAndRef> getInputs()

      The inputs of this transaction. Note that in BaseTransaction subclasses the type of this list may change!

    - #### getReferences

          @NotNull
          public java.util.List<net.corda.core.contracts.StateAndRef> getReferences()

      A list of reusable reference data states which can be referred to by other contracts in this transaction.

    - #### getNetworkParameters

          @Nullable
          public NetworkParameters getNetworkParameters()

      Network parameters that were in force when this transaction was created. Resolved from the hash of network parameters on the corresponding wire transaction.

    - #### checkBaseInvariants

          protected void checkBaseInvariants()

    - #### checkNotaryWhitelisted

          protected void checkNotaryWhitelisted()

      Make sure the assigned notary is part of the network parameter whitelist.