salt-sdk
    Preparing search index...

    Type Alias TokenBalance

    Balance of a token for a specified SaltAccount in an Organisation.

    type TokenBalance = {
        address: string;
        balance: string;
        chainId: string;
        decimals: number;
        logo: string;
        name: string;
        price: number | string;
        symbol: string;
    }
    Index

    Properties

    address: string

    The address of the token

    '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'
    
    balance: string

    The balance of the token in human-readable format (decimal adjusted)

    '0.13191'
    
    chainId: string

    The chain ID of the token

    '11155111'
    
    decimals: number

    Precision of the token

    18
    
    logo: string

    The logo of the token

    'https://assets.coingecko.com/coins/images/279/large/ethereum.png'
    
    name: string

    The name of the token

    'Wrapped Ether'
    
    price: number | string

    The price of the token

    1800
    
    symbol: string

    The symbol of the token

    'WETH'