getTokenHolders
Retrieve all ERC20 or ERC721 token holders, with optional historic block-height filtering, to visualize holder distribution and create charts.
Instructions
Commonly used to get a list of all the token holders for a specified ERC20 or ERC721 token. Returns historic token holders when block-height is set (defaults to latest). Useful for building pie charts of token holders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| authToken | Yes | Authorization token for accessing the Somnia API | |
| chainName | Yes | ||
| tokenAddress | Yes | Token address to fetch holders for |