curl --request GET \
--url 'https://beaconcha.in/api/v1/latestState?apikey='{
"status": "OK",
"data": {
"lastProposedSlot": 12771116,
"currentSlot": 12771115,
"currentEpoch": 399097,
"currentFinalizedEpoch": 399094,
"finalityDelay": 3,
"syncing": false,
"rates": {
"tickerCurrency": "USD",
"tickerCurrencySymbol": "$",
"selectedCurrency": "ETH",
"selectedCurrencySymbol": "ETH",
"mainCurrency": "ETH",
"mainCurrencySymbol": "ETH",
"mainCurrencyPrice": 1,
"mainCurrencyPriceFormatted": "1",
"mainCurrencyKFormatted": "1",
"mainCurrencyTickerPrice": 4366.60356702,
"mainCurrencyTickerPriceFormatted": "4<span class=\"thousands-separator\"></span>366",
"mainCurrencyTickerPriceKFormatted": "4<span class=\"thousands-separator\"></span>366",
"elCurrency": "ETH",
"elCurrencySymbol": "ETH",
"elCurrencyPrice": 1,
"elCurrencyPriceFormatted": "1",
"elCurrencyKFormatted": "1",
"clCurrency": "ETH",
"clCurrencySymbol": "ETH",
"clCurrencyPrice": 1,
"clCurrencyPriceFormatted": "1",
"clCurrencyKFormatted": "1",
"mainCurrencyTickerPrices": {}
}
}
}Retrieve the latest known network state as observed by the explorer backend. The payload includes current slot and epoch numbers, the most recent finalized epoch, a finality delay indicator, a syncing flag, and display rates used for price conversions in the UI.
curl --request GET \
--url 'https://beaconcha.in/api/v1/latestState?apikey='{
"status": "OK",
"data": {
"lastProposedSlot": 12771116,
"currentSlot": 12771115,
"currentEpoch": 399097,
"currentFinalizedEpoch": 399094,
"finalityDelay": 3,
"syncing": false,
"rates": {
"tickerCurrency": "USD",
"tickerCurrencySymbol": "$",
"selectedCurrency": "ETH",
"selectedCurrencySymbol": "ETH",
"mainCurrency": "ETH",
"mainCurrencySymbol": "ETH",
"mainCurrencyPrice": 1,
"mainCurrencyPriceFormatted": "1",
"mainCurrencyKFormatted": "1",
"mainCurrencyTickerPrice": 4366.60356702,
"mainCurrencyTickerPriceFormatted": "4<span class=\"thousands-separator\"></span>366",
"mainCurrencyTickerPriceKFormatted": "4<span class=\"thousands-separator\"></span>366",
"elCurrency": "ETH",
"elCurrencySymbol": "ETH",
"elCurrencyPrice": 1,
"elCurrencyPriceFormatted": "1",
"elCurrencyKFormatted": "1",
"clCurrency": "ETH",
"clCurrencySymbol": "ETH",
"clCurrencyPrice": 1,
"clCurrencyPriceFormatted": "1",
"clCurrencyKFormatted": "1",
"mainCurrencyTickerPrices": {}
}
}
}Latest state was retrieved successfully. The data object contains the current chain status and pricing context.
Standard success envelope used by all API endpoints.
Was this page helpful?