|
Is there a way to parse and print returned array of structs when running cast call commands? I'd like to decode the output to something like this: Link to function here If the output is a struct, parsing by each property works, arrays of standard value types work as well. I haven't been able to figure out how to handle array of structs. |
Answered by
onbjerg
May 2, 2022
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems we can't, at least not what I can see. Seems like
ethers-rs'sAbiParserdoes not handle tuples, so something likegetActiveMarkets(uint16)((uint,uint)[])doesn't work. Am I missing something? @mattsse