Token
The Token type represents a .
interface Token {
aa_chain_id: string;
aa_token_id: string;
address: string;
balance: string;
chain_icon_url: string;
chain_id: number;
chain_network_name: string;
chain_project_desc: string;
chain_project_name: string;
chain_rpcurl: string;
chain_type: ChainType;
decimal_places: number;
desc: string;
name: string;
precision: number;
ticker: string;
ticker_display: string;
token_icon_url: string;
token_key: string;
token_type: TokenType;
used_balance: string;
}Properties
aa_chain_id: stringA chain ID, which is a unique value created by Nectar.
aa_token_id: stringA token ID, which is a unique value created by Nectar.
address: stringA token contract address.
balance: stringThe amount of the token in a trading wallet, which is available for transactions.
chain_icon_url: stringAn icon image URL of the chain.
chain_id: numberA chain ID of the blockchain network.
chain_network_name: stringA displayable name of the chain.
chain_project_desc: stringA description of the chain.
chain_project_name: stringA name of the chain.
chain_rpcurl: stringA RPC URL.
chain_type: ChainTypeA chain type.
decimal_places: numberThe number of decimal places to display for the token's unit value.
desc: stringA description of the token.
name: stringA name of the token.
precision: stringThe maximum number of decimal places supported for transactions involving the token.
ticker: stringA ticker of the token.
It is a combination of a symbol, an underscore, and a chain symbol.
E.g.,
USDT_ETHSEPOLIA
ticker_display: stringA symbol of the token.
token_icon_url: stringAn icon image URL of the token.
token_key: stringA token key utilized within the DEX manager smart contract.
token_type: TokenTypeA token type.
used_balance: stringThe total quantity currently being used by the user in the transaction.
Last updated