Chainstream icon

Chainstream

Consume Chainstream API

Token → Detail

AI-generated

Summary

Fetch token details from the Chainstream API for a specified token on a given chain.

Inputs

  • chain (required) — The blockchain or chain identifier (e.g., 'sol' for Solana). Loads options via getChains.
  • tokenAddress (required) — The contract address of the token.
  • authentication — Authentication method. Defaults to API Key.

Output shape

JSON object containing the token detail data returned by the Chainstream API.

The API endpoint is GET /token/{chainId}/{tokenAddress}, where chainId is resolved from the chain parameter.

Examples

Example 1: Retrieve details for a Solana token.

Set Chain to a Solana-based chain name/ID and Token Address to the token's contract address.

Discussion