Chainstream icon

Chainstream

Consume Chainstream API

Token → Liquidity

AI-generated

Summary

Fetch liquidity data for a token from the Chainstream API.

Inputs

  • authentication (required) — Authentication method for the Chainstream API. Currently only 'API Key' is supported; select it to proceed with requests that require credentials.
  • chain (required) — The blockchain network name or identifier (e.g., Ethereum, Solana). Resolved to a chain ID internally; if left empty, the request will fail with a missing chain ID error.
  • tokenAddress (required) — The token's contract address or identifier. Used together with the chain to construct the API path.

Output shape

JSON array

Each item corresponds to one workflow input data record and contains the liquidity data returned by the Chainstream API, wrapped as n8n execution metadata via returnJsonArray. If the workflow has multiple input items, results are accumulated and returned as an array.

Examples

Example 1: Get liquidity for a specific token on Ethereum

Set authentication to 'API Key', chain to 'Ethereum', and tokenAddress to the token's contract address. The node will issue a GET request to /token/{chainId}/{tokenAddress}/liquidity and return the parsed JSON response as n8n items.

Discussion