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 4ba3928 commit e93a43cCopy full SHA for e93a43c
umbra-js/src/utils/utils.ts
@@ -438,8 +438,9 @@ export async function* recursiveGraphFetch(
438
method: 'POST',
439
headers: { 'Content-Type': 'application/json' },
440
body: JSON.stringify({
441
+ // Gnosis chain is using Goldsky subgraph, which only supports 1000 blocks per query.
442
query: query(`
- first: 1000,
443
+ first: ${url.includes('umbra-xdai') ? 1000 : 10000},
444
orderBy: id,
445
orderDirection: desc,
446
where: {
0 commit comments