- GET /monitoring/bad-sig-losses#
Get a list of invalid signature losses 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.
return_suppressed – A boolean. If true, returns all eligible rows, otherwise only returns eligible rows that are not suppressed. The default value is false.
operation – A string. If specified, only returns eligible rows with this BadSigLosses.operation value. The default value is NULL which means to not filter by operation.
op_spec_pub – An EddsaPublicKey (in base32 encoding). If given, use its value to only return rows with this BadSigLosses.operation_specific_pub value. The default value is NULL.
With the default settings, the endpoint returns at most the 20 latest elements that are not suppressed.
Response:
- 200 OK:
The auditor responds with a top level array of BadSigLosses objects.
Details:
interface BadSigLosses { // Unique row identifier row_id : Integer; // Operation performed, even though a signature was invalid operation : string; // Amount considered lost by the exchange loss : Amount; // Public key associated with an operation operation_specific_pub : EddsaPublicKey; // True if this diagnostic was suppressed. suppressed : boolean; }
Note
This endpoint is still experimental. The endpoint will be further developed as needed.