Chainstream icon

Chainstream

Consume Chainstream API

Token → Stats

AI-generated

Summary

Fetch token statistics from the Chainstream API.

Inputs

  • chain — The chain or network identifier for the token. Used to construct the API path. Optional; if omitted, the node attempts resolution from available parameters.
  • tokenAddress (required) — The token's contract or address identifier. Required for the API request; the node extracts this parameter to build the path.
  • authentication — Authentication method for the Chainstream API. Defaults to API Key, which is required at the node credential level.

Output shape

The Chainstream API response for token statistics, formatted as an n8n item via the node's execution metadata construction.

The operation issues a GET request to /token/{chainId}/{tokenAddress}/stats. The chain ID is resolved internally using the node's parameter mapping. Query parameters are not declared for this specific operation in the given configuration.

Examples

Example 1: Retrieve stats for a token on Ethereum.

Set ChainName to 'Ethereum' (or corresponding chain ID), Token Address to the token contract address, and use default API Key authentication.

Discussion