-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
While building the CoinMarketCap clone PoC using Golem Base, I ran into a limitation when working with time-series data like charts that show coin values over time.
It would be very useful to support querying for specific time ranges (e.g. from timestamp X to Y), so charts can fetch data for the last 7 days, 30 days, 6 months, and so on. Right now, the only option is to fetch all historical data, which is inefficient and can lead to errors like:
HttpRequestError: HTTP request failed.
Status: 500
URL: https://kaolin.holesky.golem-base.io/rpc
Request body: {"method":"golembase_queryEntities","params":["type=\"CoinHistoricalPrice\""]}
Details: {"code":-32020,"message":"backend response too large"}
Version: viem@2.31.4
Adding support for time range filters would both improve performance and reduce the likelihood of hitting response size limits.
(Note: Even with time range filters, querying very large datasets could still trigger the above error, but that’s a separate issue.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels