Injective Lists
Last updated
Last updated
We have moved the on-chain denoms token metadata to the 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 TokenStaticFactory
class from the sdk-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 the TokenFactory
will return undefined. If so, you should follow our to add the token metadata information in the package.