Chainstream icon

Chainstream

Consume Chainstream API

Token → Top Holders

AI-generated

Summary

Retrieves the top holders of a specified token from the Chainstream API.

Inputs

  • authentication (required) — Authentication method for the Chainstream API. Defaults to API Key.
  • chain — The blockchain/chain name or ID. Optional; if omitted, the system attempts to resolve from context. Can be specified via expression.
  • tokenAddress (required) — The contract address or identifier of the token.

Output shape

array

Returns an array of objects representing the top holders of the token, as returned by the Chainstream API.

Examples

Example 1: Fetch top holders for an ERC-20 token on Ethereum.

Set authentication to API Key, chain to Ethereum (or leave auto-resolved), and tokenAddress to the token's contract address.

Discussion