Skip to main content

epochinfo

This page describes the structure of the epoch-info index (Elasticsearch), and also depicts a few examples of how to query it.

_id​

The _id field of this index is represented by epoch.

Fields​

FieldDescription
accumulatedFeesThe accumulatedFees field represents the accumulated fees that were paid in the epoch.
developerFeesThe developerFees field represents the developer fees that were accumulated in the epoch.

Query examples​

Fetch accumulatedFees and developerFees for a specific epoch​

curl --request GET \
--url ${ES_URL}/epochinfo/_search \
--header 'Content-Type: application/json' \
--data '{
"query": {
"match": {
"_id":"600"
}
}
}'