Send parallel transactions
This quide explains how to send multiple parallel transactions. Note that you don’t need to send parallel transactions for batching calls. This is for sending new transactions when, for example, there’s already a transaction in the mempool for a certain account.
Prerequisites
- An Alchemy API Key
- A Gas Manager policy
- A signer to own the account and sign messages
The
nonceKey override must fit into a uint152!JavaScript
API
Required SDK version: ^v4.61.0
See the sendCalls SDK
reference
for full descriptions of the parameters used in the following example.
Use the nonceOverride capability on the smart wallet client’s sendCalls or prepareCalls action.
You’ll need the following env variables:
ALCHEMY_API_KEY: An Alchemy API KeyALCHEMY_POLICY_ID: A Gas Manager policy IDPRIVATE_KEY: A private key for a signer