Move.

Post

Share your knowledge.

Bolke .
Feb 06, 2025
Discussion

Batch multiple transactions on Sui like EVM .call?

I'm trying to execute call data in Sui similar to EVM's .call. I want to batch multiple transactions from the client-side to dynamically create and execute them, sending txBytes to a contract for execution like .call. Can someone explain how I can achieve this without using multiple move calls?

  • Move CLI
  • Move
0
2
Share
Comments
.

Answers

2
deriss.
Feb 13 2025, 11:08

You can use a Sui Programmable Transaction Block to batch transactions on Sui. Check the documentation for more details: https://docs.sui.io/concepts/transactions/prog-txn-blocks.

0
Comments
.
DuAn.
Feb 13 2025, 11:08

Though Sui doesn't have a .call function, the best way to handle your scenario is by using Sui Transaction Blocks. If you're using the Typescript SDK, building these blocks is quite straightforward. Here's a guide that may help: https://docs.sui.io/guides/developer/sui-101/building-ptb.

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info