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
Copy file name to clipboardExpand all lines: sdk/src/services/AccountFactoryService.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,7 @@ export class AccountFactoryService {
167
167
* @param requestBody
168
168
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
169
169
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
170
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
170
171
* @param xAccountAddress Smart account address
171
172
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
172
173
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
@@ -215,6 +216,7 @@ export class AccountFactoryService {
215
216
},
216
217
simulateTx: boolean=false,
217
218
xIdempotencyKey?: string,
219
+
xTransactionMode?: 'sponsored',
218
220
xAccountAddress?: string,
219
221
xAccountFactoryAddress?: string,
220
222
xAccountSalt?: string,
@@ -237,6 +239,7 @@ export class AccountFactoryService {
Copy file name to clipboardExpand all lines: sdk/src/services/AccountService.ts
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ export class AccountService {
88
88
* @param requestBody
89
89
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
90
90
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
91
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
91
92
* @param xAccountAddress Smart account address
92
93
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
93
94
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
181
184
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
185
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
182
186
* @param xAccountAddress Smart account address
183
187
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
184
188
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
272
278
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
279
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
273
280
* @param xAccountAddress Smart account address
274
281
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
275
282
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
367
376
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
377
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
368
378
* @param xAccountAddress Smart account address
369
379
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
370
380
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
* @param simulateTx Simulates the transaction before adding it to the queue, returning an error if it fails simulation. Note: This step is less performant and recommended only for debugging purposes.
458
470
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
471
+
* @param xTransactionMode Transaction mode to use for EOA transactions. Will be ignored if using a smart wallet. If omitted, defaults to regular EOA transactions.
459
472
* @param xAccountAddress Smart account address
460
473
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
461
474
* @param xAccountSalt Smart account salt as string or hex. This is used to predict the smart account address. Useful when creating multiple accounts with the same admin and only needed when deploying the account as part of a userop.
0 commit comments