Function useTokenDecimals

  • Beta

    Get token decimals

    Parameters

    Returns UseQueryResult

    a response object that includes the decimals of the ERC20 token

    Example

    const { data: decimals, isLoading, error } = useTokenDecimals(contract);
    

    Twfeature

    ERC20

    See

    Documentation

Generated using TypeDoc