Wallet Actions
sendCalls
Function to send a batch of transactions in a single call using the connected Abstract Global Wallet.
Viem’s sendCalls method following EIP-5792 can be used to sign and submit multiple transactions in a single call using the connected Abstract Global Wallet.
Usage
Parameters
An array of calls. Each call can include the following fields:
When true
, the bundle executes atomically — if any call reverts, the whole
bundle reverts.
Advanced features to enable for the bundle (gas sponsorship, access lists, etc.).
Returns
Returns a Promise<Hex>
containing the bundle hash. Pass this hash to wallet_getCallsStatus
to monitor execution status.