All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
readStats | GET /{ledger}/stats | Get Stats |
StatsResponse readStats()
Get ledger stats (aggregate metrics on accounts and transactions) The stats for account
import { StatsApi, createConfiguration } from '@numaryhq/ledger-nodejs';
import * as fs from 'fs';
const configuration = createConfiguration();
const apiInstance = new StatsApi(configuration);
apiInstance.readStats("ledger_example" ).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
ledger | [string] | ledger | defaults to undefined |
StatsResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]