Python
from compass_api_sdk import CompassAPI, models with CompassAPI( api_key_auth="<YOUR_API_KEY_HERE>", ) as compass_api: res = compass_api.token.token_list(chain=models.V1TokenListChain.ARBITRUM) # Handle response print(res)
{ "tokens": [ { "address": "<string>", "decimals": 3, "name": "<string>", "symbol": "<string>" } ] }
Returns a list of known tokens.
Your Compass API Key. Get your key here.
arbitrum
base
ethereum
Successful Response
Response model for token list.
List of known tokens
Show child attributes
Was this page helpful?