Skip to main content

TransactionExpiration

sealed class TransactionExpiration

A TTL for a transaction

BCS

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

Inheritors​

None
Epoch

Types​

NameSummary
Epochdata class Epoch(val v1: ULong) : TransactionExpiration
Validators won't sign a transaction unless the expiration Epoch is greater than or equal to the current epoch
Noneobject None : TransactionExpiration
The transaction has no expiration

Functions​

NameSummary
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.

Epoch​

data class Epoch(val v1: ULong) : TransactionExpiration

Validators won't sign a transaction unless the expiration Epoch is greater than or equal to the current epoch

Constructors​

Epochconstructor(v1: ULong)

Properties​

NameSummary
v1val v1: ULong

Functions​

NameSummary
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.

None​

object None : TransactionExpiration

The transaction has no expiration

Functions​

NameSummary
toBcsfun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringfun toDisplayString(): String
Render this type as human-readable text.
toJsonfun toJson(): String
Convert this type to a JSON encoded string.