does ethers js support batchcalls ? #4685
Replies: 2 comments 7 replies
-
By default, ethers v6 batches all calls using the json-rpc batch functionality, but when sending a transaction there are many fields that ethers needs to populate. You can populate these manually, using But if you want them both in the same transaction, you would have to use a multicall or contract wallet. Can you explain your use case more, and I might be able to help more. :) |
Beta Was this translation helpful? Give feedback.
-
Having implicit batching is nice, but if batching could have been defined explicitly, integration into complex codebases would be multiple orders of magnitude easier. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to batchcall 2 transaction into a single transaction so I can sendTransaction also deploy smart contract , how can i achieve this ?
I want to call sendTransaction and deploy into a single call how can I batchcall in ethers js , is it available yet ?
Beta Was this translation helpful? Give feedback.
All reactions