getEpochSettings

getEpochSettings is a method on the ARIO class that retrieves the configuration settings for epochs, including duration, distribution delay, and other epoch-related parameters.

getEpochSettings does not require authentication.

Examples

getEpochSettings

const settings = await ario.getEpochSettings();

Parameters

The getEpochSettings method does not accept any parameters.

Output

{
  "epochZeroStartTimestamp": 1720720620813,  // Unix timestamp of epoch 0 start
  "durationMs": 2592000000,                  // Duration of each epoch in milliseconds (30 days)
  "distributionDelayMs": 86400000,           // Delay before distribution in milliseconds (1 day)
  "maxObservers": 50,                        // Maximum number of observers per epoch
  "pruneEpochsCount": 14                     // Number of epochs to keep in history
}

Was this page helpful?