pub async fn get_blocks_count(
configuration: &Configuration,
) -> Result<(), Error<GetBlocksCountError>>Expand description
Get the Count of Blocks This endpoint returns the total count of blocks present in the database. The response is a JSON object containing the count. # Responses * 200 OK: Successfully retrieved the count of blocks. The response body will be a JSON object with the structure { \"count\": i64 }, where i64 is the total number of blocks. * 500 Internal Server Error: Indicates that an error occurred on the server while processing the request. The response body will contain a JSON object with an error message. # Example json { \"count\": 42 }