public class CoreTransaction extends BaseTransaction
A transaction with the minimal amount of information required to compute the unique transaction id, and
resolve a class FullTransaction
. This type of transaction, wrapped in class SignedTransaction
, gets transferred across the
wire and recorded to storage.
class FullTransaction
,
class SignedTransaction
Constructor and Description |
---|
CoreTransaction()
A transaction with the minimal amount of information required to compute the unique transaction id, and
resolve a
class FullTransaction . This type of transaction, wrapped in class SignedTransaction , gets transferred across the
wire and recorded to storage. |
Modifier and Type | Method and Description |
---|---|
java.util.List<net.corda.core.contracts.StateRef> |
getInputs()
The inputs of this transaction, containing state references only.
|
SecureHash |
getNetworkParametersHash()
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.
|
java.util.List<net.corda.core.contracts.StateRef> |
getReferences()
The reference inputs of this transaction, containing the state references only.
|
checkBaseInvariants, filterOutRefs, filterOutputs, findOutRef, findOutput, getInputs, getNotary, getOutput, getOutputStates, getOutputs, getReferences, outRef, outRef, outRefsOfType, outputsOfType, toString
getId
public CoreTransaction()
A transaction with the minimal amount of information required to compute the unique transaction id, and
resolve a class FullTransaction
. This type of transaction, wrapped in class SignedTransaction
, gets transferred across the
wire and recorded to storage.
class FullTransaction
,
class SignedTransaction
public java.util.List<net.corda.core.contracts.StateRef> getInputs()
The inputs of this transaction, containing state references only.
public java.util.List<net.corda.core.contracts.StateRef> getReferences()
The reference inputs of this transaction, containing the state references only.
public SecureHash getNetworkParametersHash()
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.