Chainstream icon

Chainstream

Consume Chainstream API

Wallet → Balance

AI-generated

Summary

Retrieve the on-chain balance for a wallet address on a specified chain via the Chainstream API.

Inputs

  • chain (required) — Chain or network identifier. Supports n8n expressions. Load options via getChains. Aliases such as chainId, network, and chainName are resolved automatically; 'solana' maps to 'sol'.
  • walletAddress (required) — Wallet address to query. Supports n8n expressions. UI input is masked.
  • authentication — Authentication method. Defaults to API Key. Requires the chainstreamApi credential.

Output shape

object

Returns the Chainstream API response containing wallet balance data.

Examples

Example 1: Fetch ETH wallet balance on mainnet

Set Chain to 'ethereum' (or leave default) and Wallet Address to the target address. Authentication uses default API Key.

Discussion