Docs

balanceOf

Calls the "balanceOf" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.