Constructors
constructor
Parameters
tokens: Record<string, TokenMeta>
Properties
Protected tokens
tokens
: Record<string, TokenMeta>Protected tokensByCw20Address
tokens
By
Cw20
Address
: Record<string, TokenMeta>Protected tokensByErc20Address
tokens
By
Erc20
Address
: Record<string, TokenMeta>Protected tokensByHash
tokens
By
Hash
: Record<string, TokenMeta>Protected tokensByName
tokens
By
Name
: Record<string, TokenMeta>Methods
getCoinGeckoIdFromSymbol
- getCoinGeckoIdFromSymbol(symbol: string): string
Parameters
Returns string
getMetaByAddress
- getMetaByAddress(address: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
getMetaByCw20Address
- getMetaByCw20Address(address: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
getMetaByErc20Address
- getMetaByErc20Address(address: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
getMetaByHash
- getMetaByHash(hash: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
getMetaByName
- getMetaByName(name: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
getMetaBySymbol
- getMetaBySymbol(symbol: string): undefined | TokenMeta
Parameters
Returns undefined | TokenMeta
Symbol can be: