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
| Name | Summary |
|---|---|
| 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 |
| None | object None : TransactionExpiration The transaction has no expiration |
Functions
| Name | Summary |
|---|---|
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun 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
| Epoch | constructor(v1: ULong) |
Properties
| Name | Summary |
|---|---|
| v1 | val v1: ULong |
Functions
| Name | Summary |
|---|---|
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
None
object None : TransactionExpiration
The transaction has no expiration
Functions
| Name | Summary |
|---|---|
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |