sushiswap / sushi-data

A utility to query for data on SushiSwap.
MIT License
81 stars 115 forks source link

TimeSeries Queries Can't Handle Large TimeFrames #11

Open jiro-ono opened 3 years ago

jiro-ono commented 3 years ago

We'll need to look into these. If you give it a large array of timestamps or blocks, it will get overwhelmed by the number of requests.

Only solution I can think of that might possibly work is to combine each individual query at a specific block into a single one.

_Originally posted by @jiro-ono in https://github.com/sushiswap/sushi-data/pull/9#discussion_r553744118_