Skip to main content

TransactionKind

open class TransactionKind : Disposable, AutoCloseable, TransactionKindInterface

Transaction type

BCS

The BCS serialized form for this type is defined by the following ABNF:

transaction-kind    =  %d00 programmable-transaction               ; Programmable
=/ %d01 genesis-transaction ; Genesis
=/ %d02 consensus-commit-prologue-v1 ; ConsensusCommitPrologueV1
=/ %d03 ; AuthenticatorStateUpdateV1Deprecated
=/ %d04 (vector end-of-epoch-transaction-kind) ; EndOfEpoch
=/ %d05 randomness-state-update ; RandomnessStateUpdate
=/ %d06 transaction-deny-rules-update ; TransactionDenyRulesUpdate

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
toStringopen override fun toString(): String

Companion object functions

NameSummary
newConsensusCommitPrologueV1fun newConsensusCommitPrologueV1(tx: ConsensusCommitPrologueV1): TransactionKind
Create a TransactionKind for a consensus-commit-prologue-v1 transaction.
newEndOfEpochfun newEndOfEpoch(tx: List<EndOfEpochTransactionKind>): TransactionKind
Create a TransactionKind for an end-of-epoch transaction.
newGenesisfun newGenesis(tx: GenesisTransaction): TransactionKind
Create a TransactionKind for a genesis transaction.
newProgrammablefun newProgrammable(tx: ProgrammableTransaction): TransactionKind
Create a TransactionKind for a programmable transaction.
newRandomnessStateUpdatefun newRandomnessStateUpdate(tx: RandomnessStateUpdate): TransactionKind
Create a TransactionKind for a randomness-state-update transaction.
newTransactionDenyRulesUpdatefun newTransactionDenyRulesUpdate(tx: TransactionDenyRulesUpdate): TransactionKind
Create a TransactionKind for a transaction-deny-rules-update transaction.