balanceOf

Calls the "balanceOf" function on the contract.

Example

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

Parameters

Returns

The parsed result of the function call.