Skip to content

Function: maxEpochsAhead() ​

maxEpochsAhead(client): Promise<number>

Defined in: @meddleware/walrus-storage-client/src/upload.ts:16

The network's current max_epochs_ahead, read from the Walrus system object, or MAX_SINGLE_RESERVATION_EPOCHS when it cannot be read. Used to validate epochs before a wallet prompt is shown.

Parameters ​

client ​

ClientWithExtensions

Returns ​

Promise<number>

2026 Meddleware. All jams preserved.