balanceOfBatch

Calls the "balanceOfBatch" function on the contract.

Example

import { balanceOfBatch } from "thirdweb/extensions/erc1155";
const result = await balanceOfBatch({
contract,
owners: ...,
tokenIds: ...,
});
function balanceOfBatch(options: BaseTransactionOptions<BalanceOfBatchParams>) : Promise<readonly Array<bigint>>

Parameters

The options for the balanceOfBatch function.

Type

Returns

let returnType: Promise<readonly Array<bigint>>

The parsed result of the function call.