Skip to main content
Resolve an arbitrary token address to its metadata (symbol, name, decimals) via an on-chain read. Lets you support paste-any-address flows.

Request

chainId
integer
required
The chain to resolve on.
address
string
required
The token contract address / mint.
curl -s "https://app.ravn.exchange/api/v1/tokens/resolve?chainId=1&address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

Response

{
  "data": {
    "token": {
      "symbol": "USDC",
      "name": "USD Coin",
      "address": "0xA0b8…eB48",
      "decimals": 6,
      "chainId": 1,
      "isNative": false
    }
  }
}
Returns 400 UNSUPPORTED_TOKEN if the address isn’t a valid token on that chain.