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
* update smart account API reference
* add disableDelegation in API reference
* add new API reference for smart account
* add parameters
* Apply suggestions from code review
Co-authored-by: Alexandra Carrillo <[email protected]>
---------
Co-authored-by: “AyushBherwani1998” <“[email protected]”>
Co-authored-by: Alexandra Carrillo <[email protected]>
Encodes calls for execution by a MetaMask smart account. If there's a single call directly to the smart account, it returns the call data directly. For multiple calls or calls to other addresses, it creates executions and encodes them for the smart account's `execute` function.
122
+
123
+
The execution mode is set to `SINGLE_DEFAULT_MODE` for a single call to other address, or `BATCH_DEFAULT_MODE` for multiple calls.
124
+
125
+
### Parameters
126
+
127
+
| Name | Type | Required | Description |
128
+
| ---- | ---- | -------- | ----------- |
129
+
|`calls`|`Call[]`| Yes | List of calls to be encoded. |
0 commit comments