How to get TypeScript typename from ABI typename #2893
Answered
by
ricmoo
ozgrakkurt
asked this question in
Q&A
-
Hi, We are trying to create a tool that generates a typescript file from a JSON abi file. Is there a way to get typescript typename from the ABI typename like: |
Beta Was this translation helpful? Give feedback.
Answered by
ricmoo
Apr 13, 2022
Replies: 2 comments
-
There is this method which is part of the provided TypeScript CLI tool that will do exactly that for you, but it isn’t exported, but you could copy it for now. I plan the v6 cli tools to export more of these generally useful functions. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ozgrakkurt
-
perfect, thank you! |
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
There is this method which is part of the provided TypeScript CLI tool that will do exactly that for you, but it isn’t exported, but you could copy it for now.
I plan the v6 cli tools to export more of these generally useful functions.