-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Batch transactions #19
Comments
Although the upcoming Pro mode will batch transactions, it's not possible to save gas compared to "normal" transactions. For example, let's assume you want to submit 2 transactions:
You can submit these two transactions in variety of ways:
In all 3 of these cases, each transaction is still submitted separately and still requires it's own gas fee. The only way to submit multiple transactions inside a single transaction is by using smart contracts. A good example of this are DEX aggregators that split your order into multiple parts and distribute them across multiple DEXes. In that scenario, it would require a smart contract to have a functionality designed specifically for your use case. For example, a DEX aggregator can't execute a flashloan. But if you created a separate smart contract, you can have it execute a flashloan and then a swap in the same transaction. Was there a specific use case you were looking for? |
This question came up from a discord member. I relayed your reply to them, but they haven't answered yet. Will get back to you once they answered. Link to the member's question: https://discord.com/channels/784509363246071859/1040319538354475130/1115067720141115392 |
To create a batch of transactions to send multiple transactions at once and save gas.
The text was updated successfully, but these errors were encountered: