Get Events

This method will retrieve events that were registered using Register event method.

Parameters

This method is accessed by https://app.cryptolens.io/api/ai/GetEvents

Parameter Description Remarks
Limit Specifies how many events should be returned. default is 10 and at most 100
StartingAfter Works as a cursor (for pagination). If the last element had the id=125, then setting this to 125 will return all events coming after 125. optional
v Method version. optional. by default, it's 1.

Results

Parameter Description Remarks
Events A list of Event Objects. returned if no errors are thrown
Result This is either 0(=success) or 1(=error). always returned
Message The message that provides additional information about the result. If it's a successful result, null will be returned. Otherwise, in case of an error, a short message will be returned describing the error. always returned.

Example results

{"result":0,"message":""}

Errors

Error
Access denied.
The input parameters were incorrect.
;