Replies: 3 comments 3 replies
-
Do you have ABI and types for the interface? |
Beta Was this translation helpful? Give feedback.
-
Hi @krzkaczor! |
Beta Was this translation helpful? Give feedback.
-
@krzkaczor I started writing a series of articles about the use of TypeChain with React Query: https://antao-almada.medium.com/using-react-query-to-query-smart-contracts-part-2-8c64647e653b This made me return to this subject. I have a If I have a method that takes a parameters of type If I have a method that takes a parameters of type Is this a known limitation? |
Beta Was this translation helpful? Give feedback.
-
I have a contract that extends
ERC721
. Some of my methods only need portions of it, for example,IERC721Metadata
. How can I "cast" the generated type to this interface?Beta Was this translation helpful? Give feedback.
All reactions