v1

latestOpenAPI 3.1.02026-07-12185391.3 KB
Looking Glass

Composite query

Composite query to get list of addresses from multiple subqueries.

post/v2/lookingGlass/compositeQuery

Request body

pageTokenstring

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSizeinteger

The maximum number of items to return.

operator'AND' | 'OR' required

Response

Successful response

nextPageTokenstring

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.

subQueryCountsobject required

The number of results for each subquery by query id.

totalCountnumber required

The total number of addresses returned by the composite query.

addressesstring[] required

Example response

{
  "subQueryCounts": {
    "1": 1,
    "2": 2,
    "3": 2
  },
  "totalCount": 2,
  "addresses": [
    "0x1234567890abcdef1234567890abcdef123456789"
  ]
}