Replies: 3 comments 2 replies
-
An Interface instance requires only synchronous values and you are passing in a Promise. In the error it shows that you are passing in a resolved Promise (with the result Make sense? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Did you succed to solve your problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes it was a silly mistake I wasn't using async while signing.
…On Thu, 6 Jul, 2023, 4:30 pm Luna, ***@***.***> wrote:
Did you succed to solve your problem?
—
Reply to this email directly, view it on GitHub
<#4207 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJRUP2OUKEBQYACEZERIP63XO2LD5ANCNFSM6AAAAAA2AIKPTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5
Search Terms
interface
Describe the Problem
``When i directly instantiate a smartcontract - stargate - and call its function swap transaction is getting through nicely but when i try to encode the function data and build a transaction by myself its failing with this error.

Code Snippet
Contract ABI
Errors
Environment
Ethereum (mainnet/ropsten/rinkeby/goerli), node.js (v12 or newer)
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions