useTokenSupply
Get the total supply for this token
Example
const {
data: totalSupply,
isLoading,
error,
} = useTokenSupply(contract);
Parameters
Returns
a response object that includes the total minted supply
Get the total supply for this token
const {
data: totalSupply,
isLoading,
error,
} = useTokenSupply(contract);
a response object that includes the total minted supply