@settlemint/sdk-viem 2.5.6-pr4a06ef5a → 2.5.6-pr6ca63ab3

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