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 simulateTx Simulate the transaction on-chain without executing
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
170
* @param xAccountAddress Smart account address
171
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
171
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
172
172
* @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.
173
173
* @returns any Default Response
174
174
* @throws ApiError
@@ -191,6 +191,10 @@ export class AccountFactoryService {
191
191
* Gas limit for the transaction
192
192
*/
193
193
gas?: string;
194
+
/**
195
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
* @param simulateTx Simulate the transaction on-chain without executing
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
91
* @param xAccountAddress Smart account address
92
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
92
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
93
93
* @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.
94
94
* @returns any Default Response
95
95
* @throws ApiError
@@ -108,6 +108,10 @@ export class AccountService {
108
108
* Gas limit for the transaction
109
109
*/
110
110
gas?: string;
111
+
/**
112
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
113
+
*/
114
+
gasPrice?: string;
111
115
/**
112
116
* Maximum fee per gas
113
117
*/
@@ -169,14 +173,14 @@ export class AccountService {
169
173
/**
170
174
* Revoke admin
171
175
* Revoke a smart account's admin permission.
172
-
* @param chain Chain ID or name
176
+
* @param chain A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
* @param simulateTx Simulate the transaction on-chain without executing
180
+
* @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.
177
181
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
178
182
* @param xAccountAddress Smart account address
179
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
183
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
180
184
* @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.
181
185
* @returns any Default Response
182
186
* @throws ApiError
@@ -195,6 +199,10 @@ export class AccountService {
195
199
* Gas limit for the transaction
196
200
*/
197
201
gas?: string;
202
+
/**
203
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
204
+
*/
205
+
gasPrice?: string;
198
206
/**
199
207
* Maximum fee per gas
200
208
*/
@@ -256,14 +264,14 @@ export class AccountService {
256
264
/**
257
265
* Create session key
258
266
* Create a session key for a smart account.
259
-
* @param chain Chain ID or name
267
+
* @param chain A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
* @param simulateTx Simulate the transaction on-chain without executing
271
+
* @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.
264
272
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
265
273
* @param xAccountAddress Smart account address
266
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
274
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
267
275
* @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.
268
276
* @returns any Default Response
269
277
* @throws ApiError
@@ -286,6 +294,10 @@ export class AccountService {
286
294
* Gas limit for the transaction
287
295
*/
288
296
gas?: string;
297
+
/**
298
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
299
+
*/
300
+
gasPrice?: string;
289
301
/**
290
302
* Maximum fee per gas
291
303
*/
@@ -347,14 +359,14 @@ export class AccountService {
347
359
/**
348
360
* Revoke session key
349
361
* Revoke a session key for a smart account.
350
-
* @param chain Chain ID or name
362
+
* @param chain A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
* @param simulateTx Simulate the transaction on-chain without executing
366
+
* @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.
355
367
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
356
368
* @param xAccountAddress Smart account address
357
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
369
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
358
370
* @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.
359
371
* @returns any Default Response
360
372
* @throws ApiError
@@ -373,6 +385,10 @@ export class AccountService {
373
385
* Gas limit for the transaction
374
386
*/
375
387
gas?: string;
388
+
/**
389
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
390
+
*/
391
+
gasPrice?: string;
376
392
/**
377
393
* Maximum fee per gas
378
394
*/
@@ -434,14 +450,14 @@ export class AccountService {
434
450
/**
435
451
* Update session key
436
452
* Update a session key for a smart account.
437
-
* @param chain Chain ID or name
453
+
* @param chain A chain ID ("137") or slug ("polygon-amoy-testnet"). Chain ID is preferred.
* @param simulateTx Simulate the transaction on-chain without executing
457
+
* @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.
442
458
* @param xIdempotencyKey Transactions submitted with the same idempotency key will be de-duplicated. Only the last 100000 transactions are compared.
443
459
* @param xAccountAddress Smart account address
444
-
* @param xAccountFactoryAddress Smart account factory address. If omitted, engine will try to resolve it from the chain.
460
+
* @param xAccountFactoryAddress Smart account factory address. If omitted, Engine will try to resolve it from the contract.
445
461
* @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.
446
462
* @returns any Default Response
447
463
* @throws ApiError
@@ -464,6 +480,10 @@ export class AccountService {
464
480
* Gas limit for the transaction
465
481
*/
466
482
gas?: string;
483
+
/**
484
+
* Gas price for the transaction. Do not use this if maxFeePerGas is set or if you want to use EIP-1559 type transactions. Only use this if you want to use legacy transactions.
0 commit comments