Beta
Get token decimals
an instance of a TokenContract
a response object that includes the decimals of the ERC20 token
const { data: decimals, isLoading, error } = useTokenDecimals(contract); Copy
const { data: decimals, isLoading, error } = useTokenDecimals(contract);
ERC20
Documentation
Generated using TypeDoc
Get token decimals