Skip to content

MAX_TRANSACTION_VALIDITY_EPOCHS

const MAX_TRANSACTION_VALIDITY_EPOCHS: 2160 = 2160

Defined in: ootle/src/builder.ts:32

The longest validity window any network accepts, in epochs (ConsensusConstants::max_transaction_validity_epochs, ~30 days). A transaction whose max_epoch sits further ahead of the current epoch than this is aborted with AbortReason::ValidityWindowTooLong.