Preconditions

@Serializable
data class Preconditions(val timeBounds: TransactionResponse.Preconditions.TimeBounds? = null, val ledgerBounds: TransactionResponse.Preconditions.LedgerBounds? = null, val minAccountSequence: Long? = null, val minAccountSequenceAge: Long? = null, val minAccountSequenceLedgerGap: Long? = null, val extraSigners: List<String>? = null)

Preconditions of a transaction per CAP-21.

See also

Constructors

Link copied to clipboard
constructor(timeBounds: TransactionResponse.Preconditions.TimeBounds? = null, ledgerBounds: TransactionResponse.Preconditions.LedgerBounds? = null, minAccountSequence: Long? = null, minAccountSequenceAge: Long? = null, minAccountSequenceLedgerGap: Long? = null, extraSigners: List<String>? = null)

Types

Link copied to clipboard
@Serializable
data class LedgerBounds(val minLedger: Long, val maxLedger: Long)
Link copied to clipboard
@Serializable
data class TimeBounds(val minTime: String? = null, val maxTime: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "extra_signers")
val extraSigners: List<String>?
Link copied to clipboard
@SerialName(value = "ledgerbounds")
val ledgerBounds: TransactionResponse.Preconditions.LedgerBounds?
Link copied to clipboard
@SerialName(value = "min_account_sequence")
val minAccountSequence: Long?
Link copied to clipboard
@SerialName(value = "min_account_sequence_age")
val minAccountSequenceAge: Long?
Link copied to clipboard
@SerialName(value = "min_account_sequence_ledger_gap")
val minAccountSequenceLedgerGap: Long?
Link copied to clipboard
@SerialName(value = "timebounds")
val timeBounds: TransactionResponse.Preconditions.TimeBounds?