Skip to main content

Transaction

open class Transaction : Disposable, AutoCloseable, TransactionInterface

Transaction

BCS

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

transaction = %d00 transaction-v1

transaction-v1 = transaction-kind address gas-payment transaction-expiration

Functions

NameSummary
asV1open override fun asV1(): TransactionV1
close@Synchronized
open override fun close()
destroyopen override fun destroy()
digestopen override fun digest(): TransactionDigest
equalsopen operator override fun equals(other: Any?): Boolean
expirationopen override fun expiration(): TransactionExpiration
gasPaymentopen override fun gasPayment(): GasPayment
kindopen override fun kind(): TransactionKind
senderopen override fun sender(): Address
signingDigestopen override fun signingDigest(): ByteArray
Get the signing digest.
signingDigestHexopen override fun signingDigestHex(): String
Get the signing digest as a hex string.
toBase64open override fun toBase64(): String
Serialize the transaction as a base64-encoded string.
toStringopen override fun toString(): String

Companion object functions

NameSummary
fromBase64fun fromBase64(base64: String): Transaction
Deserialize a transaction from a base64-encoded string.
newV1fun newV1(transactionV1: TransactionV1): Transaction