Skip to content
Discussion options

You must be logged in to vote

Outside of data we can extract from events, we need access to some other onchain values. An example would be the name and symbol of the ERC-20 token.

To get them, we need to call the contracts and ask. While The Graph has a baked in mechanism to query data mid-handler, Envio doesn't. To cover this need, we implemented a system that queries through RPCs on demand (we came up with this solution together with their team).

→ → →

Now, whenever a deployment happens, events will start getting indexed and hundreds (if not more) of tokens will need their details figured out. With simple on-demand queries this caused:

  • rate limiting (since lots of requests were sent at once, we're talking milliseco…

Replies: 5 comments 32 replies

Comment options

You must be logged in to vote
1 reply
@PaulRBerg
Comment options

PaulRBerg May 1, 2025
Maintainer Author

Comment options

PaulRBerg
May 15, 2025
Maintainer Author

You must be logged in to vote
2 replies
@razgraf
Comment options

Answer selected by PaulRBerg
@PaulRBerg
Comment options

PaulRBerg May 16, 2025
Maintainer Author

Comment options

PaulRBerg
May 17, 2025
Maintainer Author

You must be logged in to vote
2 replies
@razgraf
Comment options

@PaulRBerg
Comment options

PaulRBerg May 17, 2025
Maintainer Author

Comment options

PaulRBerg
May 17, 2025
Maintainer Author

You must be logged in to vote
3 replies
@razgraf
Comment options

@PaulRBerg
Comment options

PaulRBerg May 17, 2025
Maintainer Author

@PaulRBerg
Comment options

PaulRBerg Jun 6, 2025
Maintainer Author

Comment options

PaulRBerg
May 17, 2025
Maintainer Author

You must be logged in to vote
24 replies
@DZakh
Comment options

@PaulRBerg
Comment options

PaulRBerg Jun 5, 2025
Maintainer Author

@DZakh
Comment options

@PaulRBerg
Comment options

PaulRBerg Jun 6, 2025
Maintainer Author

@DZakh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants