- GET /monitoring/historic-denomination-revenue#
Get a list of historic denomination revenue stored by the auditor.
The following query parameters are optional, and can be used to customise the response:
Request:
- Query Parameters:
limit – A signed integer, indicating how many elements relative to the offset query parameter should be returned. The default value is -20.
offset – An unsigned integer, indicating from which row onward to return elements. The default value is INT_MAX.
With the default settings, the endpoint returns at most the 20 latest elements.
Response:
- 200 OK:
The auditor responds with a top level array of HistoricDenominationRevenue objects. If no elements could be found, an empty array is returned
Details:
interface HistoricDenominationRevenue { // Unique row identifier row_id : Integer; // Hash code of the denomination public key involved denom_pub_hash : HashCode; // Time when the denomination expired and thus the revenue // was computed. revenue_timestamp : Timestamp; // Total fee revenue the exchange earned from coins of this // denomination. revenue_balance : Amount; // Total losses the exchange experienced from this denomination // (this basically only happens if someone was able to forge // denomination signatures). So non-zero values are indicative // of a serious problem. loss_balance : Amount; }
Note
This endpoint is still experimental. The endpoint will be further developed as needed.