Calls the "balanceOf" function on the contract.
import { balanceOf } from "thirdweb/extensions/erc20"; const result = await balanceOf({ contract, address: ...,});
function balanceOf( options: BaseTransactionOptions<BalanceOfParams>,): Promise<bigint>;
The options for the balanceOf function.
let options: BaseTransactionOptions<BalanceOfParams>;
let returnType: Promise<bigint>;
The parsed result of the function call.