GET
/
v2
/
tokens
curl --request GET \
  --url https://api.endaoment.org/v2/tokens
{
  "tokens": [
    {
      "id": 1,
      "symbol": "ETH",
      "name": "Ethereum",
      "decimals": 18,
      "logoUrl": "https://example.com/ethereum-logo.png",
      "type": "Token",
      "featured": true,
      "popularity": 10,
      "chainId": 1,
      "contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "otcAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
      "memo": "MEMO123456"
    }
  ]
}

Query Parameters

tokenType
enum<string>

If informed, will filter which type of token to fetch. If not informed, will return all tokens. If chainId is informed, this will be ignored.

Available options:
EvmToken,
OtcToken,
All
chainId
number

If informed, will filter only EvmTokens on that chain

Response

200 - application/json

List of supported tokens successfully retrieved

The response is of type object.