Skip to content
Docs

Chains

Testnet chain IDs

Testnets have their own chain IDs, such as ethereum-sepolia, instead of a separate network flag.

Overview

Testnets use dedicated ids such as ethereum-sepolia and base-sepolia. Pass them exactly as returned from the chains list.

Limits

Portfolio on testnet usually returns balances without USD quotes. Prices, NFTs, DeFi, and swap routes reject testnet ids—see Mainnet vs testnet rules.

Request
curl -sS "https://blockchain.gray3.io/v1/portfolio?chainId=ethereum-sepolia&address=0xYourAddress" \
  -H "X-Gray-Project-Id: proj_your_project_id" \
  -H "Authorization: Bearer gray_sk_your_secret"