Skip to content
Docs

Prices

Native assets and token addresses

Omit the address for a chain's native asset, or pass a token contract address or mint.

Overview

Omit address for the chain native asset. For ERC-20/SPL/etc., pass the contract or mint address as address in GET or inside each tokens[] row.

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