Batch Transaction
Use Blocto SDK to Combine multiple transactions and make them atomic
Note that Blocto SDK for EVM-compatible chains is still in Beta. APIs are subject to breaking changes.
Introduction
With Blocto, you can combine multiple transactions into a single transaction for the following advantages:
Save gas fee
Make multiple transactions atomic, so they either all succeed or all fail
Usage
There are two ways to combine transactions:
A. EIP-1193 (Recommended)
B. Web3 Batch Request
Example
Step 1 - Configure Web3 and @blocto/sdk
Step 2 - Send Batch Transaction
Sample
Last updated
Was this helpful?