terra-money / fcd-classic

Terra ETL + RestFul API Server
https://fcd.terra.dev/swagger
MIT License
63 stars 42 forks source link

Is there an endpoint or some request that can be performed to check the FCD height? #158

Closed muratso closed 2 years ago

muratso commented 2 years ago

We would like to monitor the FCD height and make sure it will never get too behind of the LCD. The endpoints /blocks/latest, /node_info, /cosmos/base/tendermint/v1beta1/node_info, and /cosmos/base/tendermint/v1beta1/blocks/latest only show the node height, but we're not sure on how to monitor the FCD height (without having to check the logs).

hanjukim commented 2 years ago

All of endpoints you mentioned are not implemented in FCD project, but LCD (Lite Client Daemon) of Cosmos SDK. I recommend you to use /cosmos/base/tendermint/v1beta1/blocks/latest of LCD.