We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36142bc commit 0e9e310Copy full SHA for 0e9e310
src/utils.ts
@@ -47,7 +47,7 @@ export async function multicall(
47
);
48
const itf = new Interface(abi);
49
try {
50
- const max = options.limit || 1000;
+ const max = options?.limit || 1000;
51
const pages = Math.ceil(calls.length / max);
52
const promises: any = [];
53
Array.from(Array(pages)).forEach((x, i) => {
0 commit comments