interface AssetTokenInfo {
    contract_address: string;
    decimals: number;
    dollar_value?: string;
    logo?: string;
    name: string;
    standard: string;
    symbol: string;
    type: string;
}

Properties

contract_address: string

Token contract address (0x0 for native currency)

Example

"0x0000000000000000000000000000000000000000"
decimals: number

Token decimals

Example

18
dollar_value?: string

Dollar value of the token

Example

"0"
logo?: string

Token logo URL

Example

"https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628"
name: string

Token name

Example

"Ether"
standard: string

Token standard (e.g., NativeCurrency, ERC20, ERC721)

Example

"NativeCurrency"
symbol: string

Token symbol

Example

"ETH"
type: string

Token type (Fungible, NonFungible)

Example

"Fungible"