Skip to content

TypeError: calling a contract method in v6 #3732

Answered by ricmoo
suchakpk asked this question in Q&A
Discussion options

You must be logged in to vote

In v6, the name of the method comes first, so you should use:

contract.quoteExactInputSingle.staticCall(...)

Let me know if you have any further issues. :)

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@suchakpk
Comment options

Answer selected by suchakpk
Comment options

You must be logged in to vote
1 reply
@suchakpk
Comment options

Comment options

You must be logged in to vote
2 replies
@suchakpk
Comment options

@suchakpk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3729 on February 04, 2023 09:37.