GET
/
v1
/
coins
/
contract
/
{contractAddress}
/
holders
List coin holders (with pagination)
import { ParagraphAPI } from "@paragraph_xyz/sdk"

const api = new ParagraphAPI()
const holders = await api.getCoinHoldersByContract("0xe9bb3166ff5f96381e257d509a801303b68e5d34", {
  limit: 50,
  cursor: "next-cursor"
})
{
  "items": [
    {
      "walletAddress": "<string>",
      "userId": "<string>",
      "balance": "<string>",
      "avatarUrl": "<string>"
    }
  ],
  "pagination": {
    "cursor": "<string>",
    "hasMore": true,
    "total": 123
  }
}

Path Parameters

contractAddress
string
required

Contract address

Query Parameters

cursor
string

Cursor for pagination

limit
integer
default:10

Maximum number of items to return (1-100, default: 10)

Required range: 1 <= x <= 100

Response

Holders retrieved successfully