Type alias Token

Token: {
    address: string;
    chain: string;
    decimals: number;
    image_url: string | null;
    name: string;
    opensea_url: string;
    symbol: string;
}

Token model returned by OpenSea API.

Type declaration

  • address: string

    Token contract address

  • chain: string

    Chain the token is on

  • decimals: number

    Number of decimals

  • image_url: string | null

    URL of the token image

  • name: string

    Token name

  • opensea_url: string

    URL on OpenSea

  • symbol: string

    Token symbol