UNPKG

@excswap/token-lists

Version:

[![Tests](https://github.com/Excswap/token-lists/workflows/Tests/badge.svg)](https://github.com/Excswap/token-lists/actions?query=workflow%3ATests) [![npm](https://img.shields.io/npm/v/@excswap/token-lists)](https://unpkg.com/@excswap/token-lists@latest/)

30 lines (29 loc) 761 B
export interface TokenInfo { readonly chainId: number; readonly address: string; readonly name: string; readonly decimals: number; readonly symbol: string; readonly logoURI?: string; readonly tags?: string[]; } export interface Version { readonly major: number; readonly minor: number; readonly patch: number; } export interface Tags { readonly [tagId: string]: { readonly name: string; readonly description: string; }; } export interface TokenList { readonly name: string; readonly timestamp: string; readonly version: Version; readonly tokens: TokenInfo[]; readonly keywords?: string[]; readonly tags?: Tags; readonly logoURI?: string; }