getExplorerIndexersWithHttpInfo method
Reports the deployment's chain indexer(s) and how far each has indexed.
Reports the deployment's chain indexer(s) and how far each has indexed. Identity and health come from the indexer's /health; the latest indexed block (height + time) from its /v1/explorer/blocks. The row EXISTS if EITHER call reaches the indexer; when the indexer is entirely unreachable the answer degrades to an honest-EMPTY list at 200, not a 502. No chain HEAD is exposed by the indexer REST, so lag is honestly omitted rather than fabricated.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getExplorerIndexersWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/explorer/indexers';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}