type Token: {
chainId: number;
contractAddress: string;
createdAt: Date;
decimals: number;
id: string;
logo: string;
metadata: string;
name: string;
symbol: string;
updatedAt: Date;
};
Represents a Token with its properties.
Type declaration
Member | Type | Description |
---|---|---|
chainId | number | The chain ID on which the token exists. |
contractAddress | string | The contract address of the token on its blockchain. |
createdAt | Date | The timestamp when the token was created. |
decimals | number | The number of decimal places the token supports. |
id | string | The unique identifier for the token. |
logo | string | The URL or path to the logo representing the token. |
metadata | string | Additional metadata associated with the token. |
name | string | The name of the token. |
symbol | string | The symbol of the token (e.g., ETH, BTC). |
updatedAt | Date | The timestamp when the token was last updated. |