Skip to main content

Get Epoch Info

GET 

/epoch/:epoch_id

Get epoch information for a given epoch ID.

Args:

request (Request): The incoming request object.
response (Response): The outgoing response object.
epoch_id (int): The epoch ID for which to retrieve information.
rate_limit_auth_dep (RateLimitAuthCheck, optional): The rate limit authentication check dependency. Defaults to rate_limit_auth_check.

Returns:

dict: A dictionary containing epoch information including timestamp, block number, and epoch end.

Request

Path Parameters

    epoch_id Epoch Idrequired

Responses

Successful Response

Schema
    any
Loading...