DOCS

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