Actions
sendTransactionBatch
Function to send a batch of transactions in a single call using the connected Abstract Global Wallet.
The AbstractClient
includes a sendTransactionBatch
method that can be used to sign and submit multiple transactions
in a single call using the connected Abstract Global Wallet.
Usage
Parameters
calls
Array<TransactionRequest>
An array of transaction requests. Each transaction request can include the following fields:
paymaster
Account | Address
Address of the paymaster smart contract that will pay the gas fees of the transaction batch.
paymasterInput
Hex
Input data to the paymaster.
Returns
Returns a Promise<Hex>
containing the transaction hash of the submitted transaction batch.
Was this page helpful?