Request coalescing #1374
Unanswered
hazelnutcloud
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it make sense to implement request coalescing?
One usecase I keep running into is when I call
eth_getLogs
forTransfer
events, I need to format thevalue
field according to the tokens' decimals. To do this concurrently, I would have to maintain a separate data structure to cache the promises for each ERC20decimals()
call to make sure I'm only calling it once for each token. It would be nice if this were built in to the client API. Thoughts?Beta Was this translation helpful? Give feedback.
All reactions