balanceOfBatch method
Implementation
Future<List<BigInt>> balanceOfBatch({
required List<String> accounts,
required List<BigInt> tokenIDs,
}) async {
if (accounts.length != tokenIDs.length) {
throw ArgumentError('accounts and tokenIDs must have the same length');
}
final function = abi.functions[1];
final response = await readSafe(
function: function.addValues(values: [accounts, tokenIDs]),
);
return response.outputs.first.castValue<List<BigInt>>();
}