Thirdweb Logo

Token


Create your own digital currency

Check out the documentation here.

Total Supply

Loading...


How It Works

export default function Token() {
const { program } = useProgram(programAddress, "token");
const supply = useTokenSupply(program);
return (
<div>
<h3>Total Supply</h3>
<p>{supply.isLoading ? "Loading..." : supply.data?.displayValue}</p>
</div>
);
}