You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`wallet_getCapabilities` - Query whether support for atomic batch transactions is available.
11
-
-`wallet_sendCalls` - Submit multiple transactions to be processed atomically by MetaMask.
12
-
-`wallet_getCallsStatus` - Track the status of your transaction batch.
10
+
-[`wallet_getCapabilities`](/wallet/reference/json-rpc-methods/wallet_getcapabilities) - Query whether support for atomic batch transactions is available.
11
+
-[`wallet_sendCalls`](/wallet/reference/json-rpc-methods/wallet_sendcalls) - Submit multiple transactions to be processed atomically by MetaMask.
12
+
-[`wallet_getCallsStatus`](/wallet/reference/json-rpc-methods/wallet_getcallsstatus) - Track the status of your transaction batch.
13
13
14
14
## About atomic batch transactions
15
15
@@ -45,7 +45,8 @@ You can send batch transactions using the following third-party libraries that s
45
45
46
46
### 1. Query whether atomic batch is supported
47
47
48
-
Use `wallet_getCapabilities` to query whether MetaMask supports atomic batch transactions for a specific address and specific chain IDs.
48
+
Use [`wallet_getCapabilities`](/wallet/reference/json-rpc-methods/wallet_getcapabilities) to query
49
+
whether MetaMask supports atomic batch transactions for a specific address and specific chain IDs.
49
50
For example:
50
51
51
52
```js title="index.js"
@@ -100,14 +101,15 @@ MetaMask will support this feature on more networks as they adopt EIP-7702.
100
101
101
102
:::note Atomic batch unsupported
102
103
- If the user has already upgraded their account to a third-party smart contract account, MetaMask does not currently support atomic batch transactions for that account.
103
-
- If atomic batch is not supported, fall back to [`eth_sendTransaction`](index.md) instead of `wallet_sendCalls`,
104
-
and [`eth_getTransactionReceipt`](/wallet/reference/json-rpc-methods/eth_gettransactionreceipt)
105
-
instead of `wallet_getCallsStatus`.
104
+
- If atomic batch is not supported, fall back to [`eth_sendTransaction`](index.md) instead of
0 commit comments