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
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| equals | open operator override fun equals(other: Any?): Boolean |
| hashCode | open override fun hashCode(): Int |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| newConsensusCommitPrologueV1 | fun newConsensusCommitPrologueV1(tx: ConsensusCommitPrologueV1): TransactionKind Create a TransactionKind for a consensus-commit-prologue-v1 transaction. |
| newEndOfEpoch | fun newEndOfEpoch(tx: List<EndOfEpochTransactionKind>): TransactionKind Create a TransactionKind for an end-of-epoch transaction. |
| newGenesis | fun newGenesis(tx: GenesisTransaction): TransactionKind Create a TransactionKind for a genesis transaction. |
| newProgrammable | fun newProgrammable(tx: ProgrammableTransaction): TransactionKind Create a TransactionKind for a programmable transaction. |
| newRandomnessStateUpdate | fun newRandomnessStateUpdate(tx: RandomnessStateUpdate): TransactionKind Create a TransactionKind for a randomness-state-update transaction. |
| newTransactionDenyRulesUpdate | fun newTransactionDenyRulesUpdate(tx: TransactionDenyRulesUpdate): TransactionKind Create a TransactionKind for a transaction-deny-rules-update transaction. |