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
/// <param name="legacyEncryptionKey">The encryption key that is no longer required but was used in the past. Only pass this if you had used custom auth before this was deprecated.</param>
82
96
/// <param name="walletSecret">The wallet secret for Backend authentication.</param>
83
97
/// <param name="twAuthTokenOverride">The auth token to use for the session. This will automatically connect using a raw thirdweb auth token.</param>
98
+
/// <param name="executionMode">The execution mode for the wallet. EOA represents traditional direct calls, EIP7702 represents upgraded account self sponsored calls, and EIP7702Sponsored represents upgraded account calls with managed/sponsored execution.</param>
84
99
/// <returns>A task that represents the asynchronous operation. The task result contains the created in-app wallet.</returns>
85
100
/// <exception cref="ArgumentException">Thrown when required parameters are not provided.</exception>
86
101
publicstaticasyncTask<EcosystemWallet>Create(
@@ -94,7 +109,8 @@ public static async Task<EcosystemWallet> Create(
94
109
IThirdwebWalletsiweSigner=null,
95
110
stringlegacyEncryptionKey=null,
96
111
stringwalletSecret=null,
97
-
stringtwAuthTokenOverride=null
112
+
stringtwAuthTokenOverride=null,
113
+
ExecutionModeexecutionMode=ExecutionMode.EOA
98
114
)
99
115
{
100
116
if(client==null)
@@ -164,15 +180,41 @@ public static async Task<EcosystemWallet> Create(
thrownewInvalidOperationException("SendTransaction is not supported for Ecosystem Wallets, please use the unified Contract or ThirdwebTransaction APIs.");
"SendTransaction is not supported for Ecosystem Wallets in EOA execution mode, please use the unified Contract or ThirdwebTransaction APIs or change to EIP7702 execution mode."
thrownewInvalidOperationException("ExecuteTransaction is not supported for Ecosystem Wallets, please use the unified Contract or ThirdwebTransaction APIs.");
/// <param name="legacyEncryptionKey">The encryption key that is no longer required but was used in the past. Only pass this if you had used custom auth before this was deprecated.</param>
39
40
/// <param name="walletSecret">The wallet secret for backend authentication.</param>
40
41
/// <param name="twAuthTokenOverride">The auth token to use for the session. This will automatically connect using a raw thirdweb auth token.</param>
42
+
/// <param name="executionMode">The execution mode for the wallet. EOA represents traditional direct calls, EIP7702 represents upgraded account self sponsored calls, and EIP7702Sponsored represents upgraded account calls with managed/sponsored execution.</param>
41
43
/// <returns>A task that represents the asynchronous operation. The task result contains the created in-app wallet.</returns>
42
44
/// <exception cref="ArgumentException">Thrown when required parameters are not provided.</exception>
43
45
publicstaticasyncTask<InAppWallet>Create(
@@ -49,11 +51,12 @@ public static async Task<InAppWallet> Create(
0 commit comments