Skip to main content

MetricsApi

All URIs are relative to https://api.estuary.tech

MethodHTTP requestDescription
publicMetricsDealsOnChainGetGET /public/metrics/deals-on-chainGet deal metrics
# **publicMetricsDealsOnChainGet** > publicMetricsDealsOnChainGet()

Get deal metrics

This endpoint is used to get deal metrics

Example

// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.MetricsApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: bearerAuth
ApiKeyAuth bearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//bearerAuth.setApiKeyPrefix("Token");

MetricsApi apiInstance = new MetricsApi();
try {
apiInstance.publicMetricsDealsOnChainGet();
} catch (ApiException e) {
System.err.println("Exception when calling MetricsApi#publicMetricsDealsOnChainGet");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

null (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json