@settlemint/sdk-viem 2.5.11-pr837f8ae2 → 2.5.11-prc31ead65

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.
@@ -4,48 +4,53 @@ import { Chain, Client, HttpTransportConfig, Transport } from "viem";
4
4
  import * as chains from "viem/chains";
5
5
  import { z } from "zod";
6
6
 
7
- //#region src/custom-actions/create-wallet.action.d.ts
7
+ //#region src/custom-actions/verify-wallet-verification-challenge.action.d.ts
8
8
  /**
9
- * Information about the wallet to be created.
9
+ * Represents either a wallet address string or an object containing wallet address and optional verification ID.
10
10
  */
11
- interface WalletInfo {
12
- /** The name of the wallet. */
13
- name: string;
14
- }
11
+ type AddressOrObject<Extra = {}> = string | ({
12
+ userWalletAddress: string;
13
+ verificationId?: string;
14
+ } & Extra);
15
15
  /**
16
- * Parameters for creating a wallet.
16
+ * Represents either a wallet address string, an object containing wallet address and optional verification ID or a challenge ID.
17
17
  */
18
- interface CreateWalletParameters {
19
- /** The unique name of the key vault where the wallet will be created. */
20
- keyVaultId: string;
21
- /** Information about the wallet to be created. */
22
- walletInfo: WalletInfo;
18
+ type AddressOrObjectWithChallengeId = AddressOrObject | {
19
+ /** ID of the challenge to verify against */
20
+ challengeId: string;
21
+ };
22
+ /**
23
+ * Parameters for verifying a wallet verification challenge.
24
+ */
25
+ interface VerifyWalletVerificationChallengeParameters {
26
+ /** The wallet address or object containing wallet address and optional verification ID. */
27
+ addressOrObject: AddressOrObjectWithChallengeId;
28
+ /** The response to the verification challenge. */
29
+ challengeResponse: string;
23
30
  }
24
31
  /**
25
- * Response from creating a wallet.
32
+ * Result of a wallet verification challenge.
26
33
  */
27
- interface CreateWalletResponse {
28
- /** The unique identifier of the wallet. */
29
- id: string;
30
- /** The name of the wallet. */
31
- name: string;
32
- /** The blockchain address of the wallet. */
33
- address: string;
34
- /** The HD derivation path used to create the wallet. */
35
- derivationPath: string;
34
+ interface VerificationResult {
35
+ /** Whether the verification was successful. */
36
+ verified: boolean;
36
37
  }
37
38
  /**
38
- * Creates a wallet action for the given client.
39
+ * Response from verifying a wallet verification challenge.
40
+ */
41
+ type VerifyWalletVerificationChallengeResponse = VerificationResult[];
42
+ /**
43
+ * Creates a wallet verification challenge verification action for the given client.
39
44
  * @param client - The viem client to use for the request.
40
- * @returns An object with a createWallet method.
45
+ * @returns An object with a verifyWalletVerificationChallenge method.
41
46
  */
42
- declare function createWallet(client: Client): {
47
+ declare function verifyWalletVerificationChallenge(client: Client): {
43
48
  /**
44
- * Creates a new wallet in the specified key vault.
45
- * @param args - The parameters for creating a wallet.
46
- * @returns A promise that resolves to an array of created wallet responses.
49
+ * Verifies a wallet verification challenge.
50
+ * @param args - The parameters for verifying the challenge.
51
+ * @returns A promise that resolves to an array of verification results.
47
52
  */
48
- createWallet(args: CreateWalletParameters): Promise<CreateWalletResponse[]>;
53
+ verifyWalletVerificationChallenge(args: VerifyWalletVerificationChallengeParameters): Promise<VerifyWalletVerificationChallengeResponse>;
49
54
  };
50
55
  //#endregion
51
56
  //#region src/custom-actions/types/wallet-verification.enum.d.ts
@@ -86,6 +91,123 @@ declare enum OTPAlgorithm {
86
91
  SHA3_512 = "SHA3-512",
87
92
  }
88
93
  //#endregion
94
+ //#region src/custom-actions/types/wallet-verification-challenge.d.ts
95
+ /**
96
+ * Represents a wallet verification challenge.
97
+ */
98
+ interface WalletVerificationChallenge<ChallengeData> {
99
+ /** The unique identifier of the challenge. */
100
+ id: string;
101
+ /** The name of the challenge. */
102
+ name: string;
103
+ /** The verification ID. */
104
+ verificationId: string;
105
+ /** The type of verification required. */
106
+ verificationType: WalletVerificationType;
107
+ /** The challenge parameters specific to the verification type. */
108
+ challenge: ChallengeData;
109
+ }
110
+ //#endregion
111
+ //#region src/custom-actions/create-wallet-verification-challenges.action.d.ts
112
+ /**
113
+ * Parameters for creating wallet verification challenges.
114
+ */
115
+ interface CreateWalletVerificationChallengesParameters {
116
+ /** The wallet address or object containing wallet address and optional verification ID. */
117
+ addressOrObject: AddressOrObject<{
118
+ amount?: number;
119
+ }>;
120
+ }
121
+ /**
122
+ * Response from creating wallet verification challenges.
123
+ */
124
+ type CreateWalletVerificationChallengesResponse = WalletVerificationChallenge<Record<string, string>>[];
125
+ /**
126
+ * Creates a wallet verification challenges action for the given client.
127
+ * @param client - The viem client to use for the request.
128
+ * @returns An object with a createWalletVerificationChallenges method.
129
+ */
130
+ declare function createWalletVerificationChallenges(client: Client): {
131
+ /**
132
+ * Creates verification challenges for a wallet.
133
+ * @param args - The parameters for creating the challenges.
134
+ * @returns A promise that resolves to an array of wallet verification challenges.
135
+ */
136
+ createWalletVerificationChallenges(args: CreateWalletVerificationChallengesParameters): Promise<CreateWalletVerificationChallengesResponse>;
137
+ };
138
+ //#endregion
139
+ //#region src/custom-actions/create-wallet-verification-challenge.action.d.ts
140
+ /**
141
+ * Parameters for creating wallet verification challenges.
142
+ */
143
+ interface CreateWalletVerificationChallengeParameters {
144
+ /** The wallet address. */
145
+ userWalletAddress: string;
146
+ /** The verification ID. */
147
+ verificationId: string;
148
+ }
149
+ /**
150
+ * Data specific to a wallet verification challenge.
151
+ */
152
+ interface WalletVerificationChallengeData {
153
+ /** The verification ID (for backward compatibility). */
154
+ id: string;
155
+ /** The unique identifier of the challenge. */
156
+ challengeId: string;
157
+ /** Optional salt for PINCODE verification type. */
158
+ salt?: string;
159
+ /** Optional secret for PINCODE verification type. */
160
+ secret?: string;
161
+ }
162
+ /**
163
+ * Response from creating wallet verification challenge.
164
+ */
165
+ type CreateWalletVerificationChallengeResponse = WalletVerificationChallenge<WalletVerificationChallengeData>;
166
+ /**
167
+ * Creates a wallet verification challenge action for the given client.
168
+ * @param client - The viem client to use for the request.
169
+ * @returns An object with a createWalletVerificationChallenge method.
170
+ */
171
+ declare function createWalletVerificationChallenge(client: Client): {
172
+ /**
173
+ * Creates a verification challenge for a wallet.
174
+ * @param args - The parameters for creating the challenge.
175
+ * @returns A promise that resolves to a wallet verification challenge.
176
+ */
177
+ createWalletVerificationChallenge(args: CreateWalletVerificationChallengeParameters): Promise<CreateWalletVerificationChallengeResponse>;
178
+ };
179
+ //#endregion
180
+ //#region src/custom-actions/delete-wallet-verification.action.d.ts
181
+ /**
182
+ * Parameters for deleting a wallet verification.
183
+ */
184
+ interface DeleteWalletVerificationParameters {
185
+ /** The wallet address for which to delete the verification. */
186
+ userWalletAddress: string;
187
+ /** The unique identifier of the verification to delete. */
188
+ verificationId: string;
189
+ }
190
+ /**
191
+ * Response from deleting a wallet verification.
192
+ */
193
+ interface DeleteWalletVerificationResponse {
194
+ /** Whether the deletion was successful. */
195
+ success: boolean;
196
+ }
197
+ /**
198
+ * Creates a wallet verification deletion action for the given client.
199
+ * @param client - The viem client to use for the request.
200
+ * @returns An object with a deleteWalletVerification method.
201
+ */
202
+ declare function deleteWalletVerification(client: Client): {
203
+ /**
204
+ * Deletes a wallet verification.
205
+ * @param args - The parameters for deleting the verification.
206
+ * @returns A promise that resolves to an array of deletion results.
207
+ */
208
+ deleteWalletVerification(args: DeleteWalletVerificationParameters): Promise<DeleteWalletVerificationResponse[]>;
209
+ };
210
+ //#endregion
89
211
  //#region src/custom-actions/create-wallet-verification.action.d.ts
90
212
  /**
91
213
  * Base interface for wallet verification information.
@@ -167,162 +289,90 @@ declare function createWalletVerification(client: Client): {
167
289
  createWalletVerification(args: CreateWalletVerificationParameters): Promise<CreateWalletVerificationResponse[]>;
168
290
  };
169
291
  //#endregion
170
- //#region src/custom-actions/verify-wallet-verification-challenge.action.d.ts
292
+ //#region src/custom-actions/get-wallet-verifications.action.d.ts
171
293
  /**
172
- * Represents either a wallet address string or an object containing wallet address and optional verification ID.
294
+ * Parameters for getting wallet verifications.
173
295
  */
174
- type AddressOrObject<Extra = {}> = string | ({
296
+ interface GetWalletVerificationsParameters {
297
+ /** The wallet address for which to fetch verifications. */
175
298
  userWalletAddress: string;
176
- verificationId?: string;
177
- } & Extra);
178
- /**
179
- * Parameters for verifying a wallet verification challenge.
180
- */
181
- interface VerifyWalletVerificationChallengeParameters {
182
- /** The wallet address or object containing wallet address and optional verification ID. */
183
- addressOrObject: AddressOrObject;
184
- /** The response to the verification challenge. */
185
- challengeResponse: string;
186
299
  }
187
300
  /**
188
- * Result of a wallet verification challenge.
301
+ * Represents a wallet verification.
189
302
  */
190
- interface VerificationResult {
191
- /** Whether the verification was successful. */
192
- verified: boolean;
303
+ interface WalletVerification {
304
+ /** The unique identifier of the verification. */
305
+ id: string;
306
+ /** The name of the verification method. */
307
+ name: string;
308
+ /** The type of verification method. */
309
+ verificationType: WalletVerificationType;
193
310
  }
194
311
  /**
195
- * Response from verifying a wallet verification challenge.
312
+ * Response from getting wallet verifications.
196
313
  */
197
- type VerifyWalletVerificationChallengeResponse = VerificationResult[];
314
+ type GetWalletVerificationsResponse = WalletVerification[];
198
315
  /**
199
- * Creates a wallet verification challenge verification action for the given client.
316
+ * Creates a wallet verifications retrieval action for the given client.
200
317
  * @param client - The viem client to use for the request.
201
- * @returns An object with a verifyWalletVerificationChallenge method.
318
+ * @returns An object with a getWalletVerifications method.
202
319
  */
203
- declare function verifyWalletVerificationChallenge(client: Client): {
320
+ declare function getWalletVerifications(client: Client): {
204
321
  /**
205
- * Verifies a wallet verification challenge.
206
- * @param args - The parameters for verifying the challenge.
207
- * @returns A promise that resolves to an array of verification results.
322
+ * Gets all verifications for a wallet.
323
+ * @param args - The parameters for getting the verifications.
324
+ * @returns A promise that resolves to an array of wallet verifications.
208
325
  */
209
- verifyWalletVerificationChallenge(args: VerifyWalletVerificationChallengeParameters): Promise<VerifyWalletVerificationChallengeResponse>;
326
+ getWalletVerifications(args: GetWalletVerificationsParameters): Promise<GetWalletVerificationsResponse>;
210
327
  };
211
328
  //#endregion
212
- //#region src/custom-actions/create-wallet-verification-challenges.action.d.ts
329
+ //#region src/custom-actions/create-wallet.action.d.ts
213
330
  /**
214
- * Parameters for creating wallet verification challenges.
331
+ * Information about the wallet to be created.
215
332
  */
216
- interface CreateWalletVerificationChallengesParameters {
217
- /** The wallet address or object containing wallet address and optional verification ID. */
218
- addressOrObject: AddressOrObject<{
219
- amount?: number;
220
- }>;
333
+ interface WalletInfo {
334
+ /** The name of the wallet. */
335
+ name: string;
221
336
  }
222
337
  /**
223
- * Represents a wallet verification challenge.
338
+ * Parameters for creating a wallet.
224
339
  */
225
- interface WalletVerificationChallenge {
226
- /** The unique identifier of the challenge. */
227
- id: string;
228
- /** The name of the challenge. */
229
- name: string;
230
- /** The verification ID. */
231
- verificationId: string;
232
- /** The type of verification required. */
233
- verificationType: WalletVerificationType;
234
- /** The challenge parameters specific to the verification type. */
235
- challenge: Record<string, string>;
340
+ interface CreateWalletParameters {
341
+ /** The unique name of the key vault where the wallet will be created. */
342
+ keyVaultId: string;
343
+ /** Information about the wallet to be created. */
344
+ walletInfo: WalletInfo;
236
345
  }
237
346
  /**
238
- * Response from creating wallet verification challenges.
347
+ * Response from creating a wallet.
239
348
  */
240
- type CreateWalletVerificationChallengesResponse = WalletVerificationChallenge[];
349
+ interface CreateWalletResponse {
350
+ /** The unique identifier of the wallet. */
351
+ id: string;
352
+ /** The name of the wallet. */
353
+ name: string;
354
+ /** The blockchain address of the wallet. */
355
+ address: string;
356
+ /** The HD derivation path used to create the wallet. */
357
+ derivationPath: string;
358
+ }
241
359
  /**
242
- * Creates a wallet verification challenges action for the given client.
360
+ * Creates a wallet action for the given client.
243
361
  * @param client - The viem client to use for the request.
244
- * @returns An object with a createWalletVerificationChallenges method.
362
+ * @returns An object with a createWallet method.
245
363
  */
246
- declare function createWalletVerificationChallenges(client: Client): {
364
+ declare function createWallet(client: Client): {
247
365
  /**
248
- * Creates verification challenges for a wallet.
249
- * @param args - The parameters for creating the challenges.
250
- * @returns A promise that resolves to an array of wallet verification challenges.
366
+ * Creates a new wallet in the specified key vault.
367
+ * @param args - The parameters for creating a wallet.
368
+ * @returns A promise that resolves to an array of created wallet responses.
251
369
  */
252
- createWalletVerificationChallenges(args: CreateWalletVerificationChallengesParameters): Promise<CreateWalletVerificationChallengesResponse>;
370
+ createWallet(args: CreateWalletParameters): Promise<CreateWalletResponse[]>;
253
371
  };
254
372
  //#endregion
255
- //#region src/custom-actions/delete-wallet-verification.action.d.ts
373
+ //#region src/viem.d.ts
256
374
  /**
257
- * Parameters for deleting a wallet verification.
258
- */
259
- interface DeleteWalletVerificationParameters {
260
- /** The wallet address for which to delete the verification. */
261
- userWalletAddress: string;
262
- /** The unique identifier of the verification to delete. */
263
- verificationId: string;
264
- }
265
- /**
266
- * Response from deleting a wallet verification.
267
- */
268
- interface DeleteWalletVerificationResponse {
269
- /** Whether the deletion was successful. */
270
- success: boolean;
271
- }
272
- /**
273
- * Creates a wallet verification deletion action for the given client.
274
- * @param client - The viem client to use for the request.
275
- * @returns An object with a deleteWalletVerification method.
276
- */
277
- declare function deleteWalletVerification(client: Client): {
278
- /**
279
- * Deletes a wallet verification.
280
- * @param args - The parameters for deleting the verification.
281
- * @returns A promise that resolves to an array of deletion results.
282
- */
283
- deleteWalletVerification(args: DeleteWalletVerificationParameters): Promise<DeleteWalletVerificationResponse[]>;
284
- };
285
- //#endregion
286
- //#region src/custom-actions/get-wallet-verifications.action.d.ts
287
- /**
288
- * Parameters for getting wallet verifications.
289
- */
290
- interface GetWalletVerificationsParameters {
291
- /** The wallet address for which to fetch verifications. */
292
- userWalletAddress: string;
293
- }
294
- /**
295
- * Represents a wallet verification.
296
- */
297
- interface WalletVerification {
298
- /** The unique identifier of the verification. */
299
- id: string;
300
- /** The name of the verification method. */
301
- name: string;
302
- /** The type of verification method. */
303
- verificationType: WalletVerificationType;
304
- }
305
- /**
306
- * Response from getting wallet verifications.
307
- */
308
- type GetWalletVerificationsResponse = WalletVerification[];
309
- /**
310
- * Creates a wallet verifications retrieval action for the given client.
311
- * @param client - The viem client to use for the request.
312
- * @returns An object with a getWalletVerifications method.
313
- */
314
- declare function getWalletVerifications(client: Client): {
315
- /**
316
- * Gets all verifications for a wallet.
317
- * @param args - The parameters for getting the verifications.
318
- * @returns A promise that resolves to an array of wallet verifications.
319
- */
320
- getWalletVerifications(args: GetWalletVerificationsParameters): Promise<GetWalletVerificationsResponse>;
321
- };
322
- //#endregion
323
- //#region src/viem.d.ts
324
- /**
325
- * Schema for the viem client options.
375
+ * Schema for the viem client options.
326
376
  */
327
377
  declare const ClientOptionsSchema: z.ZodObject<{
328
378
  accessToken: z.ZodOptional<z.ZodString>;
@@ -386,7 +436,3643 @@ declare const getPublicClient: (options: ClientOptions) => {
386
436
  name: string;
387
437
  pollingInterval: number;
388
438
  request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema>;
389
- transport: viem0.TransportConfig<string, viem0.EIP1193RequestFn> & Record<string, any>;
439
+ transport: viem0.TransportConfig<string, viem0.EIP1193RequestFn> & Record<string, any>;
440
+ type: string;
441
+ uid: string;
442
+ call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
443
+ createAccessList: (parameters: viem0.CreateAccessListParameters<Chain>) => Promise<{
444
+ accessList: viem0.AccessList;
445
+ gasUsed: bigint;
446
+ }>;
447
+ createBlockFilter: () => Promise<viem0.CreateBlockFilterReturnType>;
448
+ createContractEventFilter: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi> | undefined, args extends viem0.MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<viem0.CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>;
449
+ createEventFilter: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, _EventName extends string | undefined = viem0.MaybeAbiEventName<abiEvent>, _Args extends viem0.MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: viem0.CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<viem0.CreateEventFilterReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args>>;
450
+ createPendingTransactionFilter: () => Promise<viem0.CreatePendingTransactionFilterReturnType>;
451
+ estimateContractGas: <chain extends Chain | undefined, const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, args extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: viem0.EstimateContractGasParameters<abi, functionName, args, chain>) => Promise<viem0.EstimateContractGasReturnType>;
452
+ estimateGas: (args: viem0.EstimateGasParameters<Chain>) => Promise<viem0.EstimateGasReturnType>;
453
+ getBalance: (args: viem0.GetBalanceParameters) => Promise<viem0.GetBalanceReturnType>;
454
+ getBlobBaseFee: () => Promise<viem0.GetBlobBaseFeeReturnType>;
455
+ getBlock: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args?: viem0.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
456
+ number: blockTag extends "pending" ? null : bigint;
457
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
458
+ hash: blockTag extends "pending" ? null : `0x${string}`;
459
+ logsBloom: blockTag extends "pending" ? null : `0x${string}`;
460
+ baseFeePerGas: bigint | null;
461
+ blobGasUsed: bigint;
462
+ difficulty: bigint;
463
+ excessBlobGas: bigint;
464
+ extraData: viem0.Hex;
465
+ gasLimit: bigint;
466
+ gasUsed: bigint;
467
+ miner: viem0.Address;
468
+ mixHash: viem0.Hash;
469
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
470
+ parentHash: viem0.Hash;
471
+ receiptsRoot: viem0.Hex;
472
+ sealFields: viem0.Hex[];
473
+ sha3Uncles: viem0.Hash;
474
+ size: bigint;
475
+ stateRoot: viem0.Hash;
476
+ timestamp: bigint;
477
+ totalDifficulty: bigint | null;
478
+ transactionsRoot: viem0.Hash;
479
+ uncles: viem0.Hash[];
480
+ withdrawals?: viem0.Withdrawal[] | undefined | undefined;
481
+ withdrawalsRoot?: `0x${string}` | undefined;
482
+ transactions: includeTransactions extends true ? ({
483
+ chainId?: number | undefined;
484
+ input: viem0.Hex;
485
+ type: "legacy";
486
+ to: viem0.Address | null;
487
+ from: viem0.Address;
488
+ gas: bigint;
489
+ nonce: number;
490
+ value: bigint;
491
+ maxFeePerBlobGas?: undefined | undefined;
492
+ gasPrice: bigint;
493
+ maxFeePerGas?: undefined | undefined;
494
+ maxPriorityFeePerGas?: undefined | undefined;
495
+ accessList?: undefined | undefined;
496
+ blobVersionedHashes?: undefined | undefined;
497
+ authorizationList?: undefined | undefined;
498
+ hash: viem0.Hash;
499
+ r: viem0.Hex;
500
+ s: viem0.Hex;
501
+ v: bigint;
502
+ yParity?: undefined | undefined;
503
+ typeHex: viem0.Hex | null;
504
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
505
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
506
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
507
+ } | {
508
+ chainId: number;
509
+ input: viem0.Hex;
510
+ type: "eip2930";
511
+ to: viem0.Address | null;
512
+ from: viem0.Address;
513
+ gas: bigint;
514
+ nonce: number;
515
+ value: bigint;
516
+ maxFeePerBlobGas?: undefined | undefined;
517
+ gasPrice: bigint;
518
+ maxFeePerGas?: undefined | undefined;
519
+ maxPriorityFeePerGas?: undefined | undefined;
520
+ accessList: viem0.AccessList;
521
+ blobVersionedHashes?: undefined | undefined;
522
+ authorizationList?: undefined | undefined;
523
+ hash: viem0.Hash;
524
+ r: viem0.Hex;
525
+ s: viem0.Hex;
526
+ v: bigint;
527
+ yParity: number;
528
+ typeHex: viem0.Hex | null;
529
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
530
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
531
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
532
+ } | {
533
+ chainId: number;
534
+ input: viem0.Hex;
535
+ type: "eip1559";
536
+ to: viem0.Address | null;
537
+ from: viem0.Address;
538
+ gas: bigint;
539
+ nonce: number;
540
+ value: bigint;
541
+ maxFeePerBlobGas?: undefined | undefined;
542
+ gasPrice?: undefined | undefined;
543
+ maxFeePerGas: bigint;
544
+ maxPriorityFeePerGas: bigint;
545
+ accessList: viem0.AccessList;
546
+ blobVersionedHashes?: undefined | undefined;
547
+ authorizationList?: undefined | undefined;
548
+ hash: viem0.Hash;
549
+ r: viem0.Hex;
550
+ s: viem0.Hex;
551
+ v: bigint;
552
+ yParity: number;
553
+ typeHex: viem0.Hex | null;
554
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
555
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
556
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
557
+ } | {
558
+ chainId: number;
559
+ input: viem0.Hex;
560
+ type: "eip4844";
561
+ to: viem0.Address | null;
562
+ from: viem0.Address;
563
+ gas: bigint;
564
+ nonce: number;
565
+ value: bigint;
566
+ maxFeePerBlobGas: bigint;
567
+ gasPrice?: undefined | undefined;
568
+ maxFeePerGas: bigint;
569
+ maxPriorityFeePerGas: bigint;
570
+ accessList: viem0.AccessList;
571
+ blobVersionedHashes: readonly viem0.Hex[];
572
+ authorizationList?: undefined | undefined;
573
+ hash: viem0.Hash;
574
+ r: viem0.Hex;
575
+ s: viem0.Hex;
576
+ v: bigint;
577
+ yParity: number;
578
+ typeHex: viem0.Hex | null;
579
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
580
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
581
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
582
+ } | {
583
+ chainId: number;
584
+ input: viem0.Hex;
585
+ type: "eip7702";
586
+ to: viem0.Address | null;
587
+ from: viem0.Address;
588
+ gas: bigint;
589
+ nonce: number;
590
+ value: bigint;
591
+ maxFeePerBlobGas?: undefined | undefined;
592
+ gasPrice?: undefined | undefined;
593
+ maxFeePerGas: bigint;
594
+ maxPriorityFeePerGas: bigint;
595
+ accessList: viem0.AccessList;
596
+ blobVersionedHashes?: undefined | undefined;
597
+ authorizationList: viem0.SignedAuthorizationList;
598
+ hash: viem0.Hash;
599
+ r: viem0.Hex;
600
+ s: viem0.Hex;
601
+ v: bigint;
602
+ yParity: number;
603
+ typeHex: viem0.Hex | null;
604
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
605
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
606
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never;
607
+ })[] : `0x${string}`[];
608
+ }>;
609
+ getBlockNumber: (args?: viem0.GetBlockNumberParameters | undefined) => Promise<viem0.GetBlockNumberReturnType>;
610
+ getBlockTransactionCount: (args?: viem0.GetBlockTransactionCountParameters | undefined) => Promise<viem0.GetBlockTransactionCountReturnType>;
611
+ getBytecode: (args: viem0.GetBytecodeParameters) => Promise<viem0.GetBytecodeReturnType>;
612
+ getChainId: () => Promise<viem0.GetChainIdReturnType>;
613
+ getCode: (args: viem0.GetBytecodeParameters) => Promise<viem0.GetBytecodeReturnType>;
614
+ getContractEvents: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
615
+ getEip712Domain: (args: viem0.GetEip712DomainParameters) => Promise<viem0.GetEip712DomainReturnType>;
616
+ getEnsAddress: (args: viem0.GetEnsAddressParameters) => Promise<viem0.GetEnsAddressReturnType>;
617
+ getEnsAvatar: (args: viem0.GetEnsAvatarParameters) => Promise<viem0.GetEnsAvatarReturnType>;
618
+ getEnsName: (args: viem0.GetEnsNameParameters) => Promise<viem0.GetEnsNameReturnType>;
619
+ getEnsResolver: (args: viem0.GetEnsResolverParameters) => Promise<viem0.GetEnsResolverReturnType>;
620
+ getEnsText: (args: viem0.GetEnsTextParameters) => Promise<viem0.GetEnsTextReturnType>;
621
+ getFeeHistory: (args: viem0.GetFeeHistoryParameters) => Promise<viem0.GetFeeHistoryReturnType>;
622
+ estimateFeesPerGas: <chainOverride extends Chain | undefined = undefined, type extends viem0.FeeValuesType = "eip1559">(args?: viem0.EstimateFeesPerGasParameters<Chain, chainOverride, type> | undefined) => Promise<viem0.EstimateFeesPerGasReturnType<type>>;
623
+ getFilterChanges: <filterType extends viem0.FilterType, const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterChangesParameters<filterType, abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterChangesReturnType<filterType, abi, eventName, strict, fromBlock, toBlock>>;
624
+ getFilterLogs: <const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterLogsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterLogsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
625
+ getGasPrice: () => Promise<viem0.GetGasPriceReturnType>;
626
+ getLogs: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args?: viem0.GetLogsParameters<abiEvent, abiEvents, strict, fromBlock, toBlock> | undefined) => Promise<viem0.GetLogsReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock>>;
627
+ getProof: (args: viem0.GetProofParameters) => Promise<viem0.GetProofReturnType>;
628
+ estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: {
629
+ chain?: chainOverride | null | undefined;
630
+ } | undefined) => Promise<viem0.EstimateMaxPriorityFeePerGasReturnType>;
631
+ getStorageAt: (args: viem0.GetStorageAtParameters) => Promise<viem0.GetStorageAtReturnType>;
632
+ getTransaction: <blockTag extends viem0.BlockTag = "latest">(args: viem0.GetTransactionParameters<blockTag>) => Promise<{
633
+ chainId?: number | undefined;
634
+ input: viem0.Hex;
635
+ type: "legacy";
636
+ to: viem0.Address | null;
637
+ from: viem0.Address;
638
+ gas: bigint;
639
+ nonce: number;
640
+ value: bigint;
641
+ maxFeePerBlobGas?: undefined | undefined;
642
+ gasPrice: bigint;
643
+ maxFeePerGas?: undefined | undefined;
644
+ maxPriorityFeePerGas?: undefined | undefined;
645
+ accessList?: undefined | undefined;
646
+ blobVersionedHashes?: undefined | undefined;
647
+ authorizationList?: undefined | undefined;
648
+ hash: viem0.Hash;
649
+ r: viem0.Hex;
650
+ s: viem0.Hex;
651
+ v: bigint;
652
+ yParity?: undefined | undefined;
653
+ typeHex: viem0.Hex | null;
654
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
655
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
656
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
657
+ } | {
658
+ chainId: number;
659
+ input: viem0.Hex;
660
+ type: "eip2930";
661
+ to: viem0.Address | null;
662
+ from: viem0.Address;
663
+ gas: bigint;
664
+ nonce: number;
665
+ value: bigint;
666
+ maxFeePerBlobGas?: undefined | undefined;
667
+ gasPrice: bigint;
668
+ maxFeePerGas?: undefined | undefined;
669
+ maxPriorityFeePerGas?: undefined | undefined;
670
+ accessList: viem0.AccessList;
671
+ blobVersionedHashes?: undefined | undefined;
672
+ authorizationList?: undefined | undefined;
673
+ hash: viem0.Hash;
674
+ r: viem0.Hex;
675
+ s: viem0.Hex;
676
+ v: bigint;
677
+ yParity: number;
678
+ typeHex: viem0.Hex | null;
679
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
680
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
681
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
682
+ } | {
683
+ chainId: number;
684
+ input: viem0.Hex;
685
+ type: "eip1559";
686
+ to: viem0.Address | null;
687
+ from: viem0.Address;
688
+ gas: bigint;
689
+ nonce: number;
690
+ value: bigint;
691
+ maxFeePerBlobGas?: undefined | undefined;
692
+ gasPrice?: undefined | undefined;
693
+ maxFeePerGas: bigint;
694
+ maxPriorityFeePerGas: bigint;
695
+ accessList: viem0.AccessList;
696
+ blobVersionedHashes?: undefined | undefined;
697
+ authorizationList?: undefined | undefined;
698
+ hash: viem0.Hash;
699
+ r: viem0.Hex;
700
+ s: viem0.Hex;
701
+ v: bigint;
702
+ yParity: number;
703
+ typeHex: viem0.Hex | null;
704
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
705
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
706
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
707
+ } | {
708
+ chainId: number;
709
+ input: viem0.Hex;
710
+ type: "eip4844";
711
+ to: viem0.Address | null;
712
+ from: viem0.Address;
713
+ gas: bigint;
714
+ nonce: number;
715
+ value: bigint;
716
+ maxFeePerBlobGas: bigint;
717
+ gasPrice?: undefined | undefined;
718
+ maxFeePerGas: bigint;
719
+ maxPriorityFeePerGas: bigint;
720
+ accessList: viem0.AccessList;
721
+ blobVersionedHashes: readonly viem0.Hex[];
722
+ authorizationList?: undefined | undefined;
723
+ hash: viem0.Hash;
724
+ r: viem0.Hex;
725
+ s: viem0.Hex;
726
+ v: bigint;
727
+ yParity: number;
728
+ typeHex: viem0.Hex | null;
729
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
730
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
731
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
732
+ } | {
733
+ chainId: number;
734
+ input: viem0.Hex;
735
+ type: "eip7702";
736
+ to: viem0.Address | null;
737
+ from: viem0.Address;
738
+ gas: bigint;
739
+ nonce: number;
740
+ value: bigint;
741
+ maxFeePerBlobGas?: undefined | undefined;
742
+ gasPrice?: undefined | undefined;
743
+ maxFeePerGas: bigint;
744
+ maxPriorityFeePerGas: bigint;
745
+ accessList: viem0.AccessList;
746
+ blobVersionedHashes?: undefined | undefined;
747
+ authorizationList: viem0.SignedAuthorizationList;
748
+ hash: viem0.Hash;
749
+ r: viem0.Hex;
750
+ s: viem0.Hex;
751
+ v: bigint;
752
+ yParity: number;
753
+ typeHex: viem0.Hex | null;
754
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
755
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
756
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never;
757
+ }>;
758
+ getTransactionConfirmations: (args: viem0.GetTransactionConfirmationsParameters<Chain>) => Promise<viem0.GetTransactionConfirmationsReturnType>;
759
+ getTransactionCount: (args: viem0.GetTransactionCountParameters) => Promise<viem0.GetTransactionCountReturnType>;
760
+ getTransactionReceipt: (args: viem0.GetTransactionReceiptParameters) => Promise<viem0.TransactionReceipt>;
761
+ multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: viem0.MulticallParameters<contracts, allowFailure>) => Promise<viem0.MulticallReturnType<contracts, allowFailure>>;
762
+ prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain, viem0.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain, chainOverride> ? T_1 extends Chain ? {
763
+ chain: T_1;
764
+ } : {
765
+ chain?: undefined;
766
+ } : never : never) & (viem0.DeriveAccount<viem0.Account | undefined, accountOverride> extends infer T_2 ? T_2 extends viem0.DeriveAccount<viem0.Account | undefined, accountOverride> ? T_2 extends viem0.Account ? {
767
+ account: T_2;
768
+ from: viem0.Address;
769
+ } : {
770
+ account?: undefined;
771
+ from?: undefined;
772
+ } : never : never), viem0.IsNever<((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
773
+ accessList?: undefined | undefined;
774
+ authorizationList?: undefined | undefined;
775
+ blobs?: undefined | undefined;
776
+ blobVersionedHashes?: undefined | undefined;
777
+ gasPrice?: bigint | undefined;
778
+ sidecars?: undefined | undefined;
779
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
780
+ accessList?: viem0.AccessList | undefined;
781
+ authorizationList?: undefined | undefined;
782
+ blobs?: undefined | undefined;
783
+ blobVersionedHashes?: undefined | undefined;
784
+ gasPrice?: undefined | undefined;
785
+ maxFeePerBlobGas?: undefined | undefined;
786
+ maxFeePerGas?: bigint | undefined;
787
+ maxPriorityFeePerGas?: bigint | undefined;
788
+ sidecars?: undefined | undefined;
789
+ } & (viem0.OneOf<{
790
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
791
+ } | {
792
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
793
+ }, viem0.FeeValuesEIP1559> & {
794
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
795
+ }) ? "eip1559" : never) | (request extends {
796
+ accessList?: viem0.AccessList | undefined;
797
+ authorizationList?: undefined | undefined;
798
+ blobs?: undefined | undefined;
799
+ blobVersionedHashes?: undefined | undefined;
800
+ gasPrice?: bigint | undefined;
801
+ sidecars?: undefined | undefined;
802
+ maxFeePerBlobGas?: undefined | undefined;
803
+ maxFeePerGas?: undefined | undefined;
804
+ maxPriorityFeePerGas?: undefined | undefined;
805
+ } & {
806
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
807
+ } ? "eip2930" : never) | (request extends ({
808
+ accessList?: viem0.AccessList | undefined;
809
+ authorizationList?: undefined | undefined;
810
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
811
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
812
+ maxFeePerBlobGas?: bigint | undefined;
813
+ maxFeePerGas?: bigint | undefined;
814
+ maxPriorityFeePerGas?: bigint | undefined;
815
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
816
+ } | {
817
+ accessList?: viem0.AccessList | undefined;
818
+ authorizationList?: undefined | undefined;
819
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
820
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
821
+ maxFeePerBlobGas?: bigint | undefined;
822
+ maxFeePerGas?: bigint | undefined;
823
+ maxPriorityFeePerGas?: bigint | undefined;
824
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
825
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
826
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
827
+ } | {
828
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
829
+ } | {
830
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
831
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
832
+ accessList?: viem0.AccessList | undefined;
833
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
834
+ blobs?: undefined | undefined;
835
+ blobVersionedHashes?: undefined | undefined;
836
+ gasPrice?: undefined | undefined;
837
+ maxFeePerBlobGas?: undefined | undefined;
838
+ maxFeePerGas?: bigint | undefined;
839
+ maxPriorityFeePerGas?: bigint | undefined;
840
+ sidecars?: undefined | undefined;
841
+ } | {
842
+ accessList?: viem0.AccessList | undefined;
843
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
844
+ blobs?: undefined | undefined;
845
+ blobVersionedHashes?: undefined | undefined;
846
+ gasPrice?: undefined | undefined;
847
+ maxFeePerBlobGas?: undefined | undefined;
848
+ maxFeePerGas?: bigint | undefined;
849
+ maxPriorityFeePerGas?: bigint | undefined;
850
+ sidecars?: undefined | undefined;
851
+ }) & {
852
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
853
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
854
+ accessList?: undefined | undefined;
855
+ authorizationList?: undefined | undefined;
856
+ blobs?: undefined | undefined;
857
+ blobVersionedHashes?: undefined | undefined;
858
+ gasPrice?: bigint | undefined;
859
+ sidecars?: undefined | undefined;
860
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
861
+ accessList?: viem0.AccessList | undefined;
862
+ authorizationList?: undefined | undefined;
863
+ blobs?: undefined | undefined;
864
+ blobVersionedHashes?: undefined | undefined;
865
+ gasPrice?: undefined | undefined;
866
+ maxFeePerBlobGas?: undefined | undefined;
867
+ maxFeePerGas?: bigint | undefined;
868
+ maxPriorityFeePerGas?: bigint | undefined;
869
+ sidecars?: undefined | undefined;
870
+ } & (viem0.OneOf<{
871
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
872
+ } | {
873
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
874
+ }, viem0.FeeValuesEIP1559> & {
875
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
876
+ }) ? "eip1559" : never) | (request extends {
877
+ accessList?: viem0.AccessList | undefined;
878
+ authorizationList?: undefined | undefined;
879
+ blobs?: undefined | undefined;
880
+ blobVersionedHashes?: undefined | undefined;
881
+ gasPrice?: bigint | undefined;
882
+ sidecars?: undefined | undefined;
883
+ maxFeePerBlobGas?: undefined | undefined;
884
+ maxFeePerGas?: undefined | undefined;
885
+ maxPriorityFeePerGas?: undefined | undefined;
886
+ } & {
887
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
888
+ } ? "eip2930" : never) | (request extends ({
889
+ accessList?: viem0.AccessList | undefined;
890
+ authorizationList?: undefined | undefined;
891
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
892
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
893
+ maxFeePerBlobGas?: bigint | undefined;
894
+ maxFeePerGas?: bigint | undefined;
895
+ maxPriorityFeePerGas?: bigint | undefined;
896
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
897
+ } | {
898
+ accessList?: viem0.AccessList | undefined;
899
+ authorizationList?: undefined | undefined;
900
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
901
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
902
+ maxFeePerBlobGas?: bigint | undefined;
903
+ maxFeePerGas?: bigint | undefined;
904
+ maxPriorityFeePerGas?: bigint | undefined;
905
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
906
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
907
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
908
+ } | {
909
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
910
+ } | {
911
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
912
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
913
+ accessList?: viem0.AccessList | undefined;
914
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
915
+ blobs?: undefined | undefined;
916
+ blobVersionedHashes?: undefined | undefined;
917
+ gasPrice?: undefined | undefined;
918
+ maxFeePerBlobGas?: undefined | undefined;
919
+ maxFeePerGas?: bigint | undefined;
920
+ maxPriorityFeePerGas?: bigint | undefined;
921
+ sidecars?: undefined | undefined;
922
+ } | {
923
+ accessList?: viem0.AccessList | undefined;
924
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
925
+ blobs?: undefined | undefined;
926
+ blobVersionedHashes?: undefined | undefined;
927
+ gasPrice?: undefined | undefined;
928
+ maxFeePerBlobGas?: undefined | undefined;
929
+ maxFeePerGas?: bigint | undefined;
930
+ maxPriorityFeePerGas?: bigint | undefined;
931
+ sidecars?: undefined | undefined;
932
+ }) & {
933
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
934
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_3 ? T_3 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
935
+ accessList?: undefined | undefined;
936
+ authorizationList?: undefined | undefined;
937
+ blobs?: undefined | undefined;
938
+ blobVersionedHashes?: undefined | undefined;
939
+ gasPrice?: bigint | undefined;
940
+ sidecars?: undefined | undefined;
941
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
942
+ accessList?: viem0.AccessList | undefined;
943
+ authorizationList?: undefined | undefined;
944
+ blobs?: undefined | undefined;
945
+ blobVersionedHashes?: undefined | undefined;
946
+ gasPrice?: undefined | undefined;
947
+ maxFeePerBlobGas?: undefined | undefined;
948
+ maxFeePerGas?: bigint | undefined;
949
+ maxPriorityFeePerGas?: bigint | undefined;
950
+ sidecars?: undefined | undefined;
951
+ } & (viem0.OneOf<{
952
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
953
+ } | {
954
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
955
+ }, viem0.FeeValuesEIP1559> & {
956
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
957
+ }) ? "eip1559" : never) | (request extends {
958
+ accessList?: viem0.AccessList | undefined;
959
+ authorizationList?: undefined | undefined;
960
+ blobs?: undefined | undefined;
961
+ blobVersionedHashes?: undefined | undefined;
962
+ gasPrice?: bigint | undefined;
963
+ sidecars?: undefined | undefined;
964
+ maxFeePerBlobGas?: undefined | undefined;
965
+ maxFeePerGas?: undefined | undefined;
966
+ maxPriorityFeePerGas?: undefined | undefined;
967
+ } & {
968
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
969
+ } ? "eip2930" : never) | (request extends ({
970
+ accessList?: viem0.AccessList | undefined;
971
+ authorizationList?: undefined | undefined;
972
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
973
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
974
+ maxFeePerBlobGas?: bigint | undefined;
975
+ maxFeePerGas?: bigint | undefined;
976
+ maxPriorityFeePerGas?: bigint | undefined;
977
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
978
+ } | {
979
+ accessList?: viem0.AccessList | undefined;
980
+ authorizationList?: undefined | undefined;
981
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
982
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
983
+ maxFeePerBlobGas?: bigint | undefined;
984
+ maxFeePerGas?: bigint | undefined;
985
+ maxPriorityFeePerGas?: bigint | undefined;
986
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
987
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
988
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
989
+ } | {
990
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
991
+ } | {
992
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
993
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
994
+ accessList?: viem0.AccessList | undefined;
995
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
996
+ blobs?: undefined | undefined;
997
+ blobVersionedHashes?: undefined | undefined;
998
+ gasPrice?: undefined | undefined;
999
+ maxFeePerBlobGas?: undefined | undefined;
1000
+ maxFeePerGas?: bigint | undefined;
1001
+ maxPriorityFeePerGas?: bigint | undefined;
1002
+ sidecars?: undefined | undefined;
1003
+ } | {
1004
+ accessList?: viem0.AccessList | undefined;
1005
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1006
+ blobs?: undefined | undefined;
1007
+ blobVersionedHashes?: undefined | undefined;
1008
+ gasPrice?: undefined | undefined;
1009
+ maxFeePerBlobGas?: undefined | undefined;
1010
+ maxFeePerGas?: bigint | undefined;
1011
+ maxPriorityFeePerGas?: bigint | undefined;
1012
+ sidecars?: undefined | undefined;
1013
+ }) & {
1014
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1015
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1016
+ accessList?: undefined | undefined;
1017
+ authorizationList?: undefined | undefined;
1018
+ blobs?: undefined | undefined;
1019
+ blobVersionedHashes?: undefined | undefined;
1020
+ gasPrice?: bigint | undefined;
1021
+ sidecars?: undefined | undefined;
1022
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1023
+ accessList?: viem0.AccessList | undefined;
1024
+ authorizationList?: undefined | undefined;
1025
+ blobs?: undefined | undefined;
1026
+ blobVersionedHashes?: undefined | undefined;
1027
+ gasPrice?: undefined | undefined;
1028
+ maxFeePerBlobGas?: undefined | undefined;
1029
+ maxFeePerGas?: bigint | undefined;
1030
+ maxPriorityFeePerGas?: bigint | undefined;
1031
+ sidecars?: undefined | undefined;
1032
+ } & (viem0.OneOf<{
1033
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1034
+ } | {
1035
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1036
+ }, viem0.FeeValuesEIP1559> & {
1037
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1038
+ }) ? "eip1559" : never) | (request extends {
1039
+ accessList?: viem0.AccessList | undefined;
1040
+ authorizationList?: undefined | undefined;
1041
+ blobs?: undefined | undefined;
1042
+ blobVersionedHashes?: undefined | undefined;
1043
+ gasPrice?: bigint | undefined;
1044
+ sidecars?: undefined | undefined;
1045
+ maxFeePerBlobGas?: undefined | undefined;
1046
+ maxFeePerGas?: undefined | undefined;
1047
+ maxPriorityFeePerGas?: undefined | undefined;
1048
+ } & {
1049
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1050
+ } ? "eip2930" : never) | (request extends ({
1051
+ accessList?: viem0.AccessList | undefined;
1052
+ authorizationList?: undefined | undefined;
1053
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1054
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1055
+ maxFeePerBlobGas?: bigint | undefined;
1056
+ maxFeePerGas?: bigint | undefined;
1057
+ maxPriorityFeePerGas?: bigint | undefined;
1058
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1059
+ } | {
1060
+ accessList?: viem0.AccessList | undefined;
1061
+ authorizationList?: undefined | undefined;
1062
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1063
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1064
+ maxFeePerBlobGas?: bigint | undefined;
1065
+ maxFeePerGas?: bigint | undefined;
1066
+ maxPriorityFeePerGas?: bigint | undefined;
1067
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1068
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1069
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1070
+ } | {
1071
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1072
+ } | {
1073
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1074
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1075
+ accessList?: viem0.AccessList | undefined;
1076
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1077
+ blobs?: undefined | undefined;
1078
+ blobVersionedHashes?: undefined | undefined;
1079
+ gasPrice?: undefined | undefined;
1080
+ maxFeePerBlobGas?: undefined | undefined;
1081
+ maxFeePerGas?: bigint | undefined;
1082
+ maxPriorityFeePerGas?: bigint | undefined;
1083
+ sidecars?: undefined | undefined;
1084
+ } | {
1085
+ accessList?: viem0.AccessList | undefined;
1086
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1087
+ blobs?: undefined | undefined;
1088
+ blobVersionedHashes?: undefined | undefined;
1089
+ gasPrice?: undefined | undefined;
1090
+ maxFeePerBlobGas?: undefined | undefined;
1091
+ maxFeePerGas?: bigint | undefined;
1092
+ maxPriorityFeePerGas?: bigint | undefined;
1093
+ sidecars?: undefined | undefined;
1094
+ }) & {
1095
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1096
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_3 extends "legacy" ? viem0.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1097
+ accessList?: undefined | undefined;
1098
+ authorizationList?: undefined | undefined;
1099
+ blobs?: undefined | undefined;
1100
+ blobVersionedHashes?: undefined | undefined;
1101
+ gasPrice?: bigint | undefined;
1102
+ sidecars?: undefined | undefined;
1103
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1104
+ accessList?: viem0.AccessList | undefined;
1105
+ authorizationList?: undefined | undefined;
1106
+ blobs?: undefined | undefined;
1107
+ blobVersionedHashes?: undefined | undefined;
1108
+ gasPrice?: undefined | undefined;
1109
+ maxFeePerBlobGas?: undefined | undefined;
1110
+ maxFeePerGas?: bigint | undefined;
1111
+ maxPriorityFeePerGas?: bigint | undefined;
1112
+ sidecars?: undefined | undefined;
1113
+ } & (viem0.OneOf<{
1114
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1115
+ } | {
1116
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1117
+ }, viem0.FeeValuesEIP1559> & {
1118
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1119
+ }) ? "eip1559" : never) | (request extends {
1120
+ accessList?: viem0.AccessList | undefined;
1121
+ authorizationList?: undefined | undefined;
1122
+ blobs?: undefined | undefined;
1123
+ blobVersionedHashes?: undefined | undefined;
1124
+ gasPrice?: bigint | undefined;
1125
+ sidecars?: undefined | undefined;
1126
+ maxFeePerBlobGas?: undefined | undefined;
1127
+ maxFeePerGas?: undefined | undefined;
1128
+ maxPriorityFeePerGas?: undefined | undefined;
1129
+ } & {
1130
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1131
+ } ? "eip2930" : never) | (request extends ({
1132
+ accessList?: viem0.AccessList | undefined;
1133
+ authorizationList?: undefined | undefined;
1134
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1135
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1136
+ maxFeePerBlobGas?: bigint | undefined;
1137
+ maxFeePerGas?: bigint | undefined;
1138
+ maxPriorityFeePerGas?: bigint | undefined;
1139
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1140
+ } | {
1141
+ accessList?: viem0.AccessList | undefined;
1142
+ authorizationList?: undefined | undefined;
1143
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1144
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1145
+ maxFeePerBlobGas?: bigint | undefined;
1146
+ maxFeePerGas?: bigint | undefined;
1147
+ maxPriorityFeePerGas?: bigint | undefined;
1148
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1149
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1150
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1151
+ } | {
1152
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1153
+ } | {
1154
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1155
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1156
+ accessList?: viem0.AccessList | undefined;
1157
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1158
+ blobs?: undefined | undefined;
1159
+ blobVersionedHashes?: undefined | undefined;
1160
+ gasPrice?: undefined | undefined;
1161
+ maxFeePerBlobGas?: undefined | undefined;
1162
+ maxFeePerGas?: bigint | undefined;
1163
+ maxPriorityFeePerGas?: bigint | undefined;
1164
+ sidecars?: undefined | undefined;
1165
+ } | {
1166
+ accessList?: viem0.AccessList | undefined;
1167
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1168
+ blobs?: undefined | undefined;
1169
+ blobVersionedHashes?: undefined | undefined;
1170
+ gasPrice?: undefined | undefined;
1171
+ maxFeePerBlobGas?: undefined | undefined;
1172
+ maxFeePerGas?: bigint | undefined;
1173
+ maxPriorityFeePerGas?: bigint | undefined;
1174
+ sidecars?: undefined | undefined;
1175
+ }) & {
1176
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1177
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1178
+ accessList?: undefined | undefined;
1179
+ authorizationList?: undefined | undefined;
1180
+ blobs?: undefined | undefined;
1181
+ blobVersionedHashes?: undefined | undefined;
1182
+ gasPrice?: bigint | undefined;
1183
+ sidecars?: undefined | undefined;
1184
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1185
+ accessList?: viem0.AccessList | undefined;
1186
+ authorizationList?: undefined | undefined;
1187
+ blobs?: undefined | undefined;
1188
+ blobVersionedHashes?: undefined | undefined;
1189
+ gasPrice?: undefined | undefined;
1190
+ maxFeePerBlobGas?: undefined | undefined;
1191
+ maxFeePerGas?: bigint | undefined;
1192
+ maxPriorityFeePerGas?: bigint | undefined;
1193
+ sidecars?: undefined | undefined;
1194
+ } & (viem0.OneOf<{
1195
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1196
+ } | {
1197
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1198
+ }, viem0.FeeValuesEIP1559> & {
1199
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1200
+ }) ? "eip1559" : never) | (request extends {
1201
+ accessList?: viem0.AccessList | undefined;
1202
+ authorizationList?: undefined | undefined;
1203
+ blobs?: undefined | undefined;
1204
+ blobVersionedHashes?: undefined | undefined;
1205
+ gasPrice?: bigint | undefined;
1206
+ sidecars?: undefined | undefined;
1207
+ maxFeePerBlobGas?: undefined | undefined;
1208
+ maxFeePerGas?: undefined | undefined;
1209
+ maxPriorityFeePerGas?: undefined | undefined;
1210
+ } & {
1211
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1212
+ } ? "eip2930" : never) | (request extends ({
1213
+ accessList?: viem0.AccessList | undefined;
1214
+ authorizationList?: undefined | undefined;
1215
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1216
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1217
+ maxFeePerBlobGas?: bigint | undefined;
1218
+ maxFeePerGas?: bigint | undefined;
1219
+ maxPriorityFeePerGas?: bigint | undefined;
1220
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1221
+ } | {
1222
+ accessList?: viem0.AccessList | undefined;
1223
+ authorizationList?: undefined | undefined;
1224
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1225
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1226
+ maxFeePerBlobGas?: bigint | undefined;
1227
+ maxFeePerGas?: bigint | undefined;
1228
+ maxPriorityFeePerGas?: bigint | undefined;
1229
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1230
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1231
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1232
+ } | {
1233
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1234
+ } | {
1235
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1236
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1237
+ accessList?: viem0.AccessList | undefined;
1238
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1239
+ blobs?: undefined | undefined;
1240
+ blobVersionedHashes?: undefined | undefined;
1241
+ gasPrice?: undefined | undefined;
1242
+ maxFeePerBlobGas?: undefined | undefined;
1243
+ maxFeePerGas?: bigint | undefined;
1244
+ maxPriorityFeePerGas?: bigint | undefined;
1245
+ sidecars?: undefined | undefined;
1246
+ } | {
1247
+ accessList?: viem0.AccessList | undefined;
1248
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1249
+ blobs?: undefined | undefined;
1250
+ blobVersionedHashes?: undefined | undefined;
1251
+ gasPrice?: undefined | undefined;
1252
+ maxFeePerBlobGas?: undefined | undefined;
1253
+ maxFeePerGas?: bigint | undefined;
1254
+ maxPriorityFeePerGas?: bigint | undefined;
1255
+ sidecars?: undefined | undefined;
1256
+ }) & {
1257
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1258
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_4 ? T_4 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1259
+ accessList?: undefined | undefined;
1260
+ authorizationList?: undefined | undefined;
1261
+ blobs?: undefined | undefined;
1262
+ blobVersionedHashes?: undefined | undefined;
1263
+ gasPrice?: bigint | undefined;
1264
+ sidecars?: undefined | undefined;
1265
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1266
+ accessList?: viem0.AccessList | undefined;
1267
+ authorizationList?: undefined | undefined;
1268
+ blobs?: undefined | undefined;
1269
+ blobVersionedHashes?: undefined | undefined;
1270
+ gasPrice?: undefined | undefined;
1271
+ maxFeePerBlobGas?: undefined | undefined;
1272
+ maxFeePerGas?: bigint | undefined;
1273
+ maxPriorityFeePerGas?: bigint | undefined;
1274
+ sidecars?: undefined | undefined;
1275
+ } & (viem0.OneOf<{
1276
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1277
+ } | {
1278
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1279
+ }, viem0.FeeValuesEIP1559> & {
1280
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1281
+ }) ? "eip1559" : never) | (request extends {
1282
+ accessList?: viem0.AccessList | undefined;
1283
+ authorizationList?: undefined | undefined;
1284
+ blobs?: undefined | undefined;
1285
+ blobVersionedHashes?: undefined | undefined;
1286
+ gasPrice?: bigint | undefined;
1287
+ sidecars?: undefined | undefined;
1288
+ maxFeePerBlobGas?: undefined | undefined;
1289
+ maxFeePerGas?: undefined | undefined;
1290
+ maxPriorityFeePerGas?: undefined | undefined;
1291
+ } & {
1292
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1293
+ } ? "eip2930" : never) | (request extends ({
1294
+ accessList?: viem0.AccessList | undefined;
1295
+ authorizationList?: undefined | undefined;
1296
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1297
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1298
+ maxFeePerBlobGas?: bigint | undefined;
1299
+ maxFeePerGas?: bigint | undefined;
1300
+ maxPriorityFeePerGas?: bigint | undefined;
1301
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1302
+ } | {
1303
+ accessList?: viem0.AccessList | undefined;
1304
+ authorizationList?: undefined | undefined;
1305
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1306
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1307
+ maxFeePerBlobGas?: bigint | undefined;
1308
+ maxFeePerGas?: bigint | undefined;
1309
+ maxPriorityFeePerGas?: bigint | undefined;
1310
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1311
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1312
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1313
+ } | {
1314
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1315
+ } | {
1316
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1317
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1318
+ accessList?: viem0.AccessList | undefined;
1319
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1320
+ blobs?: undefined | undefined;
1321
+ blobVersionedHashes?: undefined | undefined;
1322
+ gasPrice?: undefined | undefined;
1323
+ maxFeePerBlobGas?: undefined | undefined;
1324
+ maxFeePerGas?: bigint | undefined;
1325
+ maxPriorityFeePerGas?: bigint | undefined;
1326
+ sidecars?: undefined | undefined;
1327
+ } | {
1328
+ accessList?: viem0.AccessList | undefined;
1329
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1330
+ blobs?: undefined | undefined;
1331
+ blobVersionedHashes?: undefined | undefined;
1332
+ gasPrice?: undefined | undefined;
1333
+ maxFeePerBlobGas?: undefined | undefined;
1334
+ maxFeePerGas?: bigint | undefined;
1335
+ maxPriorityFeePerGas?: bigint | undefined;
1336
+ sidecars?: undefined | undefined;
1337
+ }) & {
1338
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1339
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1340
+ accessList?: undefined | undefined;
1341
+ authorizationList?: undefined | undefined;
1342
+ blobs?: undefined | undefined;
1343
+ blobVersionedHashes?: undefined | undefined;
1344
+ gasPrice?: bigint | undefined;
1345
+ sidecars?: undefined | undefined;
1346
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1347
+ accessList?: viem0.AccessList | undefined;
1348
+ authorizationList?: undefined | undefined;
1349
+ blobs?: undefined | undefined;
1350
+ blobVersionedHashes?: undefined | undefined;
1351
+ gasPrice?: undefined | undefined;
1352
+ maxFeePerBlobGas?: undefined | undefined;
1353
+ maxFeePerGas?: bigint | undefined;
1354
+ maxPriorityFeePerGas?: bigint | undefined;
1355
+ sidecars?: undefined | undefined;
1356
+ } & (viem0.OneOf<{
1357
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1358
+ } | {
1359
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1360
+ }, viem0.FeeValuesEIP1559> & {
1361
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1362
+ }) ? "eip1559" : never) | (request extends {
1363
+ accessList?: viem0.AccessList | undefined;
1364
+ authorizationList?: undefined | undefined;
1365
+ blobs?: undefined | undefined;
1366
+ blobVersionedHashes?: undefined | undefined;
1367
+ gasPrice?: bigint | undefined;
1368
+ sidecars?: undefined | undefined;
1369
+ maxFeePerBlobGas?: undefined | undefined;
1370
+ maxFeePerGas?: undefined | undefined;
1371
+ maxPriorityFeePerGas?: undefined | undefined;
1372
+ } & {
1373
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1374
+ } ? "eip2930" : never) | (request extends ({
1375
+ accessList?: viem0.AccessList | undefined;
1376
+ authorizationList?: undefined | undefined;
1377
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1378
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1379
+ maxFeePerBlobGas?: bigint | undefined;
1380
+ maxFeePerGas?: bigint | undefined;
1381
+ maxPriorityFeePerGas?: bigint | undefined;
1382
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1383
+ } | {
1384
+ accessList?: viem0.AccessList | undefined;
1385
+ authorizationList?: undefined | undefined;
1386
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1387
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1388
+ maxFeePerBlobGas?: bigint | undefined;
1389
+ maxFeePerGas?: bigint | undefined;
1390
+ maxPriorityFeePerGas?: bigint | undefined;
1391
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1392
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1393
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1394
+ } | {
1395
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1396
+ } | {
1397
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1398
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1399
+ accessList?: viem0.AccessList | undefined;
1400
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1401
+ blobs?: undefined | undefined;
1402
+ blobVersionedHashes?: undefined | undefined;
1403
+ gasPrice?: undefined | undefined;
1404
+ maxFeePerBlobGas?: undefined | undefined;
1405
+ maxFeePerGas?: bigint | undefined;
1406
+ maxPriorityFeePerGas?: bigint | undefined;
1407
+ sidecars?: undefined | undefined;
1408
+ } | {
1409
+ accessList?: viem0.AccessList | undefined;
1410
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1411
+ blobs?: undefined | undefined;
1412
+ blobVersionedHashes?: undefined | undefined;
1413
+ gasPrice?: undefined | undefined;
1414
+ maxFeePerBlobGas?: undefined | undefined;
1415
+ maxFeePerGas?: bigint | undefined;
1416
+ maxPriorityFeePerGas?: bigint | undefined;
1417
+ sidecars?: undefined | undefined;
1418
+ }) & {
1419
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1420
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_4 extends "eip1559" ? viem0.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1421
+ accessList?: undefined | undefined;
1422
+ authorizationList?: undefined | undefined;
1423
+ blobs?: undefined | undefined;
1424
+ blobVersionedHashes?: undefined | undefined;
1425
+ gasPrice?: bigint | undefined;
1426
+ sidecars?: undefined | undefined;
1427
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1428
+ accessList?: viem0.AccessList | undefined;
1429
+ authorizationList?: undefined | undefined;
1430
+ blobs?: undefined | undefined;
1431
+ blobVersionedHashes?: undefined | undefined;
1432
+ gasPrice?: undefined | undefined;
1433
+ maxFeePerBlobGas?: undefined | undefined;
1434
+ maxFeePerGas?: bigint | undefined;
1435
+ maxPriorityFeePerGas?: bigint | undefined;
1436
+ sidecars?: undefined | undefined;
1437
+ } & (viem0.OneOf<{
1438
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1439
+ } | {
1440
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1441
+ }, viem0.FeeValuesEIP1559> & {
1442
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1443
+ }) ? "eip1559" : never) | (request extends {
1444
+ accessList?: viem0.AccessList | undefined;
1445
+ authorizationList?: undefined | undefined;
1446
+ blobs?: undefined | undefined;
1447
+ blobVersionedHashes?: undefined | undefined;
1448
+ gasPrice?: bigint | undefined;
1449
+ sidecars?: undefined | undefined;
1450
+ maxFeePerBlobGas?: undefined | undefined;
1451
+ maxFeePerGas?: undefined | undefined;
1452
+ maxPriorityFeePerGas?: undefined | undefined;
1453
+ } & {
1454
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1455
+ } ? "eip2930" : never) | (request extends ({
1456
+ accessList?: viem0.AccessList | undefined;
1457
+ authorizationList?: undefined | undefined;
1458
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1459
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1460
+ maxFeePerBlobGas?: bigint | undefined;
1461
+ maxFeePerGas?: bigint | undefined;
1462
+ maxPriorityFeePerGas?: bigint | undefined;
1463
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1464
+ } | {
1465
+ accessList?: viem0.AccessList | undefined;
1466
+ authorizationList?: undefined | undefined;
1467
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1468
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1469
+ maxFeePerBlobGas?: bigint | undefined;
1470
+ maxFeePerGas?: bigint | undefined;
1471
+ maxPriorityFeePerGas?: bigint | undefined;
1472
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1473
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1474
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1475
+ } | {
1476
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1477
+ } | {
1478
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1479
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1480
+ accessList?: viem0.AccessList | undefined;
1481
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1482
+ blobs?: undefined | undefined;
1483
+ blobVersionedHashes?: undefined | undefined;
1484
+ gasPrice?: undefined | undefined;
1485
+ maxFeePerBlobGas?: undefined | undefined;
1486
+ maxFeePerGas?: bigint | undefined;
1487
+ maxPriorityFeePerGas?: bigint | undefined;
1488
+ sidecars?: undefined | undefined;
1489
+ } | {
1490
+ accessList?: viem0.AccessList | undefined;
1491
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1492
+ blobs?: undefined | undefined;
1493
+ blobVersionedHashes?: undefined | undefined;
1494
+ gasPrice?: undefined | undefined;
1495
+ maxFeePerBlobGas?: undefined | undefined;
1496
+ maxFeePerGas?: bigint | undefined;
1497
+ maxPriorityFeePerGas?: bigint | undefined;
1498
+ sidecars?: undefined | undefined;
1499
+ }) & {
1500
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1501
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1502
+ accessList?: undefined | undefined;
1503
+ authorizationList?: undefined | undefined;
1504
+ blobs?: undefined | undefined;
1505
+ blobVersionedHashes?: undefined | undefined;
1506
+ gasPrice?: bigint | undefined;
1507
+ sidecars?: undefined | undefined;
1508
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1509
+ accessList?: viem0.AccessList | undefined;
1510
+ authorizationList?: undefined | undefined;
1511
+ blobs?: undefined | undefined;
1512
+ blobVersionedHashes?: undefined | undefined;
1513
+ gasPrice?: undefined | undefined;
1514
+ maxFeePerBlobGas?: undefined | undefined;
1515
+ maxFeePerGas?: bigint | undefined;
1516
+ maxPriorityFeePerGas?: bigint | undefined;
1517
+ sidecars?: undefined | undefined;
1518
+ } & (viem0.OneOf<{
1519
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1520
+ } | {
1521
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1522
+ }, viem0.FeeValuesEIP1559> & {
1523
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1524
+ }) ? "eip1559" : never) | (request extends {
1525
+ accessList?: viem0.AccessList | undefined;
1526
+ authorizationList?: undefined | undefined;
1527
+ blobs?: undefined | undefined;
1528
+ blobVersionedHashes?: undefined | undefined;
1529
+ gasPrice?: bigint | undefined;
1530
+ sidecars?: undefined | undefined;
1531
+ maxFeePerBlobGas?: undefined | undefined;
1532
+ maxFeePerGas?: undefined | undefined;
1533
+ maxPriorityFeePerGas?: undefined | undefined;
1534
+ } & {
1535
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1536
+ } ? "eip2930" : never) | (request extends ({
1537
+ accessList?: viem0.AccessList | undefined;
1538
+ authorizationList?: undefined | undefined;
1539
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1540
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1541
+ maxFeePerBlobGas?: bigint | undefined;
1542
+ maxFeePerGas?: bigint | undefined;
1543
+ maxPriorityFeePerGas?: bigint | undefined;
1544
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1545
+ } | {
1546
+ accessList?: viem0.AccessList | undefined;
1547
+ authorizationList?: undefined | undefined;
1548
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1549
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1550
+ maxFeePerBlobGas?: bigint | undefined;
1551
+ maxFeePerGas?: bigint | undefined;
1552
+ maxPriorityFeePerGas?: bigint | undefined;
1553
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1554
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1555
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1556
+ } | {
1557
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1558
+ } | {
1559
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1560
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1561
+ accessList?: viem0.AccessList | undefined;
1562
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1563
+ blobs?: undefined | undefined;
1564
+ blobVersionedHashes?: undefined | undefined;
1565
+ gasPrice?: undefined | undefined;
1566
+ maxFeePerBlobGas?: undefined | undefined;
1567
+ maxFeePerGas?: bigint | undefined;
1568
+ maxPriorityFeePerGas?: bigint | undefined;
1569
+ sidecars?: undefined | undefined;
1570
+ } | {
1571
+ accessList?: viem0.AccessList | undefined;
1572
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1573
+ blobs?: undefined | undefined;
1574
+ blobVersionedHashes?: undefined | undefined;
1575
+ gasPrice?: undefined | undefined;
1576
+ maxFeePerBlobGas?: undefined | undefined;
1577
+ maxFeePerGas?: bigint | undefined;
1578
+ maxPriorityFeePerGas?: bigint | undefined;
1579
+ sidecars?: undefined | undefined;
1580
+ }) & {
1581
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1582
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_5 ? T_5 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1583
+ accessList?: undefined | undefined;
1584
+ authorizationList?: undefined | undefined;
1585
+ blobs?: undefined | undefined;
1586
+ blobVersionedHashes?: undefined | undefined;
1587
+ gasPrice?: bigint | undefined;
1588
+ sidecars?: undefined | undefined;
1589
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1590
+ accessList?: viem0.AccessList | undefined;
1591
+ authorizationList?: undefined | undefined;
1592
+ blobs?: undefined | undefined;
1593
+ blobVersionedHashes?: undefined | undefined;
1594
+ gasPrice?: undefined | undefined;
1595
+ maxFeePerBlobGas?: undefined | undefined;
1596
+ maxFeePerGas?: bigint | undefined;
1597
+ maxPriorityFeePerGas?: bigint | undefined;
1598
+ sidecars?: undefined | undefined;
1599
+ } & (viem0.OneOf<{
1600
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1601
+ } | {
1602
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1603
+ }, viem0.FeeValuesEIP1559> & {
1604
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1605
+ }) ? "eip1559" : never) | (request extends {
1606
+ accessList?: viem0.AccessList | undefined;
1607
+ authorizationList?: undefined | undefined;
1608
+ blobs?: undefined | undefined;
1609
+ blobVersionedHashes?: undefined | undefined;
1610
+ gasPrice?: bigint | undefined;
1611
+ sidecars?: undefined | undefined;
1612
+ maxFeePerBlobGas?: undefined | undefined;
1613
+ maxFeePerGas?: undefined | undefined;
1614
+ maxPriorityFeePerGas?: undefined | undefined;
1615
+ } & {
1616
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1617
+ } ? "eip2930" : never) | (request extends ({
1618
+ accessList?: viem0.AccessList | undefined;
1619
+ authorizationList?: undefined | undefined;
1620
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1621
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1622
+ maxFeePerBlobGas?: bigint | undefined;
1623
+ maxFeePerGas?: bigint | undefined;
1624
+ maxPriorityFeePerGas?: bigint | undefined;
1625
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1626
+ } | {
1627
+ accessList?: viem0.AccessList | undefined;
1628
+ authorizationList?: undefined | undefined;
1629
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1630
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1631
+ maxFeePerBlobGas?: bigint | undefined;
1632
+ maxFeePerGas?: bigint | undefined;
1633
+ maxPriorityFeePerGas?: bigint | undefined;
1634
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1635
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1636
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1637
+ } | {
1638
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1639
+ } | {
1640
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1641
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1642
+ accessList?: viem0.AccessList | undefined;
1643
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1644
+ blobs?: undefined | undefined;
1645
+ blobVersionedHashes?: undefined | undefined;
1646
+ gasPrice?: undefined | undefined;
1647
+ maxFeePerBlobGas?: undefined | undefined;
1648
+ maxFeePerGas?: bigint | undefined;
1649
+ maxPriorityFeePerGas?: bigint | undefined;
1650
+ sidecars?: undefined | undefined;
1651
+ } | {
1652
+ accessList?: viem0.AccessList | undefined;
1653
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1654
+ blobs?: undefined | undefined;
1655
+ blobVersionedHashes?: undefined | undefined;
1656
+ gasPrice?: undefined | undefined;
1657
+ maxFeePerBlobGas?: undefined | undefined;
1658
+ maxFeePerGas?: bigint | undefined;
1659
+ maxPriorityFeePerGas?: bigint | undefined;
1660
+ sidecars?: undefined | undefined;
1661
+ }) & {
1662
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1663
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1664
+ accessList?: undefined | undefined;
1665
+ authorizationList?: undefined | undefined;
1666
+ blobs?: undefined | undefined;
1667
+ blobVersionedHashes?: undefined | undefined;
1668
+ gasPrice?: bigint | undefined;
1669
+ sidecars?: undefined | undefined;
1670
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1671
+ accessList?: viem0.AccessList | undefined;
1672
+ authorizationList?: undefined | undefined;
1673
+ blobs?: undefined | undefined;
1674
+ blobVersionedHashes?: undefined | undefined;
1675
+ gasPrice?: undefined | undefined;
1676
+ maxFeePerBlobGas?: undefined | undefined;
1677
+ maxFeePerGas?: bigint | undefined;
1678
+ maxPriorityFeePerGas?: bigint | undefined;
1679
+ sidecars?: undefined | undefined;
1680
+ } & (viem0.OneOf<{
1681
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1682
+ } | {
1683
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1684
+ }, viem0.FeeValuesEIP1559> & {
1685
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1686
+ }) ? "eip1559" : never) | (request extends {
1687
+ accessList?: viem0.AccessList | undefined;
1688
+ authorizationList?: undefined | undefined;
1689
+ blobs?: undefined | undefined;
1690
+ blobVersionedHashes?: undefined | undefined;
1691
+ gasPrice?: bigint | undefined;
1692
+ sidecars?: undefined | undefined;
1693
+ maxFeePerBlobGas?: undefined | undefined;
1694
+ maxFeePerGas?: undefined | undefined;
1695
+ maxPriorityFeePerGas?: undefined | undefined;
1696
+ } & {
1697
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1698
+ } ? "eip2930" : never) | (request extends ({
1699
+ accessList?: viem0.AccessList | undefined;
1700
+ authorizationList?: undefined | undefined;
1701
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1702
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1703
+ maxFeePerBlobGas?: bigint | undefined;
1704
+ maxFeePerGas?: bigint | undefined;
1705
+ maxPriorityFeePerGas?: bigint | undefined;
1706
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1707
+ } | {
1708
+ accessList?: viem0.AccessList | undefined;
1709
+ authorizationList?: undefined | undefined;
1710
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1711
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1712
+ maxFeePerBlobGas?: bigint | undefined;
1713
+ maxFeePerGas?: bigint | undefined;
1714
+ maxPriorityFeePerGas?: bigint | undefined;
1715
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1716
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1717
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1718
+ } | {
1719
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1720
+ } | {
1721
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1722
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1723
+ accessList?: viem0.AccessList | undefined;
1724
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1725
+ blobs?: undefined | undefined;
1726
+ blobVersionedHashes?: undefined | undefined;
1727
+ gasPrice?: undefined | undefined;
1728
+ maxFeePerBlobGas?: undefined | undefined;
1729
+ maxFeePerGas?: bigint | undefined;
1730
+ maxPriorityFeePerGas?: bigint | undefined;
1731
+ sidecars?: undefined | undefined;
1732
+ } | {
1733
+ accessList?: viem0.AccessList | undefined;
1734
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1735
+ blobs?: undefined | undefined;
1736
+ blobVersionedHashes?: undefined | undefined;
1737
+ gasPrice?: undefined | undefined;
1738
+ maxFeePerBlobGas?: undefined | undefined;
1739
+ maxFeePerGas?: bigint | undefined;
1740
+ maxPriorityFeePerGas?: bigint | undefined;
1741
+ sidecars?: undefined | undefined;
1742
+ }) & {
1743
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1744
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_5 extends "eip2930" ? viem0.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1745
+ accessList?: undefined | undefined;
1746
+ authorizationList?: undefined | undefined;
1747
+ blobs?: undefined | undefined;
1748
+ blobVersionedHashes?: undefined | undefined;
1749
+ gasPrice?: bigint | undefined;
1750
+ sidecars?: undefined | undefined;
1751
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1752
+ accessList?: viem0.AccessList | undefined;
1753
+ authorizationList?: undefined | undefined;
1754
+ blobs?: undefined | undefined;
1755
+ blobVersionedHashes?: undefined | undefined;
1756
+ gasPrice?: undefined | undefined;
1757
+ maxFeePerBlobGas?: undefined | undefined;
1758
+ maxFeePerGas?: bigint | undefined;
1759
+ maxPriorityFeePerGas?: bigint | undefined;
1760
+ sidecars?: undefined | undefined;
1761
+ } & (viem0.OneOf<{
1762
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1763
+ } | {
1764
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1765
+ }, viem0.FeeValuesEIP1559> & {
1766
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1767
+ }) ? "eip1559" : never) | (request extends {
1768
+ accessList?: viem0.AccessList | undefined;
1769
+ authorizationList?: undefined | undefined;
1770
+ blobs?: undefined | undefined;
1771
+ blobVersionedHashes?: undefined | undefined;
1772
+ gasPrice?: bigint | undefined;
1773
+ sidecars?: undefined | undefined;
1774
+ maxFeePerBlobGas?: undefined | undefined;
1775
+ maxFeePerGas?: undefined | undefined;
1776
+ maxPriorityFeePerGas?: undefined | undefined;
1777
+ } & {
1778
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1779
+ } ? "eip2930" : never) | (request extends ({
1780
+ accessList?: viem0.AccessList | undefined;
1781
+ authorizationList?: undefined | undefined;
1782
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1783
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1784
+ maxFeePerBlobGas?: bigint | undefined;
1785
+ maxFeePerGas?: bigint | undefined;
1786
+ maxPriorityFeePerGas?: bigint | undefined;
1787
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1788
+ } | {
1789
+ accessList?: viem0.AccessList | undefined;
1790
+ authorizationList?: undefined | undefined;
1791
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1792
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1793
+ maxFeePerBlobGas?: bigint | undefined;
1794
+ maxFeePerGas?: bigint | undefined;
1795
+ maxPriorityFeePerGas?: bigint | undefined;
1796
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1797
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1798
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1799
+ } | {
1800
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1801
+ } | {
1802
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1803
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1804
+ accessList?: viem0.AccessList | undefined;
1805
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1806
+ blobs?: undefined | undefined;
1807
+ blobVersionedHashes?: undefined | undefined;
1808
+ gasPrice?: undefined | undefined;
1809
+ maxFeePerBlobGas?: undefined | undefined;
1810
+ maxFeePerGas?: bigint | undefined;
1811
+ maxPriorityFeePerGas?: bigint | undefined;
1812
+ sidecars?: undefined | undefined;
1813
+ } | {
1814
+ accessList?: viem0.AccessList | undefined;
1815
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1816
+ blobs?: undefined | undefined;
1817
+ blobVersionedHashes?: undefined | undefined;
1818
+ gasPrice?: undefined | undefined;
1819
+ maxFeePerBlobGas?: undefined | undefined;
1820
+ maxFeePerGas?: bigint | undefined;
1821
+ maxPriorityFeePerGas?: bigint | undefined;
1822
+ sidecars?: undefined | undefined;
1823
+ }) & {
1824
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1825
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1826
+ accessList?: undefined | undefined;
1827
+ authorizationList?: undefined | undefined;
1828
+ blobs?: undefined | undefined;
1829
+ blobVersionedHashes?: undefined | undefined;
1830
+ gasPrice?: bigint | undefined;
1831
+ sidecars?: undefined | undefined;
1832
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1833
+ accessList?: viem0.AccessList | undefined;
1834
+ authorizationList?: undefined | undefined;
1835
+ blobs?: undefined | undefined;
1836
+ blobVersionedHashes?: undefined | undefined;
1837
+ gasPrice?: undefined | undefined;
1838
+ maxFeePerBlobGas?: undefined | undefined;
1839
+ maxFeePerGas?: bigint | undefined;
1840
+ maxPriorityFeePerGas?: bigint | undefined;
1841
+ sidecars?: undefined | undefined;
1842
+ } & (viem0.OneOf<{
1843
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1844
+ } | {
1845
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1846
+ }, viem0.FeeValuesEIP1559> & {
1847
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1848
+ }) ? "eip1559" : never) | (request extends {
1849
+ accessList?: viem0.AccessList | undefined;
1850
+ authorizationList?: undefined | undefined;
1851
+ blobs?: undefined | undefined;
1852
+ blobVersionedHashes?: undefined | undefined;
1853
+ gasPrice?: bigint | undefined;
1854
+ sidecars?: undefined | undefined;
1855
+ maxFeePerBlobGas?: undefined | undefined;
1856
+ maxFeePerGas?: undefined | undefined;
1857
+ maxPriorityFeePerGas?: undefined | undefined;
1858
+ } & {
1859
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1860
+ } ? "eip2930" : never) | (request extends ({
1861
+ accessList?: viem0.AccessList | undefined;
1862
+ authorizationList?: undefined | undefined;
1863
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1864
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1865
+ maxFeePerBlobGas?: bigint | undefined;
1866
+ maxFeePerGas?: bigint | undefined;
1867
+ maxPriorityFeePerGas?: bigint | undefined;
1868
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1869
+ } | {
1870
+ accessList?: viem0.AccessList | undefined;
1871
+ authorizationList?: undefined | undefined;
1872
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1873
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1874
+ maxFeePerBlobGas?: bigint | undefined;
1875
+ maxFeePerGas?: bigint | undefined;
1876
+ maxPriorityFeePerGas?: bigint | undefined;
1877
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1878
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1879
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1880
+ } | {
1881
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1882
+ } | {
1883
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1884
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1885
+ accessList?: viem0.AccessList | undefined;
1886
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1887
+ blobs?: undefined | undefined;
1888
+ blobVersionedHashes?: undefined | undefined;
1889
+ gasPrice?: undefined | undefined;
1890
+ maxFeePerBlobGas?: undefined | undefined;
1891
+ maxFeePerGas?: bigint | undefined;
1892
+ maxPriorityFeePerGas?: bigint | undefined;
1893
+ sidecars?: undefined | undefined;
1894
+ } | {
1895
+ accessList?: viem0.AccessList | undefined;
1896
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1897
+ blobs?: undefined | undefined;
1898
+ blobVersionedHashes?: undefined | undefined;
1899
+ gasPrice?: undefined | undefined;
1900
+ maxFeePerBlobGas?: undefined | undefined;
1901
+ maxFeePerGas?: bigint | undefined;
1902
+ maxPriorityFeePerGas?: bigint | undefined;
1903
+ sidecars?: undefined | undefined;
1904
+ }) & {
1905
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1906
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_6 ? T_6 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
1907
+ accessList?: undefined | undefined;
1908
+ authorizationList?: undefined | undefined;
1909
+ blobs?: undefined | undefined;
1910
+ blobVersionedHashes?: undefined | undefined;
1911
+ gasPrice?: bigint | undefined;
1912
+ sidecars?: undefined | undefined;
1913
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1914
+ accessList?: viem0.AccessList | undefined;
1915
+ authorizationList?: undefined | undefined;
1916
+ blobs?: undefined | undefined;
1917
+ blobVersionedHashes?: undefined | undefined;
1918
+ gasPrice?: undefined | undefined;
1919
+ maxFeePerBlobGas?: undefined | undefined;
1920
+ maxFeePerGas?: bigint | undefined;
1921
+ maxPriorityFeePerGas?: bigint | undefined;
1922
+ sidecars?: undefined | undefined;
1923
+ } & (viem0.OneOf<{
1924
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
1925
+ } | {
1926
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
1927
+ }, viem0.FeeValuesEIP1559> & {
1928
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
1929
+ }) ? "eip1559" : never) | (request extends {
1930
+ accessList?: viem0.AccessList | undefined;
1931
+ authorizationList?: undefined | undefined;
1932
+ blobs?: undefined | undefined;
1933
+ blobVersionedHashes?: undefined | undefined;
1934
+ gasPrice?: bigint | undefined;
1935
+ sidecars?: undefined | undefined;
1936
+ maxFeePerBlobGas?: undefined | undefined;
1937
+ maxFeePerGas?: undefined | undefined;
1938
+ maxPriorityFeePerGas?: undefined | undefined;
1939
+ } & {
1940
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
1941
+ } ? "eip2930" : never) | (request extends ({
1942
+ accessList?: viem0.AccessList | undefined;
1943
+ authorizationList?: undefined | undefined;
1944
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1945
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1946
+ maxFeePerBlobGas?: bigint | undefined;
1947
+ maxFeePerGas?: bigint | undefined;
1948
+ maxPriorityFeePerGas?: bigint | undefined;
1949
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1950
+ } | {
1951
+ accessList?: viem0.AccessList | undefined;
1952
+ authorizationList?: undefined | undefined;
1953
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
1954
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1955
+ maxFeePerBlobGas?: bigint | undefined;
1956
+ maxFeePerGas?: bigint | undefined;
1957
+ maxPriorityFeePerGas?: bigint | undefined;
1958
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
1959
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
1960
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
1961
+ } | {
1962
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
1963
+ } | {
1964
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
1965
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1966
+ accessList?: viem0.AccessList | undefined;
1967
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1968
+ blobs?: undefined | undefined;
1969
+ blobVersionedHashes?: undefined | undefined;
1970
+ gasPrice?: undefined | undefined;
1971
+ maxFeePerBlobGas?: undefined | undefined;
1972
+ maxFeePerGas?: bigint | undefined;
1973
+ maxPriorityFeePerGas?: bigint | undefined;
1974
+ sidecars?: undefined | undefined;
1975
+ } | {
1976
+ accessList?: viem0.AccessList | undefined;
1977
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
1978
+ blobs?: undefined | undefined;
1979
+ blobVersionedHashes?: undefined | undefined;
1980
+ gasPrice?: undefined | undefined;
1981
+ maxFeePerBlobGas?: undefined | undefined;
1982
+ maxFeePerGas?: bigint | undefined;
1983
+ maxPriorityFeePerGas?: bigint | undefined;
1984
+ sidecars?: undefined | undefined;
1985
+ }) & {
1986
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
1987
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
1988
+ accessList?: undefined | undefined;
1989
+ authorizationList?: undefined | undefined;
1990
+ blobs?: undefined | undefined;
1991
+ blobVersionedHashes?: undefined | undefined;
1992
+ gasPrice?: bigint | undefined;
1993
+ sidecars?: undefined | undefined;
1994
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
1995
+ accessList?: viem0.AccessList | undefined;
1996
+ authorizationList?: undefined | undefined;
1997
+ blobs?: undefined | undefined;
1998
+ blobVersionedHashes?: undefined | undefined;
1999
+ gasPrice?: undefined | undefined;
2000
+ maxFeePerBlobGas?: undefined | undefined;
2001
+ maxFeePerGas?: bigint | undefined;
2002
+ maxPriorityFeePerGas?: bigint | undefined;
2003
+ sidecars?: undefined | undefined;
2004
+ } & (viem0.OneOf<{
2005
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2006
+ } | {
2007
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2008
+ }, viem0.FeeValuesEIP1559> & {
2009
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2010
+ }) ? "eip1559" : never) | (request extends {
2011
+ accessList?: viem0.AccessList | undefined;
2012
+ authorizationList?: undefined | undefined;
2013
+ blobs?: undefined | undefined;
2014
+ blobVersionedHashes?: undefined | undefined;
2015
+ gasPrice?: bigint | undefined;
2016
+ sidecars?: undefined | undefined;
2017
+ maxFeePerBlobGas?: undefined | undefined;
2018
+ maxFeePerGas?: undefined | undefined;
2019
+ maxPriorityFeePerGas?: undefined | undefined;
2020
+ } & {
2021
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2022
+ } ? "eip2930" : never) | (request extends ({
2023
+ accessList?: viem0.AccessList | undefined;
2024
+ authorizationList?: undefined | undefined;
2025
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2026
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2027
+ maxFeePerBlobGas?: bigint | undefined;
2028
+ maxFeePerGas?: bigint | undefined;
2029
+ maxPriorityFeePerGas?: bigint | undefined;
2030
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2031
+ } | {
2032
+ accessList?: viem0.AccessList | undefined;
2033
+ authorizationList?: undefined | undefined;
2034
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2035
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2036
+ maxFeePerBlobGas?: bigint | undefined;
2037
+ maxFeePerGas?: bigint | undefined;
2038
+ maxPriorityFeePerGas?: bigint | undefined;
2039
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2040
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2041
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2042
+ } | {
2043
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2044
+ } | {
2045
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2046
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2047
+ accessList?: viem0.AccessList | undefined;
2048
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2049
+ blobs?: undefined | undefined;
2050
+ blobVersionedHashes?: undefined | undefined;
2051
+ gasPrice?: undefined | undefined;
2052
+ maxFeePerBlobGas?: undefined | undefined;
2053
+ maxFeePerGas?: bigint | undefined;
2054
+ maxPriorityFeePerGas?: bigint | undefined;
2055
+ sidecars?: undefined | undefined;
2056
+ } | {
2057
+ accessList?: viem0.AccessList | undefined;
2058
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2059
+ blobs?: undefined | undefined;
2060
+ blobVersionedHashes?: undefined | undefined;
2061
+ gasPrice?: undefined | undefined;
2062
+ maxFeePerBlobGas?: undefined | undefined;
2063
+ maxFeePerGas?: bigint | undefined;
2064
+ maxPriorityFeePerGas?: bigint | undefined;
2065
+ sidecars?: undefined | undefined;
2066
+ }) & {
2067
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2068
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_6 extends "eip4844" ? viem0.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2069
+ accessList?: undefined | undefined;
2070
+ authorizationList?: undefined | undefined;
2071
+ blobs?: undefined | undefined;
2072
+ blobVersionedHashes?: undefined | undefined;
2073
+ gasPrice?: bigint | undefined;
2074
+ sidecars?: undefined | undefined;
2075
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2076
+ accessList?: viem0.AccessList | undefined;
2077
+ authorizationList?: undefined | undefined;
2078
+ blobs?: undefined | undefined;
2079
+ blobVersionedHashes?: undefined | undefined;
2080
+ gasPrice?: undefined | undefined;
2081
+ maxFeePerBlobGas?: undefined | undefined;
2082
+ maxFeePerGas?: bigint | undefined;
2083
+ maxPriorityFeePerGas?: bigint | undefined;
2084
+ sidecars?: undefined | undefined;
2085
+ } & (viem0.OneOf<{
2086
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2087
+ } | {
2088
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2089
+ }, viem0.FeeValuesEIP1559> & {
2090
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2091
+ }) ? "eip1559" : never) | (request extends {
2092
+ accessList?: viem0.AccessList | undefined;
2093
+ authorizationList?: undefined | undefined;
2094
+ blobs?: undefined | undefined;
2095
+ blobVersionedHashes?: undefined | undefined;
2096
+ gasPrice?: bigint | undefined;
2097
+ sidecars?: undefined | undefined;
2098
+ maxFeePerBlobGas?: undefined | undefined;
2099
+ maxFeePerGas?: undefined | undefined;
2100
+ maxPriorityFeePerGas?: undefined | undefined;
2101
+ } & {
2102
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2103
+ } ? "eip2930" : never) | (request extends ({
2104
+ accessList?: viem0.AccessList | undefined;
2105
+ authorizationList?: undefined | undefined;
2106
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2107
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2108
+ maxFeePerBlobGas?: bigint | undefined;
2109
+ maxFeePerGas?: bigint | undefined;
2110
+ maxPriorityFeePerGas?: bigint | undefined;
2111
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2112
+ } | {
2113
+ accessList?: viem0.AccessList | undefined;
2114
+ authorizationList?: undefined | undefined;
2115
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2116
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2117
+ maxFeePerBlobGas?: bigint | undefined;
2118
+ maxFeePerGas?: bigint | undefined;
2119
+ maxPriorityFeePerGas?: bigint | undefined;
2120
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2121
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2122
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2123
+ } | {
2124
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2125
+ } | {
2126
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2127
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2128
+ accessList?: viem0.AccessList | undefined;
2129
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2130
+ blobs?: undefined | undefined;
2131
+ blobVersionedHashes?: undefined | undefined;
2132
+ gasPrice?: undefined | undefined;
2133
+ maxFeePerBlobGas?: undefined | undefined;
2134
+ maxFeePerGas?: bigint | undefined;
2135
+ maxPriorityFeePerGas?: bigint | undefined;
2136
+ sidecars?: undefined | undefined;
2137
+ } | {
2138
+ accessList?: viem0.AccessList | undefined;
2139
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2140
+ blobs?: undefined | undefined;
2141
+ blobVersionedHashes?: undefined | undefined;
2142
+ gasPrice?: undefined | undefined;
2143
+ maxFeePerBlobGas?: undefined | undefined;
2144
+ maxFeePerGas?: bigint | undefined;
2145
+ maxPriorityFeePerGas?: bigint | undefined;
2146
+ sidecars?: undefined | undefined;
2147
+ }) & {
2148
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2149
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2150
+ accessList?: undefined | undefined;
2151
+ authorizationList?: undefined | undefined;
2152
+ blobs?: undefined | undefined;
2153
+ blobVersionedHashes?: undefined | undefined;
2154
+ gasPrice?: bigint | undefined;
2155
+ sidecars?: undefined | undefined;
2156
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2157
+ accessList?: viem0.AccessList | undefined;
2158
+ authorizationList?: undefined | undefined;
2159
+ blobs?: undefined | undefined;
2160
+ blobVersionedHashes?: undefined | undefined;
2161
+ gasPrice?: undefined | undefined;
2162
+ maxFeePerBlobGas?: undefined | undefined;
2163
+ maxFeePerGas?: bigint | undefined;
2164
+ maxPriorityFeePerGas?: bigint | undefined;
2165
+ sidecars?: undefined | undefined;
2166
+ } & (viem0.OneOf<{
2167
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2168
+ } | {
2169
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2170
+ }, viem0.FeeValuesEIP1559> & {
2171
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2172
+ }) ? "eip1559" : never) | (request extends {
2173
+ accessList?: viem0.AccessList | undefined;
2174
+ authorizationList?: undefined | undefined;
2175
+ blobs?: undefined | undefined;
2176
+ blobVersionedHashes?: undefined | undefined;
2177
+ gasPrice?: bigint | undefined;
2178
+ sidecars?: undefined | undefined;
2179
+ maxFeePerBlobGas?: undefined | undefined;
2180
+ maxFeePerGas?: undefined | undefined;
2181
+ maxPriorityFeePerGas?: undefined | undefined;
2182
+ } & {
2183
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2184
+ } ? "eip2930" : never) | (request extends ({
2185
+ accessList?: viem0.AccessList | undefined;
2186
+ authorizationList?: undefined | undefined;
2187
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2188
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2189
+ maxFeePerBlobGas?: bigint | undefined;
2190
+ maxFeePerGas?: bigint | undefined;
2191
+ maxPriorityFeePerGas?: bigint | undefined;
2192
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2193
+ } | {
2194
+ accessList?: viem0.AccessList | undefined;
2195
+ authorizationList?: undefined | undefined;
2196
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2197
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2198
+ maxFeePerBlobGas?: bigint | undefined;
2199
+ maxFeePerGas?: bigint | undefined;
2200
+ maxPriorityFeePerGas?: bigint | undefined;
2201
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2202
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2203
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2204
+ } | {
2205
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2206
+ } | {
2207
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2208
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2209
+ accessList?: viem0.AccessList | undefined;
2210
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2211
+ blobs?: undefined | undefined;
2212
+ blobVersionedHashes?: undefined | undefined;
2213
+ gasPrice?: undefined | undefined;
2214
+ maxFeePerBlobGas?: undefined | undefined;
2215
+ maxFeePerGas?: bigint | undefined;
2216
+ maxPriorityFeePerGas?: bigint | undefined;
2217
+ sidecars?: undefined | undefined;
2218
+ } | {
2219
+ accessList?: viem0.AccessList | undefined;
2220
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2221
+ blobs?: undefined | undefined;
2222
+ blobVersionedHashes?: undefined | undefined;
2223
+ gasPrice?: undefined | undefined;
2224
+ maxFeePerBlobGas?: undefined | undefined;
2225
+ maxFeePerGas?: bigint | undefined;
2226
+ maxPriorityFeePerGas?: bigint | undefined;
2227
+ sidecars?: undefined | undefined;
2228
+ }) & {
2229
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2230
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_7 ? T_7 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2231
+ accessList?: undefined | undefined;
2232
+ authorizationList?: undefined | undefined;
2233
+ blobs?: undefined | undefined;
2234
+ blobVersionedHashes?: undefined | undefined;
2235
+ gasPrice?: bigint | undefined;
2236
+ sidecars?: undefined | undefined;
2237
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2238
+ accessList?: viem0.AccessList | undefined;
2239
+ authorizationList?: undefined | undefined;
2240
+ blobs?: undefined | undefined;
2241
+ blobVersionedHashes?: undefined | undefined;
2242
+ gasPrice?: undefined | undefined;
2243
+ maxFeePerBlobGas?: undefined | undefined;
2244
+ maxFeePerGas?: bigint | undefined;
2245
+ maxPriorityFeePerGas?: bigint | undefined;
2246
+ sidecars?: undefined | undefined;
2247
+ } & (viem0.OneOf<{
2248
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2249
+ } | {
2250
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2251
+ }, viem0.FeeValuesEIP1559> & {
2252
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2253
+ }) ? "eip1559" : never) | (request extends {
2254
+ accessList?: viem0.AccessList | undefined;
2255
+ authorizationList?: undefined | undefined;
2256
+ blobs?: undefined | undefined;
2257
+ blobVersionedHashes?: undefined | undefined;
2258
+ gasPrice?: bigint | undefined;
2259
+ sidecars?: undefined | undefined;
2260
+ maxFeePerBlobGas?: undefined | undefined;
2261
+ maxFeePerGas?: undefined | undefined;
2262
+ maxPriorityFeePerGas?: undefined | undefined;
2263
+ } & {
2264
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2265
+ } ? "eip2930" : never) | (request extends ({
2266
+ accessList?: viem0.AccessList | undefined;
2267
+ authorizationList?: undefined | undefined;
2268
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2269
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2270
+ maxFeePerBlobGas?: bigint | undefined;
2271
+ maxFeePerGas?: bigint | undefined;
2272
+ maxPriorityFeePerGas?: bigint | undefined;
2273
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2274
+ } | {
2275
+ accessList?: viem0.AccessList | undefined;
2276
+ authorizationList?: undefined | undefined;
2277
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2278
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2279
+ maxFeePerBlobGas?: bigint | undefined;
2280
+ maxFeePerGas?: bigint | undefined;
2281
+ maxPriorityFeePerGas?: bigint | undefined;
2282
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2283
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2284
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2285
+ } | {
2286
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2287
+ } | {
2288
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2289
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2290
+ accessList?: viem0.AccessList | undefined;
2291
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2292
+ blobs?: undefined | undefined;
2293
+ blobVersionedHashes?: undefined | undefined;
2294
+ gasPrice?: undefined | undefined;
2295
+ maxFeePerBlobGas?: undefined | undefined;
2296
+ maxFeePerGas?: bigint | undefined;
2297
+ maxPriorityFeePerGas?: bigint | undefined;
2298
+ sidecars?: undefined | undefined;
2299
+ } | {
2300
+ accessList?: viem0.AccessList | undefined;
2301
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2302
+ blobs?: undefined | undefined;
2303
+ blobVersionedHashes?: undefined | undefined;
2304
+ gasPrice?: undefined | undefined;
2305
+ maxFeePerBlobGas?: undefined | undefined;
2306
+ maxFeePerGas?: bigint | undefined;
2307
+ maxPriorityFeePerGas?: bigint | undefined;
2308
+ sidecars?: undefined | undefined;
2309
+ }) & {
2310
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2311
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2312
+ accessList?: undefined | undefined;
2313
+ authorizationList?: undefined | undefined;
2314
+ blobs?: undefined | undefined;
2315
+ blobVersionedHashes?: undefined | undefined;
2316
+ gasPrice?: bigint | undefined;
2317
+ sidecars?: undefined | undefined;
2318
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2319
+ accessList?: viem0.AccessList | undefined;
2320
+ authorizationList?: undefined | undefined;
2321
+ blobs?: undefined | undefined;
2322
+ blobVersionedHashes?: undefined | undefined;
2323
+ gasPrice?: undefined | undefined;
2324
+ maxFeePerBlobGas?: undefined | undefined;
2325
+ maxFeePerGas?: bigint | undefined;
2326
+ maxPriorityFeePerGas?: bigint | undefined;
2327
+ sidecars?: undefined | undefined;
2328
+ } & (viem0.OneOf<{
2329
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2330
+ } | {
2331
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2332
+ }, viem0.FeeValuesEIP1559> & {
2333
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2334
+ }) ? "eip1559" : never) | (request extends {
2335
+ accessList?: viem0.AccessList | undefined;
2336
+ authorizationList?: undefined | undefined;
2337
+ blobs?: undefined | undefined;
2338
+ blobVersionedHashes?: undefined | undefined;
2339
+ gasPrice?: bigint | undefined;
2340
+ sidecars?: undefined | undefined;
2341
+ maxFeePerBlobGas?: undefined | undefined;
2342
+ maxFeePerGas?: undefined | undefined;
2343
+ maxPriorityFeePerGas?: undefined | undefined;
2344
+ } & {
2345
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2346
+ } ? "eip2930" : never) | (request extends ({
2347
+ accessList?: viem0.AccessList | undefined;
2348
+ authorizationList?: undefined | undefined;
2349
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2350
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2351
+ maxFeePerBlobGas?: bigint | undefined;
2352
+ maxFeePerGas?: bigint | undefined;
2353
+ maxPriorityFeePerGas?: bigint | undefined;
2354
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2355
+ } | {
2356
+ accessList?: viem0.AccessList | undefined;
2357
+ authorizationList?: undefined | undefined;
2358
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2359
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2360
+ maxFeePerBlobGas?: bigint | undefined;
2361
+ maxFeePerGas?: bigint | undefined;
2362
+ maxPriorityFeePerGas?: bigint | undefined;
2363
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2364
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2365
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2366
+ } | {
2367
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2368
+ } | {
2369
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2370
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2371
+ accessList?: viem0.AccessList | undefined;
2372
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2373
+ blobs?: undefined | undefined;
2374
+ blobVersionedHashes?: undefined | undefined;
2375
+ gasPrice?: undefined | undefined;
2376
+ maxFeePerBlobGas?: undefined | undefined;
2377
+ maxFeePerGas?: bigint | undefined;
2378
+ maxPriorityFeePerGas?: bigint | undefined;
2379
+ sidecars?: undefined | undefined;
2380
+ } | {
2381
+ accessList?: viem0.AccessList | undefined;
2382
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2383
+ blobs?: undefined | undefined;
2384
+ blobVersionedHashes?: undefined | undefined;
2385
+ gasPrice?: undefined | undefined;
2386
+ maxFeePerBlobGas?: undefined | undefined;
2387
+ maxFeePerGas?: bigint | undefined;
2388
+ maxPriorityFeePerGas?: bigint | undefined;
2389
+ sidecars?: undefined | undefined;
2390
+ }) & {
2391
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2392
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_7 extends "eip7702" ? viem0.TransactionRequestEIP7702 : never : never : never)> extends true ? unknown : viem0.ExactPartial<((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2393
+ accessList?: undefined | undefined;
2394
+ authorizationList?: undefined | undefined;
2395
+ blobs?: undefined | undefined;
2396
+ blobVersionedHashes?: undefined | undefined;
2397
+ gasPrice?: bigint | undefined;
2398
+ sidecars?: undefined | undefined;
2399
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2400
+ accessList?: viem0.AccessList | undefined;
2401
+ authorizationList?: undefined | undefined;
2402
+ blobs?: undefined | undefined;
2403
+ blobVersionedHashes?: undefined | undefined;
2404
+ gasPrice?: undefined | undefined;
2405
+ maxFeePerBlobGas?: undefined | undefined;
2406
+ maxFeePerGas?: bigint | undefined;
2407
+ maxPriorityFeePerGas?: bigint | undefined;
2408
+ sidecars?: undefined | undefined;
2409
+ } & (viem0.OneOf<{
2410
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2411
+ } | {
2412
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2413
+ }, viem0.FeeValuesEIP1559> & {
2414
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2415
+ }) ? "eip1559" : never) | (request extends {
2416
+ accessList?: viem0.AccessList | undefined;
2417
+ authorizationList?: undefined | undefined;
2418
+ blobs?: undefined | undefined;
2419
+ blobVersionedHashes?: undefined | undefined;
2420
+ gasPrice?: bigint | undefined;
2421
+ sidecars?: undefined | undefined;
2422
+ maxFeePerBlobGas?: undefined | undefined;
2423
+ maxFeePerGas?: undefined | undefined;
2424
+ maxPriorityFeePerGas?: undefined | undefined;
2425
+ } & {
2426
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2427
+ } ? "eip2930" : never) | (request extends ({
2428
+ accessList?: viem0.AccessList | undefined;
2429
+ authorizationList?: undefined | undefined;
2430
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2431
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2432
+ maxFeePerBlobGas?: bigint | undefined;
2433
+ maxFeePerGas?: bigint | undefined;
2434
+ maxPriorityFeePerGas?: bigint | undefined;
2435
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2436
+ } | {
2437
+ accessList?: viem0.AccessList | undefined;
2438
+ authorizationList?: undefined | undefined;
2439
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2440
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2441
+ maxFeePerBlobGas?: bigint | undefined;
2442
+ maxFeePerGas?: bigint | undefined;
2443
+ maxPriorityFeePerGas?: bigint | undefined;
2444
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2445
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2446
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2447
+ } | {
2448
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2449
+ } | {
2450
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2451
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2452
+ accessList?: viem0.AccessList | undefined;
2453
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2454
+ blobs?: undefined | undefined;
2455
+ blobVersionedHashes?: undefined | undefined;
2456
+ gasPrice?: undefined | undefined;
2457
+ maxFeePerBlobGas?: undefined | undefined;
2458
+ maxFeePerGas?: bigint | undefined;
2459
+ maxPriorityFeePerGas?: bigint | undefined;
2460
+ sidecars?: undefined | undefined;
2461
+ } | {
2462
+ accessList?: viem0.AccessList | undefined;
2463
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2464
+ blobs?: undefined | undefined;
2465
+ blobVersionedHashes?: undefined | undefined;
2466
+ gasPrice?: undefined | undefined;
2467
+ maxFeePerBlobGas?: undefined | undefined;
2468
+ maxFeePerGas?: bigint | undefined;
2469
+ maxPriorityFeePerGas?: bigint | undefined;
2470
+ sidecars?: undefined | undefined;
2471
+ }) & {
2472
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2473
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2474
+ accessList?: undefined | undefined;
2475
+ authorizationList?: undefined | undefined;
2476
+ blobs?: undefined | undefined;
2477
+ blobVersionedHashes?: undefined | undefined;
2478
+ gasPrice?: bigint | undefined;
2479
+ sidecars?: undefined | undefined;
2480
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2481
+ accessList?: viem0.AccessList | undefined;
2482
+ authorizationList?: undefined | undefined;
2483
+ blobs?: undefined | undefined;
2484
+ blobVersionedHashes?: undefined | undefined;
2485
+ gasPrice?: undefined | undefined;
2486
+ maxFeePerBlobGas?: undefined | undefined;
2487
+ maxFeePerGas?: bigint | undefined;
2488
+ maxPriorityFeePerGas?: bigint | undefined;
2489
+ sidecars?: undefined | undefined;
2490
+ } & (viem0.OneOf<{
2491
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2492
+ } | {
2493
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2494
+ }, viem0.FeeValuesEIP1559> & {
2495
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2496
+ }) ? "eip1559" : never) | (request extends {
2497
+ accessList?: viem0.AccessList | undefined;
2498
+ authorizationList?: undefined | undefined;
2499
+ blobs?: undefined | undefined;
2500
+ blobVersionedHashes?: undefined | undefined;
2501
+ gasPrice?: bigint | undefined;
2502
+ sidecars?: undefined | undefined;
2503
+ maxFeePerBlobGas?: undefined | undefined;
2504
+ maxFeePerGas?: undefined | undefined;
2505
+ maxPriorityFeePerGas?: undefined | undefined;
2506
+ } & {
2507
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2508
+ } ? "eip2930" : never) | (request extends ({
2509
+ accessList?: viem0.AccessList | undefined;
2510
+ authorizationList?: undefined | undefined;
2511
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2512
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2513
+ maxFeePerBlobGas?: bigint | undefined;
2514
+ maxFeePerGas?: bigint | undefined;
2515
+ maxPriorityFeePerGas?: bigint | undefined;
2516
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2517
+ } | {
2518
+ accessList?: viem0.AccessList | undefined;
2519
+ authorizationList?: undefined | undefined;
2520
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2521
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2522
+ maxFeePerBlobGas?: bigint | undefined;
2523
+ maxFeePerGas?: bigint | undefined;
2524
+ maxPriorityFeePerGas?: bigint | undefined;
2525
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2526
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2527
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2528
+ } | {
2529
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2530
+ } | {
2531
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2532
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2533
+ accessList?: viem0.AccessList | undefined;
2534
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2535
+ blobs?: undefined | undefined;
2536
+ blobVersionedHashes?: undefined | undefined;
2537
+ gasPrice?: undefined | undefined;
2538
+ maxFeePerBlobGas?: undefined | undefined;
2539
+ maxFeePerGas?: bigint | undefined;
2540
+ maxPriorityFeePerGas?: bigint | undefined;
2541
+ sidecars?: undefined | undefined;
2542
+ } | {
2543
+ accessList?: viem0.AccessList | undefined;
2544
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2545
+ blobs?: undefined | undefined;
2546
+ blobVersionedHashes?: undefined | undefined;
2547
+ gasPrice?: undefined | undefined;
2548
+ maxFeePerBlobGas?: undefined | undefined;
2549
+ maxFeePerGas?: bigint | undefined;
2550
+ maxPriorityFeePerGas?: bigint | undefined;
2551
+ sidecars?: undefined | undefined;
2552
+ }) & {
2553
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2554
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_8 ? T_8 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2555
+ accessList?: undefined | undefined;
2556
+ authorizationList?: undefined | undefined;
2557
+ blobs?: undefined | undefined;
2558
+ blobVersionedHashes?: undefined | undefined;
2559
+ gasPrice?: bigint | undefined;
2560
+ sidecars?: undefined | undefined;
2561
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2562
+ accessList?: viem0.AccessList | undefined;
2563
+ authorizationList?: undefined | undefined;
2564
+ blobs?: undefined | undefined;
2565
+ blobVersionedHashes?: undefined | undefined;
2566
+ gasPrice?: undefined | undefined;
2567
+ maxFeePerBlobGas?: undefined | undefined;
2568
+ maxFeePerGas?: bigint | undefined;
2569
+ maxPriorityFeePerGas?: bigint | undefined;
2570
+ sidecars?: undefined | undefined;
2571
+ } & (viem0.OneOf<{
2572
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2573
+ } | {
2574
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2575
+ }, viem0.FeeValuesEIP1559> & {
2576
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2577
+ }) ? "eip1559" : never) | (request extends {
2578
+ accessList?: viem0.AccessList | undefined;
2579
+ authorizationList?: undefined | undefined;
2580
+ blobs?: undefined | undefined;
2581
+ blobVersionedHashes?: undefined | undefined;
2582
+ gasPrice?: bigint | undefined;
2583
+ sidecars?: undefined | undefined;
2584
+ maxFeePerBlobGas?: undefined | undefined;
2585
+ maxFeePerGas?: undefined | undefined;
2586
+ maxPriorityFeePerGas?: undefined | undefined;
2587
+ } & {
2588
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2589
+ } ? "eip2930" : never) | (request extends ({
2590
+ accessList?: viem0.AccessList | undefined;
2591
+ authorizationList?: undefined | undefined;
2592
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2593
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2594
+ maxFeePerBlobGas?: bigint | undefined;
2595
+ maxFeePerGas?: bigint | undefined;
2596
+ maxPriorityFeePerGas?: bigint | undefined;
2597
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2598
+ } | {
2599
+ accessList?: viem0.AccessList | undefined;
2600
+ authorizationList?: undefined | undefined;
2601
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2602
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2603
+ maxFeePerBlobGas?: bigint | undefined;
2604
+ maxFeePerGas?: bigint | undefined;
2605
+ maxPriorityFeePerGas?: bigint | undefined;
2606
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2607
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2608
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2609
+ } | {
2610
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2611
+ } | {
2612
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2613
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2614
+ accessList?: viem0.AccessList | undefined;
2615
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2616
+ blobs?: undefined | undefined;
2617
+ blobVersionedHashes?: undefined | undefined;
2618
+ gasPrice?: undefined | undefined;
2619
+ maxFeePerBlobGas?: undefined | undefined;
2620
+ maxFeePerGas?: bigint | undefined;
2621
+ maxPriorityFeePerGas?: bigint | undefined;
2622
+ sidecars?: undefined | undefined;
2623
+ } | {
2624
+ accessList?: viem0.AccessList | undefined;
2625
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2626
+ blobs?: undefined | undefined;
2627
+ blobVersionedHashes?: undefined | undefined;
2628
+ gasPrice?: undefined | undefined;
2629
+ maxFeePerBlobGas?: undefined | undefined;
2630
+ maxFeePerGas?: bigint | undefined;
2631
+ maxPriorityFeePerGas?: bigint | undefined;
2632
+ sidecars?: undefined | undefined;
2633
+ }) & {
2634
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2635
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2636
+ accessList?: undefined | undefined;
2637
+ authorizationList?: undefined | undefined;
2638
+ blobs?: undefined | undefined;
2639
+ blobVersionedHashes?: undefined | undefined;
2640
+ gasPrice?: bigint | undefined;
2641
+ sidecars?: undefined | undefined;
2642
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2643
+ accessList?: viem0.AccessList | undefined;
2644
+ authorizationList?: undefined | undefined;
2645
+ blobs?: undefined | undefined;
2646
+ blobVersionedHashes?: undefined | undefined;
2647
+ gasPrice?: undefined | undefined;
2648
+ maxFeePerBlobGas?: undefined | undefined;
2649
+ maxFeePerGas?: bigint | undefined;
2650
+ maxPriorityFeePerGas?: bigint | undefined;
2651
+ sidecars?: undefined | undefined;
2652
+ } & (viem0.OneOf<{
2653
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2654
+ } | {
2655
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2656
+ }, viem0.FeeValuesEIP1559> & {
2657
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2658
+ }) ? "eip1559" : never) | (request extends {
2659
+ accessList?: viem0.AccessList | undefined;
2660
+ authorizationList?: undefined | undefined;
2661
+ blobs?: undefined | undefined;
2662
+ blobVersionedHashes?: undefined | undefined;
2663
+ gasPrice?: bigint | undefined;
2664
+ sidecars?: undefined | undefined;
2665
+ maxFeePerBlobGas?: undefined | undefined;
2666
+ maxFeePerGas?: undefined | undefined;
2667
+ maxPriorityFeePerGas?: undefined | undefined;
2668
+ } & {
2669
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2670
+ } ? "eip2930" : never) | (request extends ({
2671
+ accessList?: viem0.AccessList | undefined;
2672
+ authorizationList?: undefined | undefined;
2673
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2674
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2675
+ maxFeePerBlobGas?: bigint | undefined;
2676
+ maxFeePerGas?: bigint | undefined;
2677
+ maxPriorityFeePerGas?: bigint | undefined;
2678
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2679
+ } | {
2680
+ accessList?: viem0.AccessList | undefined;
2681
+ authorizationList?: undefined | undefined;
2682
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2683
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2684
+ maxFeePerBlobGas?: bigint | undefined;
2685
+ maxFeePerGas?: bigint | undefined;
2686
+ maxPriorityFeePerGas?: bigint | undefined;
2687
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2688
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2689
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2690
+ } | {
2691
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2692
+ } | {
2693
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2694
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2695
+ accessList?: viem0.AccessList | undefined;
2696
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2697
+ blobs?: undefined | undefined;
2698
+ blobVersionedHashes?: undefined | undefined;
2699
+ gasPrice?: undefined | undefined;
2700
+ maxFeePerBlobGas?: undefined | undefined;
2701
+ maxFeePerGas?: bigint | undefined;
2702
+ maxPriorityFeePerGas?: bigint | undefined;
2703
+ sidecars?: undefined | undefined;
2704
+ } | {
2705
+ accessList?: viem0.AccessList | undefined;
2706
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2707
+ blobs?: undefined | undefined;
2708
+ blobVersionedHashes?: undefined | undefined;
2709
+ gasPrice?: undefined | undefined;
2710
+ maxFeePerBlobGas?: undefined | undefined;
2711
+ maxFeePerGas?: bigint | undefined;
2712
+ maxPriorityFeePerGas?: bigint | undefined;
2713
+ sidecars?: undefined | undefined;
2714
+ }) & {
2715
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2716
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_8 extends "legacy" ? viem0.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2717
+ accessList?: undefined | undefined;
2718
+ authorizationList?: undefined | undefined;
2719
+ blobs?: undefined | undefined;
2720
+ blobVersionedHashes?: undefined | undefined;
2721
+ gasPrice?: bigint | undefined;
2722
+ sidecars?: undefined | undefined;
2723
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2724
+ accessList?: viem0.AccessList | undefined;
2725
+ authorizationList?: undefined | undefined;
2726
+ blobs?: undefined | undefined;
2727
+ blobVersionedHashes?: undefined | undefined;
2728
+ gasPrice?: undefined | undefined;
2729
+ maxFeePerBlobGas?: undefined | undefined;
2730
+ maxFeePerGas?: bigint | undefined;
2731
+ maxPriorityFeePerGas?: bigint | undefined;
2732
+ sidecars?: undefined | undefined;
2733
+ } & (viem0.OneOf<{
2734
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2735
+ } | {
2736
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2737
+ }, viem0.FeeValuesEIP1559> & {
2738
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2739
+ }) ? "eip1559" : never) | (request extends {
2740
+ accessList?: viem0.AccessList | undefined;
2741
+ authorizationList?: undefined | undefined;
2742
+ blobs?: undefined | undefined;
2743
+ blobVersionedHashes?: undefined | undefined;
2744
+ gasPrice?: bigint | undefined;
2745
+ sidecars?: undefined | undefined;
2746
+ maxFeePerBlobGas?: undefined | undefined;
2747
+ maxFeePerGas?: undefined | undefined;
2748
+ maxPriorityFeePerGas?: undefined | undefined;
2749
+ } & {
2750
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2751
+ } ? "eip2930" : never) | (request extends ({
2752
+ accessList?: viem0.AccessList | undefined;
2753
+ authorizationList?: undefined | undefined;
2754
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2755
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2756
+ maxFeePerBlobGas?: bigint | undefined;
2757
+ maxFeePerGas?: bigint | undefined;
2758
+ maxPriorityFeePerGas?: bigint | undefined;
2759
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2760
+ } | {
2761
+ accessList?: viem0.AccessList | undefined;
2762
+ authorizationList?: undefined | undefined;
2763
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2764
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2765
+ maxFeePerBlobGas?: bigint | undefined;
2766
+ maxFeePerGas?: bigint | undefined;
2767
+ maxPriorityFeePerGas?: bigint | undefined;
2768
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2769
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2770
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2771
+ } | {
2772
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2773
+ } | {
2774
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2775
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2776
+ accessList?: viem0.AccessList | undefined;
2777
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2778
+ blobs?: undefined | undefined;
2779
+ blobVersionedHashes?: undefined | undefined;
2780
+ gasPrice?: undefined | undefined;
2781
+ maxFeePerBlobGas?: undefined | undefined;
2782
+ maxFeePerGas?: bigint | undefined;
2783
+ maxPriorityFeePerGas?: bigint | undefined;
2784
+ sidecars?: undefined | undefined;
2785
+ } | {
2786
+ accessList?: viem0.AccessList | undefined;
2787
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2788
+ blobs?: undefined | undefined;
2789
+ blobVersionedHashes?: undefined | undefined;
2790
+ gasPrice?: undefined | undefined;
2791
+ maxFeePerBlobGas?: undefined | undefined;
2792
+ maxFeePerGas?: bigint | undefined;
2793
+ maxPriorityFeePerGas?: bigint | undefined;
2794
+ sidecars?: undefined | undefined;
2795
+ }) & {
2796
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2797
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2798
+ accessList?: undefined | undefined;
2799
+ authorizationList?: undefined | undefined;
2800
+ blobs?: undefined | undefined;
2801
+ blobVersionedHashes?: undefined | undefined;
2802
+ gasPrice?: bigint | undefined;
2803
+ sidecars?: undefined | undefined;
2804
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2805
+ accessList?: viem0.AccessList | undefined;
2806
+ authorizationList?: undefined | undefined;
2807
+ blobs?: undefined | undefined;
2808
+ blobVersionedHashes?: undefined | undefined;
2809
+ gasPrice?: undefined | undefined;
2810
+ maxFeePerBlobGas?: undefined | undefined;
2811
+ maxFeePerGas?: bigint | undefined;
2812
+ maxPriorityFeePerGas?: bigint | undefined;
2813
+ sidecars?: undefined | undefined;
2814
+ } & (viem0.OneOf<{
2815
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2816
+ } | {
2817
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2818
+ }, viem0.FeeValuesEIP1559> & {
2819
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2820
+ }) ? "eip1559" : never) | (request extends {
2821
+ accessList?: viem0.AccessList | undefined;
2822
+ authorizationList?: undefined | undefined;
2823
+ blobs?: undefined | undefined;
2824
+ blobVersionedHashes?: undefined | undefined;
2825
+ gasPrice?: bigint | undefined;
2826
+ sidecars?: undefined | undefined;
2827
+ maxFeePerBlobGas?: undefined | undefined;
2828
+ maxFeePerGas?: undefined | undefined;
2829
+ maxPriorityFeePerGas?: undefined | undefined;
2830
+ } & {
2831
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2832
+ } ? "eip2930" : never) | (request extends ({
2833
+ accessList?: viem0.AccessList | undefined;
2834
+ authorizationList?: undefined | undefined;
2835
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2836
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2837
+ maxFeePerBlobGas?: bigint | undefined;
2838
+ maxFeePerGas?: bigint | undefined;
2839
+ maxPriorityFeePerGas?: bigint | undefined;
2840
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2841
+ } | {
2842
+ accessList?: viem0.AccessList | undefined;
2843
+ authorizationList?: undefined | undefined;
2844
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2845
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2846
+ maxFeePerBlobGas?: bigint | undefined;
2847
+ maxFeePerGas?: bigint | undefined;
2848
+ maxPriorityFeePerGas?: bigint | undefined;
2849
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2850
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2851
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2852
+ } | {
2853
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2854
+ } | {
2855
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2856
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2857
+ accessList?: viem0.AccessList | undefined;
2858
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2859
+ blobs?: undefined | undefined;
2860
+ blobVersionedHashes?: undefined | undefined;
2861
+ gasPrice?: undefined | undefined;
2862
+ maxFeePerBlobGas?: undefined | undefined;
2863
+ maxFeePerGas?: bigint | undefined;
2864
+ maxPriorityFeePerGas?: bigint | undefined;
2865
+ sidecars?: undefined | undefined;
2866
+ } | {
2867
+ accessList?: viem0.AccessList | undefined;
2868
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2869
+ blobs?: undefined | undefined;
2870
+ blobVersionedHashes?: undefined | undefined;
2871
+ gasPrice?: undefined | undefined;
2872
+ maxFeePerBlobGas?: undefined | undefined;
2873
+ maxFeePerGas?: bigint | undefined;
2874
+ maxPriorityFeePerGas?: bigint | undefined;
2875
+ sidecars?: undefined | undefined;
2876
+ }) & {
2877
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2878
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_9 ? T_9 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
2879
+ accessList?: undefined | undefined;
2880
+ authorizationList?: undefined | undefined;
2881
+ blobs?: undefined | undefined;
2882
+ blobVersionedHashes?: undefined | undefined;
2883
+ gasPrice?: bigint | undefined;
2884
+ sidecars?: undefined | undefined;
2885
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2886
+ accessList?: viem0.AccessList | undefined;
2887
+ authorizationList?: undefined | undefined;
2888
+ blobs?: undefined | undefined;
2889
+ blobVersionedHashes?: undefined | undefined;
2890
+ gasPrice?: undefined | undefined;
2891
+ maxFeePerBlobGas?: undefined | undefined;
2892
+ maxFeePerGas?: bigint | undefined;
2893
+ maxPriorityFeePerGas?: bigint | undefined;
2894
+ sidecars?: undefined | undefined;
2895
+ } & (viem0.OneOf<{
2896
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2897
+ } | {
2898
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2899
+ }, viem0.FeeValuesEIP1559> & {
2900
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2901
+ }) ? "eip1559" : never) | (request extends {
2902
+ accessList?: viem0.AccessList | undefined;
2903
+ authorizationList?: undefined | undefined;
2904
+ blobs?: undefined | undefined;
2905
+ blobVersionedHashes?: undefined | undefined;
2906
+ gasPrice?: bigint | undefined;
2907
+ sidecars?: undefined | undefined;
2908
+ maxFeePerBlobGas?: undefined | undefined;
2909
+ maxFeePerGas?: undefined | undefined;
2910
+ maxPriorityFeePerGas?: undefined | undefined;
2911
+ } & {
2912
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2913
+ } ? "eip2930" : never) | (request extends ({
2914
+ accessList?: viem0.AccessList | undefined;
2915
+ authorizationList?: undefined | undefined;
2916
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2917
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2918
+ maxFeePerBlobGas?: bigint | undefined;
2919
+ maxFeePerGas?: bigint | undefined;
2920
+ maxPriorityFeePerGas?: bigint | undefined;
2921
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2922
+ } | {
2923
+ accessList?: viem0.AccessList | undefined;
2924
+ authorizationList?: undefined | undefined;
2925
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2926
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2927
+ maxFeePerBlobGas?: bigint | undefined;
2928
+ maxFeePerGas?: bigint | undefined;
2929
+ maxPriorityFeePerGas?: bigint | undefined;
2930
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
2931
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
2932
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
2933
+ } | {
2934
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
2935
+ } | {
2936
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
2937
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2938
+ accessList?: viem0.AccessList | undefined;
2939
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2940
+ blobs?: undefined | undefined;
2941
+ blobVersionedHashes?: undefined | undefined;
2942
+ gasPrice?: undefined | undefined;
2943
+ maxFeePerBlobGas?: undefined | undefined;
2944
+ maxFeePerGas?: bigint | undefined;
2945
+ maxPriorityFeePerGas?: bigint | undefined;
2946
+ sidecars?: undefined | undefined;
2947
+ } | {
2948
+ accessList?: viem0.AccessList | undefined;
2949
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
2950
+ blobs?: undefined | undefined;
2951
+ blobVersionedHashes?: undefined | undefined;
2952
+ gasPrice?: undefined | undefined;
2953
+ maxFeePerBlobGas?: undefined | undefined;
2954
+ maxFeePerGas?: bigint | undefined;
2955
+ maxPriorityFeePerGas?: bigint | undefined;
2956
+ sidecars?: undefined | undefined;
2957
+ }) & {
2958
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
2959
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
2960
+ accessList?: undefined | undefined;
2961
+ authorizationList?: undefined | undefined;
2962
+ blobs?: undefined | undefined;
2963
+ blobVersionedHashes?: undefined | undefined;
2964
+ gasPrice?: bigint | undefined;
2965
+ sidecars?: undefined | undefined;
2966
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
2967
+ accessList?: viem0.AccessList | undefined;
2968
+ authorizationList?: undefined | undefined;
2969
+ blobs?: undefined | undefined;
2970
+ blobVersionedHashes?: undefined | undefined;
2971
+ gasPrice?: undefined | undefined;
2972
+ maxFeePerBlobGas?: undefined | undefined;
2973
+ maxFeePerGas?: bigint | undefined;
2974
+ maxPriorityFeePerGas?: bigint | undefined;
2975
+ sidecars?: undefined | undefined;
2976
+ } & (viem0.OneOf<{
2977
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
2978
+ } | {
2979
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
2980
+ }, viem0.FeeValuesEIP1559> & {
2981
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
2982
+ }) ? "eip1559" : never) | (request extends {
2983
+ accessList?: viem0.AccessList | undefined;
2984
+ authorizationList?: undefined | undefined;
2985
+ blobs?: undefined | undefined;
2986
+ blobVersionedHashes?: undefined | undefined;
2987
+ gasPrice?: bigint | undefined;
2988
+ sidecars?: undefined | undefined;
2989
+ maxFeePerBlobGas?: undefined | undefined;
2990
+ maxFeePerGas?: undefined | undefined;
2991
+ maxPriorityFeePerGas?: undefined | undefined;
2992
+ } & {
2993
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
2994
+ } ? "eip2930" : never) | (request extends ({
2995
+ accessList?: viem0.AccessList | undefined;
2996
+ authorizationList?: undefined | undefined;
2997
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
2998
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2999
+ maxFeePerBlobGas?: bigint | undefined;
3000
+ maxFeePerGas?: bigint | undefined;
3001
+ maxPriorityFeePerGas?: bigint | undefined;
3002
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3003
+ } | {
3004
+ accessList?: viem0.AccessList | undefined;
3005
+ authorizationList?: undefined | undefined;
3006
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3007
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3008
+ maxFeePerBlobGas?: bigint | undefined;
3009
+ maxFeePerGas?: bigint | undefined;
3010
+ maxPriorityFeePerGas?: bigint | undefined;
3011
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3012
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3013
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3014
+ } | {
3015
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3016
+ } | {
3017
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3018
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3019
+ accessList?: viem0.AccessList | undefined;
3020
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3021
+ blobs?: undefined | undefined;
3022
+ blobVersionedHashes?: undefined | undefined;
3023
+ gasPrice?: undefined | undefined;
3024
+ maxFeePerBlobGas?: undefined | undefined;
3025
+ maxFeePerGas?: bigint | undefined;
3026
+ maxPriorityFeePerGas?: bigint | undefined;
3027
+ sidecars?: undefined | undefined;
3028
+ } | {
3029
+ accessList?: viem0.AccessList | undefined;
3030
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3031
+ blobs?: undefined | undefined;
3032
+ blobVersionedHashes?: undefined | undefined;
3033
+ gasPrice?: undefined | undefined;
3034
+ maxFeePerBlobGas?: undefined | undefined;
3035
+ maxFeePerGas?: bigint | undefined;
3036
+ maxPriorityFeePerGas?: bigint | undefined;
3037
+ sidecars?: undefined | undefined;
3038
+ }) & {
3039
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3040
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_9 extends "eip1559" ? viem0.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3041
+ accessList?: undefined | undefined;
3042
+ authorizationList?: undefined | undefined;
3043
+ blobs?: undefined | undefined;
3044
+ blobVersionedHashes?: undefined | undefined;
3045
+ gasPrice?: bigint | undefined;
3046
+ sidecars?: undefined | undefined;
3047
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3048
+ accessList?: viem0.AccessList | undefined;
3049
+ authorizationList?: undefined | undefined;
3050
+ blobs?: undefined | undefined;
3051
+ blobVersionedHashes?: undefined | undefined;
3052
+ gasPrice?: undefined | undefined;
3053
+ maxFeePerBlobGas?: undefined | undefined;
3054
+ maxFeePerGas?: bigint | undefined;
3055
+ maxPriorityFeePerGas?: bigint | undefined;
3056
+ sidecars?: undefined | undefined;
3057
+ } & (viem0.OneOf<{
3058
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3059
+ } | {
3060
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3061
+ }, viem0.FeeValuesEIP1559> & {
3062
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3063
+ }) ? "eip1559" : never) | (request extends {
3064
+ accessList?: viem0.AccessList | undefined;
3065
+ authorizationList?: undefined | undefined;
3066
+ blobs?: undefined | undefined;
3067
+ blobVersionedHashes?: undefined | undefined;
3068
+ gasPrice?: bigint | undefined;
3069
+ sidecars?: undefined | undefined;
3070
+ maxFeePerBlobGas?: undefined | undefined;
3071
+ maxFeePerGas?: undefined | undefined;
3072
+ maxPriorityFeePerGas?: undefined | undefined;
3073
+ } & {
3074
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3075
+ } ? "eip2930" : never) | (request extends ({
3076
+ accessList?: viem0.AccessList | undefined;
3077
+ authorizationList?: undefined | undefined;
3078
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3079
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3080
+ maxFeePerBlobGas?: bigint | undefined;
3081
+ maxFeePerGas?: bigint | undefined;
3082
+ maxPriorityFeePerGas?: bigint | undefined;
3083
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3084
+ } | {
3085
+ accessList?: viem0.AccessList | undefined;
3086
+ authorizationList?: undefined | undefined;
3087
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3088
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3089
+ maxFeePerBlobGas?: bigint | undefined;
3090
+ maxFeePerGas?: bigint | undefined;
3091
+ maxPriorityFeePerGas?: bigint | undefined;
3092
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3093
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3094
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3095
+ } | {
3096
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3097
+ } | {
3098
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3099
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3100
+ accessList?: viem0.AccessList | undefined;
3101
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3102
+ blobs?: undefined | undefined;
3103
+ blobVersionedHashes?: undefined | undefined;
3104
+ gasPrice?: undefined | undefined;
3105
+ maxFeePerBlobGas?: undefined | undefined;
3106
+ maxFeePerGas?: bigint | undefined;
3107
+ maxPriorityFeePerGas?: bigint | undefined;
3108
+ sidecars?: undefined | undefined;
3109
+ } | {
3110
+ accessList?: viem0.AccessList | undefined;
3111
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3112
+ blobs?: undefined | undefined;
3113
+ blobVersionedHashes?: undefined | undefined;
3114
+ gasPrice?: undefined | undefined;
3115
+ maxFeePerBlobGas?: undefined | undefined;
3116
+ maxFeePerGas?: bigint | undefined;
3117
+ maxPriorityFeePerGas?: bigint | undefined;
3118
+ sidecars?: undefined | undefined;
3119
+ }) & {
3120
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3121
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3122
+ accessList?: undefined | undefined;
3123
+ authorizationList?: undefined | undefined;
3124
+ blobs?: undefined | undefined;
3125
+ blobVersionedHashes?: undefined | undefined;
3126
+ gasPrice?: bigint | undefined;
3127
+ sidecars?: undefined | undefined;
3128
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3129
+ accessList?: viem0.AccessList | undefined;
3130
+ authorizationList?: undefined | undefined;
3131
+ blobs?: undefined | undefined;
3132
+ blobVersionedHashes?: undefined | undefined;
3133
+ gasPrice?: undefined | undefined;
3134
+ maxFeePerBlobGas?: undefined | undefined;
3135
+ maxFeePerGas?: bigint | undefined;
3136
+ maxPriorityFeePerGas?: bigint | undefined;
3137
+ sidecars?: undefined | undefined;
3138
+ } & (viem0.OneOf<{
3139
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3140
+ } | {
3141
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3142
+ }, viem0.FeeValuesEIP1559> & {
3143
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3144
+ }) ? "eip1559" : never) | (request extends {
3145
+ accessList?: viem0.AccessList | undefined;
3146
+ authorizationList?: undefined | undefined;
3147
+ blobs?: undefined | undefined;
3148
+ blobVersionedHashes?: undefined | undefined;
3149
+ gasPrice?: bigint | undefined;
3150
+ sidecars?: undefined | undefined;
3151
+ maxFeePerBlobGas?: undefined | undefined;
3152
+ maxFeePerGas?: undefined | undefined;
3153
+ maxPriorityFeePerGas?: undefined | undefined;
3154
+ } & {
3155
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3156
+ } ? "eip2930" : never) | (request extends ({
3157
+ accessList?: viem0.AccessList | undefined;
3158
+ authorizationList?: undefined | undefined;
3159
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3160
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3161
+ maxFeePerBlobGas?: bigint | undefined;
3162
+ maxFeePerGas?: bigint | undefined;
3163
+ maxPriorityFeePerGas?: bigint | undefined;
3164
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3165
+ } | {
3166
+ accessList?: viem0.AccessList | undefined;
3167
+ authorizationList?: undefined | undefined;
3168
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3169
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3170
+ maxFeePerBlobGas?: bigint | undefined;
3171
+ maxFeePerGas?: bigint | undefined;
3172
+ maxPriorityFeePerGas?: bigint | undefined;
3173
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3174
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3175
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3176
+ } | {
3177
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3178
+ } | {
3179
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3180
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3181
+ accessList?: viem0.AccessList | undefined;
3182
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3183
+ blobs?: undefined | undefined;
3184
+ blobVersionedHashes?: undefined | undefined;
3185
+ gasPrice?: undefined | undefined;
3186
+ maxFeePerBlobGas?: undefined | undefined;
3187
+ maxFeePerGas?: bigint | undefined;
3188
+ maxPriorityFeePerGas?: bigint | undefined;
3189
+ sidecars?: undefined | undefined;
3190
+ } | {
3191
+ accessList?: viem0.AccessList | undefined;
3192
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3193
+ blobs?: undefined | undefined;
3194
+ blobVersionedHashes?: undefined | undefined;
3195
+ gasPrice?: undefined | undefined;
3196
+ maxFeePerBlobGas?: undefined | undefined;
3197
+ maxFeePerGas?: bigint | undefined;
3198
+ maxPriorityFeePerGas?: bigint | undefined;
3199
+ sidecars?: undefined | undefined;
3200
+ }) & {
3201
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3202
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_10 ? T_10 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3203
+ accessList?: undefined | undefined;
3204
+ authorizationList?: undefined | undefined;
3205
+ blobs?: undefined | undefined;
3206
+ blobVersionedHashes?: undefined | undefined;
3207
+ gasPrice?: bigint | undefined;
3208
+ sidecars?: undefined | undefined;
3209
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3210
+ accessList?: viem0.AccessList | undefined;
3211
+ authorizationList?: undefined | undefined;
3212
+ blobs?: undefined | undefined;
3213
+ blobVersionedHashes?: undefined | undefined;
3214
+ gasPrice?: undefined | undefined;
3215
+ maxFeePerBlobGas?: undefined | undefined;
3216
+ maxFeePerGas?: bigint | undefined;
3217
+ maxPriorityFeePerGas?: bigint | undefined;
3218
+ sidecars?: undefined | undefined;
3219
+ } & (viem0.OneOf<{
3220
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3221
+ } | {
3222
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3223
+ }, viem0.FeeValuesEIP1559> & {
3224
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3225
+ }) ? "eip1559" : never) | (request extends {
3226
+ accessList?: viem0.AccessList | undefined;
3227
+ authorizationList?: undefined | undefined;
3228
+ blobs?: undefined | undefined;
3229
+ blobVersionedHashes?: undefined | undefined;
3230
+ gasPrice?: bigint | undefined;
3231
+ sidecars?: undefined | undefined;
3232
+ maxFeePerBlobGas?: undefined | undefined;
3233
+ maxFeePerGas?: undefined | undefined;
3234
+ maxPriorityFeePerGas?: undefined | undefined;
3235
+ } & {
3236
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3237
+ } ? "eip2930" : never) | (request extends ({
3238
+ accessList?: viem0.AccessList | undefined;
3239
+ authorizationList?: undefined | undefined;
3240
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3241
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3242
+ maxFeePerBlobGas?: bigint | undefined;
3243
+ maxFeePerGas?: bigint | undefined;
3244
+ maxPriorityFeePerGas?: bigint | undefined;
3245
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3246
+ } | {
3247
+ accessList?: viem0.AccessList | undefined;
3248
+ authorizationList?: undefined | undefined;
3249
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3250
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3251
+ maxFeePerBlobGas?: bigint | undefined;
3252
+ maxFeePerGas?: bigint | undefined;
3253
+ maxPriorityFeePerGas?: bigint | undefined;
3254
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3255
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3256
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3257
+ } | {
3258
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3259
+ } | {
3260
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3261
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3262
+ accessList?: viem0.AccessList | undefined;
3263
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3264
+ blobs?: undefined | undefined;
3265
+ blobVersionedHashes?: undefined | undefined;
3266
+ gasPrice?: undefined | undefined;
3267
+ maxFeePerBlobGas?: undefined | undefined;
3268
+ maxFeePerGas?: bigint | undefined;
3269
+ maxPriorityFeePerGas?: bigint | undefined;
3270
+ sidecars?: undefined | undefined;
3271
+ } | {
3272
+ accessList?: viem0.AccessList | undefined;
3273
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3274
+ blobs?: undefined | undefined;
3275
+ blobVersionedHashes?: undefined | undefined;
3276
+ gasPrice?: undefined | undefined;
3277
+ maxFeePerBlobGas?: undefined | undefined;
3278
+ maxFeePerGas?: bigint | undefined;
3279
+ maxPriorityFeePerGas?: bigint | undefined;
3280
+ sidecars?: undefined | undefined;
3281
+ }) & {
3282
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3283
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3284
+ accessList?: undefined | undefined;
3285
+ authorizationList?: undefined | undefined;
3286
+ blobs?: undefined | undefined;
3287
+ blobVersionedHashes?: undefined | undefined;
3288
+ gasPrice?: bigint | undefined;
3289
+ sidecars?: undefined | undefined;
3290
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3291
+ accessList?: viem0.AccessList | undefined;
3292
+ authorizationList?: undefined | undefined;
3293
+ blobs?: undefined | undefined;
3294
+ blobVersionedHashes?: undefined | undefined;
3295
+ gasPrice?: undefined | undefined;
3296
+ maxFeePerBlobGas?: undefined | undefined;
3297
+ maxFeePerGas?: bigint | undefined;
3298
+ maxPriorityFeePerGas?: bigint | undefined;
3299
+ sidecars?: undefined | undefined;
3300
+ } & (viem0.OneOf<{
3301
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3302
+ } | {
3303
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3304
+ }, viem0.FeeValuesEIP1559> & {
3305
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3306
+ }) ? "eip1559" : never) | (request extends {
3307
+ accessList?: viem0.AccessList | undefined;
3308
+ authorizationList?: undefined | undefined;
3309
+ blobs?: undefined | undefined;
3310
+ blobVersionedHashes?: undefined | undefined;
3311
+ gasPrice?: bigint | undefined;
3312
+ sidecars?: undefined | undefined;
3313
+ maxFeePerBlobGas?: undefined | undefined;
3314
+ maxFeePerGas?: undefined | undefined;
3315
+ maxPriorityFeePerGas?: undefined | undefined;
3316
+ } & {
3317
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3318
+ } ? "eip2930" : never) | (request extends ({
3319
+ accessList?: viem0.AccessList | undefined;
3320
+ authorizationList?: undefined | undefined;
3321
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3322
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3323
+ maxFeePerBlobGas?: bigint | undefined;
3324
+ maxFeePerGas?: bigint | undefined;
3325
+ maxPriorityFeePerGas?: bigint | undefined;
3326
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3327
+ } | {
3328
+ accessList?: viem0.AccessList | undefined;
3329
+ authorizationList?: undefined | undefined;
3330
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3331
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3332
+ maxFeePerBlobGas?: bigint | undefined;
3333
+ maxFeePerGas?: bigint | undefined;
3334
+ maxPriorityFeePerGas?: bigint | undefined;
3335
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3336
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3337
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3338
+ } | {
3339
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3340
+ } | {
3341
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3342
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3343
+ accessList?: viem0.AccessList | undefined;
3344
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3345
+ blobs?: undefined | undefined;
3346
+ blobVersionedHashes?: undefined | undefined;
3347
+ gasPrice?: undefined | undefined;
3348
+ maxFeePerBlobGas?: undefined | undefined;
3349
+ maxFeePerGas?: bigint | undefined;
3350
+ maxPriorityFeePerGas?: bigint | undefined;
3351
+ sidecars?: undefined | undefined;
3352
+ } | {
3353
+ accessList?: viem0.AccessList | undefined;
3354
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3355
+ blobs?: undefined | undefined;
3356
+ blobVersionedHashes?: undefined | undefined;
3357
+ gasPrice?: undefined | undefined;
3358
+ maxFeePerBlobGas?: undefined | undefined;
3359
+ maxFeePerGas?: bigint | undefined;
3360
+ maxPriorityFeePerGas?: bigint | undefined;
3361
+ sidecars?: undefined | undefined;
3362
+ }) & {
3363
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3364
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_10 extends "eip2930" ? viem0.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3365
+ accessList?: undefined | undefined;
3366
+ authorizationList?: undefined | undefined;
3367
+ blobs?: undefined | undefined;
3368
+ blobVersionedHashes?: undefined | undefined;
3369
+ gasPrice?: bigint | undefined;
3370
+ sidecars?: undefined | undefined;
3371
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3372
+ accessList?: viem0.AccessList | undefined;
3373
+ authorizationList?: undefined | undefined;
3374
+ blobs?: undefined | undefined;
3375
+ blobVersionedHashes?: undefined | undefined;
3376
+ gasPrice?: undefined | undefined;
3377
+ maxFeePerBlobGas?: undefined | undefined;
3378
+ maxFeePerGas?: bigint | undefined;
3379
+ maxPriorityFeePerGas?: bigint | undefined;
3380
+ sidecars?: undefined | undefined;
3381
+ } & (viem0.OneOf<{
3382
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3383
+ } | {
3384
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3385
+ }, viem0.FeeValuesEIP1559> & {
3386
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3387
+ }) ? "eip1559" : never) | (request extends {
3388
+ accessList?: viem0.AccessList | undefined;
3389
+ authorizationList?: undefined | undefined;
3390
+ blobs?: undefined | undefined;
3391
+ blobVersionedHashes?: undefined | undefined;
3392
+ gasPrice?: bigint | undefined;
3393
+ sidecars?: undefined | undefined;
3394
+ maxFeePerBlobGas?: undefined | undefined;
3395
+ maxFeePerGas?: undefined | undefined;
3396
+ maxPriorityFeePerGas?: undefined | undefined;
3397
+ } & {
3398
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3399
+ } ? "eip2930" : never) | (request extends ({
3400
+ accessList?: viem0.AccessList | undefined;
3401
+ authorizationList?: undefined | undefined;
3402
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3403
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3404
+ maxFeePerBlobGas?: bigint | undefined;
3405
+ maxFeePerGas?: bigint | undefined;
3406
+ maxPriorityFeePerGas?: bigint | undefined;
3407
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3408
+ } | {
3409
+ accessList?: viem0.AccessList | undefined;
3410
+ authorizationList?: undefined | undefined;
3411
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3412
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3413
+ maxFeePerBlobGas?: bigint | undefined;
3414
+ maxFeePerGas?: bigint | undefined;
3415
+ maxPriorityFeePerGas?: bigint | undefined;
3416
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3417
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3418
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3419
+ } | {
3420
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3421
+ } | {
3422
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3423
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3424
+ accessList?: viem0.AccessList | undefined;
3425
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3426
+ blobs?: undefined | undefined;
3427
+ blobVersionedHashes?: undefined | undefined;
3428
+ gasPrice?: undefined | undefined;
3429
+ maxFeePerBlobGas?: undefined | undefined;
3430
+ maxFeePerGas?: bigint | undefined;
3431
+ maxPriorityFeePerGas?: bigint | undefined;
3432
+ sidecars?: undefined | undefined;
3433
+ } | {
3434
+ accessList?: viem0.AccessList | undefined;
3435
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3436
+ blobs?: undefined | undefined;
3437
+ blobVersionedHashes?: undefined | undefined;
3438
+ gasPrice?: undefined | undefined;
3439
+ maxFeePerBlobGas?: undefined | undefined;
3440
+ maxFeePerGas?: bigint | undefined;
3441
+ maxPriorityFeePerGas?: bigint | undefined;
3442
+ sidecars?: undefined | undefined;
3443
+ }) & {
3444
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3445
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3446
+ accessList?: undefined | undefined;
3447
+ authorizationList?: undefined | undefined;
3448
+ blobs?: undefined | undefined;
3449
+ blobVersionedHashes?: undefined | undefined;
3450
+ gasPrice?: bigint | undefined;
3451
+ sidecars?: undefined | undefined;
3452
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3453
+ accessList?: viem0.AccessList | undefined;
3454
+ authorizationList?: undefined | undefined;
3455
+ blobs?: undefined | undefined;
3456
+ blobVersionedHashes?: undefined | undefined;
3457
+ gasPrice?: undefined | undefined;
3458
+ maxFeePerBlobGas?: undefined | undefined;
3459
+ maxFeePerGas?: bigint | undefined;
3460
+ maxPriorityFeePerGas?: bigint | undefined;
3461
+ sidecars?: undefined | undefined;
3462
+ } & (viem0.OneOf<{
3463
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3464
+ } | {
3465
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3466
+ }, viem0.FeeValuesEIP1559> & {
3467
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3468
+ }) ? "eip1559" : never) | (request extends {
3469
+ accessList?: viem0.AccessList | undefined;
3470
+ authorizationList?: undefined | undefined;
3471
+ blobs?: undefined | undefined;
3472
+ blobVersionedHashes?: undefined | undefined;
3473
+ gasPrice?: bigint | undefined;
3474
+ sidecars?: undefined | undefined;
3475
+ maxFeePerBlobGas?: undefined | undefined;
3476
+ maxFeePerGas?: undefined | undefined;
3477
+ maxPriorityFeePerGas?: undefined | undefined;
3478
+ } & {
3479
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3480
+ } ? "eip2930" : never) | (request extends ({
3481
+ accessList?: viem0.AccessList | undefined;
3482
+ authorizationList?: undefined | undefined;
3483
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3484
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3485
+ maxFeePerBlobGas?: bigint | undefined;
3486
+ maxFeePerGas?: bigint | undefined;
3487
+ maxPriorityFeePerGas?: bigint | undefined;
3488
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3489
+ } | {
3490
+ accessList?: viem0.AccessList | undefined;
3491
+ authorizationList?: undefined | undefined;
3492
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3493
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3494
+ maxFeePerBlobGas?: bigint | undefined;
3495
+ maxFeePerGas?: bigint | undefined;
3496
+ maxPriorityFeePerGas?: bigint | undefined;
3497
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3498
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3499
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3500
+ } | {
3501
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3502
+ } | {
3503
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3504
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3505
+ accessList?: viem0.AccessList | undefined;
3506
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3507
+ blobs?: undefined | undefined;
3508
+ blobVersionedHashes?: undefined | undefined;
3509
+ gasPrice?: undefined | undefined;
3510
+ maxFeePerBlobGas?: undefined | undefined;
3511
+ maxFeePerGas?: bigint | undefined;
3512
+ maxPriorityFeePerGas?: bigint | undefined;
3513
+ sidecars?: undefined | undefined;
3514
+ } | {
3515
+ accessList?: viem0.AccessList | undefined;
3516
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3517
+ blobs?: undefined | undefined;
3518
+ blobVersionedHashes?: undefined | undefined;
3519
+ gasPrice?: undefined | undefined;
3520
+ maxFeePerBlobGas?: undefined | undefined;
3521
+ maxFeePerGas?: bigint | undefined;
3522
+ maxPriorityFeePerGas?: bigint | undefined;
3523
+ sidecars?: undefined | undefined;
3524
+ }) & {
3525
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3526
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_11 ? T_11 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3527
+ accessList?: undefined | undefined;
3528
+ authorizationList?: undefined | undefined;
3529
+ blobs?: undefined | undefined;
3530
+ blobVersionedHashes?: undefined | undefined;
3531
+ gasPrice?: bigint | undefined;
3532
+ sidecars?: undefined | undefined;
3533
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3534
+ accessList?: viem0.AccessList | undefined;
3535
+ authorizationList?: undefined | undefined;
3536
+ blobs?: undefined | undefined;
3537
+ blobVersionedHashes?: undefined | undefined;
3538
+ gasPrice?: undefined | undefined;
3539
+ maxFeePerBlobGas?: undefined | undefined;
3540
+ maxFeePerGas?: bigint | undefined;
3541
+ maxPriorityFeePerGas?: bigint | undefined;
3542
+ sidecars?: undefined | undefined;
3543
+ } & (viem0.OneOf<{
3544
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3545
+ } | {
3546
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3547
+ }, viem0.FeeValuesEIP1559> & {
3548
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3549
+ }) ? "eip1559" : never) | (request extends {
3550
+ accessList?: viem0.AccessList | undefined;
3551
+ authorizationList?: undefined | undefined;
3552
+ blobs?: undefined | undefined;
3553
+ blobVersionedHashes?: undefined | undefined;
3554
+ gasPrice?: bigint | undefined;
3555
+ sidecars?: undefined | undefined;
3556
+ maxFeePerBlobGas?: undefined | undefined;
3557
+ maxFeePerGas?: undefined | undefined;
3558
+ maxPriorityFeePerGas?: undefined | undefined;
3559
+ } & {
3560
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3561
+ } ? "eip2930" : never) | (request extends ({
3562
+ accessList?: viem0.AccessList | undefined;
3563
+ authorizationList?: undefined | undefined;
3564
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3565
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3566
+ maxFeePerBlobGas?: bigint | undefined;
3567
+ maxFeePerGas?: bigint | undefined;
3568
+ maxPriorityFeePerGas?: bigint | undefined;
3569
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3570
+ } | {
3571
+ accessList?: viem0.AccessList | undefined;
3572
+ authorizationList?: undefined | undefined;
3573
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3574
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3575
+ maxFeePerBlobGas?: bigint | undefined;
3576
+ maxFeePerGas?: bigint | undefined;
3577
+ maxPriorityFeePerGas?: bigint | undefined;
3578
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3579
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3580
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3581
+ } | {
3582
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3583
+ } | {
3584
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3585
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3586
+ accessList?: viem0.AccessList | undefined;
3587
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3588
+ blobs?: undefined | undefined;
3589
+ blobVersionedHashes?: undefined | undefined;
3590
+ gasPrice?: undefined | undefined;
3591
+ maxFeePerBlobGas?: undefined | undefined;
3592
+ maxFeePerGas?: bigint | undefined;
3593
+ maxPriorityFeePerGas?: bigint | undefined;
3594
+ sidecars?: undefined | undefined;
3595
+ } | {
3596
+ accessList?: viem0.AccessList | undefined;
3597
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3598
+ blobs?: undefined | undefined;
3599
+ blobVersionedHashes?: undefined | undefined;
3600
+ gasPrice?: undefined | undefined;
3601
+ maxFeePerBlobGas?: undefined | undefined;
3602
+ maxFeePerGas?: bigint | undefined;
3603
+ maxPriorityFeePerGas?: bigint | undefined;
3604
+ sidecars?: undefined | undefined;
3605
+ }) & {
3606
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3607
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3608
+ accessList?: undefined | undefined;
3609
+ authorizationList?: undefined | undefined;
3610
+ blobs?: undefined | undefined;
3611
+ blobVersionedHashes?: undefined | undefined;
3612
+ gasPrice?: bigint | undefined;
3613
+ sidecars?: undefined | undefined;
3614
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3615
+ accessList?: viem0.AccessList | undefined;
3616
+ authorizationList?: undefined | undefined;
3617
+ blobs?: undefined | undefined;
3618
+ blobVersionedHashes?: undefined | undefined;
3619
+ gasPrice?: undefined | undefined;
3620
+ maxFeePerBlobGas?: undefined | undefined;
3621
+ maxFeePerGas?: bigint | undefined;
3622
+ maxPriorityFeePerGas?: bigint | undefined;
3623
+ sidecars?: undefined | undefined;
3624
+ } & (viem0.OneOf<{
3625
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3626
+ } | {
3627
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3628
+ }, viem0.FeeValuesEIP1559> & {
3629
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3630
+ }) ? "eip1559" : never) | (request extends {
3631
+ accessList?: viem0.AccessList | undefined;
3632
+ authorizationList?: undefined | undefined;
3633
+ blobs?: undefined | undefined;
3634
+ blobVersionedHashes?: undefined | undefined;
3635
+ gasPrice?: bigint | undefined;
3636
+ sidecars?: undefined | undefined;
3637
+ maxFeePerBlobGas?: undefined | undefined;
3638
+ maxFeePerGas?: undefined | undefined;
3639
+ maxPriorityFeePerGas?: undefined | undefined;
3640
+ } & {
3641
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3642
+ } ? "eip2930" : never) | (request extends ({
3643
+ accessList?: viem0.AccessList | undefined;
3644
+ authorizationList?: undefined | undefined;
3645
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3646
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3647
+ maxFeePerBlobGas?: bigint | undefined;
3648
+ maxFeePerGas?: bigint | undefined;
3649
+ maxPriorityFeePerGas?: bigint | undefined;
3650
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3651
+ } | {
3652
+ accessList?: viem0.AccessList | undefined;
3653
+ authorizationList?: undefined | undefined;
3654
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3655
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3656
+ maxFeePerBlobGas?: bigint | undefined;
3657
+ maxFeePerGas?: bigint | undefined;
3658
+ maxPriorityFeePerGas?: bigint | undefined;
3659
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3660
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3661
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3662
+ } | {
3663
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3664
+ } | {
3665
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3666
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3667
+ accessList?: viem0.AccessList | undefined;
3668
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3669
+ blobs?: undefined | undefined;
3670
+ blobVersionedHashes?: undefined | undefined;
3671
+ gasPrice?: undefined | undefined;
3672
+ maxFeePerBlobGas?: undefined | undefined;
3673
+ maxFeePerGas?: bigint | undefined;
3674
+ maxPriorityFeePerGas?: bigint | undefined;
3675
+ sidecars?: undefined | undefined;
3676
+ } | {
3677
+ accessList?: viem0.AccessList | undefined;
3678
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3679
+ blobs?: undefined | undefined;
3680
+ blobVersionedHashes?: undefined | undefined;
3681
+ gasPrice?: undefined | undefined;
3682
+ maxFeePerBlobGas?: undefined | undefined;
3683
+ maxFeePerGas?: bigint | undefined;
3684
+ maxPriorityFeePerGas?: bigint | undefined;
3685
+ sidecars?: undefined | undefined;
3686
+ }) & {
3687
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3688
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_11 extends "eip4844" ? viem0.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3689
+ accessList?: undefined | undefined;
3690
+ authorizationList?: undefined | undefined;
3691
+ blobs?: undefined | undefined;
3692
+ blobVersionedHashes?: undefined | undefined;
3693
+ gasPrice?: bigint | undefined;
3694
+ sidecars?: undefined | undefined;
3695
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3696
+ accessList?: viem0.AccessList | undefined;
3697
+ authorizationList?: undefined | undefined;
3698
+ blobs?: undefined | undefined;
3699
+ blobVersionedHashes?: undefined | undefined;
3700
+ gasPrice?: undefined | undefined;
3701
+ maxFeePerBlobGas?: undefined | undefined;
3702
+ maxFeePerGas?: bigint | undefined;
3703
+ maxPriorityFeePerGas?: bigint | undefined;
3704
+ sidecars?: undefined | undefined;
3705
+ } & (viem0.OneOf<{
3706
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3707
+ } | {
3708
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3709
+ }, viem0.FeeValuesEIP1559> & {
3710
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3711
+ }) ? "eip1559" : never) | (request extends {
3712
+ accessList?: viem0.AccessList | undefined;
3713
+ authorizationList?: undefined | undefined;
3714
+ blobs?: undefined | undefined;
3715
+ blobVersionedHashes?: undefined | undefined;
3716
+ gasPrice?: bigint | undefined;
3717
+ sidecars?: undefined | undefined;
3718
+ maxFeePerBlobGas?: undefined | undefined;
3719
+ maxFeePerGas?: undefined | undefined;
3720
+ maxPriorityFeePerGas?: undefined | undefined;
3721
+ } & {
3722
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3723
+ } ? "eip2930" : never) | (request extends ({
3724
+ accessList?: viem0.AccessList | undefined;
3725
+ authorizationList?: undefined | undefined;
3726
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3727
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3728
+ maxFeePerBlobGas?: bigint | undefined;
3729
+ maxFeePerGas?: bigint | undefined;
3730
+ maxPriorityFeePerGas?: bigint | undefined;
3731
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3732
+ } | {
3733
+ accessList?: viem0.AccessList | undefined;
3734
+ authorizationList?: undefined | undefined;
3735
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3736
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3737
+ maxFeePerBlobGas?: bigint | undefined;
3738
+ maxFeePerGas?: bigint | undefined;
3739
+ maxPriorityFeePerGas?: bigint | undefined;
3740
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3741
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3742
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3743
+ } | {
3744
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3745
+ } | {
3746
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3747
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3748
+ accessList?: viem0.AccessList | undefined;
3749
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3750
+ blobs?: undefined | undefined;
3751
+ blobVersionedHashes?: undefined | undefined;
3752
+ gasPrice?: undefined | undefined;
3753
+ maxFeePerBlobGas?: undefined | undefined;
3754
+ maxFeePerGas?: bigint | undefined;
3755
+ maxPriorityFeePerGas?: bigint | undefined;
3756
+ sidecars?: undefined | undefined;
3757
+ } | {
3758
+ accessList?: viem0.AccessList | undefined;
3759
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3760
+ blobs?: undefined | undefined;
3761
+ blobVersionedHashes?: undefined | undefined;
3762
+ gasPrice?: undefined | undefined;
3763
+ maxFeePerBlobGas?: undefined | undefined;
3764
+ maxFeePerGas?: bigint | undefined;
3765
+ maxPriorityFeePerGas?: bigint | undefined;
3766
+ sidecars?: undefined | undefined;
3767
+ }) & {
3768
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3769
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3770
+ accessList?: undefined | undefined;
3771
+ authorizationList?: undefined | undefined;
3772
+ blobs?: undefined | undefined;
3773
+ blobVersionedHashes?: undefined | undefined;
3774
+ gasPrice?: bigint | undefined;
3775
+ sidecars?: undefined | undefined;
3776
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3777
+ accessList?: viem0.AccessList | undefined;
3778
+ authorizationList?: undefined | undefined;
3779
+ blobs?: undefined | undefined;
3780
+ blobVersionedHashes?: undefined | undefined;
3781
+ gasPrice?: undefined | undefined;
3782
+ maxFeePerBlobGas?: undefined | undefined;
3783
+ maxFeePerGas?: bigint | undefined;
3784
+ maxPriorityFeePerGas?: bigint | undefined;
3785
+ sidecars?: undefined | undefined;
3786
+ } & (viem0.OneOf<{
3787
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3788
+ } | {
3789
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3790
+ }, viem0.FeeValuesEIP1559> & {
3791
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3792
+ }) ? "eip1559" : never) | (request extends {
3793
+ accessList?: viem0.AccessList | undefined;
3794
+ authorizationList?: undefined | undefined;
3795
+ blobs?: undefined | undefined;
3796
+ blobVersionedHashes?: undefined | undefined;
3797
+ gasPrice?: bigint | undefined;
3798
+ sidecars?: undefined | undefined;
3799
+ maxFeePerBlobGas?: undefined | undefined;
3800
+ maxFeePerGas?: undefined | undefined;
3801
+ maxPriorityFeePerGas?: undefined | undefined;
3802
+ } & {
3803
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3804
+ } ? "eip2930" : never) | (request extends ({
3805
+ accessList?: viem0.AccessList | undefined;
3806
+ authorizationList?: undefined | undefined;
3807
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3808
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3809
+ maxFeePerBlobGas?: bigint | undefined;
3810
+ maxFeePerGas?: bigint | undefined;
3811
+ maxPriorityFeePerGas?: bigint | undefined;
3812
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3813
+ } | {
3814
+ accessList?: viem0.AccessList | undefined;
3815
+ authorizationList?: undefined | undefined;
3816
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3817
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3818
+ maxFeePerBlobGas?: bigint | undefined;
3819
+ maxFeePerGas?: bigint | undefined;
3820
+ maxPriorityFeePerGas?: bigint | undefined;
3821
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3822
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3823
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3824
+ } | {
3825
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3826
+ } | {
3827
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3828
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3829
+ accessList?: viem0.AccessList | undefined;
3830
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3831
+ blobs?: undefined | undefined;
3832
+ blobVersionedHashes?: undefined | undefined;
3833
+ gasPrice?: undefined | undefined;
3834
+ maxFeePerBlobGas?: undefined | undefined;
3835
+ maxFeePerGas?: bigint | undefined;
3836
+ maxPriorityFeePerGas?: bigint | undefined;
3837
+ sidecars?: undefined | undefined;
3838
+ } | {
3839
+ accessList?: viem0.AccessList | undefined;
3840
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3841
+ blobs?: undefined | undefined;
3842
+ blobVersionedHashes?: undefined | undefined;
3843
+ gasPrice?: undefined | undefined;
3844
+ maxFeePerBlobGas?: undefined | undefined;
3845
+ maxFeePerGas?: bigint | undefined;
3846
+ maxPriorityFeePerGas?: bigint | undefined;
3847
+ sidecars?: undefined | undefined;
3848
+ }) & {
3849
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3850
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_12 ? T_12 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
3851
+ accessList?: undefined | undefined;
3852
+ authorizationList?: undefined | undefined;
3853
+ blobs?: undefined | undefined;
3854
+ blobVersionedHashes?: undefined | undefined;
3855
+ gasPrice?: bigint | undefined;
3856
+ sidecars?: undefined | undefined;
3857
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3858
+ accessList?: viem0.AccessList | undefined;
3859
+ authorizationList?: undefined | undefined;
3860
+ blobs?: undefined | undefined;
3861
+ blobVersionedHashes?: undefined | undefined;
3862
+ gasPrice?: undefined | undefined;
3863
+ maxFeePerBlobGas?: undefined | undefined;
3864
+ maxFeePerGas?: bigint | undefined;
3865
+ maxPriorityFeePerGas?: bigint | undefined;
3866
+ sidecars?: undefined | undefined;
3867
+ } & (viem0.OneOf<{
3868
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3869
+ } | {
3870
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3871
+ }, viem0.FeeValuesEIP1559> & {
3872
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3873
+ }) ? "eip1559" : never) | (request extends {
3874
+ accessList?: viem0.AccessList | undefined;
3875
+ authorizationList?: undefined | undefined;
3876
+ blobs?: undefined | undefined;
3877
+ blobVersionedHashes?: undefined | undefined;
3878
+ gasPrice?: bigint | undefined;
3879
+ sidecars?: undefined | undefined;
3880
+ maxFeePerBlobGas?: undefined | undefined;
3881
+ maxFeePerGas?: undefined | undefined;
3882
+ maxPriorityFeePerGas?: undefined | undefined;
3883
+ } & {
3884
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3885
+ } ? "eip2930" : never) | (request extends ({
3886
+ accessList?: viem0.AccessList | undefined;
3887
+ authorizationList?: undefined | undefined;
3888
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3889
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3890
+ maxFeePerBlobGas?: bigint | undefined;
3891
+ maxFeePerGas?: bigint | undefined;
3892
+ maxPriorityFeePerGas?: bigint | undefined;
3893
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3894
+ } | {
3895
+ accessList?: viem0.AccessList | undefined;
3896
+ authorizationList?: undefined | undefined;
3897
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3898
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3899
+ maxFeePerBlobGas?: bigint | undefined;
3900
+ maxFeePerGas?: bigint | undefined;
3901
+ maxPriorityFeePerGas?: bigint | undefined;
3902
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3903
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3904
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3905
+ } | {
3906
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3907
+ } | {
3908
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3909
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3910
+ accessList?: viem0.AccessList | undefined;
3911
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3912
+ blobs?: undefined | undefined;
3913
+ blobVersionedHashes?: undefined | undefined;
3914
+ gasPrice?: undefined | undefined;
3915
+ maxFeePerBlobGas?: undefined | undefined;
3916
+ maxFeePerGas?: bigint | undefined;
3917
+ maxPriorityFeePerGas?: bigint | undefined;
3918
+ sidecars?: undefined | undefined;
3919
+ } | {
3920
+ accessList?: viem0.AccessList | undefined;
3921
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3922
+ blobs?: undefined | undefined;
3923
+ blobVersionedHashes?: undefined | undefined;
3924
+ gasPrice?: undefined | undefined;
3925
+ maxFeePerBlobGas?: undefined | undefined;
3926
+ maxFeePerGas?: bigint | undefined;
3927
+ maxPriorityFeePerGas?: bigint | undefined;
3928
+ sidecars?: undefined | undefined;
3929
+ }) & {
3930
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
3931
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
3932
+ accessList?: undefined | undefined;
3933
+ authorizationList?: undefined | undefined;
3934
+ blobs?: undefined | undefined;
3935
+ blobVersionedHashes?: undefined | undefined;
3936
+ gasPrice?: bigint | undefined;
3937
+ sidecars?: undefined | undefined;
3938
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
3939
+ accessList?: viem0.AccessList | undefined;
3940
+ authorizationList?: undefined | undefined;
3941
+ blobs?: undefined | undefined;
3942
+ blobVersionedHashes?: undefined | undefined;
3943
+ gasPrice?: undefined | undefined;
3944
+ maxFeePerBlobGas?: undefined | undefined;
3945
+ maxFeePerGas?: bigint | undefined;
3946
+ maxPriorityFeePerGas?: bigint | undefined;
3947
+ sidecars?: undefined | undefined;
3948
+ } & (viem0.OneOf<{
3949
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
3950
+ } | {
3951
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
3952
+ }, viem0.FeeValuesEIP1559> & {
3953
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
3954
+ }) ? "eip1559" : never) | (request extends {
3955
+ accessList?: viem0.AccessList | undefined;
3956
+ authorizationList?: undefined | undefined;
3957
+ blobs?: undefined | undefined;
3958
+ blobVersionedHashes?: undefined | undefined;
3959
+ gasPrice?: bigint | undefined;
3960
+ sidecars?: undefined | undefined;
3961
+ maxFeePerBlobGas?: undefined | undefined;
3962
+ maxFeePerGas?: undefined | undefined;
3963
+ maxPriorityFeePerGas?: undefined | undefined;
3964
+ } & {
3965
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
3966
+ } ? "eip2930" : never) | (request extends ({
3967
+ accessList?: viem0.AccessList | undefined;
3968
+ authorizationList?: undefined | undefined;
3969
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3970
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3971
+ maxFeePerBlobGas?: bigint | undefined;
3972
+ maxFeePerGas?: bigint | undefined;
3973
+ maxPriorityFeePerGas?: bigint | undefined;
3974
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3975
+ } | {
3976
+ accessList?: viem0.AccessList | undefined;
3977
+ authorizationList?: undefined | undefined;
3978
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
3979
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3980
+ maxFeePerBlobGas?: bigint | undefined;
3981
+ maxFeePerGas?: bigint | undefined;
3982
+ maxPriorityFeePerGas?: bigint | undefined;
3983
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
3984
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
3985
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
3986
+ } | {
3987
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
3988
+ } | {
3989
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
3990
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3991
+ accessList?: viem0.AccessList | undefined;
3992
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
3993
+ blobs?: undefined | undefined;
3994
+ blobVersionedHashes?: undefined | undefined;
3995
+ gasPrice?: undefined | undefined;
3996
+ maxFeePerBlobGas?: undefined | undefined;
3997
+ maxFeePerGas?: bigint | undefined;
3998
+ maxPriorityFeePerGas?: bigint | undefined;
3999
+ sidecars?: undefined | undefined;
4000
+ } | {
4001
+ accessList?: viem0.AccessList | undefined;
4002
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4003
+ blobs?: undefined | undefined;
4004
+ blobVersionedHashes?: undefined | undefined;
4005
+ gasPrice?: undefined | undefined;
4006
+ maxFeePerBlobGas?: undefined | undefined;
4007
+ maxFeePerGas?: bigint | undefined;
4008
+ maxPriorityFeePerGas?: bigint | undefined;
4009
+ sidecars?: undefined | undefined;
4010
+ }) & {
4011
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4012
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? viem0.TransactionRequestEIP7702 : never : never : never)>> & {
4013
+ chainId?: number | undefined;
4014
+ }, (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K] } : never>;
4015
+ readContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "pure" | "view">, const args extends viem0.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem0.ReadContractParameters<abi, functionName, args>) => Promise<viem0.ReadContractReturnType<abi, functionName, args>>;
4016
+ sendRawTransaction: (args: viem0.SendRawTransactionParameters) => Promise<viem0.SendRawTransactionReturnType>;
4017
+ simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
4018
+ simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
4019
+ simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
4020
+ simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain, viem0.Account | undefined, chainOverride, accountOverride>>;
4021
+ verifyMessage: (args: viem0.VerifyMessageActionParameters) => Promise<viem0.VerifyMessageActionReturnType>;
4022
+ verifySiweMessage: (args: {
4023
+ blockNumber?: bigint | undefined | undefined;
4024
+ blockTag?: viem0.BlockTag | undefined;
4025
+ address?: `0x${string}` | undefined;
4026
+ nonce?: string | undefined | undefined;
4027
+ domain?: string | undefined | undefined;
4028
+ scheme?: string | undefined | undefined;
4029
+ time?: Date | undefined;
4030
+ message: string;
4031
+ signature: viem0.Hex;
4032
+ }) => Promise<boolean>;
4033
+ verifyTypedData: (args: viem0.VerifyTypedDataActionParameters) => Promise<viem0.VerifyTypedDataActionReturnType>;
4034
+ uninstallFilter: (args: viem0.UninstallFilterParameters) => Promise<viem0.UninstallFilterReturnType>;
4035
+ waitForTransactionReceipt: (args: viem0.WaitForTransactionReceiptParameters<Chain>) => Promise<viem0.TransactionReceipt>;
4036
+ watchBlockNumber: (args: viem0.WatchBlockNumberParameters) => viem0.WatchBlockNumberReturnType;
4037
+ watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<Transport, Chain, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
4038
+ watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, Transport>) => viem0.WatchContractEventReturnType;
4039
+ watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, Transport>) => viem0.WatchEventReturnType;
4040
+ watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<Transport>) => viem0.WatchPendingTransactionsReturnType;
4041
+ extend: <const client extends {
4042
+ [x: string]: unknown;
4043
+ account?: undefined;
4044
+ batch?: undefined;
4045
+ cacheTime?: undefined;
4046
+ ccipRead?: undefined;
4047
+ chain?: undefined;
4048
+ experimental_blockTag?: undefined;
4049
+ key?: undefined;
4050
+ name?: undefined;
4051
+ pollingInterval?: undefined;
4052
+ request?: undefined;
4053
+ transport?: undefined;
4054
+ type?: undefined;
4055
+ uid?: undefined;
4056
+ } & viem0.ExactPartial<Pick<viem0.PublicActions<Transport, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<Transport, Chain>>) => client) => viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<Transport, Chain>>;
4057
+ } | {
4058
+ account: undefined;
4059
+ batch?: {
4060
+ multicall?: boolean | chains.Prettify<viem0.MulticallBatchOptions> | undefined;
4061
+ } | undefined;
4062
+ cacheTime: number;
4063
+ ccipRead?: false | {
4064
+ request?: (parameters: viem0.CcipRequestParameters) => Promise<`0x${string}`>;
4065
+ } | undefined;
4066
+ chain: Chain;
4067
+ experimental_blockTag?: viem0.BlockTag | undefined;
4068
+ key: string;
4069
+ name: string;
4070
+ pollingInterval: number;
4071
+ request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema>;
4072
+ transport: viem0.TransportConfig<"http", viem0.EIP1193RequestFn> & {
4073
+ fetchOptions?: HttpTransportConfig["fetchOptions"] | undefined;
4074
+ url?: string | undefined;
4075
+ };
390
4076
  type: string;
391
4077
  uid: string;
392
4078
  call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
@@ -3984,10 +7670,10 @@ declare const getPublicClient: (options: ClientOptions) => {
3984
7670
  uninstallFilter: (args: viem0.UninstallFilterParameters) => Promise<viem0.UninstallFilterReturnType>;
3985
7671
  waitForTransactionReceipt: (args: viem0.WaitForTransactionReceiptParameters<Chain>) => Promise<viem0.TransactionReceipt>;
3986
7672
  watchBlockNumber: (args: viem0.WatchBlockNumberParameters) => viem0.WatchBlockNumberReturnType;
3987
- watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<Transport, Chain, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
3988
- watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, Transport>) => viem0.WatchContractEventReturnType;
3989
- watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, Transport>) => viem0.WatchEventReturnType;
3990
- watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<Transport>) => viem0.WatchPendingTransactionsReturnType;
7673
+ watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
7674
+ watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchContractEventReturnType;
7675
+ watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchEventReturnType;
7676
+ watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchPendingTransactionsReturnType;
3991
7677
  extend: <const client extends {
3992
7678
  [x: string]: unknown;
3993
7679
  account?: undefined;
@@ -4003,28 +7689,93 @@ declare const getPublicClient: (options: ClientOptions) => {
4003
7689
  transport?: undefined;
4004
7690
  type?: undefined;
4005
7691
  uid?: undefined;
4006
- } & viem0.ExactPartial<Pick<viem0.PublicActions<Transport, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<Transport, Chain>>) => client) => viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<Transport, Chain>>;
4007
- } | {
4008
- account: undefined;
4009
- batch?: {
4010
- multicall?: boolean | chains.Prettify<viem0.MulticallBatchOptions> | undefined;
4011
- } | undefined;
4012
- cacheTime: number;
4013
- ccipRead?: false | {
4014
- request?: (parameters: viem0.CcipRequestParameters) => Promise<`0x${string}`>;
4015
- } | undefined;
4016
- chain: Chain;
4017
- experimental_blockTag?: viem0.BlockTag | undefined;
4018
- key: string;
4019
- name: string;
4020
- pollingInterval: number;
4021
- request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema>;
4022
- transport: viem0.TransportConfig<"http", viem0.EIP1193RequestFn> & {
4023
- fetchOptions?: HttpTransportConfig["fetchOptions"] | undefined;
4024
- url?: string | undefined;
4025
- };
4026
- type: string;
4027
- uid: string;
7692
+ } & viem0.ExactPartial<Pick<viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>) => client) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>;
7693
+ };
7694
+ /**
7695
+ * The options for the wallet client.
7696
+ */
7697
+ interface WalletVerificationOptions {
7698
+ /**
7699
+ * The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications.
7700
+ */
7701
+ verificationId?: string;
7702
+ /**
7703
+ * The challenge id (used for HD wallets)
7704
+ */
7705
+ challengeId?: string;
7706
+ /**
7707
+ * The challenge response (used for HD wallets)
7708
+ */
7709
+ challengeResponse: string;
7710
+ }
7711
+ /**
7712
+ * Creates a factory function for wallet clients with runtime verification support.
7713
+ *
7714
+ * @remarks
7715
+ * DESIGN PATTERN: Returns a factory function rather than a client instance because
7716
+ * wallet operations require runtime verification parameters (challenge responses, etc.)
7717
+ * that cannot be known at factory creation time.
7718
+ *
7719
+ * SECURITY: Verification headers are injected per-operation to support:
7720
+ * - HD wallet challenge/response flows
7721
+ * - Multi-signature verification workflows
7722
+ * - Time-sensitive authentication tokens
7723
+ *
7724
+ * PERFORMANCE: Factory caching amortizes expensive setup (chain resolution, transport config)
7725
+ * while allowing runtime parameter injection for each wallet operation.
7726
+ *
7727
+ * FEATURE EXTENSIONS: Automatically extends client with SettleMint-specific wallet actions:
7728
+ * - Wallet creation and management
7729
+ * - Verification challenge handling
7730
+ * - Multi-factor authentication flows
7731
+ *
7732
+ * @param options - Base client configuration (chain, RPC, auth)
7733
+ * @returns Factory function that accepts runtime verification options
7734
+ * @throws ValidationError when options don't match required schema
7735
+ *
7736
+ * @example
7737
+ * ```ts
7738
+ * import { getWalletClient } from '@settlemint/sdk-viem';
7739
+ * import { parseAbi } from "viem";
7740
+ *
7741
+ * const walletClient = getWalletClient({
7742
+ * accessToken: process.env.SETTLEMINT_ACCESS_TOKEN,
7743
+ * chainId: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID!,
7744
+ * chainName: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK!,
7745
+ * rpcUrl: process.env.SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT!,
7746
+ * });
7747
+ *
7748
+ * // Get the chain id
7749
+ * const chainId = await walletClient().getChainId();
7750
+ * console.log(chainId);
7751
+ *
7752
+ * // write to the blockchain
7753
+ * const transactionHash = await walletClient().writeContract({
7754
+ * account: "0x0000000000000000000000000000000000000000",
7755
+ * address: "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2",
7756
+ * abi: parseAbi(["function mint(uint32 tokenId) nonpayable"]),
7757
+ * functionName: "mint",
7758
+ * args: [69420],
7759
+ * });
7760
+ * console.log(transactionHash);
7761
+ * ```
7762
+ */
7763
+ declare const getWalletClient: (options: ClientOptions) => (verificationOptions?: WalletVerificationOptions) => ReturnType<typeof createWalletClientWithCustomMethods>;
7764
+ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof getChain>, validatedOptions: ClientOptions, verificationOptions?: WalletVerificationOptions) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.WalletRpcSchema, {
7765
+ verifyWalletVerificationChallenge: (args: VerifyWalletVerificationChallengeParameters) => Promise<VerifyWalletVerificationChallengeResponse>;
7766
+ } & {
7767
+ createWalletVerificationChallenges: (args: CreateWalletVerificationChallengesParameters) => Promise<CreateWalletVerificationChallengesResponse>;
7768
+ } & {
7769
+ createWalletVerificationChallenge: (args: CreateWalletVerificationChallengeParameters) => Promise<CreateWalletVerificationChallengeResponse>;
7770
+ } & {
7771
+ deleteWalletVerification: (args: DeleteWalletVerificationParameters) => Promise<DeleteWalletVerificationResponse[]>;
7772
+ } & {
7773
+ createWalletVerification: (args: CreateWalletVerificationParameters) => Promise<CreateWalletVerificationResponse[]>;
7774
+ } & {
7775
+ getWalletVerifications: (args: GetWalletVerificationsParameters) => Promise<GetWalletVerificationsResponse>;
7776
+ } & {
7777
+ createWallet: (args: CreateWalletParameters) => Promise<CreateWalletResponse[]>;
7778
+ } & {
4028
7779
  call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
4029
7780
  createAccessList: (parameters: viem0.CreateAccessListParameters<Chain>) => Promise<{
4030
7781
  accessList: viem0.AccessList;
@@ -4345,11 +8096,11 @@ declare const getPublicClient: (options: ClientOptions) => {
4345
8096
  getTransactionCount: (args: viem0.GetTransactionCountParameters) => Promise<viem0.GetTransactionCountReturnType>;
4346
8097
  getTransactionReceipt: (args: viem0.GetTransactionReceiptParameters) => Promise<viem0.TransactionReceipt>;
4347
8098
  multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: viem0.MulticallParameters<contracts, allowFailure>) => Promise<viem0.MulticallReturnType<contracts, allowFailure>>;
4348
- prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain, viem0.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain, chainOverride> ? T_1 extends Chain ? {
8099
+ prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain, undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain, chainOverride> ? T_1 extends Chain ? {
4349
8100
  chain: T_1;
4350
8101
  } : {
4351
8102
  chain?: undefined;
4352
- } : never : never) & (viem0.DeriveAccount<viem0.Account | undefined, accountOverride> extends infer T_2 ? T_2 extends viem0.DeriveAccount<viem0.Account | undefined, accountOverride> ? T_2 extends viem0.Account ? {
8103
+ } : never : never) & (viem0.DeriveAccount<undefined, accountOverride> extends infer T_2 ? T_2 extends viem0.DeriveAccount<undefined, accountOverride> ? T_2 extends viem0.Account ? {
4353
8104
  account: T_2;
4354
8105
  from: viem0.Address;
4355
8106
  } : {
@@ -7603,7 +11354,7 @@ declare const getPublicClient: (options: ClientOptions) => {
7603
11354
  simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
7604
11355
  simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
7605
11356
  simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
7606
- simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain, viem0.Account | undefined, chainOverride, accountOverride>>;
11357
+ simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain, undefined, chainOverride, accountOverride>>;
7607
11358
  verifyMessage: (args: viem0.VerifyMessageActionParameters) => Promise<viem0.VerifyMessageActionReturnType>;
7608
11359
  verifySiweMessage: (args: {
7609
11360
  blockNumber?: bigint | undefined | undefined;
@@ -7624,93 +11375,7 @@ declare const getPublicClient: (options: ClientOptions) => {
7624
11375
  watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchContractEventReturnType;
7625
11376
  watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchEventReturnType;
7626
11377
  watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchPendingTransactionsReturnType;
7627
- extend: <const client extends {
7628
- [x: string]: unknown;
7629
- account?: undefined;
7630
- batch?: undefined;
7631
- cacheTime?: undefined;
7632
- ccipRead?: undefined;
7633
- chain?: undefined;
7634
- experimental_blockTag?: undefined;
7635
- key?: undefined;
7636
- name?: undefined;
7637
- pollingInterval?: undefined;
7638
- request?: undefined;
7639
- transport?: undefined;
7640
- type?: undefined;
7641
- uid?: undefined;
7642
- } & viem0.ExactPartial<Pick<viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>) => client) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>;
7643
- };
7644
- /**
7645
- * The options for the wallet client.
7646
- */
7647
- interface WalletVerificationOptions {
7648
- /**
7649
- * The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications.
7650
- */
7651
- verificationId?: string;
7652
- /**
7653
- * The challenge id (used for HD wallets)
7654
- */
7655
- challengeId?: string;
7656
- /**
7657
- * The challenge response (used for HD wallets)
7658
- */
7659
- challengeResponse: string;
7660
- }
7661
- /**
7662
- * Creates a factory function for wallet clients with runtime verification support.
7663
- *
7664
- * @remarks
7665
- * DESIGN PATTERN: Returns a factory function rather than a client instance because
7666
- * wallet operations require runtime verification parameters (challenge responses, etc.)
7667
- * that cannot be known at factory creation time.
7668
- *
7669
- * SECURITY: Verification headers are injected per-operation to support:
7670
- * - HD wallet challenge/response flows
7671
- * - Multi-signature verification workflows
7672
- * - Time-sensitive authentication tokens
7673
- *
7674
- * PERFORMANCE: Factory caching amortizes expensive setup (chain resolution, transport config)
7675
- * while allowing runtime parameter injection for each wallet operation.
7676
- *
7677
- * FEATURE EXTENSIONS: Automatically extends client with SettleMint-specific wallet actions:
7678
- * - Wallet creation and management
7679
- * - Verification challenge handling
7680
- * - Multi-factor authentication flows
7681
- *
7682
- * @param options - Base client configuration (chain, RPC, auth)
7683
- * @returns Factory function that accepts runtime verification options
7684
- * @throws ValidationError when options don't match required schema
7685
- *
7686
- * @example
7687
- * ```ts
7688
- * import { getWalletClient } from '@settlemint/sdk-viem';
7689
- * import { parseAbi } from "viem";
7690
- *
7691
- * const walletClient = getWalletClient({
7692
- * accessToken: process.env.SETTLEMINT_ACCESS_TOKEN,
7693
- * chainId: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID!,
7694
- * chainName: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK!,
7695
- * rpcUrl: process.env.SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT!,
7696
- * });
7697
- *
7698
- * // Get the chain id
7699
- * const chainId = await walletClient().getChainId();
7700
- * console.log(chainId);
7701
- *
7702
- * // write to the blockchain
7703
- * const transactionHash = await walletClient().writeContract({
7704
- * account: "0x0000000000000000000000000000000000000000",
7705
- * address: "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2",
7706
- * abi: parseAbi(["function mint(uint32 tokenId) nonpayable"]),
7707
- * functionName: "mint",
7708
- * args: [69420],
7709
- * });
7710
- * console.log(transactionHash);
7711
- * ```
7712
- */
7713
- declare const getWalletClient: (options: ClientOptions) => any;
11378
+ } & viem0.WalletActions<Chain, undefined>>;
7714
11379
  /**
7715
11380
  * Schema for the viem client options.
7716
11381
  */
@@ -7755,6 +11420,27 @@ type GetChainIdOptions = Omit<z.infer<typeof GetChainIdOptionsSchema>, "httpTran
7755
11420
  * ```
7756
11421
  */
7757
11422
  declare function getChainId(options: GetChainIdOptions): Promise<number>;
11423
+ /**
11424
+ * CHAIN RESOLUTION STRATEGY: Two-tier lookup optimizes for both known and custom chains.
11425
+ *
11426
+ * Tier 1: Known chains (Ethereum mainnet, common testnets, L2s)
11427
+ * - O(1) lookup from pre-built map
11428
+ * - No caching needed (references are stable)
11429
+ * - Ignores custom RPC URLs (uses viem's defaults)
11430
+ *
11431
+ * Tier 2: Custom chains (private networks, development chains)
11432
+ * - LRU cached to handle dynamic discovery
11433
+ * - Full parameter consideration for cache key
11434
+ * - ETH defaults for unknown chains (SettleMint platform assumption)
11435
+ *
11436
+ * TRADEOFF: Memory usage vs performance - separate strategies prevent cache pollution
11437
+ * of known chains with custom RPC configurations.
11438
+ */
11439
+ declare function getChain({
11440
+ chainId,
11441
+ chainName,
11442
+ rpcUrl
11443
+ }: Pick<ClientOptions, "chainId" | "chainName" | "rpcUrl">): Chain;
7758
11444
  //#endregion
7759
- export { type AddressOrObject, ClientOptions, ClientOptionsSchema, type CreateWalletParameters, type CreateWalletResponse, type CreateWalletVerificationChallengesParameters, type CreateWalletVerificationChallengesResponse, type CreateWalletVerificationParameters, type CreateWalletVerificationResponse, type DeleteWalletVerificationParameters, type DeleteWalletVerificationResponse, GetChainIdOptions, GetChainIdOptionsSchema, type GetWalletVerificationsParameters, type GetWalletVerificationsResponse, OTPAlgorithm, type VerificationResult, type VerifyWalletVerificationChallengeParameters, type VerifyWalletVerificationChallengeResponse, type WalletInfo, type WalletOTPVerificationInfo, type WalletPincodeVerificationInfo, type WalletSecretCodesVerificationInfo, type WalletVerification, type WalletVerificationChallenge, type WalletVerificationInfo, WalletVerificationOptions, WalletVerificationType, getChainId, getPublicClient, getWalletClient };
11445
+ export { type AddressOrObject, type AddressOrObjectWithChallengeId, ClientOptions, ClientOptionsSchema, type CreateWalletParameters, type CreateWalletResponse, type CreateWalletVerificationChallengeParameters, type CreateWalletVerificationChallengeResponse, type CreateWalletVerificationChallengesParameters, type CreateWalletVerificationChallengesResponse, type CreateWalletVerificationParameters, type CreateWalletVerificationResponse, type DeleteWalletVerificationParameters, type DeleteWalletVerificationResponse, GetChainIdOptions, GetChainIdOptionsSchema, type GetWalletVerificationsParameters, type GetWalletVerificationsResponse, OTPAlgorithm, type VerificationResult, type VerifyWalletVerificationChallengeParameters, type VerifyWalletVerificationChallengeResponse, type WalletInfo, type WalletOTPVerificationInfo, type WalletPincodeVerificationInfo, type WalletSecretCodesVerificationInfo, type WalletVerification, type WalletVerificationChallenge, type WalletVerificationChallengeData, type WalletVerificationInfo, WalletVerificationOptions, WalletVerificationType, getChainId, getPublicClient, getWalletClient };
7760
11446
  //# sourceMappingURL=viem.d.ts.map