multicall<T> method
Multicall read-only constant method with args. May not be at the same block.
If eagerError is true, returns the error immediately on the first error found.
Implementation
Future<List<T>> multicall<T>(String method, List<List<dynamic>> args,
[bool eagerError = false]) =>
Future.wait(
Iterable<int>.generate(args.length).map(
(e) => _call<T>(method, args[e]),
),
eagerError: eagerError);