Get supported tokens and chains
Squid SDK provides all the information you need around the supported tokens and chains consuming them directly from our API
const tokens = squid.tokens as TokenData[]
const chains = squid.chains as ChainData[]
Note: Testnet or Mainnet lists will be returned depending on the API endpoint you set in
config
when initing the SDK.// set fromToken to USDC on ethereum
const fromToken = squid.tokens.find(
t =>
t.symbol === "USDC" &&
t.chainId === squid.chains.find(c => c.chainName === "Ethereum")?.chainId
);
A list of Axelar testnet tokens can be found here https://docs.axelar.dev/dev/build/contract-addresses/testnet
Last modified 11mo ago