public class StateConsumptionDetails
Contains information about the consuming transaction for a particular state.
public StateConsumptionDetails(@NotNull SecureHash hashOfTransactionId, @NotNull net.corda.core.flows.StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
hashOfTransactionId
- Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
type
- The type of consumed state: either a reference input state or a regular input state.public StateConsumptionDetails(@NotNull SecureHash hashOfTransactionId)
@NotNull public StateConsumptionDetails copy(@NotNull SecureHash hashOfTransactionId)
@NotNull public SecureHash getHashOfTransactionId()
Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
@NotNull public net.corda.core.flows.StateConsumptionDetails.ConsumedStateType getType()
The type of consumed state
: either a reference input state or a regular input state.
@NotNull public SecureHash component1()
Hash of the consuming transaction id.
Note that this is NOT the transaction id itself – revealing it could lead to privacy leaks.
@NotNull public net.corda.core.flows.StateConsumptionDetails.ConsumedStateType component2()
The type of consumed state
: either a reference input state or a regular input state.
@NotNull public StateConsumptionDetails copy(@NotNull SecureHash hashOfTransactionId, @NotNull net.corda.core.flows.StateConsumptionDetails.ConsumedStateType type)
Contains information about the consuming transaction for a particular state.
@NotNull public java.lang.String toString()
Contains information about the consuming transaction for a particular state.
public int hashCode()
Contains information about the consuming transaction for a particular state.
public boolean equals(@Nullable java.lang.Object p)
Contains information about the consuming transaction for a particular state.