Skip to main content

TransactionKind

open class TransactionKind : Disposable, AutoCloseable, TransactionKindInterface

Transaction type

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

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
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringopen override fun toDisplayString(): String
Render this type as human-readable text.
toJsonopen override fun toJson(): String
Convert this type to a JSON encoded string.
toStringopen override fun toString(): String

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): TransactionKind
Create this type from BCS encoded bytes.
fromJsonfun fromJson(json: String): TransactionKind
Create this type from a JSON encoded string.
newConsensusCommitPrologueV1fun newConsensusCommitPrologueV1(transaction: ConsensusCommitPrologueV1): TransactionKind
Create a TransactionKind for a consensus-commit-prologue-v1 transaction.
newEndOfEpochfun newEndOfEpoch(transaction: List<EndOfEpochTransactionKind>): TransactionKind
Create a TransactionKind for an end-of-epoch transaction.
newGenesisfun newGenesis(transaction: GenesisTransaction): TransactionKind
Create a TransactionKind for a genesis transaction.
newProgrammablefun newProgrammable(transaction: ProgrammableTransaction): TransactionKind
Create a TransactionKind for a programmable transaction.
newRandomnessStateUpdatefun newRandomnessStateUpdate(transaction: RandomnessStateUpdate): TransactionKind
Create a TransactionKind for a randomness-state-update transaction.
newTransactionDenyRulesUpdatefun newTransactionDenyRulesUpdate(transaction: TransactionDenyRulesUpdate): TransactionKind
Create a TransactionKind for a transaction-deny-rules-update transaction.