balanceOfBatch method

Future<List<BigInt>> balanceOfBatch(
  1. List<String> addresses,
  2. List<int> ids
)

Returns the amount of tokens ids owned by addresses

Implementation

Future<List<BigInt>> balanceOfBatch(
        List<String> addresses, List<int> ids) async =>
    (await contract.call<List>('balanceOfBatch', [addresses, ids]))
        .cast<BigNumber>()
        .map((e) => e.toBigInt)
        .toList();