The Aptos TypeScript SDK introduces an experimental feature: ScriptComposer, designed to revolutionize how you interact with Move functions. With this new API, you can now dynamically chain multiple Move calls within a single transaction, unlocking advanced capabilities for developers.
Simplified Explanation:
- Old way (naive API): You could only specify one “entry function” to call per transaction.
- New way (ScriptComposer): You can call multiple Move functions in a single transaction. This enables more complex workflows to be executed in a single step.
Check here for more: Dynamically invoke chains of Move calls with ScriptComposer | Aptos Docs (en)