Injective Lists
We have moved the on-chain denoms token metadata to the injective-list repository. This repository will aggregate data from several sources and produce a comprehensive token metadata master list.
Here is an example of how to integrate injective-list with the TokenFactoryStatic class:
Download the injective list json file from github: https://github.com/InjectiveLabs/injective-lists?tab=readme-ov-file#-usage
Use the
TokenFactoryStatic
class from thesdk-ts
package
There are few edge cases that we have to consider while using the TokenFactory
:
If you are trying to query token metadata for a denom that doesn't exist in the list of tokens the
TokenFactory
will return undefined. If so, you should follow our CONTRIBUTION guide to add the token metadata information in the package.
Last updated