Helper methods for decoding log parameters on generated graph-ts types #1621
itsjerryokolo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A user on discord brought this up,. They wrote
"It really feels like there should be a Log.decodeParameters(EventType/signature) helper that responds with Array based on the generated abi codegen types"
This will be particularly helpful in the handlers when using transactions receipts.
cc @incrypto32 @saihaj
https://thegraph.com/docs/en/developing/graph-ts/api/#events-and-blocktransaction-data
Beta Was this translation helpful? Give feedback.
All reactions