TransactionKind
open class TransactionKind : Disposable, AutoCloseable, TransactionKindInterface
Transaction type
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
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 |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
| toString | open override fun toString(): String |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): TransactionKind Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): TransactionKind Create this type from a JSON encoded string. |
| newConsensusCommitPrologueV1 | fun newConsensusCommitPrologueV1(transaction: ConsensusCommitPrologueV1): TransactionKind Create a TransactionKind for a consensus-commit-prologue-v1 transaction. |
| newEndOfEpoch | fun newEndOfEpoch(transaction: List<EndOfEpochTransactionKind>): TransactionKind Create a TransactionKind for an end-of-epoch transaction. |
| newGenesis | fun newGenesis(transaction: GenesisTransaction): TransactionKind Create a TransactionKind for a genesis transaction. |
| newProgrammable | fun newProgrammable(transaction: ProgrammableTransaction): TransactionKind Create a TransactionKind for a programmable transaction. |
| newRandomnessStateUpdate | fun newRandomnessStateUpdate(transaction: RandomnessStateUpdate): TransactionKind Create a TransactionKind for a randomness-state-update transaction. |
| newTransactionDenyRulesUpdate | fun newTransactionDenyRulesUpdate(transaction: TransactionDenyRulesUpdate): TransactionKind Create a TransactionKind for a transaction-deny-rules-update transaction. |