Docs

balanceOf

Calls the "balanceOf" function on the contract.

Example

import { balanceOf } from "thirdweb/extensions/erc721";
const result = await balanceOf({
contract,
owner: ...,
});

Parameters

Returns

The parsed result of the function call.