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

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

Path Parameters

id
string
required

Unique ID of the coin

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