Skip to main content

epoch

Fetch epoch information by ID (defaults to the latest epoch).

epoch(
id: Int
): Epoch

Arguments

epoch.id ● Int scalar

Type

Epoch object

Operation of the Sui network is temporally partitioned into non-overlapping epochs, and the network aims to keep epochs roughly the same duration as each other. During a particular epoch the following data is fixed:

  • the protocol version
  • the reference gas price
  • the set of participating validators