TypeScript
import { ParagraphAPI } from "@paragraph-com/sdk" const api = new ParagraphAPI() const { items: holders, pagination } = await api.coins.getHolders({ contract: "0xe9bb3166ff5f96381e257d509a801303b68e5d34", limit: 50 })
{ "items": [ { "walletAddress": "<string>", "balance": "<string>", "userId": "<string>", "avatarUrl": "<string>" } ], "pagination": { "hasMore": true, "cursor": "<string>", "total": 123 } }
Retrieve a paginated list of holders for a tokenized post
Contract address
Cursor for pagination
Maximum number of items to return (1-100, default: 10)
1 <= x <= 100
Holders retrieved successfully
Array of items in this page
Show child attributes