Skip to main content

Get Current Epoch

GET 

/current_epoch

Get the current epoch data from the protocol state contract.

Args:

request (Request): The incoming request object.
response (Response): The outgoing response object.
rate_limit_auth_dep (RateLimitAuthCheck, optional): The rate limit authentication check dependency.
Defaults to Depends(rate_limit_auth_check,).

Returns:

dict: A dictionary containing the current epoch data.

Request

Responses

Successful Response

Schema
    any
Loading...