Skip to content
Docs

Networks and environments

Endpoints that work on testnets

Portfolio, activity, gas, and transactions work on testnet chain ids.

Overview

Testnets are first-class catalog ids. Use them for portfolio, balances, activity, gas, and transaction flows while you build.

Works on testnet

  • GET /v1/chains — catalog includes testnet ids
  • GET /v1/portfolio · /portfolio/multi · /balance
  • GET /v1/activity (single chain + cursor)
  • GET /v1/gas/fees · POST /v1/gas/estimate
  • POST /v1/transactions/* · GET …/receipt
  • Monero daemon proxy (authenticated raw monerod) when Monero is on the plan
bash
curl -sS "https://blockchain.gray3.io/v1/portfolio?chainId=ethereum-sepolia&address=0x…" \
  -H "X-Gray-Project-Id: $GRAY_PROJECT_ID" \
  -H "Authorization: Bearer $GRAY_SECRET_KEY"

Example testnet ids

text
ethereum-sepolia
base-sepolia
polygon-amoy
arbitrum-sepolia
optimism-sepolia
avalanche-fuji
bnb-testnet
solana-devnet
sui-testnet
aptos-testnet
tron-nile
…

Full list ships in GET /v1/chains. Portfolio on testnet typically has balances only—no priceUsd.

Mixed multi

Portfolio multi may mix mainnet and testnet ids in one request. Each chain keeps its own provider path; per-chain errors appear inside data.chains[i].error.

Enable in Console

The project must allow the testnet id in Networks, and the plan must include it. Otherwise you get plan_chain_denied or chain_disabled. Align Workspace Networks.