axelarnetwork / support

Your source for support with the Axelar Network
3 stars 1 forks source link

getDenomFromSymbol returns null when it shouldn't? #71

Closed Olanetsoft closed 9 months ago

Olanetsoft commented 9 months ago

hi, i'm using the SDK to query the denom from symbol. from the docs i read that for goerli, the symbol is WETH. however, this returns null. i feel like this is a bug. am i missing something here?

const denom = await axelarQuery.getDenomFromSymbol('WETH', CHAINS.TESTNET.ETHEREUM);

Olanetsoft commented 9 months ago

To query the denom from the symbol on ethereum, use this instead

You can find all the supported asset list on the docs here: https://docs.axelar.dev/resources/testnet#assets