TypeScript
import { ParagraphAPI } from "@paragraph-com/sdk" const api = new ParagraphAPI() const { items: holders, pagination } = await api.coins.getHolders({ id: "S2AlaNG5Hw0NdNptmLTw", limit: 25 })
{ "items": [ { "walletAddress": "<string>", "balance": "<string>", "userId": "<string>", "avatarUrl": "<string>" } ], "pagination": { "hasMore": true, "cursor": "<string>", "total": 123 } }
Retrieve a paginated list of holders for a coined post
Unique ID of the coin
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