How to parse json ABI to abitype ABI? #83
Replies: 1 comment
-
The zod parser is usefull to use on abi's that you can fetch on something like etherscan. But it cannot infer literal values since it validates at runtime only. If you don't want to use wagmi you can also do something like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried
However, the abi is not strongly typing...
I expect:
But actual:
This is my JSON abi:
Beta Was this translation helpful? Give feedback.
All reactions