GET/v1/classic/epoch
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/aerodrome/v1/classic/epochCache cached 60s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCurrent epoch boundaries, voting window timestamps, total voter weight, registered pool count, and weekly emissions.
Try this endpoint
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/aerodrome/v1/classic/epoch?chain=base"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | query | str | optional | Target classic chain: base (Aerodrome) or optimism (Velodrome). default: baseexample: base |
timestamp | query | int | optional | Optional reference Unix timestamp (defaults to current time). |
Response
type: object
pagination: none
sample: {
"chain": "str",
"chain_id": "int",
"voter": "str",
"minter": "str",
"reference_timestamp": "int",
"epoch_start": "int",
"epoch_next": "int",
"epoch_vote_start": "int",
"epoch_vote_end": "int",
"total_weight": "str",
"registered_pools": "int",
"weekly_emissions": "str"
}