Requests that the wallet submits a batch of calls. This method allows applications to send multiple transactions atomically or sequentially.
Parameters
string
required
The version of the API format. This must be “2.0.0”.
string
The ID of the batch of calls for tracking purposes.
string
required
The sender’s address.
Pattern: ^0x[0-9a-fA-F]{40}$
string
required
The EIP-155 chain ID of the calls. This must match the currently selected network in the wallet.
Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$
boolean
required
true if the wallet must execute all calls atomically. If false, the wallet may execute the calls sequentially without atomicity. If false and the wallet is capable of executing the calls atomically, it may do so.
array
required
An array of call objects to execute.
Show Call Object Structure
string
required
The recipient address for the call.
string
required
The value to send with the call (in wei, hex format).
string
The call data (optional, hex format).
object
Optional call-level capabilities. For example, gasLimitOverride allows you to specify a gas limit for an individual call.
object
Dapps can use this object to communicate with the wallet about supported capabilities.
Returns
object
An object containing information about the sent batch, including transaction details and status.