balanceOfBatchSingleAddress method
Returns the amount of tokens ids
owned by address
Implementation
Future<List<BigInt>> balanceOfBatchSingleAddress(
String address, List<int> ids) async =>
(await contract.call<List>(
'balanceOfBatch',
[
List.generate(ids.length, (index) => address),
ids,
],
))
.cast<BigNumber>()
.map((e) => e.toBigInt)
.toList();