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
- 200
Successful Response
- application/json
- Schema
Schema
- any
Loading...