Chainstream icon

Chainstream

Consume Chainstream API

Token → Candles

AI-generated

Summary

Fetch candlestick price data for a token.

Inputs

  • authentication (required) — Authentication method for the Chainstream API. Defaults to API Key.
  • chain (required) — Select a blockchain network from the loaded options, or provide a chain ID via expression.
  • tokenAddress (required) — Contract address of the target token.
  • resolution — Candle granularity (e.g., 1m, 5m, 1h, 1d). Controls the timeframe of returned candle data.

Output shape

Array of candlestick objects containing timestamp, open, high, low, close, and volume values.

Returned data is constructed via the node's helper returning a JSON array from the API response.

Discussion