Interface TokenInfo

Represents information about a token. TokenInfo

interface TokenInfo {
    name: string;
    symbol: string;
    decimals: number;
    address?: string;
    icon?: string;
}

Properties

name: string

The name of the token.

symbol: string

The symbol of the token.

decimals: number

The number of decimal places the token supports.

address?: string

The address of the token.

icon?: string

The URL of the token's icon.