corda / com.cordatest / TTxState

TTxState

class TTxState : ContractState

Constructors

<init> TTxState(owner: CompositeKey, txContent: ByteArray)

Properties

contract val contract: Contract

An instance of the contract class that will verify this state.

owner val owner: CompositeKey
participants val participants: List<CompositeKey>

A participant is any party that is able to consume this state in a valid transaction.

txContent val txContent: ByteArray

Extension Functions

hash fun ContractState.hash(): SecureHash

Returns the SHA-256 hash of the serialised contents of this state (not cached!)