getWeb3ChainsWithHttpInfo method

Future<Response> getWeb3ChainsWithHttpInfo()

Reports the chains this deployment can reach.

Reports the chains this deployment can reach. The list is the declared registry, so it is exactly what /v1/web3/rpc will accept — a chain that appears here is one this deployment actually has an upstream for.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getWeb3ChainsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/web3/chains';

  // 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,
  );
}