getExplorerOraclesWithHttpInfo method
Reports the on-chain price/data oracles from the graph's O-Chain PriceFeed registry.
Reports the on-chain price/data oracles from the graph's O-Chain PriceFeed registry. A reachable graph with no feeds answers an honest empty list; an unreachable or erroring graph likewise degrades to an empty list at 200 rather than a 502, so the console never error-toasts. No feed is ever fabricated.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getExplorerOraclesWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/explorer/oracles';
// 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,
);
}