@virtuals-protocol/acp-node 0.3.0-beta.3 → 0.3.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,14 +1,17 @@
1
1
  import * as viem from 'viem';
2
- import { Address, Chain } from 'viem';
2
+ import { Address, Chain, createPublicClient, SignTypedDataParameters, Hex } from 'viem';
3
3
  import * as _aa_sdk_core from '@aa-sdk/core';
4
4
  import { Address as Address$1, SmartAccountSigner } from '@aa-sdk/core';
5
- import { baseSepolia, base } from '@account-kit/infra';
5
+ import { baseSepolia, base, mainnet, sepolia, polygon, polygonAmoy, bsc, bscTestnet, arbitrum, arbitrumSepolia } from '@account-kit/infra';
6
+ import * as util from 'util';
7
+ import util__default from 'util';
6
8
  import * as viem__types_actions_siwe_verifySiweMessage from 'viem/_types/actions/siwe/verifySiweMessage';
7
9
  import * as _aa_sdk_core_dist_types_actions_smartAccount_signTypedData from '@aa-sdk/core/dist/types/actions/smartAccount/signTypedData';
8
10
  import * as _aa_sdk_core_dist_types_actions_smartAccount_signMessage from '@aa-sdk/core/dist/types/actions/smartAccount/signMessage';
9
11
  import * as _aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility from '@aa-sdk/core/dist/types/actions/smartAccount/checkGasSponsorshipEligibility';
10
12
  import * as viem__types_utils_ccip from 'viem/_types/utils/ccip';
11
13
  import * as _account_kit_smart_contracts from '@account-kit/smart-contracts';
14
+ import { ModularAccountV2Client } from '@account-kit/smart-contracts';
12
15
 
13
16
  declare const ACP_ABI: ({
14
17
  inputs: never[];
@@ -95,9 +98,10 @@ declare const ACP_ABI: ({
95
98
  declare class Fare {
96
99
  contractAddress: Address;
97
100
  decimals: number;
98
- constructor(contractAddress: Address, decimals: number);
101
+ chainId?: number | undefined;
102
+ constructor(contractAddress: Address, decimals: number, chainId?: number | undefined);
99
103
  formatAmount(amount: number): bigint;
100
- static fromContractAddress(contractAddress: Address, config?: AcpContractConfig): Promise<Fare>;
104
+ static fromContractAddress(contractAddress: Address, config?: AcpContractConfig, chainId?: number): Promise<Fare>;
101
105
  }
102
106
  declare abstract class FareAmountBase {
103
107
  amount: bigint;
@@ -176,76 +180,6 @@ declare const ACP_V2_ABI: ({
176
180
  anonymous?: undefined;
177
181
  })[];
178
182
 
179
- declare class AcpContractConfig {
180
- chain: typeof baseSepolia | typeof base;
181
- contractAddress: Address$1;
182
- baseFare: Fare;
183
- alchemyRpcUrl: string;
184
- acpUrl: string;
185
- abi: typeof ACP_ABI | typeof ACP_V2_ABI;
186
- rpcEndpoint?: string | undefined;
187
- constructor(chain: typeof baseSepolia | typeof base, contractAddress: Address$1, baseFare: Fare, alchemyRpcUrl: string, acpUrl: string, abi: typeof ACP_ABI | typeof ACP_V2_ABI, rpcEndpoint?: string | undefined);
188
- }
189
- declare const baseSepoliaAcpConfig: AcpContractConfig;
190
- declare const baseSepoliaAcpConfigV2: AcpContractConfig;
191
- declare const baseAcpConfig: AcpContractConfig;
192
- declare const baseAcpConfigV2: AcpContractConfig;
193
-
194
- declare enum MemoType {
195
- MESSAGE = 0,// 0 - Text message
196
- CONTEXT_URL = 1,// 1 - URL for context
197
- IMAGE_URL = 2,// 2 - Image URL
198
- VOICE_URL = 3,// 3 - Voice/audio URL
199
- OBJECT_URL = 4,// 4 - Object/file URL
200
- TXHASH = 5,// 5 - Transaction hash reference
201
- PAYABLE_REQUEST = 6,// 6 - Payment request
202
- PAYABLE_TRANSFER = 7,// 7 - Direct payment transfer
203
- PAYABLE_TRANSFER_ESCROW = 8,// 8 - Escrowed payment transfer
204
- NOTIFICATION = 9,// 9 - Notification
205
- PAYABLE_NOTIFICATION = 10
206
- }
207
- declare enum AcpJobPhases {
208
- REQUEST = 0,
209
- NEGOTIATION = 1,
210
- TRANSACTION = 2,
211
- EVALUATION = 3,
212
- COMPLETED = 4,
213
- REJECTED = 5,
214
- EXPIRED = 6
215
- }
216
- declare enum FeeType {
217
- NO_FEE = 0,
218
- IMMEDIATE_FEE = 1,
219
- DEFERRED_FEE = 2
220
- }
221
- declare abstract class BaseAcpContractClient {
222
- agentWalletAddress: Address;
223
- config: AcpContractConfig;
224
- contractAddress: Address;
225
- chain: Chain;
226
- abi: typeof ACP_ABI | typeof ACP_V2_ABI;
227
- jobCreatedSignature: string;
228
- constructor(agentWalletAddress: Address, config?: AcpContractConfig);
229
- abstract handleOperation(data: `0x${string}`, contractAddress: Address, value?: bigint): Promise<Address>;
230
- abstract getJobId(hash: Address, clientAddress: Address, providerAddress: Address): Promise<number>;
231
- get walletAddress(): `0x${string}`;
232
- createJobWithAccount(accountId: number, providerAddress: Address, evaluatorAddress: Address, budgetBaseUnit: bigint, paymentTokenAddress: Address, expiredAt: Date): Promise<{
233
- txHash: string;
234
- jobId: number;
235
- }>;
236
- createJob(providerAddress: Address, evaluatorAddress: Address, expiredAt: Date, paymentTokenAddress: Address, budgetBaseUnit: bigint, metadata: string): Promise<{
237
- txHash: string;
238
- jobId: number;
239
- }>;
240
- approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address): Promise<`0x${string}`>;
241
- createPayableMemo(jobId: number, content: string, amountBaseUnit: bigint, recipient: Address, feeAmountBaseUnit: bigint, feeType: FeeType, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER | MemoType.PAYABLE_NOTIFICATION, expiredAt: Date, token?: Address, secured?: boolean): Promise<`0x${string}`>;
242
- createMemo(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases): Promise<Address>;
243
- signMemo(memoId: number, isApproved: boolean, reason?: string): Promise<`0x${string}`>;
244
- setBudgetWithPaymentToken(jobId: number, budgetBaseUnit: bigint, paymentTokenAddress?: Address): Promise<`0x${string}`>;
245
- updateAccountMetadata(accountId: number, metadata: string): Promise<`0x${string}`>;
246
- wrapEth(amountBaseUnit: bigint): Promise<`0x${string}`>;
247
- }
248
-
249
183
  declare class AcpAccount {
250
184
  contractClient: BaseAcpContractClient;
251
185
  id: number;
@@ -253,7 +187,51 @@ declare class AcpAccount {
253
187
  providerAddress: Address;
254
188
  metadata: Record<string, any>;
255
189
  constructor(contractClient: BaseAcpContractClient, id: number, clientAddress: Address, providerAddress: Address, metadata: Record<string, any>);
256
- updateMetadata(metadata: Record<string, any>): Promise<`0x${string}`>;
190
+ updateMetadata(metadata: Record<string, any>): Promise<OperationPayload>;
191
+ }
192
+
193
+ declare enum PriceType {
194
+ FIXED = "fixed",
195
+ PERCENTAGE = "percentage"
196
+ }
197
+ declare class AcpJobOffering {
198
+ private readonly acpClient;
199
+ private readonly acpContractClient;
200
+ providerAddress: Address;
201
+ name: string;
202
+ price: number;
203
+ priceType: PriceType;
204
+ requiredFunds: boolean;
205
+ slaMinutes: number;
206
+ requirement?: (Object | string) | undefined;
207
+ deliverable?: (Object | string) | undefined;
208
+ private ajv;
209
+ constructor(acpClient: AcpClient, acpContractClient: BaseAcpContractClient, providerAddress: Address, name: string, price: number, priceType: PriceType, requiredFunds: boolean, slaMinutes: number, requirement?: (Object | string) | undefined, deliverable?: (Object | string) | undefined);
210
+ initiateJob(serviceRequirement: Object | string, evaluatorAddress?: Address): Promise<number>;
211
+ }
212
+
213
+ type AcpAgentArgs = {
214
+ id: string | number;
215
+ name: string;
216
+ contractAddress: Address;
217
+ walletAddress: Address;
218
+ jobOfferings: AcpJobOffering[];
219
+ description?: string;
220
+ twitterHandle?: string;
221
+ metrics?: unknown;
222
+ resources?: unknown;
223
+ };
224
+ declare class AcpAgent {
225
+ readonly id: string;
226
+ readonly name: string;
227
+ readonly contractAddress: Address;
228
+ readonly walletAddress: Address;
229
+ readonly jobOfferings: readonly AcpJobOffering[];
230
+ readonly description?: string;
231
+ readonly twitterHandle?: string;
232
+ readonly metrics?: unknown;
233
+ readonly resources?: unknown;
234
+ constructor(args: AcpAgentArgs);
257
235
  }
258
236
 
259
237
  declare class AcpMemo {
@@ -267,27 +245,142 @@ declare class AcpMemo {
267
245
  signedReason?: string | undefined;
268
246
  expiry?: Date | undefined;
269
247
  payableDetails?: PayableDetails | undefined;
270
- structuredContent: GenericPayload | undefined;
271
- constructor(contractClient: BaseAcpContractClient, id: number, type: MemoType, content: string, nextPhase: AcpJobPhases, status: AcpMemoStatus, senderAddress: Address, signedReason?: string | undefined, expiry?: Date | undefined, payableDetails?: PayableDetails | undefined);
272
- get payloadType(): PayloadType | undefined;
273
- getStructuredContent<T>(): GenericPayload<T> | undefined;
274
- create(jobId: number, isSecured?: boolean): Promise<`0x${string}`>;
275
- sign(approved: boolean, reason?: string): Promise<`0x${string}`>;
248
+ txHash?: `0x${string}` | undefined;
249
+ signedTxHash?: `0x${string}` | undefined;
250
+ state?: AcpMemoState | undefined;
251
+ constructor(contractClient: BaseAcpContractClient, id: number, type: MemoType, content: string, nextPhase: AcpJobPhases, status: AcpMemoStatus, senderAddress: Address, signedReason?: string | undefined, expiry?: Date | undefined, payableDetails?: PayableDetails | undefined, txHash?: `0x${string}` | undefined, signedTxHash?: `0x${string}` | undefined, state?: AcpMemoState | undefined);
252
+ create(jobId: number, isSecured?: boolean): Promise<OperationPayload>;
253
+ sign(approved: boolean, reason?: string): Promise<{
254
+ userOpHash: Address;
255
+ txnHash: Address;
256
+ }>;
257
+ [util__default.inspect.custom](): {
258
+ id: number;
259
+ senderAddress: `0x${string}`;
260
+ type: string;
261
+ status: AcpMemoStatus;
262
+ content: string;
263
+ signedReason: string | undefined;
264
+ txHash: `0x${string}` | undefined;
265
+ signedTxHash: `0x${string}` | undefined;
266
+ nextPhase: string;
267
+ expiry: Date | undefined;
268
+ payableDetails: PayableDetails | undefined;
269
+ };
270
+ }
271
+
272
+ declare class AcpJob {
273
+ private acpClient;
274
+ id: number;
275
+ clientAddress: Address;
276
+ providerAddress: Address;
277
+ evaluatorAddress: Address;
278
+ price: number;
279
+ priceTokenAddress: Address;
280
+ memos: AcpMemo[];
281
+ phase: AcpJobPhases;
282
+ context: Record<string, any>;
283
+ contractAddress: Address;
284
+ netPayableAmount?: number | undefined;
285
+ name: string | undefined;
286
+ requirement: Record<string, any> | string | undefined;
287
+ priceType: PriceType;
288
+ priceValue: number;
289
+ constructor(acpClient: AcpClient, id: number, clientAddress: Address, providerAddress: Address, evaluatorAddress: Address, price: number, priceTokenAddress: Address, memos: AcpMemo[], phase: AcpJobPhases, context: Record<string, any>, contractAddress: Address, netPayableAmount?: number | undefined);
290
+ get acpContractClient(): BaseAcpContractClient;
291
+ get config(): AcpContractConfig;
292
+ get baseFare(): Fare;
293
+ get deliverable(): string | undefined;
294
+ get rejectionReason(): string | undefined;
295
+ get providerAgent(): Promise<AcpAgent | null>;
296
+ get clientAgent(): Promise<AcpAgent | null>;
297
+ get evaluatorAgent(): Promise<AcpAgent | null>;
298
+ get account(): Promise<AcpAccount | null>;
299
+ get latestMemo(): AcpMemo | undefined;
300
+ createRequirement(content: string): Promise<{
301
+ userOpHash: Address;
302
+ txnHash: Address;
303
+ }>;
304
+ createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<{
305
+ userOpHash: Address;
306
+ txnHash: Address;
307
+ }>;
308
+ payAndAcceptRequirement(reason?: string): Promise<{
309
+ userOpHash: Address;
310
+ txnHash: Address;
311
+ } | undefined>;
312
+ respond(accept: boolean, reason?: string): Promise<{
313
+ userOpHash: Address;
314
+ txnHash: Address;
315
+ }>;
316
+ accept(reason?: string): Promise<{
317
+ userOpHash: Address;
318
+ txnHash: Address;
319
+ }>;
320
+ reject(reason?: string): Promise<{
321
+ userOpHash: Address;
322
+ txnHash: Address;
323
+ }>;
324
+ rejectPayable(reason: string | undefined, amount: FareAmountBase, expiredAt?: Date): Promise<{
325
+ userOpHash: Address;
326
+ txnHash: Address;
327
+ }>;
328
+ deliver(deliverable: DeliverablePayload): Promise<{
329
+ userOpHash: Address;
330
+ txnHash: Address;
331
+ }>;
332
+ deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<void | {
333
+ userOpHash: Address;
334
+ txnHash: Address;
335
+ }>;
336
+ evaluate(accept: boolean, reason?: string): Promise<void>;
337
+ createNotification(content: string): Promise<{
338
+ userOpHash: Address;
339
+ txnHash: Address;
340
+ }>;
341
+ createPayableNotification(content: string, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<{
342
+ userOpHash: Address;
343
+ txnHash: Address;
344
+ }>;
345
+ private performX402Payment;
346
+ deliverCrossChainPayable(recipient: Address, content: string, amount: FareAmountBase, skipFee?: boolean): Promise<void>;
347
+ [util.inspect.custom](): {
348
+ id: number;
349
+ clientAddress: `0x${string}`;
350
+ providerAddress: `0x${string}`;
351
+ name: string | undefined;
352
+ requirement: string | Record<string, any> | undefined;
353
+ priceType: PriceType;
354
+ priceValue: number;
355
+ priceTokenAddress: `0x${string}`;
356
+ memos: AcpMemo[];
357
+ phase: AcpJobPhases;
358
+ context: Record<string, any>;
359
+ contractAddress: `0x${string}`;
360
+ netPayableAmount: number | undefined;
361
+ };
276
362
  }
277
363
 
278
364
  type DeliverablePayload = string | Record<string, unknown>;
279
- /** @deprecated Use DeliverablePayload instead */
280
- type IDeliverable = DeliverablePayload;
281
365
  declare enum AcpMemoStatus {
282
366
  PENDING = "PENDING",
283
367
  APPROVED = "APPROVED",
284
368
  REJECTED = "REJECTED"
285
369
  }
370
+ declare enum AcpMemoState {
371
+ NONE = 0,
372
+ PENDING = 1,
373
+ IN_PROGRESS = 2,
374
+ FAILED = 3,
375
+ COMPLETED = 4
376
+ }
286
377
  interface PayableDetails {
287
378
  amount: bigint;
288
379
  token: Address;
289
380
  recipient: Address;
290
381
  feeAmount: bigint;
382
+ lzSrcEid?: number;
383
+ lzDstEid?: number;
291
384
  }
292
385
  declare enum AcpAgentSort {
293
386
  SUCCESSFUL_JOB_COUNT = "successfulJobCount",
@@ -305,312 +398,278 @@ declare enum AcpOnlineStatus {
305
398
  ONLINE = "online",
306
399
  OFFLINE = "offline"
307
400
  }
401
+ interface IAcpJobX402PaymentDetails {
402
+ isX402: boolean;
403
+ isBudgetReceived: boolean;
404
+ }
308
405
  interface IAcpClientOptions {
309
406
  acpContractClient: BaseAcpContractClient | BaseAcpContractClient[];
310
407
  onNewTask?: (job: AcpJob, memoToSign?: AcpMemo) => void;
311
408
  onEvaluate?: (job: AcpJob) => void;
312
409
  customRpcUrl?: string;
410
+ skipSocketConnection?: boolean;
313
411
  }
314
- type AcpAgent = {
315
- id: number;
316
- documentId: string;
317
- name: string;
412
+ type X402Config = {
413
+ url: string;
414
+ };
415
+ type X402PayableRequirements = {
416
+ x402Version: number;
417
+ error: string;
418
+ accepts: X402Requirement[];
419
+ };
420
+ type X402Requirement = {
421
+ scheme: string;
422
+ network: string;
423
+ maxAmountRequired: string;
424
+ resource: string;
318
425
  description: string;
319
- walletAddress: Address;
320
- isVirtualAgent: boolean;
321
- profilePic: string;
322
- category: string;
323
- tokenAddress: string | null;
324
- ownerAddress: string;
325
- cluster: string | null;
326
- twitterHandle: string;
327
- jobs: {
328
- name: string;
329
- price: number;
330
- requirement?: Object | string;
331
- deliverable?: Object | string;
332
- }[];
333
- resources: {
426
+ mimeType: string;
427
+ payTo: Address;
428
+ maxTimeoutSeconds: number;
429
+ asset: Address;
430
+ extra: {
334
431
  name: string;
335
- description: string;
336
- url: string;
337
- parameters?: Object;
338
- id: number;
339
- }[];
340
- symbol: string | null;
341
- virtualAgentId: string | null;
342
- metrics?: {
343
- successfulJobCount: number;
344
- successRate: number;
345
- uniqueBuyerCount: number;
346
- minsFromLastOnline: number;
347
- isOnline: boolean;
432
+ version: string;
348
433
  };
349
- contractAddress: Address;
350
- };
351
- declare enum PayloadType {
352
- FUND_RESPONSE = "fund_response",
353
- OPEN_POSITION = "open_position",
354
- SWAP_TOKEN = "swap_token",
355
- RESPONSE_SWAP_TOKEN = "response_swap_token",
356
- CLOSE_PARTIAL_POSITION = "close_partial_position",
357
- CLOSE_POSITION = "close_position",
358
- POSITION_FULFILLED = "position_fulfilled",
359
- CLOSE_JOB_AND_WITHDRAW = "close_job_and_withdraw",
360
- UNFULFILLED_POSITION = "unfulfilled_position"
361
- }
362
- type GenericPayload<T = any> = {
363
- type: PayloadType;
364
- data: T;
434
+ outputSchema: any;
365
435
  };
366
- type FundResponsePayload = {
367
- reportingApiEndpoint: string;
368
- walletAddress?: Address;
436
+ type X402PayableRequest = {
437
+ to: Address;
438
+ value: number;
439
+ maxTimeoutSeconds: number;
440
+ asset: Address;
369
441
  };
370
- declare enum PositionDirection {
371
- LONG = "long",
372
- SHORT = "short"
373
- }
374
- type OpenPositionPayload = {
375
- symbol: string;
376
- amount: number;
377
- chain?: string;
378
- contractAddress?: string;
379
- direction?: PositionDirection;
380
- tp: {
381
- price?: number;
382
- percentage?: number;
383
- };
384
- sl: {
385
- price?: number;
386
- percentage?: number;
442
+ type X402Payment = {
443
+ encodedPayment: string;
444
+ signature: string;
445
+ message: {
446
+ from: Address;
447
+ to: Address;
448
+ value: string;
449
+ validAfter: string;
450
+ validBefore: string;
451
+ nonce: string;
387
452
  };
388
453
  };
389
- type SwapTokenPayload = {
390
- fromSymbol: string;
391
- fromContractAddress: Address;
392
- amount: number;
393
- toSymbol: string;
394
- toContractAddress?: Address;
395
- };
396
- type ResponseSwapTokenPayload = {
397
- txnHash?: Address;
398
- error?: string;
399
- };
400
- type ClosePositionPayload = {
401
- positionId: number;
402
- amount: number;
403
- };
404
- type PositionFulfilledPayload = {
405
- symbol: string;
406
- amount: number;
407
- contractAddress: string;
408
- type: "TP" | "SL" | "CLOSE";
409
- pnl: number;
410
- entryPrice: number;
411
- exitPrice: number;
412
- };
413
- type UnfulfilledPositionPayload = {
414
- symbol: string;
415
- amount: number;
416
- contractAddress: string;
417
- type: "ERROR" | "PARTIAL";
418
- reason?: string;
419
- };
420
- type RequestClosePositionPayload = {
421
- positionId: number;
422
- };
423
-
424
- declare class AcpJob {
425
- private acpClient;
454
+ type OffChainJob = {
426
455
  id: number;
456
+ documentId: string;
457
+ txHash: Address;
458
+ clientId: number;
459
+ providerId: number;
460
+ budget: number;
461
+ createdAt: string;
462
+ updatedAt: string;
463
+ publishedAt: string;
464
+ locale: string | null;
427
465
  clientAddress: Address;
428
466
  providerAddress: Address;
429
- evaluatorAddress: Address;
430
- price: number;
431
- priceTokenAddress: Address;
432
- memos: AcpMemo[];
467
+ evaluators: Address[];
468
+ budgetTxHash: Address | null;
433
469
  phase: AcpJobPhases;
434
- context: Record<string, any>;
470
+ agentIdPair: string;
471
+ onChainJobId: string;
472
+ summary: string;
473
+ userOpHash: Address | null;
474
+ amountClaimed: number;
475
+ context: Record<string, any> | null;
476
+ expiry: string;
477
+ refundRetryTimes: number;
478
+ additionalFees: number;
479
+ budgetTokenAddress: Address;
480
+ budgetUSD: number;
481
+ amountClaimedUSD: number | null;
482
+ additionalFeesUSD: number | null;
435
483
  contractAddress: Address;
436
- name: string | undefined;
437
- requirement: Record<string, any> | string | undefined;
438
- constructor(acpClient: AcpClient, id: number, clientAddress: Address, providerAddress: Address, evaluatorAddress: Address, price: number, priceTokenAddress: Address, memos: AcpMemo[], phase: AcpJobPhases, context: Record<string, any>, contractAddress: Address);
439
- get acpContractClient(): BaseAcpContractClient;
440
- get config(): AcpContractConfig;
441
- get baseFare(): Fare;
442
- get deliverable(): string | undefined;
443
- get rejectionReason(): string | undefined;
444
- get providerAgent(): Promise<AcpAgent | undefined>;
445
- get clientAgent(): Promise<AcpAgent | undefined>;
446
- get evaluatorAgent(): Promise<AcpAgent | undefined>;
447
- get account(): Promise<AcpAccount | null>;
448
- get latestMemo(): AcpMemo | undefined;
449
- createRequirement(content: string): Promise<`0x${string}`>;
450
- createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<`0x${string}`>;
451
- payAndAcceptRequirement(reason?: string): Promise<`0x${string}`>;
452
- respond(accept: boolean, reason?: string): Promise<`0x${string}`>;
453
- accept(reason?: string): Promise<void>;
454
- reject(reason?: string): Promise<`0x${string}`>;
455
- deliver(deliverable: DeliverablePayload): Promise<`0x${string}`>;
456
- deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, expiredAt?: Date): Promise<`0x${string}`>;
457
- evaluate(accept: boolean, reason?: string): Promise<void>;
458
- pay(reason?: string): Promise<`0x${string}`>;
459
- createNotification(content: string): Promise<`0x${string}`>;
460
- createPayableNotification(content: string, amount: FareAmountBase, expiredAt?: Date): Promise<`0x${string}`>;
461
- /**
462
- * @deprecated The method should not be used
463
- */
464
- openPosition(payload: OpenPositionPayload[], feeAmount: number, expiredAt?: Date, // 3 minutes
465
- walletAddress?: Address): Promise<`0x${string}`>;
466
- /**
467
- * @deprecated The method should not be used
468
- */
469
- swapToken(payload: SwapTokenPayload, decimals: number, feeAmount: number, walletAddress?: Address): Promise<`0x${string}`>;
470
- /**
471
- * @deprecated The method should not be used
472
- */
473
- responseSwapToken(memoId: number, accept: boolean, reason: string): Promise<`0x${string}`>;
474
- /**
475
- * @deprecated The method should not be used
476
- */
477
- transferFunds<T>(payload: GenericPayload<T>, fareAmount: FareAmountBase, walletAddress?: Address, expiredAt?: Date): Promise<`0x${string}`>;
478
- /**
479
- * @deprecated The method should not be used
480
- */
481
- responseOpenPosition(memoId: number, accept: boolean, reason: string): Promise<`0x${string}`>;
482
- /**
483
- * @deprecated The method should not be used
484
- */
485
- closePartialPosition(payload: ClosePositionPayload, expireAt?: Date): Promise<`0x${string}`>;
486
- /**
487
- * @deprecated The method should not be used
488
- */
489
- responseClosePartialPosition(memoId: number, accept: boolean, reason: string): Promise<`0x${string}`>;
490
- /**
491
- * @deprecated The method should not be used
492
- */
493
- requestClosePosition(payload: RequestClosePositionPayload): Promise<`0x${string}`>;
494
- /**
495
- * @deprecated The method should not be used
496
- */
497
- responseRequestClosePosition(memoId: number, accept: boolean, payload: ClosePositionPayload, reason?: string, expiredAt?: Date): Promise<`0x${string}` | undefined>;
498
- /**
499
- * @deprecated The method should not be used
500
- */
501
- confirmClosePosition(memoId: number, accept: boolean, reason?: string): Promise<void>;
502
- /**
503
- * @deprecated The method should not be used
504
- */
505
- positionFulfilled(payload: PositionFulfilledPayload, expiredAt?: Date): Promise<`0x${string}`>;
506
- /**
507
- * @deprecated The method should not be used
508
- */
509
- unfulfilledPosition(payload: UnfulfilledPositionPayload, expiredAt?: Date): Promise<`0x${string}`>;
510
- /**
511
- * @deprecated The method should not be used
512
- */
513
- responseUnfulfilledPosition(memoId: number, accept: boolean, reason: string): Promise<`0x${string}`>;
514
- /**
515
- * @deprecated The method should not be used
516
- */
517
- responsePositionFulfilled(memoId: number, accept: boolean, reason: string): Promise<`0x${string}`>;
518
- /**
519
- * @deprecated The method should not be used
520
- */
521
- closeJob(message?: string): Promise<`0x${string}`>;
522
- /**
523
- * @deprecated The method should not be used
524
- */
525
- responseCloseJob(memoId: number, accept: boolean, fulfilledPositions: PositionFulfilledPayload[], reason?: string, expiredAt?: Date): Promise<`0x${string}` | undefined>;
526
- /**
527
- * @deprecated The method should not be used
528
- */
529
- confirmJobClosure(memoId: number, accept: boolean, reason?: string): Promise<void>;
484
+ accountId: number | null;
485
+ x402Nonce: string;
486
+ };
487
+ type X402PaymentResponse = {
488
+ isPaymentRequired: boolean;
489
+ data: X402PayableRequirements;
490
+ };
491
+
492
+ type SupportedChain = typeof mainnet | typeof sepolia | typeof polygon | typeof polygonAmoy | typeof bsc | typeof bscTestnet | typeof arbitrum | typeof arbitrumSepolia;
493
+ declare class AcpContractConfig {
494
+ chain: typeof baseSepolia | typeof base;
495
+ contractAddress: Address$1;
496
+ baseFare: Fare;
497
+ alchemyRpcUrl: string;
498
+ acpUrl: string;
499
+ abi: typeof ACP_ABI | typeof ACP_V2_ABI;
500
+ maxRetries: number;
501
+ rpcEndpoint?: string | undefined;
502
+ x402Config?: X402Config | undefined;
503
+ retryConfig?: {
504
+ intervalMs: number;
505
+ multiplier: number;
506
+ maxRetries: number;
507
+ } | undefined;
508
+ chains: SupportedChain[];
509
+ constructor(chain: typeof baseSepolia | typeof base, contractAddress: Address$1, baseFare: Fare, alchemyRpcUrl: string, acpUrl: string, abi: typeof ACP_ABI | typeof ACP_V2_ABI, maxRetries: number, rpcEndpoint?: string | undefined, x402Config?: X402Config | undefined, retryConfig?: {
510
+ intervalMs: number;
511
+ multiplier: number;
512
+ maxRetries: number;
513
+ } | undefined, chains?: SupportedChain[]);
530
514
  }
515
+ declare const baseSepoliaAcpConfig: AcpContractConfig;
516
+ declare const baseSepoliaAcpConfigV2: AcpContractConfig;
517
+ declare const baseSepoliaAcpX402ConfigV2: AcpContractConfig;
518
+ declare const baseAcpConfig: AcpContractConfig;
519
+ declare const baseAcpX402Config: AcpContractConfig;
520
+ declare const baseAcpConfigV2: AcpContractConfig;
521
+ declare const baseAcpX402ConfigV2: AcpContractConfig;
531
522
 
532
- declare class AcpJobOffering {
533
- private readonly acpClient;
534
- private readonly acpContractClient;
535
- providerAddress: Address;
536
- name: string;
537
- price: number;
538
- requirement?: (Object | string) | undefined;
539
- private ajv;
540
- constructor(acpClient: AcpClient, acpContractClient: BaseAcpContractClient, providerAddress: Address, name: string, price: number, requirement?: (Object | string) | undefined);
541
- initiateJob(serviceRequirement: Object | string, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
523
+ declare enum MemoType {
524
+ MESSAGE = 0,// 0 - Text message
525
+ CONTEXT_URL = 1,// 1 - URL for context
526
+ IMAGE_URL = 2,// 2 - Image URL
527
+ VOICE_URL = 3,// 3 - Voice/audio URL
528
+ OBJECT_URL = 4,// 4 - Object/file URL
529
+ TXHASH = 5,// 5 - Transaction hash reference
530
+ PAYABLE_REQUEST = 6,// 6 - Payment request
531
+ PAYABLE_TRANSFER = 7,// 7 - Direct payment transfer
532
+ PAYABLE_TRANSFER_ESCROW = 8,// 8 - Escrowed payment transfer
533
+ NOTIFICATION = 9,// 9 - Notification
534
+ PAYABLE_NOTIFICATION = 10
535
+ }
536
+ declare enum AcpJobPhases {
537
+ REQUEST = 0,
538
+ NEGOTIATION = 1,
539
+ TRANSACTION = 2,
540
+ EVALUATION = 3,
541
+ COMPLETED = 4,
542
+ REJECTED = 5,
543
+ EXPIRED = 6
544
+ }
545
+ declare enum FeeType {
546
+ NO_FEE = 0,
547
+ IMMEDIATE_FEE = 1,
548
+ DEFERRED_FEE = 2,
549
+ PERCENTAGE_FEE = 3
550
+ }
551
+ interface OperationPayload {
552
+ data: `0x${string}`;
553
+ contractAddress: Address;
554
+ value?: bigint;
555
+ }
556
+ declare abstract class BaseAcpContractClient {
557
+ agentWalletAddress: Address;
558
+ config: AcpContractConfig;
559
+ contractAddress: Address;
560
+ chain: Chain;
561
+ abi: typeof ACP_ABI | typeof ACP_V2_ABI;
562
+ jobCreatedSignature: string;
563
+ publicClient: ReturnType<typeof createPublicClient>;
564
+ publicClients: Record<number, ReturnType<typeof createPublicClient>>;
565
+ constructor(agentWalletAddress: Address, config?: AcpContractConfig);
566
+ protected validateSessionKeyOnChain(sessionSignerAddress: Address, sessionEntityKeyId: number): Promise<void>;
567
+ abstract handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
568
+ userOpHash: Address;
569
+ txnHash: Address;
570
+ }>;
571
+ abstract getJobId(createJobUserOpHash: Address, clientAddress: Address, providerAddress: Address): Promise<number>;
572
+ get walletAddress(): `0x${string}`;
573
+ createJobWithAccount(accountId: number, evaluatorAddress: Address, budgetBaseUnit: bigint, paymentTokenAddress: Address, expiredAt: Date, isX402Job?: boolean): OperationPayload;
574
+ createJob(providerAddress: Address, evaluatorAddress: Address, expiredAt: Date, paymentTokenAddress: Address, budgetBaseUnit: bigint, metadata: string, isX402Job?: boolean): OperationPayload;
575
+ approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address, targetAddress?: Address): OperationPayload;
576
+ createPayableMemo(jobId: number, content: string, amountBaseUnit: bigint, recipient: Address, feeAmountBaseUnit: bigint, feeType: FeeType, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER | MemoType.PAYABLE_NOTIFICATION, expiredAt: Date, token?: Address, secured?: boolean): OperationPayload;
577
+ createCrossChainPayableMemo(jobId: number, content: string, token: Address, amountBaseUnit: bigint, recipient: Address, feeAmountBaseUnit: bigint, feeType: FeeType, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER | MemoType.PAYABLE_NOTIFICATION, expiredAt: Date, nextPhase: AcpJobPhases, destinationEid: number, secured?: boolean): OperationPayload;
578
+ createMemo(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases): OperationPayload;
579
+ createMemoWithMetadata(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases, metadata: string): OperationPayload;
580
+ signMemo(memoId: number, isApproved: boolean, reason?: string): OperationPayload;
581
+ setBudgetWithPaymentToken(jobId: number, budgetBaseUnit: bigint, paymentTokenAddress?: Address): OperationPayload | undefined;
582
+ updateAccountMetadata(accountId: number, metadata: string): OperationPayload;
583
+ wrapEth(amountBaseUnit: bigint): OperationPayload;
584
+ getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
585
+ abstract updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
586
+ abstract generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
587
+ abstract performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
588
+ submitTransferWithAuthorization(from: Address, to: Address, value: bigint, validAfter: bigint, validBefore: bigint, nonce: string, signature: string): Promise<OperationPayload[]>;
589
+ getERC20Balance(chainId: number, tokenAddress: Address, walletAddress: Address): Promise<bigint>;
590
+ getERC20Allowance(chainId: number, tokenAddress: Address, walletAddress: Address, spenderAddress: Address): Promise<bigint>;
591
+ getERC20Symbol(chainId: number, tokenAddress: Address): Promise<string>;
592
+ getERC20Decimals(chainId: number, tokenAddress: Address): Promise<number>;
593
+ abstract getAssetManager(): Promise<Address>;
594
+ abstract getAcpVersion(): string;
595
+ abstract signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
542
596
  }
543
597
 
598
+ interface IAcpGetAgentOptions {
599
+ showHiddenOfferings?: boolean;
600
+ }
544
601
  interface IAcpBrowseAgentsOptions {
545
602
  cluster?: string;
603
+ sortBy?: AcpAgentSort[];
604
+ topK?: number;
546
605
  sort_by?: AcpAgentSort[];
547
606
  top_k?: number;
548
607
  graduationStatus?: AcpGraduationStatus;
549
608
  onlineStatus?: AcpOnlineStatus;
609
+ showHiddenOfferings?: boolean;
550
610
  }
551
611
  declare class AcpClient {
552
612
  private contractClients;
553
613
  private onNewTask?;
554
614
  private onEvaluate?;
615
+ private acpClient;
616
+ private noAuthAcpClient;
617
+ private accessToken;
618
+ private accessTokenInflight;
555
619
  constructor(options: IAcpClientOptions);
620
+ private getAccessToken;
621
+ private refreshToken;
622
+ private getAuthChallenge;
623
+ private verifyAuthChallenge;
556
624
  contractClientByAddress(address: Address | undefined): BaseAcpContractClient;
557
625
  get acpContractClient(): BaseAcpContractClient;
558
626
  get acpUrl(): string;
559
627
  private defaultOnEvaluate;
560
- get walletAddress(): any;
561
- init(): Promise<void>;
562
- browseAgents(keyword: string, options: IAcpBrowseAgentsOptions): Promise<{
563
- id: number;
564
- name: string;
565
- description: string;
566
- jobOfferings: AcpJobOffering[];
567
- contractAddress: `0x${string}`;
568
- twitterHandle: string;
569
- walletAddress: `0x${string}`;
570
- metrics: {
571
- successfulJobCount: number;
572
- successRate: number;
573
- uniqueBuyerCount: number;
574
- minsFromLastOnline: number;
575
- isOnline: boolean;
576
- } | undefined;
577
- resource: {
578
- name: string;
579
- description: string;
580
- url: string;
581
- parameters?: Object;
582
- id: number;
583
- }[];
584
- }[]>;
628
+ get walletAddress(): `0x${string}`;
629
+ init(skipSocketConnection?: boolean): Promise<void>;
630
+ private _fetch;
631
+ private _hydrateMemo;
632
+ private _hydrateJob;
633
+ private _hydrateJobs;
634
+ private _hydrateAgent;
635
+ browseAgents(keyword: string, options?: IAcpBrowseAgentsOptions): Promise<AcpAgent[]>;
585
636
  initiateJob(providerAddress: Address, serviceRequirement: Object | string, fareAmount: FareAmountBase, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
586
- createMemo(jobId: number, content: string, nextPhase: AcpJobPhases): Promise<`0x${string}`>;
587
- createPayableMemo(jobId: number, content: string, amount: FareAmountBase, recipient: Address, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, expiredAt: Date): Promise<`0x${string}`>;
588
- respondJob(jobId: number, memoId: number, accept: boolean, content?: string, reason?: string): Promise<`0x${string}` | undefined>;
589
- payJob(jobId: number, amountBaseUnit: bigint, memoId: number, reason?: string): Promise<`0x${string}`>;
590
- requestFunds<T>(jobId: number, transferFareAmount: FareAmountBase, recipient: Address, feeFareAmount: FareAmountBase, feeType: FeeType, reason: GenericPayload<T>, nextPhase: AcpJobPhases, expiredAt: Date): Promise<`0x${string}`>;
591
- responseFundsRequest(memoId: number, accept: boolean, amountBaseUnit: bigint, reason?: string): Promise<`0x${string}`>;
592
- transferFunds<T>(jobId: number, transferFareAmount: FareAmountBase, recipient: Address, feeFareAmount: FareAmountBase, feeType: FeeType, reason: GenericPayload<T>, nextPhase: AcpJobPhases, expiredAt: Date): Promise<`0x${string}`>;
593
- sendMessage<T>(jobId: number, message: GenericPayload<T>, nextPhase: AcpJobPhases): Promise<`0x${string}`>;
594
- responseFundsTransfer(memoId: number, accept: boolean, reason?: string): Promise<`0x${string}`>;
595
- rejectJob(jobId: number, reason?: string): Promise<`0x${string}`>;
596
- deliverJob(jobId: number, deliverable: DeliverablePayload): Promise<`0x${string}`>;
597
637
  getActiveJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
598
638
  getPendingMemoJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
599
639
  getCompletedJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
600
640
  getCancelledJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
601
- getJobById(jobId: number): Promise<AcpJob | undefined>;
602
- getMemoById(jobId: number, memoId: number): Promise<AcpMemo | undefined>;
603
- getAgent(walletAddress: Address): Promise<AcpAgent | undefined>;
641
+ getJobById(jobId: number): Promise<AcpJob | null>;
642
+ getMemoById(jobId: number, memoId: number): Promise<AcpMemo | null>;
643
+ getAgent(walletAddress: Address, options?: IAcpGetAgentOptions): Promise<AcpAgent | null>;
604
644
  getAccountByJobId(jobId: number, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
605
645
  getByClientAndProvider(clientAddress: Address, providerAddress: Address, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
646
+ createMemoContent(jobId: number, content: string): Promise<{}>;
647
+ getTokenBalances(): Promise<{
648
+ tokens: Record<string, any>;
649
+ } | undefined>;
650
+ }
651
+
652
+ declare class AcpX402 {
653
+ private config;
654
+ private sessionKeyClient;
655
+ private publicClient;
656
+ constructor(config: AcpContractConfig, sessionKeyClient: ModularAccountV2Client, publicClient: ReturnType<typeof createPublicClient>);
657
+ signUpdateJobNonceMessage(jobId: number, nonce: string): Promise<`0x${string}`>;
658
+ updateJobNonce(jobId: number, nonce: string): Promise<OffChainJob>;
659
+ generatePayment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
660
+ performRequest(url: string, version: string, budget?: string, signature?: string): Promise<{
661
+ isPaymentRequired: boolean;
662
+ data: any;
663
+ }>;
606
664
  }
607
665
 
608
666
  declare class AcpContractClient extends BaseAcpContractClient {
609
- protected MAX_RETRIES: number;
610
667
  protected PRIORITY_FEE_MULTIPLIER: number;
611
668
  protected MAX_FEE_PER_GAS: number;
612
669
  protected MAX_PRIORITY_FEE_PER_GAS: number;
670
+ private RETRY_CONFIG;
613
671
  private _sessionKeyClient;
672
+ private _acpX402;
614
673
  constructor(agentWalletAddress: Address$1, config?: AcpContractConfig);
615
674
  static build(walletPrivateKey: Address$1, sessionEntityKeyId: number, agentWalletAddress: Address$1, config?: AcpContractConfig): Promise<AcpContractClient>;
616
675
  init(privateKey: Address$1, sessionEntityKeyId: number): Promise<void>;
@@ -626,6 +685,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
626
685
  request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
627
686
  } | undefined;
628
687
  chain: viem.Chain;
688
+ experimental_blockTag?: viem.BlockTag | undefined;
629
689
  key: string;
630
690
  name: string;
631
691
  pollingInterval: number;
@@ -639,7 +699,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
639
699
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
640
700
  }, {
641
701
  Method: "eth_getUserOperationReceipt";
642
- Parameters: [viem.Hash];
702
+ Parameters: [viem.Hash, ("pending" | "latest")?];
643
703
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
644
704
  }, {
645
705
  Method: "eth_getUserOperationByHash";
@@ -679,8 +739,8 @@ declare class AcpContractClient extends BaseAcpContractClient {
679
739
  ReturnType: viem.Quantity;
680
740
  }, {
681
741
  Method: "eth_call";
682
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
683
- ReturnType: viem.Hex;
742
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
743
+ ReturnType: Hex;
684
744
  }, {
685
745
  Method: "eth_createAccessList";
686
746
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -731,11 +791,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
731
791
  }, {
732
792
  Method: "eth_getCode";
733
793
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
734
- ReturnType: viem.Hex;
794
+ ReturnType: Hex;
735
795
  }, {
736
796
  Method: "eth_getFilterChanges";
737
797
  Parameters: [filterId: viem.Quantity];
738
- ReturnType: viem.RpcLog[] | viem.Hex[];
798
+ ReturnType: viem.RpcLog[] | Hex[];
739
799
  }, {
740
800
  Method: "eth_getFilterLogs";
741
801
  Parameters: [filterId: viem.Quantity];
@@ -762,7 +822,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
762
822
  }, {
763
823
  Method: "eth_getStorageAt";
764
824
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
765
- ReturnType: viem.Hex;
825
+ ReturnType: Hex;
766
826
  }, {
767
827
  Method: "eth_getTransactionByBlockHashAndIndex";
768
828
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -826,8 +886,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
826
886
  ReturnType: string;
827
887
  }, {
828
888
  Method: "eth_sendRawTransaction";
829
- Parameters: [signedTransaction: viem.Hex];
889
+ Parameters: [signedTransaction: Hex];
830
890
  ReturnType: viem.Hash;
891
+ }, {
892
+ Method: "eth_sendRawTransactionSync";
893
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
894
+ ReturnType: viem.RpcTransactionReceipt;
831
895
  }, {
832
896
  Method: "eth_simulateV1";
833
897
  Parameters: [{
@@ -843,14 +907,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
843
907
  ReturnType: readonly (viem.RpcBlock & {
844
908
  calls: readonly {
845
909
  error?: {
846
- data?: viem.Hex | undefined;
910
+ data?: Hex | undefined;
847
911
  code: number;
848
912
  message: string;
849
913
  } | undefined;
850
914
  logs?: readonly viem.RpcLog[] | undefined;
851
- gasUsed: viem.Hex;
852
- returnData: viem.Hex;
853
- status: viem.Hex;
915
+ gasUsed: Hex;
916
+ returnData: Hex;
917
+ status: Hex;
854
918
  }[];
855
919
  })[];
856
920
  }, {
@@ -867,12 +931,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
867
931
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
868
932
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
869
933
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
870
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
871
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
934
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
935
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
872
936
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
873
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
874
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
875
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
937
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
938
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
939
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
876
940
  signTypedData: <const TTypedData extends {
877
941
  [x: string]: readonly viem.TypedDataParameter[];
878
942
  [x: `string[${string}]`]: undefined;
@@ -884,8 +948,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
884
948
  [x: `uint8[${string}]`]: undefined;
885
949
  [x: `bool[${string}]`]: undefined;
886
950
  [x: `bytes4[${string}]`]: undefined;
951
+ [x: `uint32[${string}]`]: undefined;
887
952
  [x: `bytes[${string}]`]: undefined;
888
953
  [x: `bytes6[${string}]`]: undefined;
954
+ [x: `bytes10[${string}]`]: undefined;
889
955
  [x: `bytes1[${string}]`]: undefined;
890
956
  [x: `bytes2[${string}]`]: undefined;
891
957
  [x: `bytes3[${string}]`]: undefined;
@@ -893,7 +959,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
893
959
  [x: `bytes7[${string}]`]: undefined;
894
960
  [x: `bytes8[${string}]`]: undefined;
895
961
  [x: `bytes9[${string}]`]: undefined;
896
- [x: `bytes10[${string}]`]: undefined;
897
962
  [x: `bytes11[${string}]`]: undefined;
898
963
  [x: `bytes12[${string}]`]: undefined;
899
964
  [x: `bytes13[${string}]`]: undefined;
@@ -916,6 +981,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
916
981
  [x: `bytes30[${string}]`]: undefined;
917
982
  [x: `bytes31[${string}]`]: undefined;
918
983
  [x: `int[${string}]`]: undefined;
984
+ [x: `int200[${string}]`]: undefined;
919
985
  [x: `int8[${string}]`]: undefined;
920
986
  [x: `int16[${string}]`]: undefined;
921
987
  [x: `int24[${string}]`]: undefined;
@@ -940,7 +1006,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
940
1006
  [x: `int176[${string}]`]: undefined;
941
1007
  [x: `int184[${string}]`]: undefined;
942
1008
  [x: `int192[${string}]`]: undefined;
943
- [x: `int200[${string}]`]: undefined;
944
1009
  [x: `int208[${string}]`]: undefined;
945
1010
  [x: `int216[${string}]`]: undefined;
946
1011
  [x: `int224[${string}]`]: undefined;
@@ -949,9 +1014,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
949
1014
  [x: `int248[${string}]`]: undefined;
950
1015
  [x: `int256[${string}]`]: undefined;
951
1016
  [x: `uint[${string}]`]: undefined;
1017
+ [x: `uint200[${string}]`]: undefined;
952
1018
  [x: `uint16[${string}]`]: undefined;
953
1019
  [x: `uint24[${string}]`]: undefined;
954
- [x: `uint32[${string}]`]: undefined;
955
1020
  [x: `uint40[${string}]`]: undefined;
956
1021
  [x: `uint48[${string}]`]: undefined;
957
1022
  [x: `uint56[${string}]`]: undefined;
@@ -971,7 +1036,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
971
1036
  [x: `uint176[${string}]`]: undefined;
972
1037
  [x: `uint184[${string}]`]: undefined;
973
1038
  [x: `uint192[${string}]`]: undefined;
974
- [x: `uint200[${string}]`]: undefined;
975
1039
  [x: `uint208[${string}]`]: undefined;
976
1040
  [x: `uint216[${string}]`]: undefined;
977
1041
  [x: `uint224[${string}]`]: undefined;
@@ -986,8 +1050,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
986
1050
  uint8?: undefined;
987
1051
  bool?: undefined;
988
1052
  bytes4?: undefined;
1053
+ uint32?: undefined;
989
1054
  bytes?: undefined;
990
1055
  bytes6?: undefined;
1056
+ bytes10?: undefined;
991
1057
  bytes1?: undefined;
992
1058
  bytes2?: undefined;
993
1059
  bytes3?: undefined;
@@ -995,7 +1061,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
995
1061
  bytes7?: undefined;
996
1062
  bytes8?: undefined;
997
1063
  bytes9?: undefined;
998
- bytes10?: undefined;
999
1064
  bytes11?: undefined;
1000
1065
  bytes12?: undefined;
1001
1066
  bytes13?: undefined;
@@ -1017,6 +1082,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
1017
1082
  bytes29?: undefined;
1018
1083
  bytes30?: undefined;
1019
1084
  bytes31?: undefined;
1085
+ int200?: undefined;
1020
1086
  int8?: undefined;
1021
1087
  int16?: undefined;
1022
1088
  int24?: undefined;
@@ -1041,7 +1107,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
1041
1107
  int176?: undefined;
1042
1108
  int184?: undefined;
1043
1109
  int192?: undefined;
1044
- int200?: undefined;
1045
1110
  int208?: undefined;
1046
1111
  int216?: undefined;
1047
1112
  int224?: undefined;
@@ -1049,9 +1114,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
1049
1114
  int240?: undefined;
1050
1115
  int248?: undefined;
1051
1116
  int256?: undefined;
1117
+ uint200?: undefined;
1052
1118
  uint16?: undefined;
1053
1119
  uint24?: undefined;
1054
- uint32?: undefined;
1055
1120
  uint40?: undefined;
1056
1121
  uint48?: undefined;
1057
1122
  uint56?: undefined;
@@ -1071,7 +1136,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
1071
1136
  uint176?: undefined;
1072
1137
  uint184?: undefined;
1073
1138
  uint192?: undefined;
1074
- uint200?: undefined;
1075
1139
  uint208?: undefined;
1076
1140
  uint216?: undefined;
1077
1141
  uint224?: undefined;
@@ -1080,12 +1144,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
1080
1144
  uint248?: undefined;
1081
1145
  } | {
1082
1146
  [key: string]: unknown;
1083
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
1147
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
1084
1148
  getAddress: () => Address$1;
1085
1149
  estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
1086
1150
  sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
1087
1151
  getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
1088
- getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
1152
+ getUserOperationReceipt: (hash: viem.Hash, tag?: "pending" | "latest") => Promise<_aa_sdk_core.UserOperationReceipt | null>;
1089
1153
  getSupportedEntryPoints: () => Promise<Address$1[]>;
1090
1154
  call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
1091
1155
  createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
@@ -1109,15 +1173,15 @@ declare class AcpContractClient extends BaseAcpContractClient {
1109
1173
  blobGasUsed: bigint;
1110
1174
  difficulty: bigint;
1111
1175
  excessBlobGas: bigint;
1112
- extraData: viem.Hex;
1176
+ extraData: Hex;
1113
1177
  gasLimit: bigint;
1114
1178
  gasUsed: bigint;
1115
1179
  miner: Address$1;
1116
1180
  mixHash: viem.Hash;
1117
1181
  parentBeaconBlockRoot?: `0x${string}` | undefined;
1118
1182
  parentHash: viem.Hash;
1119
- receiptsRoot: viem.Hex;
1120
- sealFields: viem.Hex[];
1183
+ receiptsRoot: Hex;
1184
+ sealFields: Hex[];
1121
1185
  sha3Uncles: viem.Hash;
1122
1186
  size: bigint;
1123
1187
  stateRoot: viem.Hash;
@@ -1133,11 +1197,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1133
1197
  yParity?: undefined | undefined;
1134
1198
  gas: bigint;
1135
1199
  hash: viem.Hash;
1136
- input: viem.Hex;
1200
+ input: Hex;
1137
1201
  nonce: number;
1138
- r: viem.Hex;
1139
- s: viem.Hex;
1140
- typeHex: viem.Hex | null;
1202
+ r: Hex;
1203
+ s: Hex;
1204
+ typeHex: Hex | null;
1141
1205
  v: bigint;
1142
1206
  value: bigint;
1143
1207
  accessList?: undefined | undefined;
@@ -1158,11 +1222,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1158
1222
  yParity: number;
1159
1223
  gas: bigint;
1160
1224
  hash: viem.Hash;
1161
- input: viem.Hex;
1225
+ input: Hex;
1162
1226
  nonce: number;
1163
- r: viem.Hex;
1164
- s: viem.Hex;
1165
- typeHex: viem.Hex | null;
1227
+ r: Hex;
1228
+ s: Hex;
1229
+ typeHex: Hex | null;
1166
1230
  v: bigint;
1167
1231
  value: bigint;
1168
1232
  accessList: viem.AccessList;
@@ -1183,11 +1247,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1183
1247
  yParity: number;
1184
1248
  gas: bigint;
1185
1249
  hash: viem.Hash;
1186
- input: viem.Hex;
1250
+ input: Hex;
1187
1251
  nonce: number;
1188
- r: viem.Hex;
1189
- s: viem.Hex;
1190
- typeHex: viem.Hex | null;
1252
+ r: Hex;
1253
+ s: Hex;
1254
+ typeHex: Hex | null;
1191
1255
  v: bigint;
1192
1256
  value: bigint;
1193
1257
  accessList: viem.AccessList;
@@ -1208,16 +1272,16 @@ declare class AcpContractClient extends BaseAcpContractClient {
1208
1272
  yParity: number;
1209
1273
  gas: bigint;
1210
1274
  hash: viem.Hash;
1211
- input: viem.Hex;
1275
+ input: Hex;
1212
1276
  nonce: number;
1213
- r: viem.Hex;
1214
- s: viem.Hex;
1215
- typeHex: viem.Hex | null;
1277
+ r: Hex;
1278
+ s: Hex;
1279
+ typeHex: Hex | null;
1216
1280
  v: bigint;
1217
1281
  value: bigint;
1218
1282
  accessList: viem.AccessList;
1219
1283
  authorizationList?: undefined | undefined;
1220
- blobVersionedHashes: readonly viem.Hex[];
1284
+ blobVersionedHashes: readonly Hex[];
1221
1285
  chainId: number;
1222
1286
  type: "eip4844";
1223
1287
  gasPrice?: undefined | undefined;
@@ -1233,11 +1297,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1233
1297
  yParity: number;
1234
1298
  gas: bigint;
1235
1299
  hash: viem.Hash;
1236
- input: viem.Hex;
1300
+ input: Hex;
1237
1301
  nonce: number;
1238
- r: viem.Hex;
1239
- s: viem.Hex;
1240
- typeHex: viem.Hex | null;
1302
+ r: Hex;
1303
+ s: Hex;
1304
+ typeHex: Hex | null;
1241
1305
  v: bigint;
1242
1306
  value: bigint;
1243
1307
  accessList: viem.AccessList;
@@ -1283,11 +1347,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1283
1347
  yParity?: undefined | undefined;
1284
1348
  gas: bigint;
1285
1349
  hash: viem.Hash;
1286
- input: viem.Hex;
1350
+ input: Hex;
1287
1351
  nonce: number;
1288
- r: viem.Hex;
1289
- s: viem.Hex;
1290
- typeHex: viem.Hex | null;
1352
+ r: Hex;
1353
+ s: Hex;
1354
+ typeHex: Hex | null;
1291
1355
  v: bigint;
1292
1356
  value: bigint;
1293
1357
  accessList?: undefined | undefined;
@@ -1308,11 +1372,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1308
1372
  yParity: number;
1309
1373
  gas: bigint;
1310
1374
  hash: viem.Hash;
1311
- input: viem.Hex;
1375
+ input: Hex;
1312
1376
  nonce: number;
1313
- r: viem.Hex;
1314
- s: viem.Hex;
1315
- typeHex: viem.Hex | null;
1377
+ r: Hex;
1378
+ s: Hex;
1379
+ typeHex: Hex | null;
1316
1380
  v: bigint;
1317
1381
  value: bigint;
1318
1382
  accessList: viem.AccessList;
@@ -1333,11 +1397,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1333
1397
  yParity: number;
1334
1398
  gas: bigint;
1335
1399
  hash: viem.Hash;
1336
- input: viem.Hex;
1400
+ input: Hex;
1337
1401
  nonce: number;
1338
- r: viem.Hex;
1339
- s: viem.Hex;
1340
- typeHex: viem.Hex | null;
1402
+ r: Hex;
1403
+ s: Hex;
1404
+ typeHex: Hex | null;
1341
1405
  v: bigint;
1342
1406
  value: bigint;
1343
1407
  accessList: viem.AccessList;
@@ -1358,16 +1422,16 @@ declare class AcpContractClient extends BaseAcpContractClient {
1358
1422
  yParity: number;
1359
1423
  gas: bigint;
1360
1424
  hash: viem.Hash;
1361
- input: viem.Hex;
1425
+ input: Hex;
1362
1426
  nonce: number;
1363
- r: viem.Hex;
1364
- s: viem.Hex;
1365
- typeHex: viem.Hex | null;
1427
+ r: Hex;
1428
+ s: Hex;
1429
+ typeHex: Hex | null;
1366
1430
  v: bigint;
1367
1431
  value: bigint;
1368
1432
  accessList: viem.AccessList;
1369
1433
  authorizationList?: undefined | undefined;
1370
- blobVersionedHashes: readonly viem.Hex[];
1434
+ blobVersionedHashes: readonly Hex[];
1371
1435
  chainId: number;
1372
1436
  type: "eip4844";
1373
1437
  gasPrice?: undefined | undefined;
@@ -1383,11 +1447,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
1383
1447
  yParity: number;
1384
1448
  gas: bigint;
1385
1449
  hash: viem.Hash;
1386
- input: viem.Hex;
1450
+ input: Hex;
1387
1451
  nonce: number;
1388
- r: viem.Hex;
1389
- s: viem.Hex;
1390
- typeHex: viem.Hex | null;
1452
+ r: Hex;
1453
+ s: Hex;
1454
+ typeHex: Hex | null;
1391
1455
  v: bigint;
1392
1456
  value: bigint;
1393
1457
  accessList: viem.AccessList;
@@ -7914,10 +7978,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
7914
7978
  }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
7915
7979
  readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, const args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
7916
7980
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
7981
+ sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<viem.TransactionReceipt>;
7917
7982
  simulate: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
7918
7983
  simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
7919
7984
  simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
7920
7985
  simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
7986
+ verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
7921
7987
  verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
7922
7988
  verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
7923
7989
  verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
@@ -7935,6 +8001,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
7935
8001
  cacheTime?: undefined;
7936
8002
  ccipRead?: undefined;
7937
8003
  chain?: undefined;
8004
+ experimental_blockTag?: undefined;
7938
8005
  key?: undefined;
7939
8006
  name?: undefined;
7940
8007
  pollingInterval?: undefined;
@@ -7952,7 +8019,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
7952
8019
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
7953
8020
  }, {
7954
8021
  Method: "eth_getUserOperationReceipt";
7955
- Parameters: [viem.Hash];
8022
+ Parameters: [viem.Hash, ("pending" | "latest")?];
7956
8023
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
7957
8024
  }, {
7958
8025
  Method: "eth_getUserOperationByHash";
@@ -7992,8 +8059,8 @@ declare class AcpContractClient extends BaseAcpContractClient {
7992
8059
  ReturnType: viem.Quantity;
7993
8060
  }, {
7994
8061
  Method: "eth_call";
7995
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
7996
- ReturnType: viem.Hex;
8062
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
8063
+ ReturnType: Hex;
7997
8064
  }, {
7998
8065
  Method: "eth_createAccessList";
7999
8066
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -8044,11 +8111,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
8044
8111
  }, {
8045
8112
  Method: "eth_getCode";
8046
8113
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
8047
- ReturnType: viem.Hex;
8114
+ ReturnType: Hex;
8048
8115
  }, {
8049
8116
  Method: "eth_getFilterChanges";
8050
8117
  Parameters: [filterId: viem.Quantity];
8051
- ReturnType: viem.RpcLog[] | viem.Hex[];
8118
+ ReturnType: viem.RpcLog[] | Hex[];
8052
8119
  }, {
8053
8120
  Method: "eth_getFilterLogs";
8054
8121
  Parameters: [filterId: viem.Quantity];
@@ -8075,7 +8142,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8075
8142
  }, {
8076
8143
  Method: "eth_getStorageAt";
8077
8144
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
8078
- ReturnType: viem.Hex;
8145
+ ReturnType: Hex;
8079
8146
  }, {
8080
8147
  Method: "eth_getTransactionByBlockHashAndIndex";
8081
8148
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -8139,8 +8206,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
8139
8206
  ReturnType: string;
8140
8207
  }, {
8141
8208
  Method: "eth_sendRawTransaction";
8142
- Parameters: [signedTransaction: viem.Hex];
8209
+ Parameters: [signedTransaction: Hex];
8143
8210
  ReturnType: viem.Hash;
8211
+ }, {
8212
+ Method: "eth_sendRawTransactionSync";
8213
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
8214
+ ReturnType: viem.RpcTransactionReceipt;
8144
8215
  }, {
8145
8216
  Method: "eth_simulateV1";
8146
8217
  Parameters: [{
@@ -8156,14 +8227,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
8156
8227
  ReturnType: readonly (viem.RpcBlock & {
8157
8228
  calls: readonly {
8158
8229
  error?: {
8159
- data?: viem.Hex | undefined;
8230
+ data?: Hex | undefined;
8160
8231
  code: number;
8161
8232
  message: string;
8162
8233
  } | undefined;
8163
8234
  logs?: readonly viem.RpcLog[] | undefined;
8164
- gasUsed: viem.Hex;
8165
- returnData: viem.Hex;
8166
- status: viem.Hex;
8235
+ gasUsed: Hex;
8236
+ returnData: Hex;
8237
+ status: Hex;
8167
8238
  }[];
8168
8239
  })[];
8169
8240
  }, {
@@ -8177,12 +8248,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
8177
8248
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
8178
8249
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8179
8250
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8180
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
8181
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
8251
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
8252
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
8182
8253
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8183
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
8184
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
8185
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
8254
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
8255
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
8256
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
8186
8257
  signTypedData: <const TTypedData extends {
8187
8258
  [x: string]: readonly viem.TypedDataParameter[];
8188
8259
  [x: `string[${string}]`]: undefined;
@@ -8194,8 +8265,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
8194
8265
  [x: `uint8[${string}]`]: undefined;
8195
8266
  [x: `bool[${string}]`]: undefined;
8196
8267
  [x: `bytes4[${string}]`]: undefined;
8268
+ [x: `uint32[${string}]`]: undefined;
8197
8269
  [x: `bytes[${string}]`]: undefined;
8198
8270
  [x: `bytes6[${string}]`]: undefined;
8271
+ [x: `bytes10[${string}]`]: undefined;
8199
8272
  [x: `bytes1[${string}]`]: undefined;
8200
8273
  [x: `bytes2[${string}]`]: undefined;
8201
8274
  [x: `bytes3[${string}]`]: undefined;
@@ -8203,7 +8276,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8203
8276
  [x: `bytes7[${string}]`]: undefined;
8204
8277
  [x: `bytes8[${string}]`]: undefined;
8205
8278
  [x: `bytes9[${string}]`]: undefined;
8206
- [x: `bytes10[${string}]`]: undefined;
8207
8279
  [x: `bytes11[${string}]`]: undefined;
8208
8280
  [x: `bytes12[${string}]`]: undefined;
8209
8281
  [x: `bytes13[${string}]`]: undefined;
@@ -8226,6 +8298,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8226
8298
  [x: `bytes30[${string}]`]: undefined;
8227
8299
  [x: `bytes31[${string}]`]: undefined;
8228
8300
  [x: `int[${string}]`]: undefined;
8301
+ [x: `int200[${string}]`]: undefined;
8229
8302
  [x: `int8[${string}]`]: undefined;
8230
8303
  [x: `int16[${string}]`]: undefined;
8231
8304
  [x: `int24[${string}]`]: undefined;
@@ -8250,7 +8323,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8250
8323
  [x: `int176[${string}]`]: undefined;
8251
8324
  [x: `int184[${string}]`]: undefined;
8252
8325
  [x: `int192[${string}]`]: undefined;
8253
- [x: `int200[${string}]`]: undefined;
8254
8326
  [x: `int208[${string}]`]: undefined;
8255
8327
  [x: `int216[${string}]`]: undefined;
8256
8328
  [x: `int224[${string}]`]: undefined;
@@ -8259,9 +8331,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
8259
8331
  [x: `int248[${string}]`]: undefined;
8260
8332
  [x: `int256[${string}]`]: undefined;
8261
8333
  [x: `uint[${string}]`]: undefined;
8334
+ [x: `uint200[${string}]`]: undefined;
8262
8335
  [x: `uint16[${string}]`]: undefined;
8263
8336
  [x: `uint24[${string}]`]: undefined;
8264
- [x: `uint32[${string}]`]: undefined;
8265
8337
  [x: `uint40[${string}]`]: undefined;
8266
8338
  [x: `uint48[${string}]`]: undefined;
8267
8339
  [x: `uint56[${string}]`]: undefined;
@@ -8281,7 +8353,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8281
8353
  [x: `uint176[${string}]`]: undefined;
8282
8354
  [x: `uint184[${string}]`]: undefined;
8283
8355
  [x: `uint192[${string}]`]: undefined;
8284
- [x: `uint200[${string}]`]: undefined;
8285
8356
  [x: `uint208[${string}]`]: undefined;
8286
8357
  [x: `uint216[${string}]`]: undefined;
8287
8358
  [x: `uint224[${string}]`]: undefined;
@@ -8296,8 +8367,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
8296
8367
  uint8?: undefined;
8297
8368
  bool?: undefined;
8298
8369
  bytes4?: undefined;
8370
+ uint32?: undefined;
8299
8371
  bytes?: undefined;
8300
8372
  bytes6?: undefined;
8373
+ bytes10?: undefined;
8301
8374
  bytes1?: undefined;
8302
8375
  bytes2?: undefined;
8303
8376
  bytes3?: undefined;
@@ -8305,7 +8378,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8305
8378
  bytes7?: undefined;
8306
8379
  bytes8?: undefined;
8307
8380
  bytes9?: undefined;
8308
- bytes10?: undefined;
8309
8381
  bytes11?: undefined;
8310
8382
  bytes12?: undefined;
8311
8383
  bytes13?: undefined;
@@ -8327,6 +8399,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8327
8399
  bytes29?: undefined;
8328
8400
  bytes30?: undefined;
8329
8401
  bytes31?: undefined;
8402
+ int200?: undefined;
8330
8403
  int8?: undefined;
8331
8404
  int16?: undefined;
8332
8405
  int24?: undefined;
@@ -8351,7 +8424,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8351
8424
  int176?: undefined;
8352
8425
  int184?: undefined;
8353
8426
  int192?: undefined;
8354
- int200?: undefined;
8355
8427
  int208?: undefined;
8356
8428
  int216?: undefined;
8357
8429
  int224?: undefined;
@@ -8359,9 +8431,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
8359
8431
  int240?: undefined;
8360
8432
  int248?: undefined;
8361
8433
  int256?: undefined;
8434
+ uint200?: undefined;
8362
8435
  uint16?: undefined;
8363
8436
  uint24?: undefined;
8364
- uint32?: undefined;
8365
8437
  uint40?: undefined;
8366
8438
  uint48?: undefined;
8367
8439
  uint56?: undefined;
@@ -8381,7 +8453,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8381
8453
  uint176?: undefined;
8382
8454
  uint184?: undefined;
8383
8455
  uint192?: undefined;
8384
- uint200?: undefined;
8385
8456
  uint208?: undefined;
8386
8457
  uint216?: undefined;
8387
8458
  uint224?: undefined;
@@ -8390,7 +8461,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8390
8461
  uint248?: undefined;
8391
8462
  } | {
8392
8463
  [key: string]: unknown;
8393
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
8464
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
8394
8465
  } & {
8395
8466
  getAddress: () => Address$1;
8396
8467
  } & _aa_sdk_core.BundlerActions & viem.PublicActions>) => client) => viem.Client<viem.Transport, viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, [{
@@ -8403,7 +8474,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8403
8474
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
8404
8475
  }, {
8405
8476
  Method: "eth_getUserOperationReceipt";
8406
- Parameters: [viem.Hash];
8477
+ Parameters: [viem.Hash, ("pending" | "latest")?];
8407
8478
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
8408
8479
  }, {
8409
8480
  Method: "eth_getUserOperationByHash";
@@ -8443,8 +8514,8 @@ declare class AcpContractClient extends BaseAcpContractClient {
8443
8514
  ReturnType: viem.Quantity;
8444
8515
  }, {
8445
8516
  Method: "eth_call";
8446
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
8447
- ReturnType: viem.Hex;
8517
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
8518
+ ReturnType: Hex;
8448
8519
  }, {
8449
8520
  Method: "eth_createAccessList";
8450
8521
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -8495,11 +8566,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
8495
8566
  }, {
8496
8567
  Method: "eth_getCode";
8497
8568
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
8498
- ReturnType: viem.Hex;
8569
+ ReturnType: Hex;
8499
8570
  }, {
8500
8571
  Method: "eth_getFilterChanges";
8501
8572
  Parameters: [filterId: viem.Quantity];
8502
- ReturnType: viem.RpcLog[] | viem.Hex[];
8573
+ ReturnType: viem.RpcLog[] | Hex[];
8503
8574
  }, {
8504
8575
  Method: "eth_getFilterLogs";
8505
8576
  Parameters: [filterId: viem.Quantity];
@@ -8526,7 +8597,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8526
8597
  }, {
8527
8598
  Method: "eth_getStorageAt";
8528
8599
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
8529
- ReturnType: viem.Hex;
8600
+ ReturnType: Hex;
8530
8601
  }, {
8531
8602
  Method: "eth_getTransactionByBlockHashAndIndex";
8532
8603
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -8590,8 +8661,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
8590
8661
  ReturnType: string;
8591
8662
  }, {
8592
8663
  Method: "eth_sendRawTransaction";
8593
- Parameters: [signedTransaction: viem.Hex];
8664
+ Parameters: [signedTransaction: Hex];
8594
8665
  ReturnType: viem.Hash;
8666
+ }, {
8667
+ Method: "eth_sendRawTransactionSync";
8668
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
8669
+ ReturnType: viem.RpcTransactionReceipt;
8595
8670
  }, {
8596
8671
  Method: "eth_simulateV1";
8597
8672
  Parameters: [{
@@ -8607,14 +8682,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
8607
8682
  ReturnType: readonly (viem.RpcBlock & {
8608
8683
  calls: readonly {
8609
8684
  error?: {
8610
- data?: viem.Hex | undefined;
8685
+ data?: Hex | undefined;
8611
8686
  code: number;
8612
8687
  message: string;
8613
8688
  } | undefined;
8614
8689
  logs?: readonly viem.RpcLog[] | undefined;
8615
- gasUsed: viem.Hex;
8616
- returnData: viem.Hex;
8617
- status: viem.Hex;
8690
+ gasUsed: Hex;
8691
+ returnData: Hex;
8692
+ status: Hex;
8618
8693
  }[];
8619
8694
  })[];
8620
8695
  }, {
@@ -8628,12 +8703,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
8628
8703
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
8629
8704
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8630
8705
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8631
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
8632
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
8706
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
8707
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
8633
8708
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
8634
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
8635
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
8636
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
8709
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
8710
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
8711
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
8637
8712
  signTypedData: <const TTypedData extends {
8638
8713
  [x: string]: readonly viem.TypedDataParameter[];
8639
8714
  [x: `string[${string}]`]: undefined;
@@ -8645,8 +8720,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
8645
8720
  [x: `uint8[${string}]`]: undefined;
8646
8721
  [x: `bool[${string}]`]: undefined;
8647
8722
  [x: `bytes4[${string}]`]: undefined;
8723
+ [x: `uint32[${string}]`]: undefined;
8648
8724
  [x: `bytes[${string}]`]: undefined;
8649
8725
  [x: `bytes6[${string}]`]: undefined;
8726
+ [x: `bytes10[${string}]`]: undefined;
8650
8727
  [x: `bytes1[${string}]`]: undefined;
8651
8728
  [x: `bytes2[${string}]`]: undefined;
8652
8729
  [x: `bytes3[${string}]`]: undefined;
@@ -8654,7 +8731,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8654
8731
  [x: `bytes7[${string}]`]: undefined;
8655
8732
  [x: `bytes8[${string}]`]: undefined;
8656
8733
  [x: `bytes9[${string}]`]: undefined;
8657
- [x: `bytes10[${string}]`]: undefined;
8658
8734
  [x: `bytes11[${string}]`]: undefined;
8659
8735
  [x: `bytes12[${string}]`]: undefined;
8660
8736
  [x: `bytes13[${string}]`]: undefined;
@@ -8677,6 +8753,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8677
8753
  [x: `bytes30[${string}]`]: undefined;
8678
8754
  [x: `bytes31[${string}]`]: undefined;
8679
8755
  [x: `int[${string}]`]: undefined;
8756
+ [x: `int200[${string}]`]: undefined;
8680
8757
  [x: `int8[${string}]`]: undefined;
8681
8758
  [x: `int16[${string}]`]: undefined;
8682
8759
  [x: `int24[${string}]`]: undefined;
@@ -8701,7 +8778,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8701
8778
  [x: `int176[${string}]`]: undefined;
8702
8779
  [x: `int184[${string}]`]: undefined;
8703
8780
  [x: `int192[${string}]`]: undefined;
8704
- [x: `int200[${string}]`]: undefined;
8705
8781
  [x: `int208[${string}]`]: undefined;
8706
8782
  [x: `int216[${string}]`]: undefined;
8707
8783
  [x: `int224[${string}]`]: undefined;
@@ -8710,9 +8786,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
8710
8786
  [x: `int248[${string}]`]: undefined;
8711
8787
  [x: `int256[${string}]`]: undefined;
8712
8788
  [x: `uint[${string}]`]: undefined;
8789
+ [x: `uint200[${string}]`]: undefined;
8713
8790
  [x: `uint16[${string}]`]: undefined;
8714
8791
  [x: `uint24[${string}]`]: undefined;
8715
- [x: `uint32[${string}]`]: undefined;
8716
8792
  [x: `uint40[${string}]`]: undefined;
8717
8793
  [x: `uint48[${string}]`]: undefined;
8718
8794
  [x: `uint56[${string}]`]: undefined;
@@ -8732,7 +8808,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8732
8808
  [x: `uint176[${string}]`]: undefined;
8733
8809
  [x: `uint184[${string}]`]: undefined;
8734
8810
  [x: `uint192[${string}]`]: undefined;
8735
- [x: `uint200[${string}]`]: undefined;
8736
8811
  [x: `uint208[${string}]`]: undefined;
8737
8812
  [x: `uint216[${string}]`]: undefined;
8738
8813
  [x: `uint224[${string}]`]: undefined;
@@ -8747,8 +8822,10 @@ declare class AcpContractClient extends BaseAcpContractClient {
8747
8822
  uint8?: undefined;
8748
8823
  bool?: undefined;
8749
8824
  bytes4?: undefined;
8825
+ uint32?: undefined;
8750
8826
  bytes?: undefined;
8751
8827
  bytes6?: undefined;
8828
+ bytes10?: undefined;
8752
8829
  bytes1?: undefined;
8753
8830
  bytes2?: undefined;
8754
8831
  bytes3?: undefined;
@@ -8756,7 +8833,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8756
8833
  bytes7?: undefined;
8757
8834
  bytes8?: undefined;
8758
8835
  bytes9?: undefined;
8759
- bytes10?: undefined;
8760
8836
  bytes11?: undefined;
8761
8837
  bytes12?: undefined;
8762
8838
  bytes13?: undefined;
@@ -8778,6 +8854,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8778
8854
  bytes29?: undefined;
8779
8855
  bytes30?: undefined;
8780
8856
  bytes31?: undefined;
8857
+ int200?: undefined;
8781
8858
  int8?: undefined;
8782
8859
  int16?: undefined;
8783
8860
  int24?: undefined;
@@ -8802,7 +8879,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8802
8879
  int176?: undefined;
8803
8880
  int184?: undefined;
8804
8881
  int192?: undefined;
8805
- int200?: undefined;
8806
8882
  int208?: undefined;
8807
8883
  int216?: undefined;
8808
8884
  int224?: undefined;
@@ -8810,9 +8886,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
8810
8886
  int240?: undefined;
8811
8887
  int248?: undefined;
8812
8888
  int256?: undefined;
8889
+ uint200?: undefined;
8813
8890
  uint16?: undefined;
8814
8891
  uint24?: undefined;
8815
- uint32?: undefined;
8816
8892
  uint40?: undefined;
8817
8893
  uint48?: undefined;
8818
8894
  uint56?: undefined;
@@ -8832,7 +8908,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8832
8908
  uint176?: undefined;
8833
8909
  uint184?: undefined;
8834
8910
  uint192?: undefined;
8835
- uint200?: undefined;
8836
8911
  uint208?: undefined;
8837
8912
  uint216?: undefined;
8838
8913
  uint224?: undefined;
@@ -8841,24 +8916,29 @@ declare class AcpContractClient extends BaseAcpContractClient {
8841
8916
  uint248?: undefined;
8842
8917
  } | {
8843
8918
  [key: string]: unknown;
8844
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
8919
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
8845
8920
  } & {
8846
8921
  getAddress: () => Address$1;
8847
8922
  } & _aa_sdk_core.BundlerActions & viem.PublicActions>;
8848
8923
  };
8924
+ get acpX402(): AcpX402;
8849
8925
  private calculateGasFees;
8850
- handleOperation(data: `0x${string}`, contractAddress?: Address$1, value?: bigint): Promise<`0x${string}`>;
8851
- getJobId(hash: Address$1, clientAddress: Address$1, providerAddress: Address$1): Promise<number>;
8852
- createJob(providerAddress: Address$1, evaluatorAddress: Address$1, expireAt: Date, paymentTokenAddress: Address$1, budgetBaseUnit: bigint, metadata: string): Promise<{
8853
- txHash: string;
8854
- jobId: number;
8855
- }>;
8856
- createPayableMemo(jobId: number, content: string, amountBaseUnit: bigint, recipient: Address$1, feeAmountBaseUnit: bigint, feeType: FeeType, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, expiredAt: Date, token?: Address$1, secured?: boolean): Promise<`0x${string}`>;
8857
- createJobWithAccount(accountId: number, providerAddress: Address$1, evaluatorAddress: Address$1, budgetBaseUnit: bigint, paymentTokenAddress: Address$1, expiredAt: Date): Promise<{
8858
- txHash: string;
8859
- jobId: number;
8926
+ handleOperation(operations: OperationPayload[]): Promise<{
8927
+ userOpHash: Address$1;
8928
+ txnHash: Address$1;
8860
8929
  }>;
8861
- updateAccountMetadata(accountId: number, metadata: string): Promise<Address$1>;
8930
+ getJobId(createJobUserOpHash: Address$1, clientAddress: Address$1, providerAddress: Address$1): Promise<number>;
8931
+ createJob(providerAddress: Address$1, evaluatorAddress: Address$1, expireAt: Date, paymentTokenAddress: Address$1, budgetBaseUnit: bigint, metadata: string, isX402Job?: boolean): OperationPayload;
8932
+ setBudgetWithPaymentToken(jobId: number, budgetBaseUnit: bigint, paymentTokenAddress?: Address$1): OperationPayload;
8933
+ createPayableMemo(jobId: number, content: string, amountBaseUnit: bigint, recipient: Address$1, feeAmountBaseUnit: bigint, feeType: FeeType, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, expiredAt: Date, token?: Address$1, secured?: boolean): OperationPayload;
8934
+ createJobWithAccount(accountId: number, evaluatorAddress: Address$1, budgetBaseUnit: bigint, paymentTokenAddress: Address$1, expiredAt: Date, isX402Job?: boolean): OperationPayload;
8935
+ updateAccountMetadata(accountId: number, metadata: string): OperationPayload;
8936
+ updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
8937
+ generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
8938
+ performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
8939
+ getAssetManager(): Promise<Address$1>;
8940
+ getAcpVersion(): string;
8941
+ signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
8862
8942
  }
8863
8943
 
8864
8944
  declare function preparePayload(payload: string | object): string;
@@ -8871,11 +8951,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
8871
8951
  private jobManagerAddress;
8872
8952
  private memoManagerAddress;
8873
8953
  private accountManagerAddress;
8874
- private MAX_RETRIES;
8875
8954
  private PRIORITY_FEE_MULTIPLIER;
8876
8955
  private MAX_FEE_PER_GAS;
8877
8956
  private MAX_PRIORITY_FEE_PER_GAS;
8957
+ private GAS_FEE_MULTIPLIER;
8958
+ private RETRY_CONFIG;
8878
8959
  private _sessionKeyClient;
8960
+ private _sessionKeyClients;
8961
+ private _acpX402;
8879
8962
  constructor(jobManagerAddress: Address$1, memoManagerAddress: Address$1, accountManagerAddress: Address$1, agentWalletAddress: Address$1, config?: AcpContractConfig);
8880
8963
  static build(walletPrivateKey: Address$1, sessionEntityKeyId: number, agentWalletAddress: Address$1, config?: AcpContractConfig): Promise<AcpContractClientV2>;
8881
8964
  init(privateKey: Address$1, sessionEntityKeyId: number): Promise<void>;
@@ -8891,6 +8974,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
8891
8974
  request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
8892
8975
  } | undefined;
8893
8976
  chain: viem.Chain;
8977
+ experimental_blockTag?: viem.BlockTag | undefined;
8894
8978
  key: string;
8895
8979
  name: string;
8896
8980
  pollingInterval: number;
@@ -8904,7 +8988,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
8904
8988
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
8905
8989
  }, {
8906
8990
  Method: "eth_getUserOperationReceipt";
8907
- Parameters: [viem.Hash];
8991
+ Parameters: [viem.Hash, ("pending" | "latest")?];
8908
8992
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
8909
8993
  }, {
8910
8994
  Method: "eth_getUserOperationByHash";
@@ -8944,8 +9028,8 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
8944
9028
  ReturnType: viem.Quantity;
8945
9029
  }, {
8946
9030
  Method: "eth_call";
8947
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
8948
- ReturnType: viem.Hex;
9031
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
9032
+ ReturnType: Hex;
8949
9033
  }, {
8950
9034
  Method: "eth_createAccessList";
8951
9035
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -8996,11 +9080,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
8996
9080
  }, {
8997
9081
  Method: "eth_getCode";
8998
9082
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
8999
- ReturnType: viem.Hex;
9083
+ ReturnType: Hex;
9000
9084
  }, {
9001
9085
  Method: "eth_getFilterChanges";
9002
9086
  Parameters: [filterId: viem.Quantity];
9003
- ReturnType: viem.RpcLog[] | viem.Hex[];
9087
+ ReturnType: viem.RpcLog[] | Hex[];
9004
9088
  }, {
9005
9089
  Method: "eth_getFilterLogs";
9006
9090
  Parameters: [filterId: viem.Quantity];
@@ -9027,7 +9111,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9027
9111
  }, {
9028
9112
  Method: "eth_getStorageAt";
9029
9113
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
9030
- ReturnType: viem.Hex;
9114
+ ReturnType: Hex;
9031
9115
  }, {
9032
9116
  Method: "eth_getTransactionByBlockHashAndIndex";
9033
9117
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -9091,8 +9175,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9091
9175
  ReturnType: string;
9092
9176
  }, {
9093
9177
  Method: "eth_sendRawTransaction";
9094
- Parameters: [signedTransaction: viem.Hex];
9178
+ Parameters: [signedTransaction: Hex];
9095
9179
  ReturnType: viem.Hash;
9180
+ }, {
9181
+ Method: "eth_sendRawTransactionSync";
9182
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
9183
+ ReturnType: viem.RpcTransactionReceipt;
9096
9184
  }, {
9097
9185
  Method: "eth_simulateV1";
9098
9186
  Parameters: [{
@@ -9108,14 +9196,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9108
9196
  ReturnType: readonly (viem.RpcBlock & {
9109
9197
  calls: readonly {
9110
9198
  error?: {
9111
- data?: viem.Hex | undefined;
9199
+ data?: Hex | undefined;
9112
9200
  code: number;
9113
9201
  message: string;
9114
9202
  } | undefined;
9115
9203
  logs?: readonly viem.RpcLog[] | undefined;
9116
- gasUsed: viem.Hex;
9117
- returnData: viem.Hex;
9118
- status: viem.Hex;
9204
+ gasUsed: Hex;
9205
+ returnData: Hex;
9206
+ status: Hex;
9119
9207
  }[];
9120
9208
  })[];
9121
9209
  }, {
@@ -9132,12 +9220,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9132
9220
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
9133
9221
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
9134
9222
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
9135
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
9136
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
9223
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
9224
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
9137
9225
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
9138
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
9139
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
9140
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
9226
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
9227
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
9228
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
9141
9229
  signTypedData: <const TTypedData extends {
9142
9230
  [x: string]: readonly viem.TypedDataParameter[];
9143
9231
  [x: `string[${string}]`]: undefined;
@@ -9149,8 +9237,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9149
9237
  [x: `uint8[${string}]`]: undefined;
9150
9238
  [x: `bool[${string}]`]: undefined;
9151
9239
  [x: `bytes4[${string}]`]: undefined;
9240
+ [x: `uint32[${string}]`]: undefined;
9152
9241
  [x: `bytes[${string}]`]: undefined;
9153
9242
  [x: `bytes6[${string}]`]: undefined;
9243
+ [x: `bytes10[${string}]`]: undefined;
9154
9244
  [x: `bytes1[${string}]`]: undefined;
9155
9245
  [x: `bytes2[${string}]`]: undefined;
9156
9246
  [x: `bytes3[${string}]`]: undefined;
@@ -9158,7 +9248,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9158
9248
  [x: `bytes7[${string}]`]: undefined;
9159
9249
  [x: `bytes8[${string}]`]: undefined;
9160
9250
  [x: `bytes9[${string}]`]: undefined;
9161
- [x: `bytes10[${string}]`]: undefined;
9162
9251
  [x: `bytes11[${string}]`]: undefined;
9163
9252
  [x: `bytes12[${string}]`]: undefined;
9164
9253
  [x: `bytes13[${string}]`]: undefined;
@@ -9181,6 +9270,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9181
9270
  [x: `bytes30[${string}]`]: undefined;
9182
9271
  [x: `bytes31[${string}]`]: undefined;
9183
9272
  [x: `int[${string}]`]: undefined;
9273
+ [x: `int200[${string}]`]: undefined;
9184
9274
  [x: `int8[${string}]`]: undefined;
9185
9275
  [x: `int16[${string}]`]: undefined;
9186
9276
  [x: `int24[${string}]`]: undefined;
@@ -9205,7 +9295,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9205
9295
  [x: `int176[${string}]`]: undefined;
9206
9296
  [x: `int184[${string}]`]: undefined;
9207
9297
  [x: `int192[${string}]`]: undefined;
9208
- [x: `int200[${string}]`]: undefined;
9209
9298
  [x: `int208[${string}]`]: undefined;
9210
9299
  [x: `int216[${string}]`]: undefined;
9211
9300
  [x: `int224[${string}]`]: undefined;
@@ -9214,9 +9303,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9214
9303
  [x: `int248[${string}]`]: undefined;
9215
9304
  [x: `int256[${string}]`]: undefined;
9216
9305
  [x: `uint[${string}]`]: undefined;
9306
+ [x: `uint200[${string}]`]: undefined;
9217
9307
  [x: `uint16[${string}]`]: undefined;
9218
9308
  [x: `uint24[${string}]`]: undefined;
9219
- [x: `uint32[${string}]`]: undefined;
9220
9309
  [x: `uint40[${string}]`]: undefined;
9221
9310
  [x: `uint48[${string}]`]: undefined;
9222
9311
  [x: `uint56[${string}]`]: undefined;
@@ -9236,7 +9325,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9236
9325
  [x: `uint176[${string}]`]: undefined;
9237
9326
  [x: `uint184[${string}]`]: undefined;
9238
9327
  [x: `uint192[${string}]`]: undefined;
9239
- [x: `uint200[${string}]`]: undefined;
9240
9328
  [x: `uint208[${string}]`]: undefined;
9241
9329
  [x: `uint216[${string}]`]: undefined;
9242
9330
  [x: `uint224[${string}]`]: undefined;
@@ -9251,8 +9339,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9251
9339
  uint8?: undefined;
9252
9340
  bool?: undefined;
9253
9341
  bytes4?: undefined;
9342
+ uint32?: undefined;
9254
9343
  bytes?: undefined;
9255
9344
  bytes6?: undefined;
9345
+ bytes10?: undefined;
9256
9346
  bytes1?: undefined;
9257
9347
  bytes2?: undefined;
9258
9348
  bytes3?: undefined;
@@ -9260,7 +9350,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9260
9350
  bytes7?: undefined;
9261
9351
  bytes8?: undefined;
9262
9352
  bytes9?: undefined;
9263
- bytes10?: undefined;
9264
9353
  bytes11?: undefined;
9265
9354
  bytes12?: undefined;
9266
9355
  bytes13?: undefined;
@@ -9282,6 +9371,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9282
9371
  bytes29?: undefined;
9283
9372
  bytes30?: undefined;
9284
9373
  bytes31?: undefined;
9374
+ int200?: undefined;
9285
9375
  int8?: undefined;
9286
9376
  int16?: undefined;
9287
9377
  int24?: undefined;
@@ -9306,7 +9396,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9306
9396
  int176?: undefined;
9307
9397
  int184?: undefined;
9308
9398
  int192?: undefined;
9309
- int200?: undefined;
9310
9399
  int208?: undefined;
9311
9400
  int216?: undefined;
9312
9401
  int224?: undefined;
@@ -9314,9 +9403,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9314
9403
  int240?: undefined;
9315
9404
  int248?: undefined;
9316
9405
  int256?: undefined;
9406
+ uint200?: undefined;
9317
9407
  uint16?: undefined;
9318
9408
  uint24?: undefined;
9319
- uint32?: undefined;
9320
9409
  uint40?: undefined;
9321
9410
  uint48?: undefined;
9322
9411
  uint56?: undefined;
@@ -9336,7 +9425,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9336
9425
  uint176?: undefined;
9337
9426
  uint184?: undefined;
9338
9427
  uint192?: undefined;
9339
- uint200?: undefined;
9340
9428
  uint208?: undefined;
9341
9429
  uint216?: undefined;
9342
9430
  uint224?: undefined;
@@ -9345,12 +9433,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9345
9433
  uint248?: undefined;
9346
9434
  } | {
9347
9435
  [key: string]: unknown;
9348
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
9436
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
9349
9437
  getAddress: () => Address$1;
9350
9438
  estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
9351
9439
  sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
9352
9440
  getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
9353
- getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
9441
+ getUserOperationReceipt: (hash: viem.Hash, tag?: "pending" | "latest") => Promise<_aa_sdk_core.UserOperationReceipt | null>;
9354
9442
  getSupportedEntryPoints: () => Promise<Address$1[]>;
9355
9443
  call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
9356
9444
  createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
@@ -9374,15 +9462,15 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9374
9462
  blobGasUsed: bigint;
9375
9463
  difficulty: bigint;
9376
9464
  excessBlobGas: bigint;
9377
- extraData: viem.Hex;
9465
+ extraData: Hex;
9378
9466
  gasLimit: bigint;
9379
9467
  gasUsed: bigint;
9380
9468
  miner: Address$1;
9381
9469
  mixHash: viem.Hash;
9382
9470
  parentBeaconBlockRoot?: `0x${string}` | undefined;
9383
9471
  parentHash: viem.Hash;
9384
- receiptsRoot: viem.Hex;
9385
- sealFields: viem.Hex[];
9472
+ receiptsRoot: Hex;
9473
+ sealFields: Hex[];
9386
9474
  sha3Uncles: viem.Hash;
9387
9475
  size: bigint;
9388
9476
  stateRoot: viem.Hash;
@@ -9398,11 +9486,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9398
9486
  yParity?: undefined | undefined;
9399
9487
  gas: bigint;
9400
9488
  hash: viem.Hash;
9401
- input: viem.Hex;
9489
+ input: Hex;
9402
9490
  nonce: number;
9403
- r: viem.Hex;
9404
- s: viem.Hex;
9405
- typeHex: viem.Hex | null;
9491
+ r: Hex;
9492
+ s: Hex;
9493
+ typeHex: Hex | null;
9406
9494
  v: bigint;
9407
9495
  value: bigint;
9408
9496
  accessList?: undefined | undefined;
@@ -9423,11 +9511,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9423
9511
  yParity: number;
9424
9512
  gas: bigint;
9425
9513
  hash: viem.Hash;
9426
- input: viem.Hex;
9514
+ input: Hex;
9427
9515
  nonce: number;
9428
- r: viem.Hex;
9429
- s: viem.Hex;
9430
- typeHex: viem.Hex | null;
9516
+ r: Hex;
9517
+ s: Hex;
9518
+ typeHex: Hex | null;
9431
9519
  v: bigint;
9432
9520
  value: bigint;
9433
9521
  accessList: viem.AccessList;
@@ -9448,11 +9536,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9448
9536
  yParity: number;
9449
9537
  gas: bigint;
9450
9538
  hash: viem.Hash;
9451
- input: viem.Hex;
9539
+ input: Hex;
9452
9540
  nonce: number;
9453
- r: viem.Hex;
9454
- s: viem.Hex;
9455
- typeHex: viem.Hex | null;
9541
+ r: Hex;
9542
+ s: Hex;
9543
+ typeHex: Hex | null;
9456
9544
  v: bigint;
9457
9545
  value: bigint;
9458
9546
  accessList: viem.AccessList;
@@ -9473,16 +9561,16 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9473
9561
  yParity: number;
9474
9562
  gas: bigint;
9475
9563
  hash: viem.Hash;
9476
- input: viem.Hex;
9564
+ input: Hex;
9477
9565
  nonce: number;
9478
- r: viem.Hex;
9479
- s: viem.Hex;
9480
- typeHex: viem.Hex | null;
9566
+ r: Hex;
9567
+ s: Hex;
9568
+ typeHex: Hex | null;
9481
9569
  v: bigint;
9482
9570
  value: bigint;
9483
9571
  accessList: viem.AccessList;
9484
9572
  authorizationList?: undefined | undefined;
9485
- blobVersionedHashes: readonly viem.Hex[];
9573
+ blobVersionedHashes: readonly Hex[];
9486
9574
  chainId: number;
9487
9575
  type: "eip4844";
9488
9576
  gasPrice?: undefined | undefined;
@@ -9498,11 +9586,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9498
9586
  yParity: number;
9499
9587
  gas: bigint;
9500
9588
  hash: viem.Hash;
9501
- input: viem.Hex;
9589
+ input: Hex;
9502
9590
  nonce: number;
9503
- r: viem.Hex;
9504
- s: viem.Hex;
9505
- typeHex: viem.Hex | null;
9591
+ r: Hex;
9592
+ s: Hex;
9593
+ typeHex: Hex | null;
9506
9594
  v: bigint;
9507
9595
  value: bigint;
9508
9596
  accessList: viem.AccessList;
@@ -9548,11 +9636,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9548
9636
  yParity?: undefined | undefined;
9549
9637
  gas: bigint;
9550
9638
  hash: viem.Hash;
9551
- input: viem.Hex;
9639
+ input: Hex;
9552
9640
  nonce: number;
9553
- r: viem.Hex;
9554
- s: viem.Hex;
9555
- typeHex: viem.Hex | null;
9641
+ r: Hex;
9642
+ s: Hex;
9643
+ typeHex: Hex | null;
9556
9644
  v: bigint;
9557
9645
  value: bigint;
9558
9646
  accessList?: undefined | undefined;
@@ -9573,11 +9661,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9573
9661
  yParity: number;
9574
9662
  gas: bigint;
9575
9663
  hash: viem.Hash;
9576
- input: viem.Hex;
9664
+ input: Hex;
9577
9665
  nonce: number;
9578
- r: viem.Hex;
9579
- s: viem.Hex;
9580
- typeHex: viem.Hex | null;
9666
+ r: Hex;
9667
+ s: Hex;
9668
+ typeHex: Hex | null;
9581
9669
  v: bigint;
9582
9670
  value: bigint;
9583
9671
  accessList: viem.AccessList;
@@ -9598,11 +9686,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9598
9686
  yParity: number;
9599
9687
  gas: bigint;
9600
9688
  hash: viem.Hash;
9601
- input: viem.Hex;
9689
+ input: Hex;
9602
9690
  nonce: number;
9603
- r: viem.Hex;
9604
- s: viem.Hex;
9605
- typeHex: viem.Hex | null;
9691
+ r: Hex;
9692
+ s: Hex;
9693
+ typeHex: Hex | null;
9606
9694
  v: bigint;
9607
9695
  value: bigint;
9608
9696
  accessList: viem.AccessList;
@@ -9623,16 +9711,16 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9623
9711
  yParity: number;
9624
9712
  gas: bigint;
9625
9713
  hash: viem.Hash;
9626
- input: viem.Hex;
9714
+ input: Hex;
9627
9715
  nonce: number;
9628
- r: viem.Hex;
9629
- s: viem.Hex;
9630
- typeHex: viem.Hex | null;
9716
+ r: Hex;
9717
+ s: Hex;
9718
+ typeHex: Hex | null;
9631
9719
  v: bigint;
9632
9720
  value: bigint;
9633
9721
  accessList: viem.AccessList;
9634
9722
  authorizationList?: undefined | undefined;
9635
- blobVersionedHashes: readonly viem.Hex[];
9723
+ blobVersionedHashes: readonly Hex[];
9636
9724
  chainId: number;
9637
9725
  type: "eip4844";
9638
9726
  gasPrice?: undefined | undefined;
@@ -9648,11 +9736,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9648
9736
  yParity: number;
9649
9737
  gas: bigint;
9650
9738
  hash: viem.Hash;
9651
- input: viem.Hex;
9739
+ input: Hex;
9652
9740
  nonce: number;
9653
- r: viem.Hex;
9654
- s: viem.Hex;
9655
- typeHex: viem.Hex | null;
9741
+ r: Hex;
9742
+ s: Hex;
9743
+ typeHex: Hex | null;
9656
9744
  v: bigint;
9657
9745
  value: bigint;
9658
9746
  accessList: viem.AccessList;
@@ -16179,10 +16267,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16179
16267
  }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
16180
16268
  readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, const args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
16181
16269
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
16270
+ sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<viem.TransactionReceipt>;
16182
16271
  simulate: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
16183
16272
  simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
16184
16273
  simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
16185
16274
  simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
16275
+ verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
16186
16276
  verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
16187
16277
  verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
16188
16278
  verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
@@ -16200,6 +16290,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16200
16290
  cacheTime?: undefined;
16201
16291
  ccipRead?: undefined;
16202
16292
  chain?: undefined;
16293
+ experimental_blockTag?: undefined;
16203
16294
  key?: undefined;
16204
16295
  name?: undefined;
16205
16296
  pollingInterval?: undefined;
@@ -16217,7 +16308,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16217
16308
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
16218
16309
  }, {
16219
16310
  Method: "eth_getUserOperationReceipt";
16220
- Parameters: [viem.Hash];
16311
+ Parameters: [viem.Hash, ("pending" | "latest")?];
16221
16312
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
16222
16313
  }, {
16223
16314
  Method: "eth_getUserOperationByHash";
@@ -16257,8 +16348,8 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16257
16348
  ReturnType: viem.Quantity;
16258
16349
  }, {
16259
16350
  Method: "eth_call";
16260
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
16261
- ReturnType: viem.Hex;
16351
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
16352
+ ReturnType: Hex;
16262
16353
  }, {
16263
16354
  Method: "eth_createAccessList";
16264
16355
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -16309,11 +16400,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16309
16400
  }, {
16310
16401
  Method: "eth_getCode";
16311
16402
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
16312
- ReturnType: viem.Hex;
16403
+ ReturnType: Hex;
16313
16404
  }, {
16314
16405
  Method: "eth_getFilterChanges";
16315
16406
  Parameters: [filterId: viem.Quantity];
16316
- ReturnType: viem.RpcLog[] | viem.Hex[];
16407
+ ReturnType: viem.RpcLog[] | Hex[];
16317
16408
  }, {
16318
16409
  Method: "eth_getFilterLogs";
16319
16410
  Parameters: [filterId: viem.Quantity];
@@ -16340,7 +16431,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16340
16431
  }, {
16341
16432
  Method: "eth_getStorageAt";
16342
16433
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
16343
- ReturnType: viem.Hex;
16434
+ ReturnType: Hex;
16344
16435
  }, {
16345
16436
  Method: "eth_getTransactionByBlockHashAndIndex";
16346
16437
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -16404,8 +16495,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16404
16495
  ReturnType: string;
16405
16496
  }, {
16406
16497
  Method: "eth_sendRawTransaction";
16407
- Parameters: [signedTransaction: viem.Hex];
16498
+ Parameters: [signedTransaction: Hex];
16408
16499
  ReturnType: viem.Hash;
16500
+ }, {
16501
+ Method: "eth_sendRawTransactionSync";
16502
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
16503
+ ReturnType: viem.RpcTransactionReceipt;
16409
16504
  }, {
16410
16505
  Method: "eth_simulateV1";
16411
16506
  Parameters: [{
@@ -16421,14 +16516,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16421
16516
  ReturnType: readonly (viem.RpcBlock & {
16422
16517
  calls: readonly {
16423
16518
  error?: {
16424
- data?: viem.Hex | undefined;
16519
+ data?: Hex | undefined;
16425
16520
  code: number;
16426
16521
  message: string;
16427
16522
  } | undefined;
16428
16523
  logs?: readonly viem.RpcLog[] | undefined;
16429
- gasUsed: viem.Hex;
16430
- returnData: viem.Hex;
16431
- status: viem.Hex;
16524
+ gasUsed: Hex;
16525
+ returnData: Hex;
16526
+ status: Hex;
16432
16527
  }[];
16433
16528
  })[];
16434
16529
  }, {
@@ -16442,12 +16537,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16442
16537
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
16443
16538
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16444
16539
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16445
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
16446
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
16540
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
16541
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
16447
16542
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16448
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
16449
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
16450
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
16543
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
16544
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
16545
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
16451
16546
  signTypedData: <const TTypedData extends {
16452
16547
  [x: string]: readonly viem.TypedDataParameter[];
16453
16548
  [x: `string[${string}]`]: undefined;
@@ -16459,8 +16554,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16459
16554
  [x: `uint8[${string}]`]: undefined;
16460
16555
  [x: `bool[${string}]`]: undefined;
16461
16556
  [x: `bytes4[${string}]`]: undefined;
16557
+ [x: `uint32[${string}]`]: undefined;
16462
16558
  [x: `bytes[${string}]`]: undefined;
16463
16559
  [x: `bytes6[${string}]`]: undefined;
16560
+ [x: `bytes10[${string}]`]: undefined;
16464
16561
  [x: `bytes1[${string}]`]: undefined;
16465
16562
  [x: `bytes2[${string}]`]: undefined;
16466
16563
  [x: `bytes3[${string}]`]: undefined;
@@ -16468,7 +16565,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16468
16565
  [x: `bytes7[${string}]`]: undefined;
16469
16566
  [x: `bytes8[${string}]`]: undefined;
16470
16567
  [x: `bytes9[${string}]`]: undefined;
16471
- [x: `bytes10[${string}]`]: undefined;
16472
16568
  [x: `bytes11[${string}]`]: undefined;
16473
16569
  [x: `bytes12[${string}]`]: undefined;
16474
16570
  [x: `bytes13[${string}]`]: undefined;
@@ -16491,6 +16587,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16491
16587
  [x: `bytes30[${string}]`]: undefined;
16492
16588
  [x: `bytes31[${string}]`]: undefined;
16493
16589
  [x: `int[${string}]`]: undefined;
16590
+ [x: `int200[${string}]`]: undefined;
16494
16591
  [x: `int8[${string}]`]: undefined;
16495
16592
  [x: `int16[${string}]`]: undefined;
16496
16593
  [x: `int24[${string}]`]: undefined;
@@ -16515,7 +16612,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16515
16612
  [x: `int176[${string}]`]: undefined;
16516
16613
  [x: `int184[${string}]`]: undefined;
16517
16614
  [x: `int192[${string}]`]: undefined;
16518
- [x: `int200[${string}]`]: undefined;
16519
16615
  [x: `int208[${string}]`]: undefined;
16520
16616
  [x: `int216[${string}]`]: undefined;
16521
16617
  [x: `int224[${string}]`]: undefined;
@@ -16524,9 +16620,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16524
16620
  [x: `int248[${string}]`]: undefined;
16525
16621
  [x: `int256[${string}]`]: undefined;
16526
16622
  [x: `uint[${string}]`]: undefined;
16623
+ [x: `uint200[${string}]`]: undefined;
16527
16624
  [x: `uint16[${string}]`]: undefined;
16528
16625
  [x: `uint24[${string}]`]: undefined;
16529
- [x: `uint32[${string}]`]: undefined;
16530
16626
  [x: `uint40[${string}]`]: undefined;
16531
16627
  [x: `uint48[${string}]`]: undefined;
16532
16628
  [x: `uint56[${string}]`]: undefined;
@@ -16546,7 +16642,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16546
16642
  [x: `uint176[${string}]`]: undefined;
16547
16643
  [x: `uint184[${string}]`]: undefined;
16548
16644
  [x: `uint192[${string}]`]: undefined;
16549
- [x: `uint200[${string}]`]: undefined;
16550
16645
  [x: `uint208[${string}]`]: undefined;
16551
16646
  [x: `uint216[${string}]`]: undefined;
16552
16647
  [x: `uint224[${string}]`]: undefined;
@@ -16561,8 +16656,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16561
16656
  uint8?: undefined;
16562
16657
  bool?: undefined;
16563
16658
  bytes4?: undefined;
16659
+ uint32?: undefined;
16564
16660
  bytes?: undefined;
16565
16661
  bytes6?: undefined;
16662
+ bytes10?: undefined;
16566
16663
  bytes1?: undefined;
16567
16664
  bytes2?: undefined;
16568
16665
  bytes3?: undefined;
@@ -16570,7 +16667,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16570
16667
  bytes7?: undefined;
16571
16668
  bytes8?: undefined;
16572
16669
  bytes9?: undefined;
16573
- bytes10?: undefined;
16574
16670
  bytes11?: undefined;
16575
16671
  bytes12?: undefined;
16576
16672
  bytes13?: undefined;
@@ -16592,6 +16688,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16592
16688
  bytes29?: undefined;
16593
16689
  bytes30?: undefined;
16594
16690
  bytes31?: undefined;
16691
+ int200?: undefined;
16595
16692
  int8?: undefined;
16596
16693
  int16?: undefined;
16597
16694
  int24?: undefined;
@@ -16616,7 +16713,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16616
16713
  int176?: undefined;
16617
16714
  int184?: undefined;
16618
16715
  int192?: undefined;
16619
- int200?: undefined;
16620
16716
  int208?: undefined;
16621
16717
  int216?: undefined;
16622
16718
  int224?: undefined;
@@ -16624,9 +16720,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16624
16720
  int240?: undefined;
16625
16721
  int248?: undefined;
16626
16722
  int256?: undefined;
16723
+ uint200?: undefined;
16627
16724
  uint16?: undefined;
16628
16725
  uint24?: undefined;
16629
- uint32?: undefined;
16630
16726
  uint40?: undefined;
16631
16727
  uint48?: undefined;
16632
16728
  uint56?: undefined;
@@ -16646,7 +16742,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16646
16742
  uint176?: undefined;
16647
16743
  uint184?: undefined;
16648
16744
  uint192?: undefined;
16649
- uint200?: undefined;
16650
16745
  uint208?: undefined;
16651
16746
  uint216?: undefined;
16652
16747
  uint224?: undefined;
@@ -16655,7 +16750,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16655
16750
  uint248?: undefined;
16656
16751
  } | {
16657
16752
  [key: string]: unknown;
16658
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
16753
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
16659
16754
  } & {
16660
16755
  getAddress: () => Address$1;
16661
16756
  } & _aa_sdk_core.BundlerActions & viem.PublicActions>) => client) => viem.Client<viem.Transport, viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, [{
@@ -16668,7 +16763,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16668
16763
  ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
16669
16764
  }, {
16670
16765
  Method: "eth_getUserOperationReceipt";
16671
- Parameters: [viem.Hash];
16766
+ Parameters: [viem.Hash, ("pending" | "latest")?];
16672
16767
  ReturnType: _aa_sdk_core.UserOperationReceipt | null;
16673
16768
  }, {
16674
16769
  Method: "eth_getUserOperationByHash";
@@ -16708,8 +16803,8 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16708
16803
  ReturnType: viem.Quantity;
16709
16804
  }, {
16710
16805
  Method: "eth_call";
16711
- Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
16712
- ReturnType: viem.Hex;
16806
+ Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
16807
+ ReturnType: Hex;
16713
16808
  }, {
16714
16809
  Method: "eth_createAccessList";
16715
16810
  Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -16760,11 +16855,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16760
16855
  }, {
16761
16856
  Method: "eth_getCode";
16762
16857
  Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
16763
- ReturnType: viem.Hex;
16858
+ ReturnType: Hex;
16764
16859
  }, {
16765
16860
  Method: "eth_getFilterChanges";
16766
16861
  Parameters: [filterId: viem.Quantity];
16767
- ReturnType: viem.RpcLog[] | viem.Hex[];
16862
+ ReturnType: viem.RpcLog[] | Hex[];
16768
16863
  }, {
16769
16864
  Method: "eth_getFilterLogs";
16770
16865
  Parameters: [filterId: viem.Quantity];
@@ -16791,7 +16886,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16791
16886
  }, {
16792
16887
  Method: "eth_getStorageAt";
16793
16888
  Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
16794
- ReturnType: viem.Hex;
16889
+ ReturnType: Hex;
16795
16890
  }, {
16796
16891
  Method: "eth_getTransactionByBlockHashAndIndex";
16797
16892
  Parameters: [hash: viem.Hash, index: viem.Quantity];
@@ -16855,8 +16950,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16855
16950
  ReturnType: string;
16856
16951
  }, {
16857
16952
  Method: "eth_sendRawTransaction";
16858
- Parameters: [signedTransaction: viem.Hex];
16953
+ Parameters: [signedTransaction: Hex];
16859
16954
  ReturnType: viem.Hash;
16955
+ }, {
16956
+ Method: "eth_sendRawTransactionSync";
16957
+ Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
16958
+ ReturnType: viem.RpcTransactionReceipt;
16860
16959
  }, {
16861
16960
  Method: "eth_simulateV1";
16862
16961
  Parameters: [{
@@ -16872,14 +16971,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16872
16971
  ReturnType: readonly (viem.RpcBlock & {
16873
16972
  calls: readonly {
16874
16973
  error?: {
16875
- data?: viem.Hex | undefined;
16974
+ data?: Hex | undefined;
16876
16975
  code: number;
16877
16976
  message: string;
16878
16977
  } | undefined;
16879
16978
  logs?: readonly viem.RpcLog[] | undefined;
16880
- gasUsed: viem.Hex;
16881
- returnData: viem.Hex;
16882
- status: viem.Hex;
16979
+ gasUsed: Hex;
16980
+ returnData: Hex;
16981
+ status: Hex;
16883
16982
  }[];
16884
16983
  })[];
16885
16984
  }, {
@@ -16893,12 +16992,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16893
16992
  checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
16894
16993
  signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16895
16994
  dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16896
- sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<viem.Hex>;
16897
- sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
16995
+ sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
16996
+ sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
16898
16997
  sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
16899
- waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<viem.Hex>;
16900
- upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<viem.Hex>;
16901
- signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
16998
+ waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
16999
+ upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
17000
+ signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
16902
17001
  signTypedData: <const TTypedData extends {
16903
17002
  [x: string]: readonly viem.TypedDataParameter[];
16904
17003
  [x: `string[${string}]`]: undefined;
@@ -16910,8 +17009,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16910
17009
  [x: `uint8[${string}]`]: undefined;
16911
17010
  [x: `bool[${string}]`]: undefined;
16912
17011
  [x: `bytes4[${string}]`]: undefined;
17012
+ [x: `uint32[${string}]`]: undefined;
16913
17013
  [x: `bytes[${string}]`]: undefined;
16914
17014
  [x: `bytes6[${string}]`]: undefined;
17015
+ [x: `bytes10[${string}]`]: undefined;
16915
17016
  [x: `bytes1[${string}]`]: undefined;
16916
17017
  [x: `bytes2[${string}]`]: undefined;
16917
17018
  [x: `bytes3[${string}]`]: undefined;
@@ -16919,7 +17020,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16919
17020
  [x: `bytes7[${string}]`]: undefined;
16920
17021
  [x: `bytes8[${string}]`]: undefined;
16921
17022
  [x: `bytes9[${string}]`]: undefined;
16922
- [x: `bytes10[${string}]`]: undefined;
16923
17023
  [x: `bytes11[${string}]`]: undefined;
16924
17024
  [x: `bytes12[${string}]`]: undefined;
16925
17025
  [x: `bytes13[${string}]`]: undefined;
@@ -16942,6 +17042,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16942
17042
  [x: `bytes30[${string}]`]: undefined;
16943
17043
  [x: `bytes31[${string}]`]: undefined;
16944
17044
  [x: `int[${string}]`]: undefined;
17045
+ [x: `int200[${string}]`]: undefined;
16945
17046
  [x: `int8[${string}]`]: undefined;
16946
17047
  [x: `int16[${string}]`]: undefined;
16947
17048
  [x: `int24[${string}]`]: undefined;
@@ -16966,7 +17067,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16966
17067
  [x: `int176[${string}]`]: undefined;
16967
17068
  [x: `int184[${string}]`]: undefined;
16968
17069
  [x: `int192[${string}]`]: undefined;
16969
- [x: `int200[${string}]`]: undefined;
16970
17070
  [x: `int208[${string}]`]: undefined;
16971
17071
  [x: `int216[${string}]`]: undefined;
16972
17072
  [x: `int224[${string}]`]: undefined;
@@ -16975,9 +17075,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16975
17075
  [x: `int248[${string}]`]: undefined;
16976
17076
  [x: `int256[${string}]`]: undefined;
16977
17077
  [x: `uint[${string}]`]: undefined;
17078
+ [x: `uint200[${string}]`]: undefined;
16978
17079
  [x: `uint16[${string}]`]: undefined;
16979
17080
  [x: `uint24[${string}]`]: undefined;
16980
- [x: `uint32[${string}]`]: undefined;
16981
17081
  [x: `uint40[${string}]`]: undefined;
16982
17082
  [x: `uint48[${string}]`]: undefined;
16983
17083
  [x: `uint56[${string}]`]: undefined;
@@ -16997,7 +17097,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16997
17097
  [x: `uint176[${string}]`]: undefined;
16998
17098
  [x: `uint184[${string}]`]: undefined;
16999
17099
  [x: `uint192[${string}]`]: undefined;
17000
- [x: `uint200[${string}]`]: undefined;
17001
17100
  [x: `uint208[${string}]`]: undefined;
17002
17101
  [x: `uint216[${string}]`]: undefined;
17003
17102
  [x: `uint224[${string}]`]: undefined;
@@ -17012,8 +17111,10 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17012
17111
  uint8?: undefined;
17013
17112
  bool?: undefined;
17014
17113
  bytes4?: undefined;
17114
+ uint32?: undefined;
17015
17115
  bytes?: undefined;
17016
17116
  bytes6?: undefined;
17117
+ bytes10?: undefined;
17017
17118
  bytes1?: undefined;
17018
17119
  bytes2?: undefined;
17019
17120
  bytes3?: undefined;
@@ -17021,7 +17122,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17021
17122
  bytes7?: undefined;
17022
17123
  bytes8?: undefined;
17023
17124
  bytes9?: undefined;
17024
- bytes10?: undefined;
17025
17125
  bytes11?: undefined;
17026
17126
  bytes12?: undefined;
17027
17127
  bytes13?: undefined;
@@ -17043,6 +17143,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17043
17143
  bytes29?: undefined;
17044
17144
  bytes30?: undefined;
17045
17145
  bytes31?: undefined;
17146
+ int200?: undefined;
17046
17147
  int8?: undefined;
17047
17148
  int16?: undefined;
17048
17149
  int24?: undefined;
@@ -17067,7 +17168,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17067
17168
  int176?: undefined;
17068
17169
  int184?: undefined;
17069
17170
  int192?: undefined;
17070
- int200?: undefined;
17071
17171
  int208?: undefined;
17072
17172
  int216?: undefined;
17073
17173
  int224?: undefined;
@@ -17075,9 +17175,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17075
17175
  int240?: undefined;
17076
17176
  int248?: undefined;
17077
17177
  int256?: undefined;
17178
+ uint200?: undefined;
17078
17179
  uint16?: undefined;
17079
17180
  uint24?: undefined;
17080
- uint32?: undefined;
17081
17181
  uint40?: undefined;
17082
17182
  uint48?: undefined;
17083
17183
  uint56?: undefined;
@@ -17097,7 +17197,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17097
17197
  uint176?: undefined;
17098
17198
  uint184?: undefined;
17099
17199
  uint192?: undefined;
17100
- uint200?: undefined;
17101
17200
  uint208?: undefined;
17102
17201
  uint216?: undefined;
17103
17202
  uint224?: undefined;
@@ -17106,14 +17205,25 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17106
17205
  uint248?: undefined;
17107
17206
  } | {
17108
17207
  [key: string]: unknown;
17109
- }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<viem.Hex>;
17208
+ }, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
17110
17209
  } & {
17111
17210
  getAddress: () => Address$1;
17112
17211
  } & _aa_sdk_core.BundlerActions & viem.PublicActions>;
17113
17212
  };
17213
+ get acpX402(): AcpX402;
17114
17214
  private calculateGasFees;
17115
- handleOperation(data: `0x${string}`, contractAddress?: Address$1, value?: bigint): Promise<`0x${string}`>;
17116
- getJobId(hash: Address$1, clientAddress: Address$1, providerAddress: Address$1): Promise<number>;
17215
+ handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
17216
+ userOpHash: Address$1;
17217
+ txnHash: Address$1;
17218
+ }>;
17219
+ getJobId(createJobUserOpHash: Address$1, clientAddress: Address$1, providerAddress: Address$1): Promise<number>;
17220
+ updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
17221
+ generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
17222
+ performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
17223
+ getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
17224
+ getAssetManager(): Promise<Address$1>;
17225
+ getAcpVersion(): string;
17226
+ signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
17117
17227
  }
17118
17228
 
17119
- export { ACP_ABI, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type ClosePositionPayload, type DeliverablePayload, Fare, FareAmount, FareBigInt, type FundResponsePayload, type IDeliverable, MemoType, type OpenPositionPayload, PayloadType, PositionDirection, type RequestClosePositionPayload, type ResponseSwapTokenPayload, type SwapTokenPayload, baseAcpConfig, baseAcpConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };
17229
+ export { ACP_ABI, AcpAgent, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoState, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type DeliverablePayload, Fare, FareAmount, FareBigInt, MemoType, baseAcpConfig, baseAcpConfigV2, baseAcpX402Config, baseAcpX402ConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, baseSepoliaAcpX402ConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };