Swagger\Client\MetricsApi
All URIs are relative to //api.estuary.tech/
Method | HTTP request | Description |
---|---|---|
publicMetricsDealsOnChainGet | GET /public/metrics/deals-on-chain | Get deal metrics |
publicMetricsDealsOnChainGet
string publicMetricsDealsOnChainGet()
Get deal metrics
This endpoint is used to get deal metrics
Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: bearerAuth
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new Swagger\Client\Api\MetricsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->publicMetricsDealsOnChainGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MetricsApi->publicMetricsDealsOnChainGet: ', $e->getMessage(), PHP_EOL;
}
?>
Parameters
This endpoint does not need any parameter.
Return type
string
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]