Querying Events of a Specified EIP

Functions

This API allows you to query events of a specified EIP in the last 24 hours. Events include cleaning and blackhole events, and the query delay is within five minutes.

URI

Request

Table 1 Parameter description

Parameter

Mandatory

Type

Description

limit

No

Integer

Limit of number of returned results or the maximum number of returned results of a query. The value ranges from 1 to 100, and this parameter is used together with the offset parameter.

If neither limit nor offset is used, query results of all ECSs are returned.

offset

No

Integer

Offset. This parameter is valid only when used together with the limit parameter.

sort_dir

No

String

Possible values:
  • desc: indicates that query results are given and sorted by time in descending order.
  • asc: indicates that query results are given and sorted by time in ascending order.

The default value is desc.

Response

Example

Status Code

See Status Code.