Skip to main content
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

calls
Array<Call>
An array of calls. Each call can include the following fields:
atomicRequired
boolean | undefined
When true, the bundle executes atomically — if any call reverts, the whole bundle reverts.
capabilities
Capabilities | undefined
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.