Live ERC-1155 ownership snapshot

GET
/v1/datasets/{id}/holders
/v1/datasets/{id}/holders

Path Parameters

id
Required
string

The dataset version's 32-byte id.

Pattern: "^0[xX][0-9a-fA-F]{64}$"

Query Parameters

limitinteger

Page size. Server-configured default and ceiling (API_DEFAULT_LIMIT / API_MAX_LIMIT; 50 and 200 unless overridden). A value above the ceiling is silently clamped, not rejected — check pagination.limit in the response rather than assuming the requested value was honoured. Values below 1, or non-integers, are a 400.

Minimum: 1

cursorstring

Opaque cursor from a previous response's pagination.nextCursor. Omit for the first page. A malformed cursor is a 400.

curl -X GET "http://lineage-api.xny-staging.svc.cluster.local:8001/v1/datasets/0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41/holders?limit=1&cursor=string"

A page of holders, plus the live total supply.

{
  "datasetId": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
  "totalSupply": "string",
  "items": [
    {
      "ownerAddress": "string",
      "ownerDidId": "00000000-0000-0000-0000-0000000007d1",
      "balance": "string",
      "percent": "string",
      "mintTxHash": "0x807bacabedff64313f86ee41a00c566462c8b6fc807bacabedff64313f86ee41",
      "firstSeenAt": "2019-08-24T14:15:22Z",
      "lastChangeAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "limit": 0,
    "nextCursor": "string",
    "hasMore": true
  }
}

Last updated