Batch Transactions via SDK
With batching functionality, you can combine multiple transactions and make them atomic. By doing so you can save on gas fees, provide your users with a one-click experience & make the entire batch atomic so that if one transaction fails, the entire batch fails.
For example, let us say you are building a liquidity pool. You want to let your user claim a token from a smart contract, approve your dApp to spend user's token and deposit the DAI into your liquidity pools, you do all this in a one click manner rather than 3 separate clicks.
Check out complete example below.