@hardkas/react 0.4.0-alpha

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.
@@ -0,0 +1,4722 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React from 'react';
3
+ import * as _tanstack_react_query from '@tanstack/react-query';
4
+ import { QueryClient } from '@tanstack/react-query';
5
+ import * as viem from 'viem';
6
+ import { PublicClient, Address } from 'viem';
7
+ import { Hex } from '../types/misc.js';
8
+
9
+ interface HardKasReactConfig {
10
+ readonly kaspaRpcUrl?: string;
11
+ readonly igraRpcUrl?: string;
12
+ readonly workspacePath?: string;
13
+ readonly sessionName?: string;
14
+ readonly localOnly?: boolean;
15
+ readonly devServerUrl?: string;
16
+ }
17
+ type SSEStatus = "connecting" | "connected" | "disconnected" | "reconnecting" | "failed";
18
+ interface RuntimeEvent {
19
+ type: string;
20
+ payload?: any;
21
+ timestamp: string;
22
+ }
23
+ type EventCallback = (event: RuntimeEvent) => void;
24
+ interface HardKasContextValue {
25
+ readonly config: HardKasReactConfig;
26
+ readonly igraClient: PublicClient;
27
+ readonly queryClient: QueryClient;
28
+ readonly sseStatus: SSEStatus;
29
+ readonly lastEvent: RuntimeEvent | null;
30
+ readonly subscribe: (callback: EventCallback) => () => void;
31
+ }
32
+ interface HardKasProviderProps {
33
+ readonly config: HardKasReactConfig;
34
+ readonly children: React.ReactNode;
35
+ readonly queryClient?: QueryClient;
36
+ }
37
+ declare function HardKasProvider({ config, children, queryClient: externalQueryClient }: HardKasProviderProps): react_jsx_runtime.JSX.Element;
38
+ declare function useHardKas(): HardKasContextValue;
39
+
40
+ interface SessionInfo {
41
+ readonly name: string;
42
+ readonly l1: {
43
+ readonly wallet: string;
44
+ readonly address?: string;
45
+ };
46
+ readonly l2: {
47
+ readonly account: string;
48
+ readonly address?: string;
49
+ };
50
+ readonly bridge: {
51
+ readonly mode: string;
52
+ };
53
+ readonly health: {
54
+ readonly isHealthy: boolean;
55
+ readonly warnings: string[];
56
+ };
57
+ readonly diagnostics?: string[];
58
+ }
59
+ declare function useHardKasSession(name?: string): _tanstack_react_query.UseQueryResult<SessionInfo | null, Error>;
60
+
61
+ interface HealthInfo {
62
+ status: "ok" | "error" | "warning";
63
+ timestamp: string;
64
+ l1?: {
65
+ status: string;
66
+ networkId: string;
67
+ daaScore: number | string;
68
+ rpcUrl: string;
69
+ };
70
+ l2?: {
71
+ status: string;
72
+ chainId: number;
73
+ blockHeight: number;
74
+ rpcUrl: string;
75
+ };
76
+ warnings: string[];
77
+ }
78
+ declare function useHardKasHealth(): _tanstack_react_query.UseQueryResult<HealthInfo | null, Error>;
79
+
80
+ declare function useKaspaWallet(): {
81
+ name: string | undefined;
82
+ address: string | undefined;
83
+ isLoading: boolean;
84
+ };
85
+ declare function useKaspaBalance(options?: {
86
+ refetchInterval?: number;
87
+ }): _tanstack_react_query.UseQueryResult<bigint, Error>;
88
+
89
+ declare function useIgraAccount(): {
90
+ name: string | undefined;
91
+ address: `0x${string}` | undefined;
92
+ isLoading: boolean;
93
+ };
94
+ declare function useIgraBalance(options?: {
95
+ refetchInterval?: number;
96
+ }): _tanstack_react_query.UseQueryResult<bigint, Error>;
97
+
98
+ /**
99
+ * WARNING: ALPHA-ONLY LOCAL-RUNTIME COUPLING
100
+ *
101
+ * This file directly imports `@hardkas/bridge-local` to perform local bridge simulation.
102
+ * This puts local simulation logic and heavy CPU simulation directly into the React package,
103
+ * meaning it is NOT browser-production safe without polyfills or is intended exclusively
104
+ * for the local developer preview context.
105
+ *
106
+ * TODO: In a future release, decouple this simulation code from the core `@hardkas/react` library.
107
+ * The hooks should ideally make dev-server REST/SSE HTTP calls, or be extracted into a separate
108
+ * package `@hardkas/react-local` to maintain clean, production-safe boundaries.
109
+ */
110
+ declare function useBridgeLocalPlan(options: {
111
+ amountSompi: bigint;
112
+ toIgra?: string;
113
+ } | null): _tanstack_react_query.UseQueryResult<any, Error>;
114
+ declare function useBridgeLocalSimulation(): _tanstack_react_query.UseMutationResult<any, Error, {
115
+ payloadBase: any;
116
+ prefix: string;
117
+ }, unknown>;
118
+
119
+ type CcipRequestReturnType = Hex;
120
+
121
+ declare global {
122
+ interface Window {
123
+ ethereum?: any;
124
+ }
125
+ }
126
+ type MetaMaskLocalState = {
127
+ installed: boolean;
128
+ connected: boolean;
129
+ supported: boolean;
130
+ account?: `0x${string}` | undefined;
131
+ chainId?: number;
132
+ localIgraDetected: boolean;
133
+ errors: string[];
134
+ };
135
+ declare function useMetaMaskLocal(): {
136
+ state: MetaMaskLocalState;
137
+ refresh: () => Promise<void>;
138
+ };
139
+ declare function useSwitchToLocalIgra(): {
140
+ switchChain: () => Promise<void>;
141
+ };
142
+ declare function useIgraInjectedAccount(sessionL2Address?: string): {
143
+ injectedAddress: `0x${string}` | undefined;
144
+ sessionAddress: string | undefined;
145
+ matches: boolean;
146
+ };
147
+ declare function useLocalIgraWalletClient(): {
148
+ getClient: () => {
149
+ account: {
150
+ address: `0x${string}`;
151
+ type: "json-rpc";
152
+ } | undefined;
153
+ batch?: {
154
+ multicall?: boolean | viem.Prettify<viem.MulticallBatchOptions> | undefined;
155
+ } | undefined;
156
+ cacheTime: number;
157
+ ccipRead?: false | {
158
+ request?: (parameters: viem.CcipRequestParameters) => Promise<CcipRequestReturnType>;
159
+ } | undefined;
160
+ chain: undefined;
161
+ dataSuffix?: viem.DataSuffix | undefined;
162
+ experimental_blockTag?: viem.BlockTag | undefined;
163
+ key: string;
164
+ name: string;
165
+ pollingInterval: number;
166
+ request: viem.EIP1193RequestFn<viem.WalletRpcSchema>;
167
+ transport: viem.TransportConfig<"custom", viem.EIP1193RequestFn>;
168
+ type: string;
169
+ uid: string;
170
+ addChain: (args: viem.AddChainParameters) => Promise<void>;
171
+ deployContract: <const abi extends viem.Abi | readonly unknown[], chainOverride extends viem.Chain | undefined>(args: viem.DeployContractParameters<abi, undefined, {
172
+ address: `0x${string}`;
173
+ type: "json-rpc";
174
+ } | undefined, chainOverride>) => Promise<viem.DeployContractReturnType>;
175
+ fillTransaction: <chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.FillTransactionParameters<undefined, {
176
+ address: `0x${string}`;
177
+ type: "json-rpc";
178
+ } | undefined, chainOverride, accountOverride>) => Promise<viem.FillTransactionReturnType<undefined, chainOverride>>;
179
+ getAddresses: () => Promise<viem.GetAddressesReturnType>;
180
+ getCallsStatus: (parameters: viem.GetCallsStatusParameters) => Promise<viem.GetCallsStatusReturnType>;
181
+ getCapabilities: <chainId extends number | undefined>(parameters?: viem.GetCapabilitiesParameters<chainId>) => Promise<viem.GetCapabilitiesReturnType<chainId>>;
182
+ getChainId: () => Promise<viem.GetChainIdReturnType>;
183
+ getPermissions: () => Promise<viem.GetPermissionsReturnType>;
184
+ prepareAuthorization: (parameters: viem.PrepareAuthorizationParameters<{
185
+ address: `0x${string}`;
186
+ type: "json-rpc";
187
+ } | undefined>) => Promise<viem.PrepareAuthorizationReturnType>;
188
+ prepareTransactionRequest: <const request extends viem.PrepareTransactionRequestRequest<undefined, chainOverride>, chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.PrepareTransactionRequestParameters<undefined, {
189
+ address: `0x${string}`;
190
+ type: "json-rpc";
191
+ } | undefined, chainOverride, accountOverride, request>) => Promise<viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<undefined, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<undefined, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<undefined, chainOverride> ? T_1 extends viem.Chain ? {
192
+ chain: T_1;
193
+ } : {
194
+ chain?: undefined;
195
+ } : never : never) & (viem.DeriveAccount<{
196
+ address: `0x${string}`;
197
+ type: "json-rpc";
198
+ } | undefined, accountOverride> extends infer T_2 ? T_2 extends viem.DeriveAccount<{
199
+ address: `0x${string}`;
200
+ type: "json-rpc";
201
+ } | undefined, accountOverride> ? T_2 extends viem.Account ? {
202
+ account: T_2;
203
+ from: viem.Address;
204
+ } : {
205
+ account?: undefined;
206
+ from?: undefined;
207
+ } : never : never), viem.IsNever<((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
208
+ accessList?: undefined | undefined;
209
+ authorizationList?: undefined | undefined;
210
+ blobs?: undefined | undefined;
211
+ blobVersionedHashes?: undefined | undefined;
212
+ gasPrice?: bigint;
213
+ sidecars?: undefined | undefined;
214
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
215
+ accessList?: viem.AccessList | undefined;
216
+ authorizationList?: undefined | undefined;
217
+ blobs?: undefined | undefined;
218
+ blobVersionedHashes?: undefined | undefined;
219
+ gasPrice?: undefined | undefined;
220
+ maxFeePerBlobGas?: undefined | undefined;
221
+ maxFeePerGas?: bigint;
222
+ maxPriorityFeePerGas?: bigint;
223
+ sidecars?: undefined | undefined;
224
+ } & (viem.OneOf<{
225
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
226
+ } | {
227
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
228
+ }, viem.FeeValuesEIP1559> & {
229
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
230
+ }) ? "eip1559" : never) | (request extends {
231
+ accessList?: viem.AccessList | undefined;
232
+ authorizationList?: undefined | undefined;
233
+ blobs?: undefined | undefined;
234
+ blobVersionedHashes?: undefined | undefined;
235
+ gasPrice?: bigint | undefined;
236
+ sidecars?: undefined | undefined;
237
+ maxFeePerBlobGas?: undefined | undefined;
238
+ maxFeePerGas?: undefined | undefined;
239
+ maxPriorityFeePerGas?: undefined | undefined;
240
+ } & {
241
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
242
+ } ? "eip2930" : never) | (request extends ({
243
+ accessList?: viem.AccessList | undefined;
244
+ authorizationList?: undefined | undefined;
245
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
246
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
247
+ maxFeePerBlobGas?: bigint | undefined;
248
+ maxFeePerGas?: bigint | undefined;
249
+ maxPriorityFeePerGas?: bigint | undefined;
250
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
251
+ } | {
252
+ accessList?: viem.AccessList | undefined;
253
+ authorizationList?: undefined | undefined;
254
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
255
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
256
+ maxFeePerBlobGas?: bigint | undefined;
257
+ maxFeePerGas?: bigint | undefined;
258
+ maxPriorityFeePerGas?: bigint | undefined;
259
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
260
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
261
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
262
+ } | {
263
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
264
+ } | {
265
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
266
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
267
+ accessList?: viem.AccessList | undefined;
268
+ authorizationList?: viem.SignedAuthorizationList;
269
+ blobs?: undefined | undefined;
270
+ blobVersionedHashes?: undefined | undefined;
271
+ gasPrice?: undefined | undefined;
272
+ maxFeePerBlobGas?: undefined | undefined;
273
+ maxFeePerGas?: bigint | undefined;
274
+ maxPriorityFeePerGas?: bigint | undefined;
275
+ sidecars?: undefined | undefined;
276
+ } | {
277
+ accessList?: viem.AccessList | undefined;
278
+ authorizationList?: viem.SignedAuthorizationList;
279
+ blobs?: undefined | undefined;
280
+ blobVersionedHashes?: undefined | undefined;
281
+ gasPrice?: undefined | undefined;
282
+ maxFeePerBlobGas?: undefined | undefined;
283
+ maxFeePerGas?: bigint | undefined;
284
+ maxPriorityFeePerGas?: bigint | undefined;
285
+ sidecars?: undefined | undefined;
286
+ }) & {
287
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
288
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
289
+ accessList?: undefined | undefined;
290
+ authorizationList?: undefined | undefined;
291
+ blobs?: undefined | undefined;
292
+ blobVersionedHashes?: undefined | undefined;
293
+ gasPrice?: bigint;
294
+ sidecars?: undefined | undefined;
295
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
296
+ accessList?: viem.AccessList | undefined;
297
+ authorizationList?: undefined | undefined;
298
+ blobs?: undefined | undefined;
299
+ blobVersionedHashes?: undefined | undefined;
300
+ gasPrice?: undefined | undefined;
301
+ maxFeePerBlobGas?: undefined | undefined;
302
+ maxFeePerGas?: bigint;
303
+ maxPriorityFeePerGas?: bigint;
304
+ sidecars?: undefined | undefined;
305
+ } & (viem.OneOf<{
306
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
307
+ } | {
308
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
309
+ }, viem.FeeValuesEIP1559> & {
310
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
311
+ }) ? "eip1559" : never) | (request extends {
312
+ accessList?: viem.AccessList | undefined;
313
+ authorizationList?: undefined | undefined;
314
+ blobs?: undefined | undefined;
315
+ blobVersionedHashes?: undefined | undefined;
316
+ gasPrice?: bigint | undefined;
317
+ sidecars?: undefined | undefined;
318
+ maxFeePerBlobGas?: undefined | undefined;
319
+ maxFeePerGas?: undefined | undefined;
320
+ maxPriorityFeePerGas?: undefined | undefined;
321
+ } & {
322
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
323
+ } ? "eip2930" : never) | (request extends ({
324
+ accessList?: viem.AccessList | undefined;
325
+ authorizationList?: undefined | undefined;
326
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
327
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
328
+ maxFeePerBlobGas?: bigint | undefined;
329
+ maxFeePerGas?: bigint | undefined;
330
+ maxPriorityFeePerGas?: bigint | undefined;
331
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
332
+ } | {
333
+ accessList?: viem.AccessList | undefined;
334
+ authorizationList?: undefined | undefined;
335
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
336
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
337
+ maxFeePerBlobGas?: bigint | undefined;
338
+ maxFeePerGas?: bigint | undefined;
339
+ maxPriorityFeePerGas?: bigint | undefined;
340
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
341
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
342
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
343
+ } | {
344
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
345
+ } | {
346
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
347
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
348
+ accessList?: viem.AccessList | undefined;
349
+ authorizationList?: viem.SignedAuthorizationList;
350
+ blobs?: undefined | undefined;
351
+ blobVersionedHashes?: undefined | undefined;
352
+ gasPrice?: undefined | undefined;
353
+ maxFeePerBlobGas?: undefined | undefined;
354
+ maxFeePerGas?: bigint | undefined;
355
+ maxPriorityFeePerGas?: bigint | undefined;
356
+ sidecars?: undefined | undefined;
357
+ } | {
358
+ accessList?: viem.AccessList | undefined;
359
+ authorizationList?: viem.SignedAuthorizationList;
360
+ blobs?: undefined | undefined;
361
+ blobVersionedHashes?: undefined | undefined;
362
+ gasPrice?: undefined | undefined;
363
+ maxFeePerBlobGas?: undefined | undefined;
364
+ maxFeePerGas?: bigint | undefined;
365
+ maxPriorityFeePerGas?: bigint | undefined;
366
+ sidecars?: undefined | undefined;
367
+ }) & {
368
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
369
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
370
+ accessList?: undefined | undefined;
371
+ authorizationList?: undefined | undefined;
372
+ blobs?: undefined | undefined;
373
+ blobVersionedHashes?: undefined | undefined;
374
+ gasPrice?: bigint;
375
+ sidecars?: undefined | undefined;
376
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
377
+ accessList?: viem.AccessList | undefined;
378
+ authorizationList?: undefined | undefined;
379
+ blobs?: undefined | undefined;
380
+ blobVersionedHashes?: undefined | undefined;
381
+ gasPrice?: undefined | undefined;
382
+ maxFeePerBlobGas?: undefined | undefined;
383
+ maxFeePerGas?: bigint;
384
+ maxPriorityFeePerGas?: bigint;
385
+ sidecars?: undefined | undefined;
386
+ } & (viem.OneOf<{
387
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
388
+ } | {
389
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
390
+ }, viem.FeeValuesEIP1559> & {
391
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
392
+ }) ? "eip1559" : never) | (request extends {
393
+ accessList?: viem.AccessList | undefined;
394
+ authorizationList?: undefined | undefined;
395
+ blobs?: undefined | undefined;
396
+ blobVersionedHashes?: undefined | undefined;
397
+ gasPrice?: bigint | undefined;
398
+ sidecars?: undefined | undefined;
399
+ maxFeePerBlobGas?: undefined | undefined;
400
+ maxFeePerGas?: undefined | undefined;
401
+ maxPriorityFeePerGas?: undefined | undefined;
402
+ } & {
403
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
404
+ } ? "eip2930" : never) | (request extends ({
405
+ accessList?: viem.AccessList | undefined;
406
+ authorizationList?: undefined | undefined;
407
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
408
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
409
+ maxFeePerBlobGas?: bigint | undefined;
410
+ maxFeePerGas?: bigint | undefined;
411
+ maxPriorityFeePerGas?: bigint | undefined;
412
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
413
+ } | {
414
+ accessList?: viem.AccessList | undefined;
415
+ authorizationList?: undefined | undefined;
416
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
417
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
418
+ maxFeePerBlobGas?: bigint | undefined;
419
+ maxFeePerGas?: bigint | undefined;
420
+ maxPriorityFeePerGas?: bigint | undefined;
421
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
422
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
423
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
424
+ } | {
425
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
426
+ } | {
427
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
428
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
429
+ accessList?: viem.AccessList | undefined;
430
+ authorizationList?: viem.SignedAuthorizationList;
431
+ blobs?: undefined | undefined;
432
+ blobVersionedHashes?: undefined | undefined;
433
+ gasPrice?: undefined | undefined;
434
+ maxFeePerBlobGas?: undefined | undefined;
435
+ maxFeePerGas?: bigint | undefined;
436
+ maxPriorityFeePerGas?: bigint | undefined;
437
+ sidecars?: undefined | undefined;
438
+ } | {
439
+ accessList?: viem.AccessList | undefined;
440
+ authorizationList?: viem.SignedAuthorizationList;
441
+ blobs?: undefined | undefined;
442
+ blobVersionedHashes?: undefined | undefined;
443
+ gasPrice?: undefined | undefined;
444
+ maxFeePerBlobGas?: undefined | undefined;
445
+ maxFeePerGas?: bigint | undefined;
446
+ maxPriorityFeePerGas?: bigint | undefined;
447
+ sidecars?: undefined | undefined;
448
+ }) & {
449
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
450
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
451
+ accessList?: undefined | undefined;
452
+ authorizationList?: undefined | undefined;
453
+ blobs?: undefined | undefined;
454
+ blobVersionedHashes?: undefined | undefined;
455
+ gasPrice?: bigint;
456
+ sidecars?: undefined | undefined;
457
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
458
+ accessList?: viem.AccessList | undefined;
459
+ authorizationList?: undefined | undefined;
460
+ blobs?: undefined | undefined;
461
+ blobVersionedHashes?: undefined | undefined;
462
+ gasPrice?: undefined | undefined;
463
+ maxFeePerBlobGas?: undefined | undefined;
464
+ maxFeePerGas?: bigint;
465
+ maxPriorityFeePerGas?: bigint;
466
+ sidecars?: undefined | undefined;
467
+ } & (viem.OneOf<{
468
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
469
+ } | {
470
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
471
+ }, viem.FeeValuesEIP1559> & {
472
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
473
+ }) ? "eip1559" : never) | (request extends {
474
+ accessList?: viem.AccessList | undefined;
475
+ authorizationList?: undefined | undefined;
476
+ blobs?: undefined | undefined;
477
+ blobVersionedHashes?: undefined | undefined;
478
+ gasPrice?: bigint | undefined;
479
+ sidecars?: undefined | undefined;
480
+ maxFeePerBlobGas?: undefined | undefined;
481
+ maxFeePerGas?: undefined | undefined;
482
+ maxPriorityFeePerGas?: undefined | undefined;
483
+ } & {
484
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
485
+ } ? "eip2930" : never) | (request extends ({
486
+ accessList?: viem.AccessList | undefined;
487
+ authorizationList?: undefined | undefined;
488
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
489
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
490
+ maxFeePerBlobGas?: bigint | undefined;
491
+ maxFeePerGas?: bigint | undefined;
492
+ maxPriorityFeePerGas?: bigint | undefined;
493
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
494
+ } | {
495
+ accessList?: viem.AccessList | undefined;
496
+ authorizationList?: undefined | undefined;
497
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
498
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
499
+ maxFeePerBlobGas?: bigint | undefined;
500
+ maxFeePerGas?: bigint | undefined;
501
+ maxPriorityFeePerGas?: bigint | undefined;
502
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
503
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
504
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
505
+ } | {
506
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
507
+ } | {
508
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
509
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
510
+ accessList?: viem.AccessList | undefined;
511
+ authorizationList?: viem.SignedAuthorizationList;
512
+ blobs?: undefined | undefined;
513
+ blobVersionedHashes?: undefined | undefined;
514
+ gasPrice?: undefined | undefined;
515
+ maxFeePerBlobGas?: undefined | undefined;
516
+ maxFeePerGas?: bigint | undefined;
517
+ maxPriorityFeePerGas?: bigint | undefined;
518
+ sidecars?: undefined | undefined;
519
+ } | {
520
+ accessList?: viem.AccessList | undefined;
521
+ authorizationList?: viem.SignedAuthorizationList;
522
+ blobs?: undefined | undefined;
523
+ blobVersionedHashes?: undefined | undefined;
524
+ gasPrice?: undefined | undefined;
525
+ maxFeePerBlobGas?: undefined | undefined;
526
+ maxFeePerGas?: bigint | undefined;
527
+ maxPriorityFeePerGas?: bigint | undefined;
528
+ sidecars?: undefined | undefined;
529
+ }) & {
530
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
531
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_3 extends "legacy" ? viem.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
532
+ accessList?: undefined | undefined;
533
+ authorizationList?: undefined | undefined;
534
+ blobs?: undefined | undefined;
535
+ blobVersionedHashes?: undefined | undefined;
536
+ gasPrice?: bigint;
537
+ sidecars?: undefined | undefined;
538
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
539
+ accessList?: viem.AccessList | undefined;
540
+ authorizationList?: undefined | undefined;
541
+ blobs?: undefined | undefined;
542
+ blobVersionedHashes?: undefined | undefined;
543
+ gasPrice?: undefined | undefined;
544
+ maxFeePerBlobGas?: undefined | undefined;
545
+ maxFeePerGas?: bigint;
546
+ maxPriorityFeePerGas?: bigint;
547
+ sidecars?: undefined | undefined;
548
+ } & (viem.OneOf<{
549
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
550
+ } | {
551
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
552
+ }, viem.FeeValuesEIP1559> & {
553
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
554
+ }) ? "eip1559" : never) | (request extends {
555
+ accessList?: viem.AccessList | undefined;
556
+ authorizationList?: undefined | undefined;
557
+ blobs?: undefined | undefined;
558
+ blobVersionedHashes?: undefined | undefined;
559
+ gasPrice?: bigint | undefined;
560
+ sidecars?: undefined | undefined;
561
+ maxFeePerBlobGas?: undefined | undefined;
562
+ maxFeePerGas?: undefined | undefined;
563
+ maxPriorityFeePerGas?: undefined | undefined;
564
+ } & {
565
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
566
+ } ? "eip2930" : never) | (request extends ({
567
+ accessList?: viem.AccessList | undefined;
568
+ authorizationList?: undefined | undefined;
569
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
570
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
571
+ maxFeePerBlobGas?: bigint | undefined;
572
+ maxFeePerGas?: bigint | undefined;
573
+ maxPriorityFeePerGas?: bigint | undefined;
574
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
575
+ } | {
576
+ accessList?: viem.AccessList | undefined;
577
+ authorizationList?: undefined | undefined;
578
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
579
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
580
+ maxFeePerBlobGas?: bigint | undefined;
581
+ maxFeePerGas?: bigint | undefined;
582
+ maxPriorityFeePerGas?: bigint | undefined;
583
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
584
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
585
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
586
+ } | {
587
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
588
+ } | {
589
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
590
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
591
+ accessList?: viem.AccessList | undefined;
592
+ authorizationList?: viem.SignedAuthorizationList;
593
+ blobs?: undefined | undefined;
594
+ blobVersionedHashes?: undefined | undefined;
595
+ gasPrice?: undefined | undefined;
596
+ maxFeePerBlobGas?: undefined | undefined;
597
+ maxFeePerGas?: bigint | undefined;
598
+ maxPriorityFeePerGas?: bigint | undefined;
599
+ sidecars?: undefined | undefined;
600
+ } | {
601
+ accessList?: viem.AccessList | undefined;
602
+ authorizationList?: viem.SignedAuthorizationList;
603
+ blobs?: undefined | undefined;
604
+ blobVersionedHashes?: undefined | undefined;
605
+ gasPrice?: undefined | undefined;
606
+ maxFeePerBlobGas?: undefined | undefined;
607
+ maxFeePerGas?: bigint | undefined;
608
+ maxPriorityFeePerGas?: bigint | undefined;
609
+ sidecars?: undefined | undefined;
610
+ }) & {
611
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
612
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
613
+ accessList?: undefined | undefined;
614
+ authorizationList?: undefined | undefined;
615
+ blobs?: undefined | undefined;
616
+ blobVersionedHashes?: undefined | undefined;
617
+ gasPrice?: bigint;
618
+ sidecars?: undefined | undefined;
619
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
620
+ accessList?: viem.AccessList | undefined;
621
+ authorizationList?: undefined | undefined;
622
+ blobs?: undefined | undefined;
623
+ blobVersionedHashes?: undefined | undefined;
624
+ gasPrice?: undefined | undefined;
625
+ maxFeePerBlobGas?: undefined | undefined;
626
+ maxFeePerGas?: bigint;
627
+ maxPriorityFeePerGas?: bigint;
628
+ sidecars?: undefined | undefined;
629
+ } & (viem.OneOf<{
630
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
631
+ } | {
632
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
633
+ }, viem.FeeValuesEIP1559> & {
634
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
635
+ }) ? "eip1559" : never) | (request extends {
636
+ accessList?: viem.AccessList | undefined;
637
+ authorizationList?: undefined | undefined;
638
+ blobs?: undefined | undefined;
639
+ blobVersionedHashes?: undefined | undefined;
640
+ gasPrice?: bigint | undefined;
641
+ sidecars?: undefined | undefined;
642
+ maxFeePerBlobGas?: undefined | undefined;
643
+ maxFeePerGas?: undefined | undefined;
644
+ maxPriorityFeePerGas?: undefined | undefined;
645
+ } & {
646
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
647
+ } ? "eip2930" : never) | (request extends ({
648
+ accessList?: viem.AccessList | undefined;
649
+ authorizationList?: undefined | undefined;
650
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
651
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
652
+ maxFeePerBlobGas?: bigint | undefined;
653
+ maxFeePerGas?: bigint | undefined;
654
+ maxPriorityFeePerGas?: bigint | undefined;
655
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
656
+ } | {
657
+ accessList?: viem.AccessList | undefined;
658
+ authorizationList?: undefined | undefined;
659
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
660
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
661
+ maxFeePerBlobGas?: bigint | undefined;
662
+ maxFeePerGas?: bigint | undefined;
663
+ maxPriorityFeePerGas?: bigint | undefined;
664
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
665
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
666
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
667
+ } | {
668
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
669
+ } | {
670
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
671
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
672
+ accessList?: viem.AccessList | undefined;
673
+ authorizationList?: viem.SignedAuthorizationList;
674
+ blobs?: undefined | undefined;
675
+ blobVersionedHashes?: undefined | undefined;
676
+ gasPrice?: undefined | undefined;
677
+ maxFeePerBlobGas?: undefined | undefined;
678
+ maxFeePerGas?: bigint | undefined;
679
+ maxPriorityFeePerGas?: bigint | undefined;
680
+ sidecars?: undefined | undefined;
681
+ } | {
682
+ accessList?: viem.AccessList | undefined;
683
+ authorizationList?: viem.SignedAuthorizationList;
684
+ blobs?: undefined | undefined;
685
+ blobVersionedHashes?: undefined | undefined;
686
+ gasPrice?: undefined | undefined;
687
+ maxFeePerBlobGas?: undefined | undefined;
688
+ maxFeePerGas?: bigint | undefined;
689
+ maxPriorityFeePerGas?: bigint | undefined;
690
+ sidecars?: undefined | undefined;
691
+ }) & {
692
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
693
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
694
+ accessList?: undefined | undefined;
695
+ authorizationList?: undefined | undefined;
696
+ blobs?: undefined | undefined;
697
+ blobVersionedHashes?: undefined | undefined;
698
+ gasPrice?: bigint;
699
+ sidecars?: undefined | undefined;
700
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
701
+ accessList?: viem.AccessList | undefined;
702
+ authorizationList?: undefined | undefined;
703
+ blobs?: undefined | undefined;
704
+ blobVersionedHashes?: undefined | undefined;
705
+ gasPrice?: undefined | undefined;
706
+ maxFeePerBlobGas?: undefined | undefined;
707
+ maxFeePerGas?: bigint;
708
+ maxPriorityFeePerGas?: bigint;
709
+ sidecars?: undefined | undefined;
710
+ } & (viem.OneOf<{
711
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
712
+ } | {
713
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
714
+ }, viem.FeeValuesEIP1559> & {
715
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
716
+ }) ? "eip1559" : never) | (request extends {
717
+ accessList?: viem.AccessList | undefined;
718
+ authorizationList?: undefined | undefined;
719
+ blobs?: undefined | undefined;
720
+ blobVersionedHashes?: undefined | undefined;
721
+ gasPrice?: bigint | undefined;
722
+ sidecars?: undefined | undefined;
723
+ maxFeePerBlobGas?: undefined | undefined;
724
+ maxFeePerGas?: undefined | undefined;
725
+ maxPriorityFeePerGas?: undefined | undefined;
726
+ } & {
727
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
728
+ } ? "eip2930" : never) | (request extends ({
729
+ accessList?: viem.AccessList | undefined;
730
+ authorizationList?: undefined | undefined;
731
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
732
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
733
+ maxFeePerBlobGas?: bigint | undefined;
734
+ maxFeePerGas?: bigint | undefined;
735
+ maxPriorityFeePerGas?: bigint | undefined;
736
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
737
+ } | {
738
+ accessList?: viem.AccessList | undefined;
739
+ authorizationList?: undefined | undefined;
740
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
741
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
742
+ maxFeePerBlobGas?: bigint | undefined;
743
+ maxFeePerGas?: bigint | undefined;
744
+ maxPriorityFeePerGas?: bigint | undefined;
745
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
746
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
747
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
748
+ } | {
749
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
750
+ } | {
751
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
752
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
753
+ accessList?: viem.AccessList | undefined;
754
+ authorizationList?: viem.SignedAuthorizationList;
755
+ blobs?: undefined | undefined;
756
+ blobVersionedHashes?: undefined | undefined;
757
+ gasPrice?: undefined | undefined;
758
+ maxFeePerBlobGas?: undefined | undefined;
759
+ maxFeePerGas?: bigint | undefined;
760
+ maxPriorityFeePerGas?: bigint | undefined;
761
+ sidecars?: undefined | undefined;
762
+ } | {
763
+ accessList?: viem.AccessList | undefined;
764
+ authorizationList?: viem.SignedAuthorizationList;
765
+ blobs?: undefined | undefined;
766
+ blobVersionedHashes?: undefined | undefined;
767
+ gasPrice?: undefined | undefined;
768
+ maxFeePerBlobGas?: undefined | undefined;
769
+ maxFeePerGas?: bigint | undefined;
770
+ maxPriorityFeePerGas?: bigint | undefined;
771
+ sidecars?: undefined | undefined;
772
+ }) & {
773
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
774
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
775
+ accessList?: undefined | undefined;
776
+ authorizationList?: undefined | undefined;
777
+ blobs?: undefined | undefined;
778
+ blobVersionedHashes?: undefined | undefined;
779
+ gasPrice?: bigint;
780
+ sidecars?: undefined | undefined;
781
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
782
+ accessList?: viem.AccessList | undefined;
783
+ authorizationList?: undefined | undefined;
784
+ blobs?: undefined | undefined;
785
+ blobVersionedHashes?: undefined | undefined;
786
+ gasPrice?: undefined | undefined;
787
+ maxFeePerBlobGas?: undefined | undefined;
788
+ maxFeePerGas?: bigint;
789
+ maxPriorityFeePerGas?: bigint;
790
+ sidecars?: undefined | undefined;
791
+ } & (viem.OneOf<{
792
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
793
+ } | {
794
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
795
+ }, viem.FeeValuesEIP1559> & {
796
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
797
+ }) ? "eip1559" : never) | (request extends {
798
+ accessList?: viem.AccessList | undefined;
799
+ authorizationList?: undefined | undefined;
800
+ blobs?: undefined | undefined;
801
+ blobVersionedHashes?: undefined | undefined;
802
+ gasPrice?: bigint | undefined;
803
+ sidecars?: undefined | undefined;
804
+ maxFeePerBlobGas?: undefined | undefined;
805
+ maxFeePerGas?: undefined | undefined;
806
+ maxPriorityFeePerGas?: undefined | undefined;
807
+ } & {
808
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
809
+ } ? "eip2930" : never) | (request extends ({
810
+ accessList?: viem.AccessList | undefined;
811
+ authorizationList?: undefined | undefined;
812
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
813
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
814
+ maxFeePerBlobGas?: bigint | undefined;
815
+ maxFeePerGas?: bigint | undefined;
816
+ maxPriorityFeePerGas?: bigint | undefined;
817
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
818
+ } | {
819
+ accessList?: viem.AccessList | undefined;
820
+ authorizationList?: undefined | undefined;
821
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
822
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
823
+ maxFeePerBlobGas?: bigint | undefined;
824
+ maxFeePerGas?: bigint | undefined;
825
+ maxPriorityFeePerGas?: bigint | undefined;
826
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
827
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
828
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
829
+ } | {
830
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
831
+ } | {
832
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
833
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
834
+ accessList?: viem.AccessList | undefined;
835
+ authorizationList?: viem.SignedAuthorizationList;
836
+ blobs?: undefined | undefined;
837
+ blobVersionedHashes?: undefined | undefined;
838
+ gasPrice?: undefined | undefined;
839
+ maxFeePerBlobGas?: undefined | undefined;
840
+ maxFeePerGas?: bigint | undefined;
841
+ maxPriorityFeePerGas?: bigint | undefined;
842
+ sidecars?: undefined | undefined;
843
+ } | {
844
+ accessList?: viem.AccessList | undefined;
845
+ authorizationList?: viem.SignedAuthorizationList;
846
+ blobs?: undefined | undefined;
847
+ blobVersionedHashes?: undefined | undefined;
848
+ gasPrice?: undefined | undefined;
849
+ maxFeePerBlobGas?: undefined | undefined;
850
+ maxFeePerGas?: bigint | undefined;
851
+ maxPriorityFeePerGas?: bigint | undefined;
852
+ sidecars?: undefined | undefined;
853
+ }) & {
854
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
855
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_4 extends "eip1559" ? viem.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
856
+ accessList?: undefined | undefined;
857
+ authorizationList?: undefined | undefined;
858
+ blobs?: undefined | undefined;
859
+ blobVersionedHashes?: undefined | undefined;
860
+ gasPrice?: bigint;
861
+ sidecars?: undefined | undefined;
862
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
863
+ accessList?: viem.AccessList | undefined;
864
+ authorizationList?: undefined | undefined;
865
+ blobs?: undefined | undefined;
866
+ blobVersionedHashes?: undefined | undefined;
867
+ gasPrice?: undefined | undefined;
868
+ maxFeePerBlobGas?: undefined | undefined;
869
+ maxFeePerGas?: bigint;
870
+ maxPriorityFeePerGas?: bigint;
871
+ sidecars?: undefined | undefined;
872
+ } & (viem.OneOf<{
873
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
874
+ } | {
875
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
876
+ }, viem.FeeValuesEIP1559> & {
877
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
878
+ }) ? "eip1559" : never) | (request extends {
879
+ accessList?: viem.AccessList | undefined;
880
+ authorizationList?: undefined | undefined;
881
+ blobs?: undefined | undefined;
882
+ blobVersionedHashes?: undefined | undefined;
883
+ gasPrice?: bigint | undefined;
884
+ sidecars?: undefined | undefined;
885
+ maxFeePerBlobGas?: undefined | undefined;
886
+ maxFeePerGas?: undefined | undefined;
887
+ maxPriorityFeePerGas?: undefined | undefined;
888
+ } & {
889
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
890
+ } ? "eip2930" : never) | (request extends ({
891
+ accessList?: viem.AccessList | undefined;
892
+ authorizationList?: undefined | undefined;
893
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
894
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
895
+ maxFeePerBlobGas?: bigint | undefined;
896
+ maxFeePerGas?: bigint | undefined;
897
+ maxPriorityFeePerGas?: bigint | undefined;
898
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
899
+ } | {
900
+ accessList?: viem.AccessList | undefined;
901
+ authorizationList?: undefined | undefined;
902
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
903
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
904
+ maxFeePerBlobGas?: bigint | undefined;
905
+ maxFeePerGas?: bigint | undefined;
906
+ maxPriorityFeePerGas?: bigint | undefined;
907
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
908
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
909
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
910
+ } | {
911
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
912
+ } | {
913
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
914
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
915
+ accessList?: viem.AccessList | undefined;
916
+ authorizationList?: viem.SignedAuthorizationList;
917
+ blobs?: undefined | undefined;
918
+ blobVersionedHashes?: undefined | undefined;
919
+ gasPrice?: undefined | undefined;
920
+ maxFeePerBlobGas?: undefined | undefined;
921
+ maxFeePerGas?: bigint | undefined;
922
+ maxPriorityFeePerGas?: bigint | undefined;
923
+ sidecars?: undefined | undefined;
924
+ } | {
925
+ accessList?: viem.AccessList | undefined;
926
+ authorizationList?: viem.SignedAuthorizationList;
927
+ blobs?: undefined | undefined;
928
+ blobVersionedHashes?: undefined | undefined;
929
+ gasPrice?: undefined | undefined;
930
+ maxFeePerBlobGas?: undefined | undefined;
931
+ maxFeePerGas?: bigint | undefined;
932
+ maxPriorityFeePerGas?: bigint | undefined;
933
+ sidecars?: undefined | undefined;
934
+ }) & {
935
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
936
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
937
+ accessList?: undefined | undefined;
938
+ authorizationList?: undefined | undefined;
939
+ blobs?: undefined | undefined;
940
+ blobVersionedHashes?: undefined | undefined;
941
+ gasPrice?: bigint;
942
+ sidecars?: undefined | undefined;
943
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
944
+ accessList?: viem.AccessList | undefined;
945
+ authorizationList?: undefined | undefined;
946
+ blobs?: undefined | undefined;
947
+ blobVersionedHashes?: undefined | undefined;
948
+ gasPrice?: undefined | undefined;
949
+ maxFeePerBlobGas?: undefined | undefined;
950
+ maxFeePerGas?: bigint;
951
+ maxPriorityFeePerGas?: bigint;
952
+ sidecars?: undefined | undefined;
953
+ } & (viem.OneOf<{
954
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
955
+ } | {
956
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
957
+ }, viem.FeeValuesEIP1559> & {
958
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
959
+ }) ? "eip1559" : never) | (request extends {
960
+ accessList?: viem.AccessList | undefined;
961
+ authorizationList?: undefined | undefined;
962
+ blobs?: undefined | undefined;
963
+ blobVersionedHashes?: undefined | undefined;
964
+ gasPrice?: bigint | undefined;
965
+ sidecars?: undefined | undefined;
966
+ maxFeePerBlobGas?: undefined | undefined;
967
+ maxFeePerGas?: undefined | undefined;
968
+ maxPriorityFeePerGas?: undefined | undefined;
969
+ } & {
970
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
971
+ } ? "eip2930" : never) | (request extends ({
972
+ accessList?: viem.AccessList | undefined;
973
+ authorizationList?: undefined | undefined;
974
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
975
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
976
+ maxFeePerBlobGas?: bigint | undefined;
977
+ maxFeePerGas?: bigint | undefined;
978
+ maxPriorityFeePerGas?: bigint | undefined;
979
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
980
+ } | {
981
+ accessList?: viem.AccessList | undefined;
982
+ authorizationList?: undefined | undefined;
983
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
984
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
985
+ maxFeePerBlobGas?: bigint | undefined;
986
+ maxFeePerGas?: bigint | undefined;
987
+ maxPriorityFeePerGas?: bigint | undefined;
988
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
989
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
990
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
991
+ } | {
992
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
993
+ } | {
994
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
995
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
996
+ accessList?: viem.AccessList | undefined;
997
+ authorizationList?: viem.SignedAuthorizationList;
998
+ blobs?: undefined | undefined;
999
+ blobVersionedHashes?: undefined | undefined;
1000
+ gasPrice?: undefined | undefined;
1001
+ maxFeePerBlobGas?: undefined | undefined;
1002
+ maxFeePerGas?: bigint | undefined;
1003
+ maxPriorityFeePerGas?: bigint | undefined;
1004
+ sidecars?: undefined | undefined;
1005
+ } | {
1006
+ accessList?: viem.AccessList | undefined;
1007
+ authorizationList?: viem.SignedAuthorizationList;
1008
+ blobs?: undefined | undefined;
1009
+ blobVersionedHashes?: undefined | undefined;
1010
+ gasPrice?: undefined | undefined;
1011
+ maxFeePerBlobGas?: undefined | undefined;
1012
+ maxFeePerGas?: bigint | undefined;
1013
+ maxPriorityFeePerGas?: bigint | undefined;
1014
+ sidecars?: undefined | undefined;
1015
+ }) & {
1016
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1017
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
1018
+ accessList?: undefined | undefined;
1019
+ authorizationList?: undefined | undefined;
1020
+ blobs?: undefined | undefined;
1021
+ blobVersionedHashes?: undefined | undefined;
1022
+ gasPrice?: bigint;
1023
+ sidecars?: undefined | undefined;
1024
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1025
+ accessList?: viem.AccessList | undefined;
1026
+ authorizationList?: undefined | undefined;
1027
+ blobs?: undefined | undefined;
1028
+ blobVersionedHashes?: undefined | undefined;
1029
+ gasPrice?: undefined | undefined;
1030
+ maxFeePerBlobGas?: undefined | undefined;
1031
+ maxFeePerGas?: bigint;
1032
+ maxPriorityFeePerGas?: bigint;
1033
+ sidecars?: undefined | undefined;
1034
+ } & (viem.OneOf<{
1035
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1036
+ } | {
1037
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1038
+ }, viem.FeeValuesEIP1559> & {
1039
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1040
+ }) ? "eip1559" : never) | (request extends {
1041
+ accessList?: viem.AccessList | undefined;
1042
+ authorizationList?: undefined | undefined;
1043
+ blobs?: undefined | undefined;
1044
+ blobVersionedHashes?: undefined | undefined;
1045
+ gasPrice?: bigint | undefined;
1046
+ sidecars?: undefined | undefined;
1047
+ maxFeePerBlobGas?: undefined | undefined;
1048
+ maxFeePerGas?: undefined | undefined;
1049
+ maxPriorityFeePerGas?: undefined | undefined;
1050
+ } & {
1051
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1052
+ } ? "eip2930" : never) | (request extends ({
1053
+ accessList?: viem.AccessList | undefined;
1054
+ authorizationList?: undefined | undefined;
1055
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1056
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1057
+ maxFeePerBlobGas?: bigint | undefined;
1058
+ maxFeePerGas?: bigint | undefined;
1059
+ maxPriorityFeePerGas?: bigint | undefined;
1060
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1061
+ } | {
1062
+ accessList?: viem.AccessList | undefined;
1063
+ authorizationList?: undefined | undefined;
1064
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1065
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1066
+ maxFeePerBlobGas?: bigint | undefined;
1067
+ maxFeePerGas?: bigint | undefined;
1068
+ maxPriorityFeePerGas?: bigint | undefined;
1069
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1070
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1071
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1072
+ } | {
1073
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1074
+ } | {
1075
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1076
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1077
+ accessList?: viem.AccessList | undefined;
1078
+ authorizationList?: viem.SignedAuthorizationList;
1079
+ blobs?: undefined | undefined;
1080
+ blobVersionedHashes?: undefined | undefined;
1081
+ gasPrice?: undefined | undefined;
1082
+ maxFeePerBlobGas?: undefined | undefined;
1083
+ maxFeePerGas?: bigint | undefined;
1084
+ maxPriorityFeePerGas?: bigint | undefined;
1085
+ sidecars?: undefined | undefined;
1086
+ } | {
1087
+ accessList?: viem.AccessList | undefined;
1088
+ authorizationList?: viem.SignedAuthorizationList;
1089
+ blobs?: undefined | undefined;
1090
+ blobVersionedHashes?: undefined | undefined;
1091
+ gasPrice?: undefined | undefined;
1092
+ maxFeePerBlobGas?: undefined | undefined;
1093
+ maxFeePerGas?: bigint | undefined;
1094
+ maxPriorityFeePerGas?: bigint | undefined;
1095
+ sidecars?: undefined | undefined;
1096
+ }) & {
1097
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1098
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1099
+ accessList?: undefined | undefined;
1100
+ authorizationList?: undefined | undefined;
1101
+ blobs?: undefined | undefined;
1102
+ blobVersionedHashes?: undefined | undefined;
1103
+ gasPrice?: bigint;
1104
+ sidecars?: undefined | undefined;
1105
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1106
+ accessList?: viem.AccessList | undefined;
1107
+ authorizationList?: undefined | undefined;
1108
+ blobs?: undefined | undefined;
1109
+ blobVersionedHashes?: undefined | undefined;
1110
+ gasPrice?: undefined | undefined;
1111
+ maxFeePerBlobGas?: undefined | undefined;
1112
+ maxFeePerGas?: bigint;
1113
+ maxPriorityFeePerGas?: bigint;
1114
+ sidecars?: undefined | undefined;
1115
+ } & (viem.OneOf<{
1116
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1117
+ } | {
1118
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1119
+ }, viem.FeeValuesEIP1559> & {
1120
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1121
+ }) ? "eip1559" : never) | (request extends {
1122
+ accessList?: viem.AccessList | undefined;
1123
+ authorizationList?: undefined | undefined;
1124
+ blobs?: undefined | undefined;
1125
+ blobVersionedHashes?: undefined | undefined;
1126
+ gasPrice?: bigint | undefined;
1127
+ sidecars?: undefined | undefined;
1128
+ maxFeePerBlobGas?: undefined | undefined;
1129
+ maxFeePerGas?: undefined | undefined;
1130
+ maxPriorityFeePerGas?: undefined | undefined;
1131
+ } & {
1132
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1133
+ } ? "eip2930" : never) | (request extends ({
1134
+ accessList?: viem.AccessList | undefined;
1135
+ authorizationList?: undefined | undefined;
1136
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1137
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1138
+ maxFeePerBlobGas?: bigint | undefined;
1139
+ maxFeePerGas?: bigint | undefined;
1140
+ maxPriorityFeePerGas?: bigint | undefined;
1141
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1142
+ } | {
1143
+ accessList?: viem.AccessList | undefined;
1144
+ authorizationList?: undefined | undefined;
1145
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1146
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1147
+ maxFeePerBlobGas?: bigint | undefined;
1148
+ maxFeePerGas?: bigint | undefined;
1149
+ maxPriorityFeePerGas?: bigint | undefined;
1150
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1151
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1152
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1153
+ } | {
1154
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1155
+ } | {
1156
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1157
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1158
+ accessList?: viem.AccessList | undefined;
1159
+ authorizationList?: viem.SignedAuthorizationList;
1160
+ blobs?: undefined | undefined;
1161
+ blobVersionedHashes?: undefined | undefined;
1162
+ gasPrice?: undefined | undefined;
1163
+ maxFeePerBlobGas?: undefined | undefined;
1164
+ maxFeePerGas?: bigint | undefined;
1165
+ maxPriorityFeePerGas?: bigint | undefined;
1166
+ sidecars?: undefined | undefined;
1167
+ } | {
1168
+ accessList?: viem.AccessList | undefined;
1169
+ authorizationList?: viem.SignedAuthorizationList;
1170
+ blobs?: undefined | undefined;
1171
+ blobVersionedHashes?: undefined | undefined;
1172
+ gasPrice?: undefined | undefined;
1173
+ maxFeePerBlobGas?: undefined | undefined;
1174
+ maxFeePerGas?: bigint | undefined;
1175
+ maxPriorityFeePerGas?: bigint | undefined;
1176
+ sidecars?: undefined | undefined;
1177
+ }) & {
1178
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1179
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_5 extends "eip2930" ? viem.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
1180
+ accessList?: undefined | undefined;
1181
+ authorizationList?: undefined | undefined;
1182
+ blobs?: undefined | undefined;
1183
+ blobVersionedHashes?: undefined | undefined;
1184
+ gasPrice?: bigint;
1185
+ sidecars?: undefined | undefined;
1186
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1187
+ accessList?: viem.AccessList | undefined;
1188
+ authorizationList?: undefined | undefined;
1189
+ blobs?: undefined | undefined;
1190
+ blobVersionedHashes?: undefined | undefined;
1191
+ gasPrice?: undefined | undefined;
1192
+ maxFeePerBlobGas?: undefined | undefined;
1193
+ maxFeePerGas?: bigint;
1194
+ maxPriorityFeePerGas?: bigint;
1195
+ sidecars?: undefined | undefined;
1196
+ } & (viem.OneOf<{
1197
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1198
+ } | {
1199
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1200
+ }, viem.FeeValuesEIP1559> & {
1201
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1202
+ }) ? "eip1559" : never) | (request extends {
1203
+ accessList?: viem.AccessList | undefined;
1204
+ authorizationList?: undefined | undefined;
1205
+ blobs?: undefined | undefined;
1206
+ blobVersionedHashes?: undefined | undefined;
1207
+ gasPrice?: bigint | undefined;
1208
+ sidecars?: undefined | undefined;
1209
+ maxFeePerBlobGas?: undefined | undefined;
1210
+ maxFeePerGas?: undefined | undefined;
1211
+ maxPriorityFeePerGas?: undefined | undefined;
1212
+ } & {
1213
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1214
+ } ? "eip2930" : never) | (request extends ({
1215
+ accessList?: viem.AccessList | undefined;
1216
+ authorizationList?: undefined | undefined;
1217
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1218
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1219
+ maxFeePerBlobGas?: bigint | undefined;
1220
+ maxFeePerGas?: bigint | undefined;
1221
+ maxPriorityFeePerGas?: bigint | undefined;
1222
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1223
+ } | {
1224
+ accessList?: viem.AccessList | undefined;
1225
+ authorizationList?: undefined | undefined;
1226
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1227
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1228
+ maxFeePerBlobGas?: bigint | undefined;
1229
+ maxFeePerGas?: bigint | undefined;
1230
+ maxPriorityFeePerGas?: bigint | undefined;
1231
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1232
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1233
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1234
+ } | {
1235
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1236
+ } | {
1237
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1238
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1239
+ accessList?: viem.AccessList | undefined;
1240
+ authorizationList?: viem.SignedAuthorizationList;
1241
+ blobs?: undefined | undefined;
1242
+ blobVersionedHashes?: undefined | undefined;
1243
+ gasPrice?: undefined | undefined;
1244
+ maxFeePerBlobGas?: undefined | undefined;
1245
+ maxFeePerGas?: bigint | undefined;
1246
+ maxPriorityFeePerGas?: bigint | undefined;
1247
+ sidecars?: undefined | undefined;
1248
+ } | {
1249
+ accessList?: viem.AccessList | undefined;
1250
+ authorizationList?: viem.SignedAuthorizationList;
1251
+ blobs?: undefined | undefined;
1252
+ blobVersionedHashes?: undefined | undefined;
1253
+ gasPrice?: undefined | undefined;
1254
+ maxFeePerBlobGas?: undefined | undefined;
1255
+ maxFeePerGas?: bigint | undefined;
1256
+ maxPriorityFeePerGas?: bigint | undefined;
1257
+ sidecars?: undefined | undefined;
1258
+ }) & {
1259
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1260
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1261
+ accessList?: undefined | undefined;
1262
+ authorizationList?: undefined | undefined;
1263
+ blobs?: undefined | undefined;
1264
+ blobVersionedHashes?: undefined | undefined;
1265
+ gasPrice?: bigint;
1266
+ sidecars?: undefined | undefined;
1267
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1268
+ accessList?: viem.AccessList | undefined;
1269
+ authorizationList?: undefined | undefined;
1270
+ blobs?: undefined | undefined;
1271
+ blobVersionedHashes?: undefined | undefined;
1272
+ gasPrice?: undefined | undefined;
1273
+ maxFeePerBlobGas?: undefined | undefined;
1274
+ maxFeePerGas?: bigint;
1275
+ maxPriorityFeePerGas?: bigint;
1276
+ sidecars?: undefined | undefined;
1277
+ } & (viem.OneOf<{
1278
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1279
+ } | {
1280
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1281
+ }, viem.FeeValuesEIP1559> & {
1282
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1283
+ }) ? "eip1559" : never) | (request extends {
1284
+ accessList?: viem.AccessList | undefined;
1285
+ authorizationList?: undefined | undefined;
1286
+ blobs?: undefined | undefined;
1287
+ blobVersionedHashes?: undefined | undefined;
1288
+ gasPrice?: bigint | undefined;
1289
+ sidecars?: undefined | undefined;
1290
+ maxFeePerBlobGas?: undefined | undefined;
1291
+ maxFeePerGas?: undefined | undefined;
1292
+ maxPriorityFeePerGas?: undefined | undefined;
1293
+ } & {
1294
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1295
+ } ? "eip2930" : never) | (request extends ({
1296
+ accessList?: viem.AccessList | undefined;
1297
+ authorizationList?: undefined | undefined;
1298
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1299
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1300
+ maxFeePerBlobGas?: bigint | undefined;
1301
+ maxFeePerGas?: bigint | undefined;
1302
+ maxPriorityFeePerGas?: bigint | undefined;
1303
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1304
+ } | {
1305
+ accessList?: viem.AccessList | undefined;
1306
+ authorizationList?: undefined | undefined;
1307
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1308
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1309
+ maxFeePerBlobGas?: bigint | undefined;
1310
+ maxFeePerGas?: bigint | undefined;
1311
+ maxPriorityFeePerGas?: bigint | undefined;
1312
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1313
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1314
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1315
+ } | {
1316
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1317
+ } | {
1318
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1319
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1320
+ accessList?: viem.AccessList | undefined;
1321
+ authorizationList?: viem.SignedAuthorizationList;
1322
+ blobs?: undefined | undefined;
1323
+ blobVersionedHashes?: undefined | undefined;
1324
+ gasPrice?: undefined | undefined;
1325
+ maxFeePerBlobGas?: undefined | undefined;
1326
+ maxFeePerGas?: bigint | undefined;
1327
+ maxPriorityFeePerGas?: bigint | undefined;
1328
+ sidecars?: undefined | undefined;
1329
+ } | {
1330
+ accessList?: viem.AccessList | undefined;
1331
+ authorizationList?: viem.SignedAuthorizationList;
1332
+ blobs?: undefined | undefined;
1333
+ blobVersionedHashes?: undefined | undefined;
1334
+ gasPrice?: undefined | undefined;
1335
+ maxFeePerBlobGas?: undefined | undefined;
1336
+ maxFeePerGas?: bigint | undefined;
1337
+ maxPriorityFeePerGas?: bigint | undefined;
1338
+ sidecars?: undefined | undefined;
1339
+ }) & {
1340
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1341
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
1342
+ accessList?: undefined | undefined;
1343
+ authorizationList?: undefined | undefined;
1344
+ blobs?: undefined | undefined;
1345
+ blobVersionedHashes?: undefined | undefined;
1346
+ gasPrice?: bigint;
1347
+ sidecars?: undefined | undefined;
1348
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1349
+ accessList?: viem.AccessList | undefined;
1350
+ authorizationList?: undefined | undefined;
1351
+ blobs?: undefined | undefined;
1352
+ blobVersionedHashes?: undefined | undefined;
1353
+ gasPrice?: undefined | undefined;
1354
+ maxFeePerBlobGas?: undefined | undefined;
1355
+ maxFeePerGas?: bigint;
1356
+ maxPriorityFeePerGas?: bigint;
1357
+ sidecars?: undefined | undefined;
1358
+ } & (viem.OneOf<{
1359
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1360
+ } | {
1361
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1362
+ }, viem.FeeValuesEIP1559> & {
1363
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1364
+ }) ? "eip1559" : never) | (request extends {
1365
+ accessList?: viem.AccessList | undefined;
1366
+ authorizationList?: undefined | undefined;
1367
+ blobs?: undefined | undefined;
1368
+ blobVersionedHashes?: undefined | undefined;
1369
+ gasPrice?: bigint | undefined;
1370
+ sidecars?: undefined | undefined;
1371
+ maxFeePerBlobGas?: undefined | undefined;
1372
+ maxFeePerGas?: undefined | undefined;
1373
+ maxPriorityFeePerGas?: undefined | undefined;
1374
+ } & {
1375
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1376
+ } ? "eip2930" : never) | (request extends ({
1377
+ accessList?: viem.AccessList | undefined;
1378
+ authorizationList?: undefined | undefined;
1379
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1380
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1381
+ maxFeePerBlobGas?: bigint | undefined;
1382
+ maxFeePerGas?: bigint | undefined;
1383
+ maxPriorityFeePerGas?: bigint | undefined;
1384
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1385
+ } | {
1386
+ accessList?: viem.AccessList | undefined;
1387
+ authorizationList?: undefined | undefined;
1388
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1389
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1390
+ maxFeePerBlobGas?: bigint | undefined;
1391
+ maxFeePerGas?: bigint | undefined;
1392
+ maxPriorityFeePerGas?: bigint | undefined;
1393
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1394
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1395
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1396
+ } | {
1397
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1398
+ } | {
1399
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1400
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1401
+ accessList?: viem.AccessList | undefined;
1402
+ authorizationList?: viem.SignedAuthorizationList;
1403
+ blobs?: undefined | undefined;
1404
+ blobVersionedHashes?: undefined | undefined;
1405
+ gasPrice?: undefined | undefined;
1406
+ maxFeePerBlobGas?: undefined | undefined;
1407
+ maxFeePerGas?: bigint | undefined;
1408
+ maxPriorityFeePerGas?: bigint | undefined;
1409
+ sidecars?: undefined | undefined;
1410
+ } | {
1411
+ accessList?: viem.AccessList | undefined;
1412
+ authorizationList?: viem.SignedAuthorizationList;
1413
+ blobs?: undefined | undefined;
1414
+ blobVersionedHashes?: undefined | undefined;
1415
+ gasPrice?: undefined | undefined;
1416
+ maxFeePerBlobGas?: undefined | undefined;
1417
+ maxFeePerGas?: bigint | undefined;
1418
+ maxPriorityFeePerGas?: bigint | undefined;
1419
+ sidecars?: undefined | undefined;
1420
+ }) & {
1421
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1422
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1423
+ accessList?: undefined | undefined;
1424
+ authorizationList?: undefined | undefined;
1425
+ blobs?: undefined | undefined;
1426
+ blobVersionedHashes?: undefined | undefined;
1427
+ gasPrice?: bigint;
1428
+ sidecars?: undefined | undefined;
1429
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1430
+ accessList?: viem.AccessList | undefined;
1431
+ authorizationList?: undefined | undefined;
1432
+ blobs?: undefined | undefined;
1433
+ blobVersionedHashes?: undefined | undefined;
1434
+ gasPrice?: undefined | undefined;
1435
+ maxFeePerBlobGas?: undefined | undefined;
1436
+ maxFeePerGas?: bigint;
1437
+ maxPriorityFeePerGas?: bigint;
1438
+ sidecars?: undefined | undefined;
1439
+ } & (viem.OneOf<{
1440
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1441
+ } | {
1442
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1443
+ }, viem.FeeValuesEIP1559> & {
1444
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1445
+ }) ? "eip1559" : never) | (request extends {
1446
+ accessList?: viem.AccessList | undefined;
1447
+ authorizationList?: undefined | undefined;
1448
+ blobs?: undefined | undefined;
1449
+ blobVersionedHashes?: undefined | undefined;
1450
+ gasPrice?: bigint | undefined;
1451
+ sidecars?: undefined | undefined;
1452
+ maxFeePerBlobGas?: undefined | undefined;
1453
+ maxFeePerGas?: undefined | undefined;
1454
+ maxPriorityFeePerGas?: undefined | undefined;
1455
+ } & {
1456
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1457
+ } ? "eip2930" : never) | (request extends ({
1458
+ accessList?: viem.AccessList | undefined;
1459
+ authorizationList?: undefined | undefined;
1460
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1461
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1462
+ maxFeePerBlobGas?: bigint | undefined;
1463
+ maxFeePerGas?: bigint | undefined;
1464
+ maxPriorityFeePerGas?: bigint | undefined;
1465
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1466
+ } | {
1467
+ accessList?: viem.AccessList | undefined;
1468
+ authorizationList?: undefined | undefined;
1469
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1470
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1471
+ maxFeePerBlobGas?: bigint | undefined;
1472
+ maxFeePerGas?: bigint | undefined;
1473
+ maxPriorityFeePerGas?: bigint | undefined;
1474
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1475
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1476
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1477
+ } | {
1478
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1479
+ } | {
1480
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1481
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1482
+ accessList?: viem.AccessList | undefined;
1483
+ authorizationList?: viem.SignedAuthorizationList;
1484
+ blobs?: undefined | undefined;
1485
+ blobVersionedHashes?: undefined | undefined;
1486
+ gasPrice?: undefined | undefined;
1487
+ maxFeePerBlobGas?: undefined | undefined;
1488
+ maxFeePerGas?: bigint | undefined;
1489
+ maxPriorityFeePerGas?: bigint | undefined;
1490
+ sidecars?: undefined | undefined;
1491
+ } | {
1492
+ accessList?: viem.AccessList | undefined;
1493
+ authorizationList?: viem.SignedAuthorizationList;
1494
+ blobs?: undefined | undefined;
1495
+ blobVersionedHashes?: undefined | undefined;
1496
+ gasPrice?: undefined | undefined;
1497
+ maxFeePerBlobGas?: undefined | undefined;
1498
+ maxFeePerGas?: bigint | undefined;
1499
+ maxPriorityFeePerGas?: bigint | undefined;
1500
+ sidecars?: undefined | undefined;
1501
+ }) & {
1502
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1503
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
1504
+ accessList?: undefined | undefined;
1505
+ authorizationList?: undefined | undefined;
1506
+ blobs?: undefined | undefined;
1507
+ blobVersionedHashes?: undefined | undefined;
1508
+ gasPrice?: bigint;
1509
+ sidecars?: undefined | undefined;
1510
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1511
+ accessList?: viem.AccessList | undefined;
1512
+ authorizationList?: undefined | undefined;
1513
+ blobs?: undefined | undefined;
1514
+ blobVersionedHashes?: undefined | undefined;
1515
+ gasPrice?: undefined | undefined;
1516
+ maxFeePerBlobGas?: undefined | undefined;
1517
+ maxFeePerGas?: bigint;
1518
+ maxPriorityFeePerGas?: bigint;
1519
+ sidecars?: undefined | undefined;
1520
+ } & (viem.OneOf<{
1521
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1522
+ } | {
1523
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1524
+ }, viem.FeeValuesEIP1559> & {
1525
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1526
+ }) ? "eip1559" : never) | (request extends {
1527
+ accessList?: viem.AccessList | undefined;
1528
+ authorizationList?: undefined | undefined;
1529
+ blobs?: undefined | undefined;
1530
+ blobVersionedHashes?: undefined | undefined;
1531
+ gasPrice?: bigint | undefined;
1532
+ sidecars?: undefined | undefined;
1533
+ maxFeePerBlobGas?: undefined | undefined;
1534
+ maxFeePerGas?: undefined | undefined;
1535
+ maxPriorityFeePerGas?: undefined | undefined;
1536
+ } & {
1537
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1538
+ } ? "eip2930" : never) | (request extends ({
1539
+ accessList?: viem.AccessList | undefined;
1540
+ authorizationList?: undefined | undefined;
1541
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1542
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1543
+ maxFeePerBlobGas?: bigint | undefined;
1544
+ maxFeePerGas?: bigint | undefined;
1545
+ maxPriorityFeePerGas?: bigint | undefined;
1546
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1547
+ } | {
1548
+ accessList?: viem.AccessList | undefined;
1549
+ authorizationList?: undefined | undefined;
1550
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1551
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1552
+ maxFeePerBlobGas?: bigint | undefined;
1553
+ maxFeePerGas?: bigint | undefined;
1554
+ maxPriorityFeePerGas?: bigint | undefined;
1555
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1556
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1557
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1558
+ } | {
1559
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1560
+ } | {
1561
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1562
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1563
+ accessList?: viem.AccessList | undefined;
1564
+ authorizationList?: viem.SignedAuthorizationList;
1565
+ blobs?: undefined | undefined;
1566
+ blobVersionedHashes?: undefined | undefined;
1567
+ gasPrice?: undefined | undefined;
1568
+ maxFeePerBlobGas?: undefined | undefined;
1569
+ maxFeePerGas?: bigint | undefined;
1570
+ maxPriorityFeePerGas?: bigint | undefined;
1571
+ sidecars?: undefined | undefined;
1572
+ } | {
1573
+ accessList?: viem.AccessList | undefined;
1574
+ authorizationList?: viem.SignedAuthorizationList;
1575
+ blobs?: undefined | undefined;
1576
+ blobVersionedHashes?: undefined | undefined;
1577
+ gasPrice?: undefined | undefined;
1578
+ maxFeePerBlobGas?: undefined | undefined;
1579
+ maxFeePerGas?: bigint | undefined;
1580
+ maxPriorityFeePerGas?: bigint | undefined;
1581
+ sidecars?: undefined | undefined;
1582
+ }) & {
1583
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1584
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1585
+ accessList?: undefined | undefined;
1586
+ authorizationList?: undefined | undefined;
1587
+ blobs?: undefined | undefined;
1588
+ blobVersionedHashes?: undefined | undefined;
1589
+ gasPrice?: bigint;
1590
+ sidecars?: undefined | undefined;
1591
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1592
+ accessList?: viem.AccessList | undefined;
1593
+ authorizationList?: undefined | undefined;
1594
+ blobs?: undefined | undefined;
1595
+ blobVersionedHashes?: undefined | undefined;
1596
+ gasPrice?: undefined | undefined;
1597
+ maxFeePerBlobGas?: undefined | undefined;
1598
+ maxFeePerGas?: bigint;
1599
+ maxPriorityFeePerGas?: bigint;
1600
+ sidecars?: undefined | undefined;
1601
+ } & (viem.OneOf<{
1602
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1603
+ } | {
1604
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1605
+ }, viem.FeeValuesEIP1559> & {
1606
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1607
+ }) ? "eip1559" : never) | (request extends {
1608
+ accessList?: viem.AccessList | undefined;
1609
+ authorizationList?: undefined | undefined;
1610
+ blobs?: undefined | undefined;
1611
+ blobVersionedHashes?: undefined | undefined;
1612
+ gasPrice?: bigint | undefined;
1613
+ sidecars?: undefined | undefined;
1614
+ maxFeePerBlobGas?: undefined | undefined;
1615
+ maxFeePerGas?: undefined | undefined;
1616
+ maxPriorityFeePerGas?: undefined | undefined;
1617
+ } & {
1618
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1619
+ } ? "eip2930" : never) | (request extends ({
1620
+ accessList?: viem.AccessList | undefined;
1621
+ authorizationList?: undefined | undefined;
1622
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1623
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1624
+ maxFeePerBlobGas?: bigint | undefined;
1625
+ maxFeePerGas?: bigint | undefined;
1626
+ maxPriorityFeePerGas?: bigint | undefined;
1627
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1628
+ } | {
1629
+ accessList?: viem.AccessList | undefined;
1630
+ authorizationList?: undefined | undefined;
1631
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1632
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1633
+ maxFeePerBlobGas?: bigint | undefined;
1634
+ maxFeePerGas?: bigint | undefined;
1635
+ maxPriorityFeePerGas?: bigint | undefined;
1636
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1637
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1638
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1639
+ } | {
1640
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1641
+ } | {
1642
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1643
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1644
+ accessList?: viem.AccessList | undefined;
1645
+ authorizationList?: viem.SignedAuthorizationList;
1646
+ blobs?: undefined | undefined;
1647
+ blobVersionedHashes?: undefined | undefined;
1648
+ gasPrice?: undefined | undefined;
1649
+ maxFeePerBlobGas?: undefined | undefined;
1650
+ maxFeePerGas?: bigint | undefined;
1651
+ maxPriorityFeePerGas?: bigint | undefined;
1652
+ sidecars?: undefined | undefined;
1653
+ } | {
1654
+ accessList?: viem.AccessList | undefined;
1655
+ authorizationList?: viem.SignedAuthorizationList;
1656
+ blobs?: undefined | undefined;
1657
+ blobVersionedHashes?: undefined | undefined;
1658
+ gasPrice?: undefined | undefined;
1659
+ maxFeePerBlobGas?: undefined | undefined;
1660
+ maxFeePerGas?: bigint | undefined;
1661
+ maxPriorityFeePerGas?: bigint | undefined;
1662
+ sidecars?: undefined | undefined;
1663
+ }) & {
1664
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1665
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
1666
+ accessList?: undefined | undefined;
1667
+ authorizationList?: undefined | undefined;
1668
+ blobs?: undefined | undefined;
1669
+ blobVersionedHashes?: undefined | undefined;
1670
+ gasPrice?: bigint;
1671
+ sidecars?: undefined | undefined;
1672
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1673
+ accessList?: viem.AccessList | undefined;
1674
+ authorizationList?: undefined | undefined;
1675
+ blobs?: undefined | undefined;
1676
+ blobVersionedHashes?: undefined | undefined;
1677
+ gasPrice?: undefined | undefined;
1678
+ maxFeePerBlobGas?: undefined | undefined;
1679
+ maxFeePerGas?: bigint;
1680
+ maxPriorityFeePerGas?: bigint;
1681
+ sidecars?: undefined | undefined;
1682
+ } & (viem.OneOf<{
1683
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1684
+ } | {
1685
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1686
+ }, viem.FeeValuesEIP1559> & {
1687
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1688
+ }) ? "eip1559" : never) | (request extends {
1689
+ accessList?: viem.AccessList | undefined;
1690
+ authorizationList?: undefined | undefined;
1691
+ blobs?: undefined | undefined;
1692
+ blobVersionedHashes?: undefined | undefined;
1693
+ gasPrice?: bigint | undefined;
1694
+ sidecars?: undefined | undefined;
1695
+ maxFeePerBlobGas?: undefined | undefined;
1696
+ maxFeePerGas?: undefined | undefined;
1697
+ maxPriorityFeePerGas?: undefined | undefined;
1698
+ } & {
1699
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1700
+ } ? "eip2930" : never) | (request extends ({
1701
+ accessList?: viem.AccessList | undefined;
1702
+ authorizationList?: undefined | undefined;
1703
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1704
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1705
+ maxFeePerBlobGas?: bigint | undefined;
1706
+ maxFeePerGas?: bigint | undefined;
1707
+ maxPriorityFeePerGas?: bigint | undefined;
1708
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1709
+ } | {
1710
+ accessList?: viem.AccessList | undefined;
1711
+ authorizationList?: undefined | undefined;
1712
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1713
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1714
+ maxFeePerBlobGas?: bigint | undefined;
1715
+ maxFeePerGas?: bigint | undefined;
1716
+ maxPriorityFeePerGas?: bigint | undefined;
1717
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1718
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1719
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1720
+ } | {
1721
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1722
+ } | {
1723
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1724
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1725
+ accessList?: viem.AccessList | undefined;
1726
+ authorizationList?: viem.SignedAuthorizationList;
1727
+ blobs?: undefined | undefined;
1728
+ blobVersionedHashes?: undefined | undefined;
1729
+ gasPrice?: undefined | undefined;
1730
+ maxFeePerBlobGas?: undefined | undefined;
1731
+ maxFeePerGas?: bigint | undefined;
1732
+ maxPriorityFeePerGas?: bigint | undefined;
1733
+ sidecars?: undefined | undefined;
1734
+ } | {
1735
+ accessList?: viem.AccessList | undefined;
1736
+ authorizationList?: viem.SignedAuthorizationList;
1737
+ blobs?: undefined | undefined;
1738
+ blobVersionedHashes?: undefined | undefined;
1739
+ gasPrice?: undefined | undefined;
1740
+ maxFeePerBlobGas?: undefined | undefined;
1741
+ maxFeePerGas?: bigint | undefined;
1742
+ maxPriorityFeePerGas?: bigint | undefined;
1743
+ sidecars?: undefined | undefined;
1744
+ }) & {
1745
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1746
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1747
+ accessList?: undefined | undefined;
1748
+ authorizationList?: undefined | undefined;
1749
+ blobs?: undefined | undefined;
1750
+ blobVersionedHashes?: undefined | undefined;
1751
+ gasPrice?: bigint;
1752
+ sidecars?: undefined | undefined;
1753
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1754
+ accessList?: viem.AccessList | undefined;
1755
+ authorizationList?: undefined | undefined;
1756
+ blobs?: undefined | undefined;
1757
+ blobVersionedHashes?: undefined | undefined;
1758
+ gasPrice?: undefined | undefined;
1759
+ maxFeePerBlobGas?: undefined | undefined;
1760
+ maxFeePerGas?: bigint;
1761
+ maxPriorityFeePerGas?: bigint;
1762
+ sidecars?: undefined | undefined;
1763
+ } & (viem.OneOf<{
1764
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1765
+ } | {
1766
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1767
+ }, viem.FeeValuesEIP1559> & {
1768
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1769
+ }) ? "eip1559" : never) | (request extends {
1770
+ accessList?: viem.AccessList | undefined;
1771
+ authorizationList?: undefined | undefined;
1772
+ blobs?: undefined | undefined;
1773
+ blobVersionedHashes?: undefined | undefined;
1774
+ gasPrice?: bigint | undefined;
1775
+ sidecars?: undefined | undefined;
1776
+ maxFeePerBlobGas?: undefined | undefined;
1777
+ maxFeePerGas?: undefined | undefined;
1778
+ maxPriorityFeePerGas?: undefined | undefined;
1779
+ } & {
1780
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1781
+ } ? "eip2930" : never) | (request extends ({
1782
+ accessList?: viem.AccessList | undefined;
1783
+ authorizationList?: undefined | undefined;
1784
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1785
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1786
+ maxFeePerBlobGas?: bigint | undefined;
1787
+ maxFeePerGas?: bigint | undefined;
1788
+ maxPriorityFeePerGas?: bigint | undefined;
1789
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1790
+ } | {
1791
+ accessList?: viem.AccessList | undefined;
1792
+ authorizationList?: undefined | undefined;
1793
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1794
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1795
+ maxFeePerBlobGas?: bigint | undefined;
1796
+ maxFeePerGas?: bigint | undefined;
1797
+ maxPriorityFeePerGas?: bigint | undefined;
1798
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1799
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1800
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1801
+ } | {
1802
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1803
+ } | {
1804
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1805
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1806
+ accessList?: viem.AccessList | undefined;
1807
+ authorizationList?: viem.SignedAuthorizationList;
1808
+ blobs?: undefined | undefined;
1809
+ blobVersionedHashes?: undefined | undefined;
1810
+ gasPrice?: undefined | undefined;
1811
+ maxFeePerBlobGas?: undefined | undefined;
1812
+ maxFeePerGas?: bigint | undefined;
1813
+ maxPriorityFeePerGas?: bigint | undefined;
1814
+ sidecars?: undefined | undefined;
1815
+ } | {
1816
+ accessList?: viem.AccessList | undefined;
1817
+ authorizationList?: viem.SignedAuthorizationList;
1818
+ blobs?: undefined | undefined;
1819
+ blobVersionedHashes?: undefined | undefined;
1820
+ gasPrice?: undefined | undefined;
1821
+ maxFeePerBlobGas?: undefined | undefined;
1822
+ maxFeePerGas?: bigint | undefined;
1823
+ maxPriorityFeePerGas?: bigint | undefined;
1824
+ sidecars?: undefined | undefined;
1825
+ }) & {
1826
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1827
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_7 extends "eip7702" ? viem.TransactionRequestEIP7702 : never : never : never)> extends true ? unknown : viem.ExactPartial<((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
1828
+ accessList?: undefined | undefined;
1829
+ authorizationList?: undefined | undefined;
1830
+ blobs?: undefined | undefined;
1831
+ blobVersionedHashes?: undefined | undefined;
1832
+ gasPrice?: bigint;
1833
+ sidecars?: undefined | undefined;
1834
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1835
+ accessList?: viem.AccessList | undefined;
1836
+ authorizationList?: undefined | undefined;
1837
+ blobs?: undefined | undefined;
1838
+ blobVersionedHashes?: undefined | undefined;
1839
+ gasPrice?: undefined | undefined;
1840
+ maxFeePerBlobGas?: undefined | undefined;
1841
+ maxFeePerGas?: bigint;
1842
+ maxPriorityFeePerGas?: bigint;
1843
+ sidecars?: undefined | undefined;
1844
+ } & (viem.OneOf<{
1845
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1846
+ } | {
1847
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1848
+ }, viem.FeeValuesEIP1559> & {
1849
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1850
+ }) ? "eip1559" : never) | (request extends {
1851
+ accessList?: viem.AccessList | undefined;
1852
+ authorizationList?: undefined | undefined;
1853
+ blobs?: undefined | undefined;
1854
+ blobVersionedHashes?: undefined | undefined;
1855
+ gasPrice?: bigint | undefined;
1856
+ sidecars?: undefined | undefined;
1857
+ maxFeePerBlobGas?: undefined | undefined;
1858
+ maxFeePerGas?: undefined | undefined;
1859
+ maxPriorityFeePerGas?: undefined | undefined;
1860
+ } & {
1861
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1862
+ } ? "eip2930" : never) | (request extends ({
1863
+ accessList?: viem.AccessList | undefined;
1864
+ authorizationList?: undefined | undefined;
1865
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1866
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1867
+ maxFeePerBlobGas?: bigint | undefined;
1868
+ maxFeePerGas?: bigint | undefined;
1869
+ maxPriorityFeePerGas?: bigint | undefined;
1870
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1871
+ } | {
1872
+ accessList?: viem.AccessList | undefined;
1873
+ authorizationList?: undefined | undefined;
1874
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1875
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1876
+ maxFeePerBlobGas?: bigint | undefined;
1877
+ maxFeePerGas?: bigint | undefined;
1878
+ maxPriorityFeePerGas?: bigint | undefined;
1879
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1880
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1881
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1882
+ } | {
1883
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1884
+ } | {
1885
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1886
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1887
+ accessList?: viem.AccessList | undefined;
1888
+ authorizationList?: viem.SignedAuthorizationList;
1889
+ blobs?: undefined | undefined;
1890
+ blobVersionedHashes?: undefined | undefined;
1891
+ gasPrice?: undefined | undefined;
1892
+ maxFeePerBlobGas?: undefined | undefined;
1893
+ maxFeePerGas?: bigint | undefined;
1894
+ maxPriorityFeePerGas?: bigint | undefined;
1895
+ sidecars?: undefined | undefined;
1896
+ } | {
1897
+ accessList?: viem.AccessList | undefined;
1898
+ authorizationList?: viem.SignedAuthorizationList;
1899
+ blobs?: undefined | undefined;
1900
+ blobVersionedHashes?: undefined | undefined;
1901
+ gasPrice?: undefined | undefined;
1902
+ maxFeePerBlobGas?: undefined | undefined;
1903
+ maxFeePerGas?: bigint | undefined;
1904
+ maxPriorityFeePerGas?: bigint | undefined;
1905
+ sidecars?: undefined | undefined;
1906
+ }) & {
1907
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1908
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
1909
+ accessList?: undefined | undefined;
1910
+ authorizationList?: undefined | undefined;
1911
+ blobs?: undefined | undefined;
1912
+ blobVersionedHashes?: undefined | undefined;
1913
+ gasPrice?: bigint;
1914
+ sidecars?: undefined | undefined;
1915
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1916
+ accessList?: viem.AccessList | undefined;
1917
+ authorizationList?: undefined | undefined;
1918
+ blobs?: undefined | undefined;
1919
+ blobVersionedHashes?: undefined | undefined;
1920
+ gasPrice?: undefined | undefined;
1921
+ maxFeePerBlobGas?: undefined | undefined;
1922
+ maxFeePerGas?: bigint;
1923
+ maxPriorityFeePerGas?: bigint;
1924
+ sidecars?: undefined | undefined;
1925
+ } & (viem.OneOf<{
1926
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
1927
+ } | {
1928
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
1929
+ }, viem.FeeValuesEIP1559> & {
1930
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
1931
+ }) ? "eip1559" : never) | (request extends {
1932
+ accessList?: viem.AccessList | undefined;
1933
+ authorizationList?: undefined | undefined;
1934
+ blobs?: undefined | undefined;
1935
+ blobVersionedHashes?: undefined | undefined;
1936
+ gasPrice?: bigint | undefined;
1937
+ sidecars?: undefined | undefined;
1938
+ maxFeePerBlobGas?: undefined | undefined;
1939
+ maxFeePerGas?: undefined | undefined;
1940
+ maxPriorityFeePerGas?: undefined | undefined;
1941
+ } & {
1942
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
1943
+ } ? "eip2930" : never) | (request extends ({
1944
+ accessList?: viem.AccessList | undefined;
1945
+ authorizationList?: undefined | undefined;
1946
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1947
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1948
+ maxFeePerBlobGas?: bigint | undefined;
1949
+ maxFeePerGas?: bigint | undefined;
1950
+ maxPriorityFeePerGas?: bigint | undefined;
1951
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1952
+ } | {
1953
+ accessList?: viem.AccessList | undefined;
1954
+ authorizationList?: undefined | undefined;
1955
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
1956
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1957
+ maxFeePerBlobGas?: bigint | undefined;
1958
+ maxFeePerGas?: bigint | undefined;
1959
+ maxPriorityFeePerGas?: bigint | undefined;
1960
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
1961
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
1962
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
1963
+ } | {
1964
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
1965
+ } | {
1966
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1967
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
1968
+ accessList?: viem.AccessList | undefined;
1969
+ authorizationList?: viem.SignedAuthorizationList;
1970
+ blobs?: undefined | undefined;
1971
+ blobVersionedHashes?: undefined | undefined;
1972
+ gasPrice?: undefined | undefined;
1973
+ maxFeePerBlobGas?: undefined | undefined;
1974
+ maxFeePerGas?: bigint | undefined;
1975
+ maxPriorityFeePerGas?: bigint | undefined;
1976
+ sidecars?: undefined | undefined;
1977
+ } | {
1978
+ accessList?: viem.AccessList | undefined;
1979
+ authorizationList?: viem.SignedAuthorizationList;
1980
+ blobs?: undefined | undefined;
1981
+ blobVersionedHashes?: undefined | undefined;
1982
+ gasPrice?: undefined | undefined;
1983
+ maxFeePerBlobGas?: undefined | undefined;
1984
+ maxFeePerGas?: bigint | undefined;
1985
+ maxPriorityFeePerGas?: bigint | undefined;
1986
+ sidecars?: undefined | undefined;
1987
+ }) & {
1988
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
1989
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
1990
+ accessList?: undefined | undefined;
1991
+ authorizationList?: undefined | undefined;
1992
+ blobs?: undefined | undefined;
1993
+ blobVersionedHashes?: undefined | undefined;
1994
+ gasPrice?: bigint;
1995
+ sidecars?: undefined | undefined;
1996
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
1997
+ accessList?: viem.AccessList | undefined;
1998
+ authorizationList?: undefined | undefined;
1999
+ blobs?: undefined | undefined;
2000
+ blobVersionedHashes?: undefined | undefined;
2001
+ gasPrice?: undefined | undefined;
2002
+ maxFeePerBlobGas?: undefined | undefined;
2003
+ maxFeePerGas?: bigint;
2004
+ maxPriorityFeePerGas?: bigint;
2005
+ sidecars?: undefined | undefined;
2006
+ } & (viem.OneOf<{
2007
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2008
+ } | {
2009
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2010
+ }, viem.FeeValuesEIP1559> & {
2011
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2012
+ }) ? "eip1559" : never) | (request extends {
2013
+ accessList?: viem.AccessList | undefined;
2014
+ authorizationList?: undefined | undefined;
2015
+ blobs?: undefined | undefined;
2016
+ blobVersionedHashes?: undefined | undefined;
2017
+ gasPrice?: bigint | undefined;
2018
+ sidecars?: undefined | undefined;
2019
+ maxFeePerBlobGas?: undefined | undefined;
2020
+ maxFeePerGas?: undefined | undefined;
2021
+ maxPriorityFeePerGas?: undefined | undefined;
2022
+ } & {
2023
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2024
+ } ? "eip2930" : never) | (request extends ({
2025
+ accessList?: viem.AccessList | undefined;
2026
+ authorizationList?: undefined | undefined;
2027
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2028
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2029
+ maxFeePerBlobGas?: bigint | undefined;
2030
+ maxFeePerGas?: bigint | undefined;
2031
+ maxPriorityFeePerGas?: bigint | undefined;
2032
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2033
+ } | {
2034
+ accessList?: viem.AccessList | undefined;
2035
+ authorizationList?: undefined | undefined;
2036
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2037
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2038
+ maxFeePerBlobGas?: bigint | undefined;
2039
+ maxFeePerGas?: bigint | undefined;
2040
+ maxPriorityFeePerGas?: bigint | undefined;
2041
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2042
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2043
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2044
+ } | {
2045
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2046
+ } | {
2047
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2048
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2049
+ accessList?: viem.AccessList | undefined;
2050
+ authorizationList?: viem.SignedAuthorizationList;
2051
+ blobs?: undefined | undefined;
2052
+ blobVersionedHashes?: undefined | undefined;
2053
+ gasPrice?: undefined | undefined;
2054
+ maxFeePerBlobGas?: undefined | undefined;
2055
+ maxFeePerGas?: bigint | undefined;
2056
+ maxPriorityFeePerGas?: bigint | undefined;
2057
+ sidecars?: undefined | undefined;
2058
+ } | {
2059
+ accessList?: viem.AccessList | undefined;
2060
+ authorizationList?: viem.SignedAuthorizationList;
2061
+ blobs?: undefined | undefined;
2062
+ blobVersionedHashes?: undefined | undefined;
2063
+ gasPrice?: undefined | undefined;
2064
+ maxFeePerBlobGas?: undefined | undefined;
2065
+ maxFeePerGas?: bigint | undefined;
2066
+ maxPriorityFeePerGas?: bigint | undefined;
2067
+ sidecars?: undefined | undefined;
2068
+ }) & {
2069
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2070
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2071
+ accessList?: undefined | undefined;
2072
+ authorizationList?: undefined | undefined;
2073
+ blobs?: undefined | undefined;
2074
+ blobVersionedHashes?: undefined | undefined;
2075
+ gasPrice?: bigint;
2076
+ sidecars?: undefined | undefined;
2077
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2078
+ accessList?: viem.AccessList | undefined;
2079
+ authorizationList?: undefined | undefined;
2080
+ blobs?: undefined | undefined;
2081
+ blobVersionedHashes?: undefined | undefined;
2082
+ gasPrice?: undefined | undefined;
2083
+ maxFeePerBlobGas?: undefined | undefined;
2084
+ maxFeePerGas?: bigint;
2085
+ maxPriorityFeePerGas?: bigint;
2086
+ sidecars?: undefined | undefined;
2087
+ } & (viem.OneOf<{
2088
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2089
+ } | {
2090
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2091
+ }, viem.FeeValuesEIP1559> & {
2092
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2093
+ }) ? "eip1559" : never) | (request extends {
2094
+ accessList?: viem.AccessList | undefined;
2095
+ authorizationList?: undefined | undefined;
2096
+ blobs?: undefined | undefined;
2097
+ blobVersionedHashes?: undefined | undefined;
2098
+ gasPrice?: bigint | undefined;
2099
+ sidecars?: undefined | undefined;
2100
+ maxFeePerBlobGas?: undefined | undefined;
2101
+ maxFeePerGas?: undefined | undefined;
2102
+ maxPriorityFeePerGas?: undefined | undefined;
2103
+ } & {
2104
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2105
+ } ? "eip2930" : never) | (request extends ({
2106
+ accessList?: viem.AccessList | undefined;
2107
+ authorizationList?: undefined | undefined;
2108
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2109
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2110
+ maxFeePerBlobGas?: bigint | undefined;
2111
+ maxFeePerGas?: bigint | undefined;
2112
+ maxPriorityFeePerGas?: bigint | undefined;
2113
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2114
+ } | {
2115
+ accessList?: viem.AccessList | undefined;
2116
+ authorizationList?: undefined | undefined;
2117
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2118
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2119
+ maxFeePerBlobGas?: bigint | undefined;
2120
+ maxFeePerGas?: bigint | undefined;
2121
+ maxPriorityFeePerGas?: bigint | undefined;
2122
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2123
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2124
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2125
+ } | {
2126
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2127
+ } | {
2128
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2129
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2130
+ accessList?: viem.AccessList | undefined;
2131
+ authorizationList?: viem.SignedAuthorizationList;
2132
+ blobs?: undefined | undefined;
2133
+ blobVersionedHashes?: undefined | undefined;
2134
+ gasPrice?: undefined | undefined;
2135
+ maxFeePerBlobGas?: undefined | undefined;
2136
+ maxFeePerGas?: bigint | undefined;
2137
+ maxPriorityFeePerGas?: bigint | undefined;
2138
+ sidecars?: undefined | undefined;
2139
+ } | {
2140
+ accessList?: viem.AccessList | undefined;
2141
+ authorizationList?: viem.SignedAuthorizationList;
2142
+ blobs?: undefined | undefined;
2143
+ blobVersionedHashes?: undefined | undefined;
2144
+ gasPrice?: undefined | undefined;
2145
+ maxFeePerBlobGas?: undefined | undefined;
2146
+ maxFeePerGas?: bigint | undefined;
2147
+ maxPriorityFeePerGas?: bigint | undefined;
2148
+ sidecars?: undefined | undefined;
2149
+ }) & {
2150
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2151
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_8 extends "legacy" ? viem.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
2152
+ accessList?: undefined | undefined;
2153
+ authorizationList?: undefined | undefined;
2154
+ blobs?: undefined | undefined;
2155
+ blobVersionedHashes?: undefined | undefined;
2156
+ gasPrice?: bigint;
2157
+ sidecars?: undefined | undefined;
2158
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2159
+ accessList?: viem.AccessList | undefined;
2160
+ authorizationList?: undefined | undefined;
2161
+ blobs?: undefined | undefined;
2162
+ blobVersionedHashes?: undefined | undefined;
2163
+ gasPrice?: undefined | undefined;
2164
+ maxFeePerBlobGas?: undefined | undefined;
2165
+ maxFeePerGas?: bigint;
2166
+ maxPriorityFeePerGas?: bigint;
2167
+ sidecars?: undefined | undefined;
2168
+ } & (viem.OneOf<{
2169
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2170
+ } | {
2171
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2172
+ }, viem.FeeValuesEIP1559> & {
2173
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2174
+ }) ? "eip1559" : never) | (request extends {
2175
+ accessList?: viem.AccessList | undefined;
2176
+ authorizationList?: undefined | undefined;
2177
+ blobs?: undefined | undefined;
2178
+ blobVersionedHashes?: undefined | undefined;
2179
+ gasPrice?: bigint | undefined;
2180
+ sidecars?: undefined | undefined;
2181
+ maxFeePerBlobGas?: undefined | undefined;
2182
+ maxFeePerGas?: undefined | undefined;
2183
+ maxPriorityFeePerGas?: undefined | undefined;
2184
+ } & {
2185
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2186
+ } ? "eip2930" : never) | (request extends ({
2187
+ accessList?: viem.AccessList | undefined;
2188
+ authorizationList?: undefined | undefined;
2189
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2190
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2191
+ maxFeePerBlobGas?: bigint | undefined;
2192
+ maxFeePerGas?: bigint | undefined;
2193
+ maxPriorityFeePerGas?: bigint | undefined;
2194
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2195
+ } | {
2196
+ accessList?: viem.AccessList | undefined;
2197
+ authorizationList?: undefined | undefined;
2198
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2199
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2200
+ maxFeePerBlobGas?: bigint | undefined;
2201
+ maxFeePerGas?: bigint | undefined;
2202
+ maxPriorityFeePerGas?: bigint | undefined;
2203
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2204
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2205
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2206
+ } | {
2207
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2208
+ } | {
2209
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2210
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2211
+ accessList?: viem.AccessList | undefined;
2212
+ authorizationList?: viem.SignedAuthorizationList;
2213
+ blobs?: undefined | undefined;
2214
+ blobVersionedHashes?: undefined | undefined;
2215
+ gasPrice?: undefined | undefined;
2216
+ maxFeePerBlobGas?: undefined | undefined;
2217
+ maxFeePerGas?: bigint | undefined;
2218
+ maxPriorityFeePerGas?: bigint | undefined;
2219
+ sidecars?: undefined | undefined;
2220
+ } | {
2221
+ accessList?: viem.AccessList | undefined;
2222
+ authorizationList?: viem.SignedAuthorizationList;
2223
+ blobs?: undefined | undefined;
2224
+ blobVersionedHashes?: undefined | undefined;
2225
+ gasPrice?: undefined | undefined;
2226
+ maxFeePerBlobGas?: undefined | undefined;
2227
+ maxFeePerGas?: bigint | undefined;
2228
+ maxPriorityFeePerGas?: bigint | undefined;
2229
+ sidecars?: undefined | undefined;
2230
+ }) & {
2231
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2232
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2233
+ accessList?: undefined | undefined;
2234
+ authorizationList?: undefined | undefined;
2235
+ blobs?: undefined | undefined;
2236
+ blobVersionedHashes?: undefined | undefined;
2237
+ gasPrice?: bigint;
2238
+ sidecars?: undefined | undefined;
2239
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2240
+ accessList?: viem.AccessList | undefined;
2241
+ authorizationList?: undefined | undefined;
2242
+ blobs?: undefined | undefined;
2243
+ blobVersionedHashes?: undefined | undefined;
2244
+ gasPrice?: undefined | undefined;
2245
+ maxFeePerBlobGas?: undefined | undefined;
2246
+ maxFeePerGas?: bigint;
2247
+ maxPriorityFeePerGas?: bigint;
2248
+ sidecars?: undefined | undefined;
2249
+ } & (viem.OneOf<{
2250
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2251
+ } | {
2252
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2253
+ }, viem.FeeValuesEIP1559> & {
2254
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2255
+ }) ? "eip1559" : never) | (request extends {
2256
+ accessList?: viem.AccessList | undefined;
2257
+ authorizationList?: undefined | undefined;
2258
+ blobs?: undefined | undefined;
2259
+ blobVersionedHashes?: undefined | undefined;
2260
+ gasPrice?: bigint | undefined;
2261
+ sidecars?: undefined | undefined;
2262
+ maxFeePerBlobGas?: undefined | undefined;
2263
+ maxFeePerGas?: undefined | undefined;
2264
+ maxPriorityFeePerGas?: undefined | undefined;
2265
+ } & {
2266
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2267
+ } ? "eip2930" : never) | (request extends ({
2268
+ accessList?: viem.AccessList | undefined;
2269
+ authorizationList?: undefined | undefined;
2270
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2271
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2272
+ maxFeePerBlobGas?: bigint | undefined;
2273
+ maxFeePerGas?: bigint | undefined;
2274
+ maxPriorityFeePerGas?: bigint | undefined;
2275
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2276
+ } | {
2277
+ accessList?: viem.AccessList | undefined;
2278
+ authorizationList?: undefined | undefined;
2279
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2280
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2281
+ maxFeePerBlobGas?: bigint | undefined;
2282
+ maxFeePerGas?: bigint | undefined;
2283
+ maxPriorityFeePerGas?: bigint | undefined;
2284
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2285
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2286
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2287
+ } | {
2288
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2289
+ } | {
2290
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2291
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2292
+ accessList?: viem.AccessList | undefined;
2293
+ authorizationList?: viem.SignedAuthorizationList;
2294
+ blobs?: undefined | undefined;
2295
+ blobVersionedHashes?: undefined | undefined;
2296
+ gasPrice?: undefined | undefined;
2297
+ maxFeePerBlobGas?: undefined | undefined;
2298
+ maxFeePerGas?: bigint | undefined;
2299
+ maxPriorityFeePerGas?: bigint | undefined;
2300
+ sidecars?: undefined | undefined;
2301
+ } | {
2302
+ accessList?: viem.AccessList | undefined;
2303
+ authorizationList?: viem.SignedAuthorizationList;
2304
+ blobs?: undefined | undefined;
2305
+ blobVersionedHashes?: undefined | undefined;
2306
+ gasPrice?: undefined | undefined;
2307
+ maxFeePerBlobGas?: undefined | undefined;
2308
+ maxFeePerGas?: bigint | undefined;
2309
+ maxPriorityFeePerGas?: bigint | undefined;
2310
+ sidecars?: undefined | undefined;
2311
+ }) & {
2312
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2313
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
2314
+ accessList?: undefined | undefined;
2315
+ authorizationList?: undefined | undefined;
2316
+ blobs?: undefined | undefined;
2317
+ blobVersionedHashes?: undefined | undefined;
2318
+ gasPrice?: bigint;
2319
+ sidecars?: undefined | undefined;
2320
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2321
+ accessList?: viem.AccessList | undefined;
2322
+ authorizationList?: undefined | undefined;
2323
+ blobs?: undefined | undefined;
2324
+ blobVersionedHashes?: undefined | undefined;
2325
+ gasPrice?: undefined | undefined;
2326
+ maxFeePerBlobGas?: undefined | undefined;
2327
+ maxFeePerGas?: bigint;
2328
+ maxPriorityFeePerGas?: bigint;
2329
+ sidecars?: undefined | undefined;
2330
+ } & (viem.OneOf<{
2331
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2332
+ } | {
2333
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2334
+ }, viem.FeeValuesEIP1559> & {
2335
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2336
+ }) ? "eip1559" : never) | (request extends {
2337
+ accessList?: viem.AccessList | undefined;
2338
+ authorizationList?: undefined | undefined;
2339
+ blobs?: undefined | undefined;
2340
+ blobVersionedHashes?: undefined | undefined;
2341
+ gasPrice?: bigint | undefined;
2342
+ sidecars?: undefined | undefined;
2343
+ maxFeePerBlobGas?: undefined | undefined;
2344
+ maxFeePerGas?: undefined | undefined;
2345
+ maxPriorityFeePerGas?: undefined | undefined;
2346
+ } & {
2347
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2348
+ } ? "eip2930" : never) | (request extends ({
2349
+ accessList?: viem.AccessList | undefined;
2350
+ authorizationList?: undefined | undefined;
2351
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2352
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2353
+ maxFeePerBlobGas?: bigint | undefined;
2354
+ maxFeePerGas?: bigint | undefined;
2355
+ maxPriorityFeePerGas?: bigint | undefined;
2356
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2357
+ } | {
2358
+ accessList?: viem.AccessList | undefined;
2359
+ authorizationList?: undefined | undefined;
2360
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2361
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2362
+ maxFeePerBlobGas?: bigint | undefined;
2363
+ maxFeePerGas?: bigint | undefined;
2364
+ maxPriorityFeePerGas?: bigint | undefined;
2365
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2366
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2367
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2368
+ } | {
2369
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2370
+ } | {
2371
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2372
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2373
+ accessList?: viem.AccessList | undefined;
2374
+ authorizationList?: viem.SignedAuthorizationList;
2375
+ blobs?: undefined | undefined;
2376
+ blobVersionedHashes?: undefined | undefined;
2377
+ gasPrice?: undefined | undefined;
2378
+ maxFeePerBlobGas?: undefined | undefined;
2379
+ maxFeePerGas?: bigint | undefined;
2380
+ maxPriorityFeePerGas?: bigint | undefined;
2381
+ sidecars?: undefined | undefined;
2382
+ } | {
2383
+ accessList?: viem.AccessList | undefined;
2384
+ authorizationList?: viem.SignedAuthorizationList;
2385
+ blobs?: undefined | undefined;
2386
+ blobVersionedHashes?: undefined | undefined;
2387
+ gasPrice?: undefined | undefined;
2388
+ maxFeePerBlobGas?: undefined | undefined;
2389
+ maxFeePerGas?: bigint | undefined;
2390
+ maxPriorityFeePerGas?: bigint | undefined;
2391
+ sidecars?: undefined | undefined;
2392
+ }) & {
2393
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2394
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2395
+ accessList?: undefined | undefined;
2396
+ authorizationList?: undefined | undefined;
2397
+ blobs?: undefined | undefined;
2398
+ blobVersionedHashes?: undefined | undefined;
2399
+ gasPrice?: bigint;
2400
+ sidecars?: undefined | undefined;
2401
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2402
+ accessList?: viem.AccessList | undefined;
2403
+ authorizationList?: undefined | undefined;
2404
+ blobs?: undefined | undefined;
2405
+ blobVersionedHashes?: undefined | undefined;
2406
+ gasPrice?: undefined | undefined;
2407
+ maxFeePerBlobGas?: undefined | undefined;
2408
+ maxFeePerGas?: bigint;
2409
+ maxPriorityFeePerGas?: bigint;
2410
+ sidecars?: undefined | undefined;
2411
+ } & (viem.OneOf<{
2412
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2413
+ } | {
2414
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2415
+ }, viem.FeeValuesEIP1559> & {
2416
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2417
+ }) ? "eip1559" : never) | (request extends {
2418
+ accessList?: viem.AccessList | undefined;
2419
+ authorizationList?: undefined | undefined;
2420
+ blobs?: undefined | undefined;
2421
+ blobVersionedHashes?: undefined | undefined;
2422
+ gasPrice?: bigint | undefined;
2423
+ sidecars?: undefined | undefined;
2424
+ maxFeePerBlobGas?: undefined | undefined;
2425
+ maxFeePerGas?: undefined | undefined;
2426
+ maxPriorityFeePerGas?: undefined | undefined;
2427
+ } & {
2428
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2429
+ } ? "eip2930" : never) | (request extends ({
2430
+ accessList?: viem.AccessList | undefined;
2431
+ authorizationList?: undefined | undefined;
2432
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2433
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2434
+ maxFeePerBlobGas?: bigint | undefined;
2435
+ maxFeePerGas?: bigint | undefined;
2436
+ maxPriorityFeePerGas?: bigint | undefined;
2437
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2438
+ } | {
2439
+ accessList?: viem.AccessList | undefined;
2440
+ authorizationList?: undefined | undefined;
2441
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2442
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2443
+ maxFeePerBlobGas?: bigint | undefined;
2444
+ maxFeePerGas?: bigint | undefined;
2445
+ maxPriorityFeePerGas?: bigint | undefined;
2446
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2447
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2448
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2449
+ } | {
2450
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2451
+ } | {
2452
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2453
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2454
+ accessList?: viem.AccessList | undefined;
2455
+ authorizationList?: viem.SignedAuthorizationList;
2456
+ blobs?: undefined | undefined;
2457
+ blobVersionedHashes?: undefined | undefined;
2458
+ gasPrice?: undefined | undefined;
2459
+ maxFeePerBlobGas?: undefined | undefined;
2460
+ maxFeePerGas?: bigint | undefined;
2461
+ maxPriorityFeePerGas?: bigint | undefined;
2462
+ sidecars?: undefined | undefined;
2463
+ } | {
2464
+ accessList?: viem.AccessList | undefined;
2465
+ authorizationList?: viem.SignedAuthorizationList;
2466
+ blobs?: undefined | undefined;
2467
+ blobVersionedHashes?: undefined | undefined;
2468
+ gasPrice?: undefined | undefined;
2469
+ maxFeePerBlobGas?: undefined | undefined;
2470
+ maxFeePerGas?: bigint | undefined;
2471
+ maxPriorityFeePerGas?: bigint | undefined;
2472
+ sidecars?: undefined | undefined;
2473
+ }) & {
2474
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2475
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_9 extends "eip1559" ? viem.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
2476
+ accessList?: undefined | undefined;
2477
+ authorizationList?: undefined | undefined;
2478
+ blobs?: undefined | undefined;
2479
+ blobVersionedHashes?: undefined | undefined;
2480
+ gasPrice?: bigint;
2481
+ sidecars?: undefined | undefined;
2482
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2483
+ accessList?: viem.AccessList | undefined;
2484
+ authorizationList?: undefined | undefined;
2485
+ blobs?: undefined | undefined;
2486
+ blobVersionedHashes?: undefined | undefined;
2487
+ gasPrice?: undefined | undefined;
2488
+ maxFeePerBlobGas?: undefined | undefined;
2489
+ maxFeePerGas?: bigint;
2490
+ maxPriorityFeePerGas?: bigint;
2491
+ sidecars?: undefined | undefined;
2492
+ } & (viem.OneOf<{
2493
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2494
+ } | {
2495
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2496
+ }, viem.FeeValuesEIP1559> & {
2497
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2498
+ }) ? "eip1559" : never) | (request extends {
2499
+ accessList?: viem.AccessList | undefined;
2500
+ authorizationList?: undefined | undefined;
2501
+ blobs?: undefined | undefined;
2502
+ blobVersionedHashes?: undefined | undefined;
2503
+ gasPrice?: bigint | undefined;
2504
+ sidecars?: undefined | undefined;
2505
+ maxFeePerBlobGas?: undefined | undefined;
2506
+ maxFeePerGas?: undefined | undefined;
2507
+ maxPriorityFeePerGas?: undefined | undefined;
2508
+ } & {
2509
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2510
+ } ? "eip2930" : never) | (request extends ({
2511
+ accessList?: viem.AccessList | undefined;
2512
+ authorizationList?: undefined | undefined;
2513
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2514
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2515
+ maxFeePerBlobGas?: bigint | undefined;
2516
+ maxFeePerGas?: bigint | undefined;
2517
+ maxPriorityFeePerGas?: bigint | undefined;
2518
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2519
+ } | {
2520
+ accessList?: viem.AccessList | undefined;
2521
+ authorizationList?: undefined | undefined;
2522
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2523
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2524
+ maxFeePerBlobGas?: bigint | undefined;
2525
+ maxFeePerGas?: bigint | undefined;
2526
+ maxPriorityFeePerGas?: bigint | undefined;
2527
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2528
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2529
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2530
+ } | {
2531
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2532
+ } | {
2533
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2534
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2535
+ accessList?: viem.AccessList | undefined;
2536
+ authorizationList?: viem.SignedAuthorizationList;
2537
+ blobs?: undefined | undefined;
2538
+ blobVersionedHashes?: undefined | undefined;
2539
+ gasPrice?: undefined | undefined;
2540
+ maxFeePerBlobGas?: undefined | undefined;
2541
+ maxFeePerGas?: bigint | undefined;
2542
+ maxPriorityFeePerGas?: bigint | undefined;
2543
+ sidecars?: undefined | undefined;
2544
+ } | {
2545
+ accessList?: viem.AccessList | undefined;
2546
+ authorizationList?: viem.SignedAuthorizationList;
2547
+ blobs?: undefined | undefined;
2548
+ blobVersionedHashes?: undefined | undefined;
2549
+ gasPrice?: undefined | undefined;
2550
+ maxFeePerBlobGas?: undefined | undefined;
2551
+ maxFeePerGas?: bigint | undefined;
2552
+ maxPriorityFeePerGas?: bigint | undefined;
2553
+ sidecars?: undefined | undefined;
2554
+ }) & {
2555
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2556
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2557
+ accessList?: undefined | undefined;
2558
+ authorizationList?: undefined | undefined;
2559
+ blobs?: undefined | undefined;
2560
+ blobVersionedHashes?: undefined | undefined;
2561
+ gasPrice?: bigint;
2562
+ sidecars?: undefined | undefined;
2563
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2564
+ accessList?: viem.AccessList | undefined;
2565
+ authorizationList?: undefined | undefined;
2566
+ blobs?: undefined | undefined;
2567
+ blobVersionedHashes?: undefined | undefined;
2568
+ gasPrice?: undefined | undefined;
2569
+ maxFeePerBlobGas?: undefined | undefined;
2570
+ maxFeePerGas?: bigint;
2571
+ maxPriorityFeePerGas?: bigint;
2572
+ sidecars?: undefined | undefined;
2573
+ } & (viem.OneOf<{
2574
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2575
+ } | {
2576
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2577
+ }, viem.FeeValuesEIP1559> & {
2578
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2579
+ }) ? "eip1559" : never) | (request extends {
2580
+ accessList?: viem.AccessList | undefined;
2581
+ authorizationList?: undefined | undefined;
2582
+ blobs?: undefined | undefined;
2583
+ blobVersionedHashes?: undefined | undefined;
2584
+ gasPrice?: bigint | undefined;
2585
+ sidecars?: undefined | undefined;
2586
+ maxFeePerBlobGas?: undefined | undefined;
2587
+ maxFeePerGas?: undefined | undefined;
2588
+ maxPriorityFeePerGas?: undefined | undefined;
2589
+ } & {
2590
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2591
+ } ? "eip2930" : never) | (request extends ({
2592
+ accessList?: viem.AccessList | undefined;
2593
+ authorizationList?: undefined | undefined;
2594
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2595
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2596
+ maxFeePerBlobGas?: bigint | undefined;
2597
+ maxFeePerGas?: bigint | undefined;
2598
+ maxPriorityFeePerGas?: bigint | undefined;
2599
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2600
+ } | {
2601
+ accessList?: viem.AccessList | undefined;
2602
+ authorizationList?: undefined | undefined;
2603
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2604
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2605
+ maxFeePerBlobGas?: bigint | undefined;
2606
+ maxFeePerGas?: bigint | undefined;
2607
+ maxPriorityFeePerGas?: bigint | undefined;
2608
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2609
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2610
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2611
+ } | {
2612
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2613
+ } | {
2614
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2615
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2616
+ accessList?: viem.AccessList | undefined;
2617
+ authorizationList?: viem.SignedAuthorizationList;
2618
+ blobs?: undefined | undefined;
2619
+ blobVersionedHashes?: undefined | undefined;
2620
+ gasPrice?: undefined | undefined;
2621
+ maxFeePerBlobGas?: undefined | undefined;
2622
+ maxFeePerGas?: bigint | undefined;
2623
+ maxPriorityFeePerGas?: bigint | undefined;
2624
+ sidecars?: undefined | undefined;
2625
+ } | {
2626
+ accessList?: viem.AccessList | undefined;
2627
+ authorizationList?: viem.SignedAuthorizationList;
2628
+ blobs?: undefined | undefined;
2629
+ blobVersionedHashes?: undefined | undefined;
2630
+ gasPrice?: undefined | undefined;
2631
+ maxFeePerBlobGas?: undefined | undefined;
2632
+ maxFeePerGas?: bigint | undefined;
2633
+ maxPriorityFeePerGas?: bigint | undefined;
2634
+ sidecars?: undefined | undefined;
2635
+ }) & {
2636
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2637
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
2638
+ accessList?: undefined | undefined;
2639
+ authorizationList?: undefined | undefined;
2640
+ blobs?: undefined | undefined;
2641
+ blobVersionedHashes?: undefined | undefined;
2642
+ gasPrice?: bigint;
2643
+ sidecars?: undefined | undefined;
2644
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2645
+ accessList?: viem.AccessList | undefined;
2646
+ authorizationList?: undefined | undefined;
2647
+ blobs?: undefined | undefined;
2648
+ blobVersionedHashes?: undefined | undefined;
2649
+ gasPrice?: undefined | undefined;
2650
+ maxFeePerBlobGas?: undefined | undefined;
2651
+ maxFeePerGas?: bigint;
2652
+ maxPriorityFeePerGas?: bigint;
2653
+ sidecars?: undefined | undefined;
2654
+ } & (viem.OneOf<{
2655
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2656
+ } | {
2657
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2658
+ }, viem.FeeValuesEIP1559> & {
2659
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2660
+ }) ? "eip1559" : never) | (request extends {
2661
+ accessList?: viem.AccessList | undefined;
2662
+ authorizationList?: undefined | undefined;
2663
+ blobs?: undefined | undefined;
2664
+ blobVersionedHashes?: undefined | undefined;
2665
+ gasPrice?: bigint | undefined;
2666
+ sidecars?: undefined | undefined;
2667
+ maxFeePerBlobGas?: undefined | undefined;
2668
+ maxFeePerGas?: undefined | undefined;
2669
+ maxPriorityFeePerGas?: undefined | undefined;
2670
+ } & {
2671
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2672
+ } ? "eip2930" : never) | (request extends ({
2673
+ accessList?: viem.AccessList | undefined;
2674
+ authorizationList?: undefined | undefined;
2675
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2676
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2677
+ maxFeePerBlobGas?: bigint | undefined;
2678
+ maxFeePerGas?: bigint | undefined;
2679
+ maxPriorityFeePerGas?: bigint | undefined;
2680
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2681
+ } | {
2682
+ accessList?: viem.AccessList | undefined;
2683
+ authorizationList?: undefined | undefined;
2684
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2685
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2686
+ maxFeePerBlobGas?: bigint | undefined;
2687
+ maxFeePerGas?: bigint | undefined;
2688
+ maxPriorityFeePerGas?: bigint | undefined;
2689
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2690
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2691
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2692
+ } | {
2693
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2694
+ } | {
2695
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2696
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2697
+ accessList?: viem.AccessList | undefined;
2698
+ authorizationList?: viem.SignedAuthorizationList;
2699
+ blobs?: undefined | undefined;
2700
+ blobVersionedHashes?: undefined | undefined;
2701
+ gasPrice?: undefined | undefined;
2702
+ maxFeePerBlobGas?: undefined | undefined;
2703
+ maxFeePerGas?: bigint | undefined;
2704
+ maxPriorityFeePerGas?: bigint | undefined;
2705
+ sidecars?: undefined | undefined;
2706
+ } | {
2707
+ accessList?: viem.AccessList | undefined;
2708
+ authorizationList?: viem.SignedAuthorizationList;
2709
+ blobs?: undefined | undefined;
2710
+ blobVersionedHashes?: undefined | undefined;
2711
+ gasPrice?: undefined | undefined;
2712
+ maxFeePerBlobGas?: undefined | undefined;
2713
+ maxFeePerGas?: bigint | undefined;
2714
+ maxPriorityFeePerGas?: bigint | undefined;
2715
+ sidecars?: undefined | undefined;
2716
+ }) & {
2717
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2718
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2719
+ accessList?: undefined | undefined;
2720
+ authorizationList?: undefined | undefined;
2721
+ blobs?: undefined | undefined;
2722
+ blobVersionedHashes?: undefined | undefined;
2723
+ gasPrice?: bigint;
2724
+ sidecars?: undefined | undefined;
2725
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2726
+ accessList?: viem.AccessList | undefined;
2727
+ authorizationList?: undefined | undefined;
2728
+ blobs?: undefined | undefined;
2729
+ blobVersionedHashes?: undefined | undefined;
2730
+ gasPrice?: undefined | undefined;
2731
+ maxFeePerBlobGas?: undefined | undefined;
2732
+ maxFeePerGas?: bigint;
2733
+ maxPriorityFeePerGas?: bigint;
2734
+ sidecars?: undefined | undefined;
2735
+ } & (viem.OneOf<{
2736
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2737
+ } | {
2738
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2739
+ }, viem.FeeValuesEIP1559> & {
2740
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2741
+ }) ? "eip1559" : never) | (request extends {
2742
+ accessList?: viem.AccessList | undefined;
2743
+ authorizationList?: undefined | undefined;
2744
+ blobs?: undefined | undefined;
2745
+ blobVersionedHashes?: undefined | undefined;
2746
+ gasPrice?: bigint | undefined;
2747
+ sidecars?: undefined | undefined;
2748
+ maxFeePerBlobGas?: undefined | undefined;
2749
+ maxFeePerGas?: undefined | undefined;
2750
+ maxPriorityFeePerGas?: undefined | undefined;
2751
+ } & {
2752
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2753
+ } ? "eip2930" : never) | (request extends ({
2754
+ accessList?: viem.AccessList | undefined;
2755
+ authorizationList?: undefined | undefined;
2756
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2757
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2758
+ maxFeePerBlobGas?: bigint | undefined;
2759
+ maxFeePerGas?: bigint | undefined;
2760
+ maxPriorityFeePerGas?: bigint | undefined;
2761
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2762
+ } | {
2763
+ accessList?: viem.AccessList | undefined;
2764
+ authorizationList?: undefined | undefined;
2765
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2766
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2767
+ maxFeePerBlobGas?: bigint | undefined;
2768
+ maxFeePerGas?: bigint | undefined;
2769
+ maxPriorityFeePerGas?: bigint | undefined;
2770
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2771
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2772
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2773
+ } | {
2774
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2775
+ } | {
2776
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2777
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2778
+ accessList?: viem.AccessList | undefined;
2779
+ authorizationList?: viem.SignedAuthorizationList;
2780
+ blobs?: undefined | undefined;
2781
+ blobVersionedHashes?: undefined | undefined;
2782
+ gasPrice?: undefined | undefined;
2783
+ maxFeePerBlobGas?: undefined | undefined;
2784
+ maxFeePerGas?: bigint | undefined;
2785
+ maxPriorityFeePerGas?: bigint | undefined;
2786
+ sidecars?: undefined | undefined;
2787
+ } | {
2788
+ accessList?: viem.AccessList | undefined;
2789
+ authorizationList?: viem.SignedAuthorizationList;
2790
+ blobs?: undefined | undefined;
2791
+ blobVersionedHashes?: undefined | undefined;
2792
+ gasPrice?: undefined | undefined;
2793
+ maxFeePerBlobGas?: undefined | undefined;
2794
+ maxFeePerGas?: bigint | undefined;
2795
+ maxPriorityFeePerGas?: bigint | undefined;
2796
+ sidecars?: undefined | undefined;
2797
+ }) & {
2798
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2799
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_10 extends "eip2930" ? viem.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
2800
+ accessList?: undefined | undefined;
2801
+ authorizationList?: undefined | undefined;
2802
+ blobs?: undefined | undefined;
2803
+ blobVersionedHashes?: undefined | undefined;
2804
+ gasPrice?: bigint;
2805
+ sidecars?: undefined | undefined;
2806
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2807
+ accessList?: viem.AccessList | undefined;
2808
+ authorizationList?: undefined | undefined;
2809
+ blobs?: undefined | undefined;
2810
+ blobVersionedHashes?: undefined | undefined;
2811
+ gasPrice?: undefined | undefined;
2812
+ maxFeePerBlobGas?: undefined | undefined;
2813
+ maxFeePerGas?: bigint;
2814
+ maxPriorityFeePerGas?: bigint;
2815
+ sidecars?: undefined | undefined;
2816
+ } & (viem.OneOf<{
2817
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2818
+ } | {
2819
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2820
+ }, viem.FeeValuesEIP1559> & {
2821
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2822
+ }) ? "eip1559" : never) | (request extends {
2823
+ accessList?: viem.AccessList | undefined;
2824
+ authorizationList?: undefined | undefined;
2825
+ blobs?: undefined | undefined;
2826
+ blobVersionedHashes?: undefined | undefined;
2827
+ gasPrice?: bigint | undefined;
2828
+ sidecars?: undefined | undefined;
2829
+ maxFeePerBlobGas?: undefined | undefined;
2830
+ maxFeePerGas?: undefined | undefined;
2831
+ maxPriorityFeePerGas?: undefined | undefined;
2832
+ } & {
2833
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2834
+ } ? "eip2930" : never) | (request extends ({
2835
+ accessList?: viem.AccessList | undefined;
2836
+ authorizationList?: undefined | undefined;
2837
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2838
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2839
+ maxFeePerBlobGas?: bigint | undefined;
2840
+ maxFeePerGas?: bigint | undefined;
2841
+ maxPriorityFeePerGas?: bigint | undefined;
2842
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2843
+ } | {
2844
+ accessList?: viem.AccessList | undefined;
2845
+ authorizationList?: undefined | undefined;
2846
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2847
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2848
+ maxFeePerBlobGas?: bigint | undefined;
2849
+ maxFeePerGas?: bigint | undefined;
2850
+ maxPriorityFeePerGas?: bigint | undefined;
2851
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2852
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2853
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2854
+ } | {
2855
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2856
+ } | {
2857
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2858
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2859
+ accessList?: viem.AccessList | undefined;
2860
+ authorizationList?: viem.SignedAuthorizationList;
2861
+ blobs?: undefined | undefined;
2862
+ blobVersionedHashes?: undefined | undefined;
2863
+ gasPrice?: undefined | undefined;
2864
+ maxFeePerBlobGas?: undefined | undefined;
2865
+ maxFeePerGas?: bigint | undefined;
2866
+ maxPriorityFeePerGas?: bigint | undefined;
2867
+ sidecars?: undefined | undefined;
2868
+ } | {
2869
+ accessList?: viem.AccessList | undefined;
2870
+ authorizationList?: viem.SignedAuthorizationList;
2871
+ blobs?: undefined | undefined;
2872
+ blobVersionedHashes?: undefined | undefined;
2873
+ gasPrice?: undefined | undefined;
2874
+ maxFeePerBlobGas?: undefined | undefined;
2875
+ maxFeePerGas?: bigint | undefined;
2876
+ maxPriorityFeePerGas?: bigint | undefined;
2877
+ sidecars?: undefined | undefined;
2878
+ }) & {
2879
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2880
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
2881
+ accessList?: undefined | undefined;
2882
+ authorizationList?: undefined | undefined;
2883
+ blobs?: undefined | undefined;
2884
+ blobVersionedHashes?: undefined | undefined;
2885
+ gasPrice?: bigint;
2886
+ sidecars?: undefined | undefined;
2887
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2888
+ accessList?: viem.AccessList | undefined;
2889
+ authorizationList?: undefined | undefined;
2890
+ blobs?: undefined | undefined;
2891
+ blobVersionedHashes?: undefined | undefined;
2892
+ gasPrice?: undefined | undefined;
2893
+ maxFeePerBlobGas?: undefined | undefined;
2894
+ maxFeePerGas?: bigint;
2895
+ maxPriorityFeePerGas?: bigint;
2896
+ sidecars?: undefined | undefined;
2897
+ } & (viem.OneOf<{
2898
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2899
+ } | {
2900
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2901
+ }, viem.FeeValuesEIP1559> & {
2902
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2903
+ }) ? "eip1559" : never) | (request extends {
2904
+ accessList?: viem.AccessList | undefined;
2905
+ authorizationList?: undefined | undefined;
2906
+ blobs?: undefined | undefined;
2907
+ blobVersionedHashes?: undefined | undefined;
2908
+ gasPrice?: bigint | undefined;
2909
+ sidecars?: undefined | undefined;
2910
+ maxFeePerBlobGas?: undefined | undefined;
2911
+ maxFeePerGas?: undefined | undefined;
2912
+ maxPriorityFeePerGas?: undefined | undefined;
2913
+ } & {
2914
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2915
+ } ? "eip2930" : never) | (request extends ({
2916
+ accessList?: viem.AccessList | undefined;
2917
+ authorizationList?: undefined | undefined;
2918
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2919
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2920
+ maxFeePerBlobGas?: bigint | undefined;
2921
+ maxFeePerGas?: bigint | undefined;
2922
+ maxPriorityFeePerGas?: bigint | undefined;
2923
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2924
+ } | {
2925
+ accessList?: viem.AccessList | undefined;
2926
+ authorizationList?: undefined | undefined;
2927
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
2928
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
2929
+ maxFeePerBlobGas?: bigint | undefined;
2930
+ maxFeePerGas?: bigint | undefined;
2931
+ maxPriorityFeePerGas?: bigint | undefined;
2932
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
2933
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
2934
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
2935
+ } | {
2936
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
2937
+ } | {
2938
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
2939
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
2940
+ accessList?: viem.AccessList | undefined;
2941
+ authorizationList?: viem.SignedAuthorizationList;
2942
+ blobs?: undefined | undefined;
2943
+ blobVersionedHashes?: undefined | undefined;
2944
+ gasPrice?: undefined | undefined;
2945
+ maxFeePerBlobGas?: undefined | undefined;
2946
+ maxFeePerGas?: bigint | undefined;
2947
+ maxPriorityFeePerGas?: bigint | undefined;
2948
+ sidecars?: undefined | undefined;
2949
+ } | {
2950
+ accessList?: viem.AccessList | undefined;
2951
+ authorizationList?: viem.SignedAuthorizationList;
2952
+ blobs?: undefined | undefined;
2953
+ blobVersionedHashes?: undefined | undefined;
2954
+ gasPrice?: undefined | undefined;
2955
+ maxFeePerBlobGas?: undefined | undefined;
2956
+ maxFeePerGas?: bigint | undefined;
2957
+ maxPriorityFeePerGas?: bigint | undefined;
2958
+ sidecars?: undefined | undefined;
2959
+ }) & {
2960
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
2961
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
2962
+ accessList?: undefined | undefined;
2963
+ authorizationList?: undefined | undefined;
2964
+ blobs?: undefined | undefined;
2965
+ blobVersionedHashes?: undefined | undefined;
2966
+ gasPrice?: bigint;
2967
+ sidecars?: undefined | undefined;
2968
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
2969
+ accessList?: viem.AccessList | undefined;
2970
+ authorizationList?: undefined | undefined;
2971
+ blobs?: undefined | undefined;
2972
+ blobVersionedHashes?: undefined | undefined;
2973
+ gasPrice?: undefined | undefined;
2974
+ maxFeePerBlobGas?: undefined | undefined;
2975
+ maxFeePerGas?: bigint;
2976
+ maxPriorityFeePerGas?: bigint;
2977
+ sidecars?: undefined | undefined;
2978
+ } & (viem.OneOf<{
2979
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
2980
+ } | {
2981
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
2982
+ }, viem.FeeValuesEIP1559> & {
2983
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
2984
+ }) ? "eip1559" : never) | (request extends {
2985
+ accessList?: viem.AccessList | undefined;
2986
+ authorizationList?: undefined | undefined;
2987
+ blobs?: undefined | undefined;
2988
+ blobVersionedHashes?: undefined | undefined;
2989
+ gasPrice?: bigint | undefined;
2990
+ sidecars?: undefined | undefined;
2991
+ maxFeePerBlobGas?: undefined | undefined;
2992
+ maxFeePerGas?: undefined | undefined;
2993
+ maxPriorityFeePerGas?: undefined | undefined;
2994
+ } & {
2995
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
2996
+ } ? "eip2930" : never) | (request extends ({
2997
+ accessList?: viem.AccessList | undefined;
2998
+ authorizationList?: undefined | undefined;
2999
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3000
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3001
+ maxFeePerBlobGas?: bigint | undefined;
3002
+ maxFeePerGas?: bigint | undefined;
3003
+ maxPriorityFeePerGas?: bigint | undefined;
3004
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3005
+ } | {
3006
+ accessList?: viem.AccessList | undefined;
3007
+ authorizationList?: undefined | undefined;
3008
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3009
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3010
+ maxFeePerBlobGas?: bigint | undefined;
3011
+ maxFeePerGas?: bigint | undefined;
3012
+ maxPriorityFeePerGas?: bigint | undefined;
3013
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3014
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3015
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3016
+ } | {
3017
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3018
+ } | {
3019
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3020
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3021
+ accessList?: viem.AccessList | undefined;
3022
+ authorizationList?: viem.SignedAuthorizationList;
3023
+ blobs?: undefined | undefined;
3024
+ blobVersionedHashes?: undefined | undefined;
3025
+ gasPrice?: undefined | undefined;
3026
+ maxFeePerBlobGas?: undefined | undefined;
3027
+ maxFeePerGas?: bigint | undefined;
3028
+ maxPriorityFeePerGas?: bigint | undefined;
3029
+ sidecars?: undefined | undefined;
3030
+ } | {
3031
+ accessList?: viem.AccessList | undefined;
3032
+ authorizationList?: viem.SignedAuthorizationList;
3033
+ blobs?: undefined | undefined;
3034
+ blobVersionedHashes?: undefined | undefined;
3035
+ gasPrice?: undefined | undefined;
3036
+ maxFeePerBlobGas?: undefined | undefined;
3037
+ maxFeePerGas?: bigint | undefined;
3038
+ maxPriorityFeePerGas?: bigint | undefined;
3039
+ sidecars?: undefined | undefined;
3040
+ }) & {
3041
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3042
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
3043
+ accessList?: undefined | undefined;
3044
+ authorizationList?: undefined | undefined;
3045
+ blobs?: undefined | undefined;
3046
+ blobVersionedHashes?: undefined | undefined;
3047
+ gasPrice?: bigint;
3048
+ sidecars?: undefined | undefined;
3049
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3050
+ accessList?: viem.AccessList | undefined;
3051
+ authorizationList?: undefined | undefined;
3052
+ blobs?: undefined | undefined;
3053
+ blobVersionedHashes?: undefined | undefined;
3054
+ gasPrice?: undefined | undefined;
3055
+ maxFeePerBlobGas?: undefined | undefined;
3056
+ maxFeePerGas?: bigint;
3057
+ maxPriorityFeePerGas?: bigint;
3058
+ sidecars?: undefined | undefined;
3059
+ } & (viem.OneOf<{
3060
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3061
+ } | {
3062
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3063
+ }, viem.FeeValuesEIP1559> & {
3064
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3065
+ }) ? "eip1559" : never) | (request extends {
3066
+ accessList?: viem.AccessList | undefined;
3067
+ authorizationList?: undefined | undefined;
3068
+ blobs?: undefined | undefined;
3069
+ blobVersionedHashes?: undefined | undefined;
3070
+ gasPrice?: bigint | undefined;
3071
+ sidecars?: undefined | undefined;
3072
+ maxFeePerBlobGas?: undefined | undefined;
3073
+ maxFeePerGas?: undefined | undefined;
3074
+ maxPriorityFeePerGas?: undefined | undefined;
3075
+ } & {
3076
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3077
+ } ? "eip2930" : never) | (request extends ({
3078
+ accessList?: viem.AccessList | undefined;
3079
+ authorizationList?: undefined | undefined;
3080
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3081
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3082
+ maxFeePerBlobGas?: bigint | undefined;
3083
+ maxFeePerGas?: bigint | undefined;
3084
+ maxPriorityFeePerGas?: bigint | undefined;
3085
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3086
+ } | {
3087
+ accessList?: viem.AccessList | undefined;
3088
+ authorizationList?: undefined | undefined;
3089
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3090
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3091
+ maxFeePerBlobGas?: bigint | undefined;
3092
+ maxFeePerGas?: bigint | undefined;
3093
+ maxPriorityFeePerGas?: bigint | undefined;
3094
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3095
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3096
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3097
+ } | {
3098
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3099
+ } | {
3100
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3101
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3102
+ accessList?: viem.AccessList | undefined;
3103
+ authorizationList?: viem.SignedAuthorizationList;
3104
+ blobs?: undefined | undefined;
3105
+ blobVersionedHashes?: undefined | undefined;
3106
+ gasPrice?: undefined | undefined;
3107
+ maxFeePerBlobGas?: undefined | undefined;
3108
+ maxFeePerGas?: bigint | undefined;
3109
+ maxPriorityFeePerGas?: bigint | undefined;
3110
+ sidecars?: undefined | undefined;
3111
+ } | {
3112
+ accessList?: viem.AccessList | undefined;
3113
+ authorizationList?: viem.SignedAuthorizationList;
3114
+ blobs?: undefined | undefined;
3115
+ blobVersionedHashes?: undefined | undefined;
3116
+ gasPrice?: undefined | undefined;
3117
+ maxFeePerBlobGas?: undefined | undefined;
3118
+ maxFeePerGas?: bigint | undefined;
3119
+ maxPriorityFeePerGas?: bigint | undefined;
3120
+ sidecars?: undefined | undefined;
3121
+ }) & {
3122
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3123
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_11 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem.GetTransactionType<request, (request extends {
3124
+ accessList?: undefined | undefined;
3125
+ authorizationList?: undefined | undefined;
3126
+ blobs?: undefined | undefined;
3127
+ blobVersionedHashes?: undefined | undefined;
3128
+ gasPrice?: bigint;
3129
+ sidecars?: undefined | undefined;
3130
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3131
+ accessList?: viem.AccessList | undefined;
3132
+ authorizationList?: undefined | undefined;
3133
+ blobs?: undefined | undefined;
3134
+ blobVersionedHashes?: undefined | undefined;
3135
+ gasPrice?: undefined | undefined;
3136
+ maxFeePerBlobGas?: undefined | undefined;
3137
+ maxFeePerGas?: bigint;
3138
+ maxPriorityFeePerGas?: bigint;
3139
+ sidecars?: undefined | undefined;
3140
+ } & (viem.OneOf<{
3141
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3142
+ } | {
3143
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3144
+ }, viem.FeeValuesEIP1559> & {
3145
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3146
+ }) ? "eip1559" : never) | (request extends {
3147
+ accessList?: viem.AccessList | undefined;
3148
+ authorizationList?: undefined | undefined;
3149
+ blobs?: undefined | undefined;
3150
+ blobVersionedHashes?: undefined | undefined;
3151
+ gasPrice?: bigint | undefined;
3152
+ sidecars?: undefined | undefined;
3153
+ maxFeePerBlobGas?: undefined | undefined;
3154
+ maxFeePerGas?: undefined | undefined;
3155
+ maxPriorityFeePerGas?: undefined | undefined;
3156
+ } & {
3157
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3158
+ } ? "eip2930" : never) | (request extends ({
3159
+ accessList?: viem.AccessList | undefined;
3160
+ authorizationList?: undefined | undefined;
3161
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3162
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3163
+ maxFeePerBlobGas?: bigint | undefined;
3164
+ maxFeePerGas?: bigint | undefined;
3165
+ maxPriorityFeePerGas?: bigint | undefined;
3166
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3167
+ } | {
3168
+ accessList?: viem.AccessList | undefined;
3169
+ authorizationList?: undefined | undefined;
3170
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3171
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3172
+ maxFeePerBlobGas?: bigint | undefined;
3173
+ maxFeePerGas?: bigint | undefined;
3174
+ maxPriorityFeePerGas?: bigint | undefined;
3175
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3176
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3177
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3178
+ } | {
3179
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3180
+ } | {
3181
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3182
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3183
+ accessList?: viem.AccessList | undefined;
3184
+ authorizationList?: viem.SignedAuthorizationList;
3185
+ blobs?: undefined | undefined;
3186
+ blobVersionedHashes?: undefined | undefined;
3187
+ gasPrice?: undefined | undefined;
3188
+ maxFeePerBlobGas?: undefined | undefined;
3189
+ maxFeePerGas?: bigint | undefined;
3190
+ maxPriorityFeePerGas?: bigint | undefined;
3191
+ sidecars?: undefined | undefined;
3192
+ } | {
3193
+ accessList?: viem.AccessList | undefined;
3194
+ authorizationList?: viem.SignedAuthorizationList;
3195
+ blobs?: undefined | undefined;
3196
+ blobVersionedHashes?: undefined | undefined;
3197
+ gasPrice?: undefined | undefined;
3198
+ maxFeePerBlobGas?: undefined | undefined;
3199
+ maxFeePerGas?: bigint | undefined;
3200
+ maxPriorityFeePerGas?: bigint | undefined;
3201
+ sidecars?: undefined | undefined;
3202
+ }) & {
3203
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3204
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
3205
+ accessList?: undefined | undefined;
3206
+ authorizationList?: undefined | undefined;
3207
+ blobs?: undefined | undefined;
3208
+ blobVersionedHashes?: undefined | undefined;
3209
+ gasPrice?: bigint;
3210
+ sidecars?: undefined | undefined;
3211
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3212
+ accessList?: viem.AccessList | undefined;
3213
+ authorizationList?: undefined | undefined;
3214
+ blobs?: undefined | undefined;
3215
+ blobVersionedHashes?: undefined | undefined;
3216
+ gasPrice?: undefined | undefined;
3217
+ maxFeePerBlobGas?: undefined | undefined;
3218
+ maxFeePerGas?: bigint;
3219
+ maxPriorityFeePerGas?: bigint;
3220
+ sidecars?: undefined | undefined;
3221
+ } & (viem.OneOf<{
3222
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3223
+ } | {
3224
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3225
+ }, viem.FeeValuesEIP1559> & {
3226
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3227
+ }) ? "eip1559" : never) | (request extends {
3228
+ accessList?: viem.AccessList | undefined;
3229
+ authorizationList?: undefined | undefined;
3230
+ blobs?: undefined | undefined;
3231
+ blobVersionedHashes?: undefined | undefined;
3232
+ gasPrice?: bigint | undefined;
3233
+ sidecars?: undefined | undefined;
3234
+ maxFeePerBlobGas?: undefined | undefined;
3235
+ maxFeePerGas?: undefined | undefined;
3236
+ maxPriorityFeePerGas?: undefined | undefined;
3237
+ } & {
3238
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3239
+ } ? "eip2930" : never) | (request extends ({
3240
+ accessList?: viem.AccessList | undefined;
3241
+ authorizationList?: undefined | undefined;
3242
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3243
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3244
+ maxFeePerBlobGas?: bigint | undefined;
3245
+ maxFeePerGas?: bigint | undefined;
3246
+ maxPriorityFeePerGas?: bigint | undefined;
3247
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3248
+ } | {
3249
+ accessList?: viem.AccessList | undefined;
3250
+ authorizationList?: undefined | undefined;
3251
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3252
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3253
+ maxFeePerBlobGas?: bigint | undefined;
3254
+ maxFeePerGas?: bigint | undefined;
3255
+ maxPriorityFeePerGas?: bigint | undefined;
3256
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3257
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3258
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3259
+ } | {
3260
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3261
+ } | {
3262
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3263
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3264
+ accessList?: viem.AccessList | undefined;
3265
+ authorizationList?: viem.SignedAuthorizationList;
3266
+ blobs?: undefined | undefined;
3267
+ blobVersionedHashes?: undefined | undefined;
3268
+ gasPrice?: undefined | undefined;
3269
+ maxFeePerBlobGas?: undefined | undefined;
3270
+ maxFeePerGas?: bigint | undefined;
3271
+ maxPriorityFeePerGas?: bigint | undefined;
3272
+ sidecars?: undefined | undefined;
3273
+ } | {
3274
+ accessList?: viem.AccessList | undefined;
3275
+ authorizationList?: viem.SignedAuthorizationList;
3276
+ blobs?: undefined | undefined;
3277
+ blobVersionedHashes?: undefined | undefined;
3278
+ gasPrice?: undefined | undefined;
3279
+ maxFeePerBlobGas?: undefined | undefined;
3280
+ maxFeePerGas?: bigint | undefined;
3281
+ maxPriorityFeePerGas?: bigint | undefined;
3282
+ sidecars?: undefined | undefined;
3283
+ }) & {
3284
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3285
+ } ? "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"] : viem.GetTransactionType<request, (request extends {
3286
+ accessList?: undefined | undefined;
3287
+ authorizationList?: undefined | undefined;
3288
+ blobs?: undefined | undefined;
3289
+ blobVersionedHashes?: undefined | undefined;
3290
+ gasPrice?: bigint;
3291
+ sidecars?: undefined | undefined;
3292
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3293
+ accessList?: viem.AccessList | undefined;
3294
+ authorizationList?: undefined | undefined;
3295
+ blobs?: undefined | undefined;
3296
+ blobVersionedHashes?: undefined | undefined;
3297
+ gasPrice?: undefined | undefined;
3298
+ maxFeePerBlobGas?: undefined | undefined;
3299
+ maxFeePerGas?: bigint;
3300
+ maxPriorityFeePerGas?: bigint;
3301
+ sidecars?: undefined | undefined;
3302
+ } & (viem.OneOf<{
3303
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3304
+ } | {
3305
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3306
+ }, viem.FeeValuesEIP1559> & {
3307
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3308
+ }) ? "eip1559" : never) | (request extends {
3309
+ accessList?: viem.AccessList | undefined;
3310
+ authorizationList?: undefined | undefined;
3311
+ blobs?: undefined | undefined;
3312
+ blobVersionedHashes?: undefined | undefined;
3313
+ gasPrice?: bigint | undefined;
3314
+ sidecars?: undefined | undefined;
3315
+ maxFeePerBlobGas?: undefined | undefined;
3316
+ maxFeePerGas?: undefined | undefined;
3317
+ maxPriorityFeePerGas?: undefined | undefined;
3318
+ } & {
3319
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3320
+ } ? "eip2930" : never) | (request extends ({
3321
+ accessList?: viem.AccessList | undefined;
3322
+ authorizationList?: undefined | undefined;
3323
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3324
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3325
+ maxFeePerBlobGas?: bigint | undefined;
3326
+ maxFeePerGas?: bigint | undefined;
3327
+ maxPriorityFeePerGas?: bigint | undefined;
3328
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3329
+ } | {
3330
+ accessList?: viem.AccessList | undefined;
3331
+ authorizationList?: undefined | undefined;
3332
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3333
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3334
+ maxFeePerBlobGas?: bigint | undefined;
3335
+ maxFeePerGas?: bigint | undefined;
3336
+ maxPriorityFeePerGas?: bigint | undefined;
3337
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3338
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3339
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3340
+ } | {
3341
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3342
+ } | {
3343
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3344
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3345
+ accessList?: viem.AccessList | undefined;
3346
+ authorizationList?: viem.SignedAuthorizationList;
3347
+ blobs?: undefined | undefined;
3348
+ blobVersionedHashes?: undefined | undefined;
3349
+ gasPrice?: undefined | undefined;
3350
+ maxFeePerBlobGas?: undefined | undefined;
3351
+ maxFeePerGas?: bigint | undefined;
3352
+ maxPriorityFeePerGas?: bigint | undefined;
3353
+ sidecars?: undefined | undefined;
3354
+ } | {
3355
+ accessList?: viem.AccessList | undefined;
3356
+ authorizationList?: viem.SignedAuthorizationList;
3357
+ blobs?: undefined | undefined;
3358
+ blobVersionedHashes?: undefined | undefined;
3359
+ gasPrice?: undefined | undefined;
3360
+ maxFeePerBlobGas?: undefined | undefined;
3361
+ maxFeePerGas?: bigint | undefined;
3362
+ maxPriorityFeePerGas?: bigint | undefined;
3363
+ sidecars?: undefined | undefined;
3364
+ }) & {
3365
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3366
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem.GetTransactionType<request, (request extends {
3367
+ accessList?: undefined | undefined;
3368
+ authorizationList?: undefined | undefined;
3369
+ blobs?: undefined | undefined;
3370
+ blobVersionedHashes?: undefined | undefined;
3371
+ gasPrice?: bigint;
3372
+ sidecars?: undefined | undefined;
3373
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3374
+ accessList?: viem.AccessList | undefined;
3375
+ authorizationList?: undefined | undefined;
3376
+ blobs?: undefined | undefined;
3377
+ blobVersionedHashes?: undefined | undefined;
3378
+ gasPrice?: undefined | undefined;
3379
+ maxFeePerBlobGas?: undefined | undefined;
3380
+ maxFeePerGas?: bigint;
3381
+ maxPriorityFeePerGas?: bigint;
3382
+ sidecars?: undefined | undefined;
3383
+ } & (viem.OneOf<{
3384
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3385
+ } | {
3386
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3387
+ }, viem.FeeValuesEIP1559> & {
3388
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3389
+ }) ? "eip1559" : never) | (request extends {
3390
+ accessList?: viem.AccessList | undefined;
3391
+ authorizationList?: undefined | undefined;
3392
+ blobs?: undefined | undefined;
3393
+ blobVersionedHashes?: undefined | undefined;
3394
+ gasPrice?: bigint | undefined;
3395
+ sidecars?: undefined | undefined;
3396
+ maxFeePerBlobGas?: undefined | undefined;
3397
+ maxFeePerGas?: undefined | undefined;
3398
+ maxPriorityFeePerGas?: undefined | undefined;
3399
+ } & {
3400
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3401
+ } ? "eip2930" : never) | (request extends ({
3402
+ accessList?: viem.AccessList | undefined;
3403
+ authorizationList?: undefined | undefined;
3404
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3405
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3406
+ maxFeePerBlobGas?: bigint | undefined;
3407
+ maxFeePerGas?: bigint | undefined;
3408
+ maxPriorityFeePerGas?: bigint | undefined;
3409
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3410
+ } | {
3411
+ accessList?: viem.AccessList | undefined;
3412
+ authorizationList?: undefined | undefined;
3413
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3414
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3415
+ maxFeePerBlobGas?: bigint | undefined;
3416
+ maxFeePerGas?: bigint | undefined;
3417
+ maxPriorityFeePerGas?: bigint | undefined;
3418
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3419
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3420
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3421
+ } | {
3422
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3423
+ } | {
3424
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3425
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3426
+ accessList?: viem.AccessList | undefined;
3427
+ authorizationList?: viem.SignedAuthorizationList;
3428
+ blobs?: undefined | undefined;
3429
+ blobVersionedHashes?: undefined | undefined;
3430
+ gasPrice?: undefined | undefined;
3431
+ maxFeePerBlobGas?: undefined | undefined;
3432
+ maxFeePerGas?: bigint | undefined;
3433
+ maxPriorityFeePerGas?: bigint | undefined;
3434
+ sidecars?: undefined | undefined;
3435
+ } | {
3436
+ accessList?: viem.AccessList | undefined;
3437
+ authorizationList?: viem.SignedAuthorizationList;
3438
+ blobs?: undefined | undefined;
3439
+ blobVersionedHashes?: undefined | undefined;
3440
+ gasPrice?: undefined | undefined;
3441
+ maxFeePerBlobGas?: undefined | undefined;
3442
+ maxFeePerGas?: bigint | undefined;
3443
+ maxPriorityFeePerGas?: bigint | undefined;
3444
+ sidecars?: undefined | undefined;
3445
+ }) & {
3446
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3447
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? viem.TransactionRequestEIP7702 : never : never : never)>> & {
3448
+ chainId?: number | undefined;
3449
+ }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees" | "chainId") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees" | "chainId") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) & {
3450
+ _capabilities?: {
3451
+ [x: string]: any;
3452
+ } | undefined;
3453
+ } extends infer T ? { [K in keyof T]: T[K]; } : never>;
3454
+ requestAddresses: () => Promise<viem.RequestAddressesReturnType>;
3455
+ requestPermissions: (args: viem.RequestPermissionsParameters) => Promise<viem.RequestPermissionsReturnType>;
3456
+ sendCalls: <const calls extends readonly unknown[], chainOverride extends viem.Chain | undefined = undefined>(parameters: viem.SendCallsParameters<undefined, {
3457
+ address: `0x${string}`;
3458
+ type: "json-rpc";
3459
+ } | undefined, chainOverride, calls>) => Promise<{
3460
+ capabilities?: {
3461
+ [x: string]: any;
3462
+ } | undefined;
3463
+ id: string;
3464
+ }>;
3465
+ sendCallsSync: <const calls extends readonly unknown[], chainOverride extends viem.Chain | undefined = undefined>(parameters: viem.SendCallsSyncParameters<undefined, {
3466
+ address: `0x${string}`;
3467
+ type: "json-rpc";
3468
+ } | undefined, chainOverride, calls>) => Promise<{
3469
+ id: string;
3470
+ chainId: number;
3471
+ atomic: boolean;
3472
+ capabilities?: {
3473
+ [key: string]: any;
3474
+ } | {
3475
+ [x: string]: any;
3476
+ } | undefined;
3477
+ receipts?: viem.WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
3478
+ version: string;
3479
+ statusCode: number;
3480
+ status: "pending" | "success" | "failure" | undefined;
3481
+ }>;
3482
+ sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
3483
+ sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<viem.TransactionReceipt>;
3484
+ sendTransaction: <const request extends viem.SendTransactionRequest<undefined, chainOverride>, chainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<undefined, {
3485
+ address: `0x${string}`;
3486
+ type: "json-rpc";
3487
+ } | undefined, chainOverride, request>) => Promise<viem.SendTransactionReturnType>;
3488
+ sendTransactionSync: <const request extends viem.SendTransactionSyncRequest<undefined, chainOverride>, chainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionSyncParameters<undefined, {
3489
+ address: `0x${string}`;
3490
+ type: "json-rpc";
3491
+ } | undefined, chainOverride, request>) => Promise<viem.TransactionReceipt>;
3492
+ showCallsStatus: (parameters: viem.ShowCallsStatusParameters) => Promise<viem.ShowCallsStatusReturnType>;
3493
+ signAuthorization: (parameters: viem.SignAuthorizationParameters<{
3494
+ address: `0x${string}`;
3495
+ type: "json-rpc";
3496
+ } | undefined>) => Promise<viem.SignAuthorizationReturnType>;
3497
+ signMessage: (args: viem.SignMessageParameters<{
3498
+ address: `0x${string}`;
3499
+ type: "json-rpc";
3500
+ } | undefined>) => Promise<viem.SignMessageReturnType>;
3501
+ signTransaction: <chainOverride extends viem.Chain | undefined, const request extends viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<undefined, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> = viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<undefined, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from">>(args: viem.SignTransactionParameters<undefined, {
3502
+ address: `0x${string}`;
3503
+ type: "json-rpc";
3504
+ } | undefined, chainOverride, request>) => Promise<viem.TransactionSerialized<viem.GetTransactionType<request, (request extends {
3505
+ accessList?: undefined | undefined;
3506
+ authorizationList?: undefined | undefined;
3507
+ blobs?: undefined | undefined;
3508
+ blobVersionedHashes?: undefined | undefined;
3509
+ gasPrice?: bigint;
3510
+ sidecars?: undefined | undefined;
3511
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3512
+ accessList?: viem.AccessList | undefined;
3513
+ authorizationList?: undefined | undefined;
3514
+ blobs?: undefined | undefined;
3515
+ blobVersionedHashes?: undefined | undefined;
3516
+ gasPrice?: undefined | undefined;
3517
+ maxFeePerBlobGas?: undefined | undefined;
3518
+ maxFeePerGas?: bigint;
3519
+ maxPriorityFeePerGas?: bigint;
3520
+ sidecars?: undefined | undefined;
3521
+ } & (viem.OneOf<{
3522
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3523
+ } | {
3524
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3525
+ }, viem.FeeValuesEIP1559> & {
3526
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3527
+ }) ? "eip1559" : never) | (request extends {
3528
+ accessList?: viem.AccessList | undefined;
3529
+ authorizationList?: undefined | undefined;
3530
+ blobs?: undefined | undefined;
3531
+ blobVersionedHashes?: undefined | undefined;
3532
+ gasPrice?: bigint | undefined;
3533
+ sidecars?: undefined | undefined;
3534
+ maxFeePerBlobGas?: undefined | undefined;
3535
+ maxFeePerGas?: undefined | undefined;
3536
+ maxPriorityFeePerGas?: undefined | undefined;
3537
+ } & {
3538
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3539
+ } ? "eip2930" : never) | (request extends ({
3540
+ accessList?: viem.AccessList | undefined;
3541
+ authorizationList?: undefined | undefined;
3542
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3543
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3544
+ maxFeePerBlobGas?: bigint | undefined;
3545
+ maxFeePerGas?: bigint | undefined;
3546
+ maxPriorityFeePerGas?: bigint | undefined;
3547
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3548
+ } | {
3549
+ accessList?: viem.AccessList | undefined;
3550
+ authorizationList?: undefined | undefined;
3551
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3552
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3553
+ maxFeePerBlobGas?: bigint | undefined;
3554
+ maxFeePerGas?: bigint | undefined;
3555
+ maxPriorityFeePerGas?: bigint | undefined;
3556
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3557
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3558
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3559
+ } | {
3560
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3561
+ } | {
3562
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3563
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3564
+ accessList?: viem.AccessList | undefined;
3565
+ authorizationList?: viem.SignedAuthorizationList;
3566
+ blobs?: undefined | undefined;
3567
+ blobVersionedHashes?: undefined | undefined;
3568
+ gasPrice?: undefined | undefined;
3569
+ maxFeePerBlobGas?: undefined | undefined;
3570
+ maxFeePerGas?: bigint | undefined;
3571
+ maxPriorityFeePerGas?: bigint | undefined;
3572
+ sidecars?: undefined | undefined;
3573
+ } | {
3574
+ accessList?: viem.AccessList | undefined;
3575
+ authorizationList?: viem.SignedAuthorizationList;
3576
+ blobs?: undefined | undefined;
3577
+ blobVersionedHashes?: undefined | undefined;
3578
+ gasPrice?: undefined | undefined;
3579
+ maxFeePerBlobGas?: undefined | undefined;
3580
+ maxFeePerGas?: bigint | undefined;
3581
+ maxPriorityFeePerGas?: bigint | undefined;
3582
+ sidecars?: undefined | undefined;
3583
+ }) & {
3584
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3585
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>, (viem.GetTransactionType<request, (request extends {
3586
+ accessList?: undefined | undefined;
3587
+ authorizationList?: undefined | undefined;
3588
+ blobs?: undefined | undefined;
3589
+ blobVersionedHashes?: undefined | undefined;
3590
+ gasPrice?: bigint;
3591
+ sidecars?: undefined | undefined;
3592
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3593
+ accessList?: viem.AccessList | undefined;
3594
+ authorizationList?: undefined | undefined;
3595
+ blobs?: undefined | undefined;
3596
+ blobVersionedHashes?: undefined | undefined;
3597
+ gasPrice?: undefined | undefined;
3598
+ maxFeePerBlobGas?: undefined | undefined;
3599
+ maxFeePerGas?: bigint;
3600
+ maxPriorityFeePerGas?: bigint;
3601
+ sidecars?: undefined | undefined;
3602
+ } & (viem.OneOf<{
3603
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3604
+ } | {
3605
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3606
+ }, viem.FeeValuesEIP1559> & {
3607
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3608
+ }) ? "eip1559" : never) | (request extends {
3609
+ accessList?: viem.AccessList | undefined;
3610
+ authorizationList?: undefined | undefined;
3611
+ blobs?: undefined | undefined;
3612
+ blobVersionedHashes?: undefined | undefined;
3613
+ gasPrice?: bigint | undefined;
3614
+ sidecars?: undefined | undefined;
3615
+ maxFeePerBlobGas?: undefined | undefined;
3616
+ maxFeePerGas?: undefined | undefined;
3617
+ maxPriorityFeePerGas?: undefined | undefined;
3618
+ } & {
3619
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3620
+ } ? "eip2930" : never) | (request extends ({
3621
+ accessList?: viem.AccessList | undefined;
3622
+ authorizationList?: undefined | undefined;
3623
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3624
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3625
+ maxFeePerBlobGas?: bigint | undefined;
3626
+ maxFeePerGas?: bigint | undefined;
3627
+ maxPriorityFeePerGas?: bigint | undefined;
3628
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3629
+ } | {
3630
+ accessList?: viem.AccessList | undefined;
3631
+ authorizationList?: undefined | undefined;
3632
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3633
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3634
+ maxFeePerBlobGas?: bigint | undefined;
3635
+ maxFeePerGas?: bigint | undefined;
3636
+ maxPriorityFeePerGas?: bigint | undefined;
3637
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3638
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3639
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3640
+ } | {
3641
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3642
+ } | {
3643
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3644
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3645
+ accessList?: viem.AccessList | undefined;
3646
+ authorizationList?: viem.SignedAuthorizationList;
3647
+ blobs?: undefined | undefined;
3648
+ blobVersionedHashes?: undefined | undefined;
3649
+ gasPrice?: undefined | undefined;
3650
+ maxFeePerBlobGas?: undefined | undefined;
3651
+ maxFeePerGas?: bigint | undefined;
3652
+ maxPriorityFeePerGas?: bigint | undefined;
3653
+ sidecars?: undefined | undefined;
3654
+ } | {
3655
+ accessList?: viem.AccessList | undefined;
3656
+ authorizationList?: viem.SignedAuthorizationList;
3657
+ blobs?: undefined | undefined;
3658
+ blobVersionedHashes?: undefined | undefined;
3659
+ gasPrice?: undefined | undefined;
3660
+ maxFeePerBlobGas?: undefined | undefined;
3661
+ maxFeePerGas?: bigint | undefined;
3662
+ maxPriorityFeePerGas?: bigint | undefined;
3663
+ sidecars?: undefined | undefined;
3664
+ }) & {
3665
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3666
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends infer T ? T extends viem.GetTransactionType<request, (request extends {
3667
+ accessList?: undefined | undefined;
3668
+ authorizationList?: undefined | undefined;
3669
+ blobs?: undefined | undefined;
3670
+ blobVersionedHashes?: undefined | undefined;
3671
+ gasPrice?: bigint;
3672
+ sidecars?: undefined | undefined;
3673
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3674
+ accessList?: viem.AccessList | undefined;
3675
+ authorizationList?: undefined | undefined;
3676
+ blobs?: undefined | undefined;
3677
+ blobVersionedHashes?: undefined | undefined;
3678
+ gasPrice?: undefined | undefined;
3679
+ maxFeePerBlobGas?: undefined | undefined;
3680
+ maxFeePerGas?: bigint;
3681
+ maxPriorityFeePerGas?: bigint;
3682
+ sidecars?: undefined | undefined;
3683
+ } & (viem.OneOf<{
3684
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3685
+ } | {
3686
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3687
+ }, viem.FeeValuesEIP1559> & {
3688
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3689
+ }) ? "eip1559" : never) | (request extends {
3690
+ accessList?: viem.AccessList | undefined;
3691
+ authorizationList?: undefined | undefined;
3692
+ blobs?: undefined | undefined;
3693
+ blobVersionedHashes?: undefined | undefined;
3694
+ gasPrice?: bigint | undefined;
3695
+ sidecars?: undefined | undefined;
3696
+ maxFeePerBlobGas?: undefined | undefined;
3697
+ maxFeePerGas?: undefined | undefined;
3698
+ maxPriorityFeePerGas?: undefined | undefined;
3699
+ } & {
3700
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3701
+ } ? "eip2930" : never) | (request extends ({
3702
+ accessList?: viem.AccessList | undefined;
3703
+ authorizationList?: undefined | undefined;
3704
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3705
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3706
+ maxFeePerBlobGas?: bigint | undefined;
3707
+ maxFeePerGas?: bigint | undefined;
3708
+ maxPriorityFeePerGas?: bigint | undefined;
3709
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3710
+ } | {
3711
+ accessList?: viem.AccessList | undefined;
3712
+ authorizationList?: undefined | undefined;
3713
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3714
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3715
+ maxFeePerBlobGas?: bigint | undefined;
3716
+ maxFeePerGas?: bigint | undefined;
3717
+ maxPriorityFeePerGas?: bigint | undefined;
3718
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3719
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3720
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3721
+ } | {
3722
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3723
+ } | {
3724
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3725
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3726
+ accessList?: viem.AccessList | undefined;
3727
+ authorizationList?: viem.SignedAuthorizationList;
3728
+ blobs?: undefined | undefined;
3729
+ blobVersionedHashes?: undefined | undefined;
3730
+ gasPrice?: undefined | undefined;
3731
+ maxFeePerBlobGas?: undefined | undefined;
3732
+ maxFeePerGas?: bigint | undefined;
3733
+ maxPriorityFeePerGas?: bigint | undefined;
3734
+ sidecars?: undefined | undefined;
3735
+ } | {
3736
+ accessList?: viem.AccessList | undefined;
3737
+ authorizationList?: viem.SignedAuthorizationList;
3738
+ blobs?: undefined | undefined;
3739
+ blobVersionedHashes?: undefined | undefined;
3740
+ gasPrice?: undefined | undefined;
3741
+ maxFeePerBlobGas?: undefined | undefined;
3742
+ maxFeePerGas?: bigint | undefined;
3743
+ maxPriorityFeePerGas?: bigint | undefined;
3744
+ sidecars?: undefined | undefined;
3745
+ }) & {
3746
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3747
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> ? T extends "eip1559" ? `0x02${string}` : never : never : never) | (viem.GetTransactionType<request, (request extends {
3748
+ accessList?: undefined | undefined;
3749
+ authorizationList?: undefined | undefined;
3750
+ blobs?: undefined | undefined;
3751
+ blobVersionedHashes?: undefined | undefined;
3752
+ gasPrice?: bigint;
3753
+ sidecars?: undefined | undefined;
3754
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3755
+ accessList?: viem.AccessList | undefined;
3756
+ authorizationList?: undefined | undefined;
3757
+ blobs?: undefined | undefined;
3758
+ blobVersionedHashes?: undefined | undefined;
3759
+ gasPrice?: undefined | undefined;
3760
+ maxFeePerBlobGas?: undefined | undefined;
3761
+ maxFeePerGas?: bigint;
3762
+ maxPriorityFeePerGas?: bigint;
3763
+ sidecars?: undefined | undefined;
3764
+ } & (viem.OneOf<{
3765
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3766
+ } | {
3767
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3768
+ }, viem.FeeValuesEIP1559> & {
3769
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3770
+ }) ? "eip1559" : never) | (request extends {
3771
+ accessList?: viem.AccessList | undefined;
3772
+ authorizationList?: undefined | undefined;
3773
+ blobs?: undefined | undefined;
3774
+ blobVersionedHashes?: undefined | undefined;
3775
+ gasPrice?: bigint | undefined;
3776
+ sidecars?: undefined | undefined;
3777
+ maxFeePerBlobGas?: undefined | undefined;
3778
+ maxFeePerGas?: undefined | undefined;
3779
+ maxPriorityFeePerGas?: undefined | undefined;
3780
+ } & {
3781
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3782
+ } ? "eip2930" : never) | (request extends ({
3783
+ accessList?: viem.AccessList | undefined;
3784
+ authorizationList?: undefined | undefined;
3785
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3786
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3787
+ maxFeePerBlobGas?: bigint | undefined;
3788
+ maxFeePerGas?: bigint | undefined;
3789
+ maxPriorityFeePerGas?: bigint | undefined;
3790
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3791
+ } | {
3792
+ accessList?: viem.AccessList | undefined;
3793
+ authorizationList?: undefined | undefined;
3794
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3795
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3796
+ maxFeePerBlobGas?: bigint | undefined;
3797
+ maxFeePerGas?: bigint | undefined;
3798
+ maxPriorityFeePerGas?: bigint | undefined;
3799
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3800
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3801
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3802
+ } | {
3803
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3804
+ } | {
3805
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3806
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3807
+ accessList?: viem.AccessList | undefined;
3808
+ authorizationList?: viem.SignedAuthorizationList;
3809
+ blobs?: undefined | undefined;
3810
+ blobVersionedHashes?: undefined | undefined;
3811
+ gasPrice?: undefined | undefined;
3812
+ maxFeePerBlobGas?: undefined | undefined;
3813
+ maxFeePerGas?: bigint | undefined;
3814
+ maxPriorityFeePerGas?: bigint | undefined;
3815
+ sidecars?: undefined | undefined;
3816
+ } | {
3817
+ accessList?: viem.AccessList | undefined;
3818
+ authorizationList?: viem.SignedAuthorizationList;
3819
+ blobs?: undefined | undefined;
3820
+ blobVersionedHashes?: undefined | undefined;
3821
+ gasPrice?: undefined | undefined;
3822
+ maxFeePerBlobGas?: undefined | undefined;
3823
+ maxFeePerGas?: bigint | undefined;
3824
+ maxPriorityFeePerGas?: bigint | undefined;
3825
+ sidecars?: undefined | undefined;
3826
+ }) & {
3827
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3828
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends infer T_1 ? T_1 extends viem.GetTransactionType<request, (request extends {
3829
+ accessList?: undefined | undefined;
3830
+ authorizationList?: undefined | undefined;
3831
+ blobs?: undefined | undefined;
3832
+ blobVersionedHashes?: undefined | undefined;
3833
+ gasPrice?: bigint;
3834
+ sidecars?: undefined | undefined;
3835
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3836
+ accessList?: viem.AccessList | undefined;
3837
+ authorizationList?: undefined | undefined;
3838
+ blobs?: undefined | undefined;
3839
+ blobVersionedHashes?: undefined | undefined;
3840
+ gasPrice?: undefined | undefined;
3841
+ maxFeePerBlobGas?: undefined | undefined;
3842
+ maxFeePerGas?: bigint;
3843
+ maxPriorityFeePerGas?: bigint;
3844
+ sidecars?: undefined | undefined;
3845
+ } & (viem.OneOf<{
3846
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3847
+ } | {
3848
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3849
+ }, viem.FeeValuesEIP1559> & {
3850
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3851
+ }) ? "eip1559" : never) | (request extends {
3852
+ accessList?: viem.AccessList | undefined;
3853
+ authorizationList?: undefined | undefined;
3854
+ blobs?: undefined | undefined;
3855
+ blobVersionedHashes?: undefined | undefined;
3856
+ gasPrice?: bigint | undefined;
3857
+ sidecars?: undefined | undefined;
3858
+ maxFeePerBlobGas?: undefined | undefined;
3859
+ maxFeePerGas?: undefined | undefined;
3860
+ maxPriorityFeePerGas?: undefined | undefined;
3861
+ } & {
3862
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3863
+ } ? "eip2930" : never) | (request extends ({
3864
+ accessList?: viem.AccessList | undefined;
3865
+ authorizationList?: undefined | undefined;
3866
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3867
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3868
+ maxFeePerBlobGas?: bigint | undefined;
3869
+ maxFeePerGas?: bigint | undefined;
3870
+ maxPriorityFeePerGas?: bigint | undefined;
3871
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3872
+ } | {
3873
+ accessList?: viem.AccessList | undefined;
3874
+ authorizationList?: undefined | undefined;
3875
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3876
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3877
+ maxFeePerBlobGas?: bigint | undefined;
3878
+ maxFeePerGas?: bigint | undefined;
3879
+ maxPriorityFeePerGas?: bigint | undefined;
3880
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3881
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3882
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3883
+ } | {
3884
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3885
+ } | {
3886
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3887
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3888
+ accessList?: viem.AccessList | undefined;
3889
+ authorizationList?: viem.SignedAuthorizationList;
3890
+ blobs?: undefined | undefined;
3891
+ blobVersionedHashes?: undefined | undefined;
3892
+ gasPrice?: undefined | undefined;
3893
+ maxFeePerBlobGas?: undefined | undefined;
3894
+ maxFeePerGas?: bigint | undefined;
3895
+ maxPriorityFeePerGas?: bigint | undefined;
3896
+ sidecars?: undefined | undefined;
3897
+ } | {
3898
+ accessList?: viem.AccessList | undefined;
3899
+ authorizationList?: viem.SignedAuthorizationList;
3900
+ blobs?: undefined | undefined;
3901
+ blobVersionedHashes?: undefined | undefined;
3902
+ gasPrice?: undefined | undefined;
3903
+ maxFeePerBlobGas?: undefined | undefined;
3904
+ maxFeePerGas?: bigint | undefined;
3905
+ maxPriorityFeePerGas?: bigint | undefined;
3906
+ sidecars?: undefined | undefined;
3907
+ }) & {
3908
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3909
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> ? T_1 extends "eip2930" ? `0x01${string}` : never : never : never) | (viem.GetTransactionType<request, (request extends {
3910
+ accessList?: undefined | undefined;
3911
+ authorizationList?: undefined | undefined;
3912
+ blobs?: undefined | undefined;
3913
+ blobVersionedHashes?: undefined | undefined;
3914
+ gasPrice?: bigint;
3915
+ sidecars?: undefined | undefined;
3916
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3917
+ accessList?: viem.AccessList | undefined;
3918
+ authorizationList?: undefined | undefined;
3919
+ blobs?: undefined | undefined;
3920
+ blobVersionedHashes?: undefined | undefined;
3921
+ gasPrice?: undefined | undefined;
3922
+ maxFeePerBlobGas?: undefined | undefined;
3923
+ maxFeePerGas?: bigint;
3924
+ maxPriorityFeePerGas?: bigint;
3925
+ sidecars?: undefined | undefined;
3926
+ } & (viem.OneOf<{
3927
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
3928
+ } | {
3929
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
3930
+ }, viem.FeeValuesEIP1559> & {
3931
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
3932
+ }) ? "eip1559" : never) | (request extends {
3933
+ accessList?: viem.AccessList | undefined;
3934
+ authorizationList?: undefined | undefined;
3935
+ blobs?: undefined | undefined;
3936
+ blobVersionedHashes?: undefined | undefined;
3937
+ gasPrice?: bigint | undefined;
3938
+ sidecars?: undefined | undefined;
3939
+ maxFeePerBlobGas?: undefined | undefined;
3940
+ maxFeePerGas?: undefined | undefined;
3941
+ maxPriorityFeePerGas?: undefined | undefined;
3942
+ } & {
3943
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
3944
+ } ? "eip2930" : never) | (request extends ({
3945
+ accessList?: viem.AccessList | undefined;
3946
+ authorizationList?: undefined | undefined;
3947
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3948
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3949
+ maxFeePerBlobGas?: bigint | undefined;
3950
+ maxFeePerGas?: bigint | undefined;
3951
+ maxPriorityFeePerGas?: bigint | undefined;
3952
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3953
+ } | {
3954
+ accessList?: viem.AccessList | undefined;
3955
+ authorizationList?: undefined | undefined;
3956
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
3957
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
3958
+ maxFeePerBlobGas?: bigint | undefined;
3959
+ maxFeePerGas?: bigint | undefined;
3960
+ maxPriorityFeePerGas?: bigint | undefined;
3961
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
3962
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
3963
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
3964
+ } | {
3965
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
3966
+ } | {
3967
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3968
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
3969
+ accessList?: viem.AccessList | undefined;
3970
+ authorizationList?: viem.SignedAuthorizationList;
3971
+ blobs?: undefined | undefined;
3972
+ blobVersionedHashes?: undefined | undefined;
3973
+ gasPrice?: undefined | undefined;
3974
+ maxFeePerBlobGas?: undefined | undefined;
3975
+ maxFeePerGas?: bigint | undefined;
3976
+ maxPriorityFeePerGas?: bigint | undefined;
3977
+ sidecars?: undefined | undefined;
3978
+ } | {
3979
+ accessList?: viem.AccessList | undefined;
3980
+ authorizationList?: viem.SignedAuthorizationList;
3981
+ blobs?: undefined | undefined;
3982
+ blobVersionedHashes?: undefined | undefined;
3983
+ gasPrice?: undefined | undefined;
3984
+ maxFeePerBlobGas?: undefined | undefined;
3985
+ maxFeePerGas?: bigint | undefined;
3986
+ maxPriorityFeePerGas?: bigint | undefined;
3987
+ sidecars?: undefined | undefined;
3988
+ }) & {
3989
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
3990
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends infer T_2 ? T_2 extends viem.GetTransactionType<request, (request extends {
3991
+ accessList?: undefined | undefined;
3992
+ authorizationList?: undefined | undefined;
3993
+ blobs?: undefined | undefined;
3994
+ blobVersionedHashes?: undefined | undefined;
3995
+ gasPrice?: bigint;
3996
+ sidecars?: undefined | undefined;
3997
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
3998
+ accessList?: viem.AccessList | undefined;
3999
+ authorizationList?: undefined | undefined;
4000
+ blobs?: undefined | undefined;
4001
+ blobVersionedHashes?: undefined | undefined;
4002
+ gasPrice?: undefined | undefined;
4003
+ maxFeePerBlobGas?: undefined | undefined;
4004
+ maxFeePerGas?: bigint;
4005
+ maxPriorityFeePerGas?: bigint;
4006
+ sidecars?: undefined | undefined;
4007
+ } & (viem.OneOf<{
4008
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
4009
+ } | {
4010
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
4011
+ }, viem.FeeValuesEIP1559> & {
4012
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
4013
+ }) ? "eip1559" : never) | (request extends {
4014
+ accessList?: viem.AccessList | undefined;
4015
+ authorizationList?: undefined | undefined;
4016
+ blobs?: undefined | undefined;
4017
+ blobVersionedHashes?: undefined | undefined;
4018
+ gasPrice?: bigint | undefined;
4019
+ sidecars?: undefined | undefined;
4020
+ maxFeePerBlobGas?: undefined | undefined;
4021
+ maxFeePerGas?: undefined | undefined;
4022
+ maxPriorityFeePerGas?: undefined | undefined;
4023
+ } & {
4024
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
4025
+ } ? "eip2930" : never) | (request extends ({
4026
+ accessList?: viem.AccessList | undefined;
4027
+ authorizationList?: undefined | undefined;
4028
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4029
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4030
+ maxFeePerBlobGas?: bigint | undefined;
4031
+ maxFeePerGas?: bigint | undefined;
4032
+ maxPriorityFeePerGas?: bigint | undefined;
4033
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4034
+ } | {
4035
+ accessList?: viem.AccessList | undefined;
4036
+ authorizationList?: undefined | undefined;
4037
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4038
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4039
+ maxFeePerBlobGas?: bigint | undefined;
4040
+ maxFeePerGas?: bigint | undefined;
4041
+ maxPriorityFeePerGas?: bigint | undefined;
4042
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4043
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
4044
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
4045
+ } | {
4046
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
4047
+ } | {
4048
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
4049
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4050
+ accessList?: viem.AccessList | undefined;
4051
+ authorizationList?: viem.SignedAuthorizationList;
4052
+ blobs?: undefined | undefined;
4053
+ blobVersionedHashes?: undefined | undefined;
4054
+ gasPrice?: undefined | undefined;
4055
+ maxFeePerBlobGas?: undefined | undefined;
4056
+ maxFeePerGas?: bigint | undefined;
4057
+ maxPriorityFeePerGas?: bigint | undefined;
4058
+ sidecars?: undefined | undefined;
4059
+ } | {
4060
+ accessList?: viem.AccessList | undefined;
4061
+ authorizationList?: viem.SignedAuthorizationList;
4062
+ blobs?: undefined | undefined;
4063
+ blobVersionedHashes?: undefined | undefined;
4064
+ gasPrice?: undefined | undefined;
4065
+ maxFeePerBlobGas?: undefined | undefined;
4066
+ maxFeePerGas?: bigint | undefined;
4067
+ maxPriorityFeePerGas?: bigint | undefined;
4068
+ sidecars?: undefined | undefined;
4069
+ }) & {
4070
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
4071
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> ? T_2 extends "eip4844" ? `0x03${string}` : never : never : never) | (viem.GetTransactionType<request, (request extends {
4072
+ accessList?: undefined | undefined;
4073
+ authorizationList?: undefined | undefined;
4074
+ blobs?: undefined | undefined;
4075
+ blobVersionedHashes?: undefined | undefined;
4076
+ gasPrice?: bigint;
4077
+ sidecars?: undefined | undefined;
4078
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
4079
+ accessList?: viem.AccessList | undefined;
4080
+ authorizationList?: undefined | undefined;
4081
+ blobs?: undefined | undefined;
4082
+ blobVersionedHashes?: undefined | undefined;
4083
+ gasPrice?: undefined | undefined;
4084
+ maxFeePerBlobGas?: undefined | undefined;
4085
+ maxFeePerGas?: bigint;
4086
+ maxPriorityFeePerGas?: bigint;
4087
+ sidecars?: undefined | undefined;
4088
+ } & (viem.OneOf<{
4089
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
4090
+ } | {
4091
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
4092
+ }, viem.FeeValuesEIP1559> & {
4093
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
4094
+ }) ? "eip1559" : never) | (request extends {
4095
+ accessList?: viem.AccessList | undefined;
4096
+ authorizationList?: undefined | undefined;
4097
+ blobs?: undefined | undefined;
4098
+ blobVersionedHashes?: undefined | undefined;
4099
+ gasPrice?: bigint | undefined;
4100
+ sidecars?: undefined | undefined;
4101
+ maxFeePerBlobGas?: undefined | undefined;
4102
+ maxFeePerGas?: undefined | undefined;
4103
+ maxPriorityFeePerGas?: undefined | undefined;
4104
+ } & {
4105
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
4106
+ } ? "eip2930" : never) | (request extends ({
4107
+ accessList?: viem.AccessList | undefined;
4108
+ authorizationList?: undefined | undefined;
4109
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4110
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4111
+ maxFeePerBlobGas?: bigint | undefined;
4112
+ maxFeePerGas?: bigint | undefined;
4113
+ maxPriorityFeePerGas?: bigint | undefined;
4114
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4115
+ } | {
4116
+ accessList?: viem.AccessList | undefined;
4117
+ authorizationList?: undefined | undefined;
4118
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4119
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4120
+ maxFeePerBlobGas?: bigint | undefined;
4121
+ maxFeePerGas?: bigint | undefined;
4122
+ maxPriorityFeePerGas?: bigint | undefined;
4123
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4124
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
4125
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
4126
+ } | {
4127
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
4128
+ } | {
4129
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
4130
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4131
+ accessList?: viem.AccessList | undefined;
4132
+ authorizationList?: viem.SignedAuthorizationList;
4133
+ blobs?: undefined | undefined;
4134
+ blobVersionedHashes?: undefined | undefined;
4135
+ gasPrice?: undefined | undefined;
4136
+ maxFeePerBlobGas?: undefined | undefined;
4137
+ maxFeePerGas?: bigint | undefined;
4138
+ maxPriorityFeePerGas?: bigint | undefined;
4139
+ sidecars?: undefined | undefined;
4140
+ } | {
4141
+ accessList?: viem.AccessList | undefined;
4142
+ authorizationList?: viem.SignedAuthorizationList;
4143
+ blobs?: undefined | undefined;
4144
+ blobVersionedHashes?: undefined | undefined;
4145
+ gasPrice?: undefined | undefined;
4146
+ maxFeePerBlobGas?: undefined | undefined;
4147
+ maxFeePerGas?: bigint | undefined;
4148
+ maxPriorityFeePerGas?: bigint | undefined;
4149
+ sidecars?: undefined | undefined;
4150
+ }) & {
4151
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
4152
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends infer T_3 ? T_3 extends viem.GetTransactionType<request, (request extends {
4153
+ accessList?: undefined | undefined;
4154
+ authorizationList?: undefined | undefined;
4155
+ blobs?: undefined | undefined;
4156
+ blobVersionedHashes?: undefined | undefined;
4157
+ gasPrice?: bigint;
4158
+ sidecars?: undefined | undefined;
4159
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
4160
+ accessList?: viem.AccessList | undefined;
4161
+ authorizationList?: undefined | undefined;
4162
+ blobs?: undefined | undefined;
4163
+ blobVersionedHashes?: undefined | undefined;
4164
+ gasPrice?: undefined | undefined;
4165
+ maxFeePerBlobGas?: undefined | undefined;
4166
+ maxFeePerGas?: bigint;
4167
+ maxPriorityFeePerGas?: bigint;
4168
+ sidecars?: undefined | undefined;
4169
+ } & (viem.OneOf<{
4170
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
4171
+ } | {
4172
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
4173
+ }, viem.FeeValuesEIP1559> & {
4174
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
4175
+ }) ? "eip1559" : never) | (request extends {
4176
+ accessList?: viem.AccessList | undefined;
4177
+ authorizationList?: undefined | undefined;
4178
+ blobs?: undefined | undefined;
4179
+ blobVersionedHashes?: undefined | undefined;
4180
+ gasPrice?: bigint | undefined;
4181
+ sidecars?: undefined | undefined;
4182
+ maxFeePerBlobGas?: undefined | undefined;
4183
+ maxFeePerGas?: undefined | undefined;
4184
+ maxPriorityFeePerGas?: undefined | undefined;
4185
+ } & {
4186
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
4187
+ } ? "eip2930" : never) | (request extends ({
4188
+ accessList?: viem.AccessList | undefined;
4189
+ authorizationList?: undefined | undefined;
4190
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4191
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4192
+ maxFeePerBlobGas?: bigint | undefined;
4193
+ maxFeePerGas?: bigint | undefined;
4194
+ maxPriorityFeePerGas?: bigint | undefined;
4195
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4196
+ } | {
4197
+ accessList?: viem.AccessList | undefined;
4198
+ authorizationList?: undefined | undefined;
4199
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4200
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4201
+ maxFeePerBlobGas?: bigint | undefined;
4202
+ maxFeePerGas?: bigint | undefined;
4203
+ maxPriorityFeePerGas?: bigint | undefined;
4204
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4205
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
4206
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
4207
+ } | {
4208
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
4209
+ } | {
4210
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
4211
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4212
+ accessList?: viem.AccessList | undefined;
4213
+ authorizationList?: viem.SignedAuthorizationList;
4214
+ blobs?: undefined | undefined;
4215
+ blobVersionedHashes?: undefined | undefined;
4216
+ gasPrice?: undefined | undefined;
4217
+ maxFeePerBlobGas?: undefined | undefined;
4218
+ maxFeePerGas?: bigint | undefined;
4219
+ maxPriorityFeePerGas?: bigint | undefined;
4220
+ sidecars?: undefined | undefined;
4221
+ } | {
4222
+ accessList?: viem.AccessList | undefined;
4223
+ authorizationList?: viem.SignedAuthorizationList;
4224
+ blobs?: undefined | undefined;
4225
+ blobVersionedHashes?: undefined | undefined;
4226
+ gasPrice?: undefined | undefined;
4227
+ maxFeePerBlobGas?: undefined | undefined;
4228
+ maxFeePerGas?: bigint | undefined;
4229
+ maxPriorityFeePerGas?: bigint | undefined;
4230
+ sidecars?: undefined | undefined;
4231
+ }) & {
4232
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
4233
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> ? T_3 extends "eip7702" ? `0x04${string}` : never : never : never) | (viem.GetTransactionType<request, (request extends {
4234
+ accessList?: undefined | undefined;
4235
+ authorizationList?: undefined | undefined;
4236
+ blobs?: undefined | undefined;
4237
+ blobVersionedHashes?: undefined | undefined;
4238
+ gasPrice?: bigint;
4239
+ sidecars?: undefined | undefined;
4240
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
4241
+ accessList?: viem.AccessList | undefined;
4242
+ authorizationList?: undefined | undefined;
4243
+ blobs?: undefined | undefined;
4244
+ blobVersionedHashes?: undefined | undefined;
4245
+ gasPrice?: undefined | undefined;
4246
+ maxFeePerBlobGas?: undefined | undefined;
4247
+ maxFeePerGas?: bigint;
4248
+ maxPriorityFeePerGas?: bigint;
4249
+ sidecars?: undefined | undefined;
4250
+ } & (viem.OneOf<{
4251
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
4252
+ } | {
4253
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
4254
+ }, viem.FeeValuesEIP1559> & {
4255
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
4256
+ }) ? "eip1559" : never) | (request extends {
4257
+ accessList?: viem.AccessList | undefined;
4258
+ authorizationList?: undefined | undefined;
4259
+ blobs?: undefined | undefined;
4260
+ blobVersionedHashes?: undefined | undefined;
4261
+ gasPrice?: bigint | undefined;
4262
+ sidecars?: undefined | undefined;
4263
+ maxFeePerBlobGas?: undefined | undefined;
4264
+ maxFeePerGas?: undefined | undefined;
4265
+ maxPriorityFeePerGas?: undefined | undefined;
4266
+ } & {
4267
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
4268
+ } ? "eip2930" : never) | (request extends ({
4269
+ accessList?: viem.AccessList | undefined;
4270
+ authorizationList?: undefined | undefined;
4271
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4272
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4273
+ maxFeePerBlobGas?: bigint | undefined;
4274
+ maxFeePerGas?: bigint | undefined;
4275
+ maxPriorityFeePerGas?: bigint | undefined;
4276
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4277
+ } | {
4278
+ accessList?: viem.AccessList | undefined;
4279
+ authorizationList?: undefined | undefined;
4280
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4281
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4282
+ maxFeePerBlobGas?: bigint | undefined;
4283
+ maxFeePerGas?: bigint | undefined;
4284
+ maxPriorityFeePerGas?: bigint | undefined;
4285
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4286
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
4287
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
4288
+ } | {
4289
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
4290
+ } | {
4291
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
4292
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4293
+ accessList?: viem.AccessList | undefined;
4294
+ authorizationList?: viem.SignedAuthorizationList;
4295
+ blobs?: undefined | undefined;
4296
+ blobVersionedHashes?: undefined | undefined;
4297
+ gasPrice?: undefined | undefined;
4298
+ maxFeePerBlobGas?: undefined | undefined;
4299
+ maxFeePerGas?: bigint | undefined;
4300
+ maxPriorityFeePerGas?: bigint | undefined;
4301
+ sidecars?: undefined | undefined;
4302
+ } | {
4303
+ accessList?: viem.AccessList | undefined;
4304
+ authorizationList?: viem.SignedAuthorizationList;
4305
+ blobs?: undefined | undefined;
4306
+ blobVersionedHashes?: undefined | undefined;
4307
+ gasPrice?: undefined | undefined;
4308
+ maxFeePerBlobGas?: undefined | undefined;
4309
+ maxFeePerGas?: bigint | undefined;
4310
+ maxPriorityFeePerGas?: bigint | undefined;
4311
+ sidecars?: undefined | undefined;
4312
+ }) & {
4313
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
4314
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends infer T_4 ? T_4 extends viem.GetTransactionType<request, (request extends {
4315
+ accessList?: undefined | undefined;
4316
+ authorizationList?: undefined | undefined;
4317
+ blobs?: undefined | undefined;
4318
+ blobVersionedHashes?: undefined | undefined;
4319
+ gasPrice?: bigint;
4320
+ sidecars?: undefined | undefined;
4321
+ } & viem.FeeValuesLegacy ? "legacy" : never) | (request extends {
4322
+ accessList?: viem.AccessList | undefined;
4323
+ authorizationList?: undefined | undefined;
4324
+ blobs?: undefined | undefined;
4325
+ blobVersionedHashes?: undefined | undefined;
4326
+ gasPrice?: undefined | undefined;
4327
+ maxFeePerBlobGas?: undefined | undefined;
4328
+ maxFeePerGas?: bigint;
4329
+ maxPriorityFeePerGas?: bigint;
4330
+ sidecars?: undefined | undefined;
4331
+ } & (viem.OneOf<{
4332
+ maxFeePerGas: viem.FeeValuesEIP1559["maxFeePerGas"];
4333
+ } | {
4334
+ maxPriorityFeePerGas: viem.FeeValuesEIP1559["maxPriorityFeePerGas"];
4335
+ }, viem.FeeValuesEIP1559> & {
4336
+ accessList?: viem.TransactionSerializableEIP2930["accessList"] | undefined;
4337
+ }) ? "eip1559" : never) | (request extends {
4338
+ accessList?: viem.AccessList | undefined;
4339
+ authorizationList?: undefined | undefined;
4340
+ blobs?: undefined | undefined;
4341
+ blobVersionedHashes?: undefined | undefined;
4342
+ gasPrice?: bigint | undefined;
4343
+ sidecars?: undefined | undefined;
4344
+ maxFeePerBlobGas?: undefined | undefined;
4345
+ maxFeePerGas?: undefined | undefined;
4346
+ maxPriorityFeePerGas?: undefined | undefined;
4347
+ } & {
4348
+ accessList: viem.TransactionSerializableEIP2930["accessList"];
4349
+ } ? "eip2930" : never) | (request extends ({
4350
+ accessList?: viem.AccessList | undefined;
4351
+ authorizationList?: undefined | undefined;
4352
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4353
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4354
+ maxFeePerBlobGas?: bigint | undefined;
4355
+ maxFeePerGas?: bigint | undefined;
4356
+ maxPriorityFeePerGas?: bigint | undefined;
4357
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4358
+ } | {
4359
+ accessList?: viem.AccessList | undefined;
4360
+ authorizationList?: undefined | undefined;
4361
+ blobs?: readonly `0x${string}`[] | readonly viem.ByteArray[] | undefined;
4362
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4363
+ maxFeePerBlobGas?: bigint | undefined;
4364
+ maxFeePerGas?: bigint | undefined;
4365
+ maxPriorityFeePerGas?: bigint | undefined;
4366
+ sidecars?: false | readonly viem.BlobSidecar<`0x${string}`>[] | undefined;
4367
+ }) & (viem.ExactPartial<viem.FeeValuesEIP4844> & viem.OneOf<{
4368
+ blobs: viem.TransactionSerializableEIP4844["blobs"];
4369
+ } | {
4370
+ blobVersionedHashes: viem.TransactionSerializableEIP4844["blobVersionedHashes"];
4371
+ } | {
4372
+ sidecars: viem.TransactionSerializableEIP4844["sidecars"];
4373
+ }, viem.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4374
+ accessList?: viem.AccessList | undefined;
4375
+ authorizationList?: viem.SignedAuthorizationList;
4376
+ blobs?: undefined | undefined;
4377
+ blobVersionedHashes?: undefined | undefined;
4378
+ gasPrice?: undefined | undefined;
4379
+ maxFeePerBlobGas?: undefined | undefined;
4380
+ maxFeePerGas?: bigint | undefined;
4381
+ maxPriorityFeePerGas?: bigint | undefined;
4382
+ sidecars?: undefined | undefined;
4383
+ } | {
4384
+ accessList?: viem.AccessList | undefined;
4385
+ authorizationList?: viem.SignedAuthorizationList;
4386
+ blobs?: undefined | undefined;
4387
+ blobVersionedHashes?: undefined | undefined;
4388
+ gasPrice?: undefined | undefined;
4389
+ maxFeePerBlobGas?: undefined | undefined;
4390
+ maxFeePerGas?: bigint | undefined;
4391
+ maxPriorityFeePerGas?: bigint | undefined;
4392
+ sidecars?: undefined | undefined;
4393
+ }) & {
4394
+ authorizationList: viem.TransactionSerializableEIP7702["authorizationList"];
4395
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> ? T_4 extends "legacy" ? viem.TransactionSerializedLegacy : never : never : never)>>;
4396
+ signTypedData: <const typedData extends {
4397
+ [x: string]: readonly viem.TypedDataParameter[];
4398
+ [x: `string[${string}]`]: undefined;
4399
+ [x: `function[${string}]`]: undefined;
4400
+ [x: `address[${string}]`]: undefined;
4401
+ [x: `bool[${string}]`]: undefined;
4402
+ [x: `bytes[${string}]`]: undefined;
4403
+ [x: `bytes1[${string}]`]: undefined;
4404
+ [x: `bytes2[${string}]`]: undefined;
4405
+ [x: `bytes3[${string}]`]: undefined;
4406
+ [x: `bytes4[${string}]`]: undefined;
4407
+ [x: `bytes5[${string}]`]: undefined;
4408
+ [x: `bytes6[${string}]`]: undefined;
4409
+ [x: `bytes7[${string}]`]: undefined;
4410
+ [x: `bytes8[${string}]`]: undefined;
4411
+ [x: `bytes9[${string}]`]: undefined;
4412
+ [x: `bytes10[${string}]`]: undefined;
4413
+ [x: `bytes11[${string}]`]: undefined;
4414
+ [x: `bytes12[${string}]`]: undefined;
4415
+ [x: `bytes13[${string}]`]: undefined;
4416
+ [x: `bytes14[${string}]`]: undefined;
4417
+ [x: `bytes15[${string}]`]: undefined;
4418
+ [x: `bytes16[${string}]`]: undefined;
4419
+ [x: `bytes17[${string}]`]: undefined;
4420
+ [x: `bytes18[${string}]`]: undefined;
4421
+ [x: `bytes19[${string}]`]: undefined;
4422
+ [x: `bytes20[${string}]`]: undefined;
4423
+ [x: `bytes21[${string}]`]: undefined;
4424
+ [x: `bytes22[${string}]`]: undefined;
4425
+ [x: `bytes23[${string}]`]: undefined;
4426
+ [x: `bytes24[${string}]`]: undefined;
4427
+ [x: `bytes25[${string}]`]: undefined;
4428
+ [x: `bytes26[${string}]`]: undefined;
4429
+ [x: `bytes27[${string}]`]: undefined;
4430
+ [x: `bytes28[${string}]`]: undefined;
4431
+ [x: `bytes29[${string}]`]: undefined;
4432
+ [x: `bytes30[${string}]`]: undefined;
4433
+ [x: `bytes31[${string}]`]: undefined;
4434
+ [x: `bytes32[${string}]`]: undefined;
4435
+ [x: `int[${string}]`]: undefined;
4436
+ [x: `int8[${string}]`]: undefined;
4437
+ [x: `int16[${string}]`]: undefined;
4438
+ [x: `int24[${string}]`]: undefined;
4439
+ [x: `int32[${string}]`]: undefined;
4440
+ [x: `int40[${string}]`]: undefined;
4441
+ [x: `int48[${string}]`]: undefined;
4442
+ [x: `int56[${string}]`]: undefined;
4443
+ [x: `int64[${string}]`]: undefined;
4444
+ [x: `int72[${string}]`]: undefined;
4445
+ [x: `int80[${string}]`]: undefined;
4446
+ [x: `int88[${string}]`]: undefined;
4447
+ [x: `int96[${string}]`]: undefined;
4448
+ [x: `int104[${string}]`]: undefined;
4449
+ [x: `int112[${string}]`]: undefined;
4450
+ [x: `int120[${string}]`]: undefined;
4451
+ [x: `int128[${string}]`]: undefined;
4452
+ [x: `int136[${string}]`]: undefined;
4453
+ [x: `int144[${string}]`]: undefined;
4454
+ [x: `int152[${string}]`]: undefined;
4455
+ [x: `int160[${string}]`]: undefined;
4456
+ [x: `int168[${string}]`]: undefined;
4457
+ [x: `int176[${string}]`]: undefined;
4458
+ [x: `int184[${string}]`]: undefined;
4459
+ [x: `int192[${string}]`]: undefined;
4460
+ [x: `int200[${string}]`]: undefined;
4461
+ [x: `int208[${string}]`]: undefined;
4462
+ [x: `int216[${string}]`]: undefined;
4463
+ [x: `int224[${string}]`]: undefined;
4464
+ [x: `int232[${string}]`]: undefined;
4465
+ [x: `int240[${string}]`]: undefined;
4466
+ [x: `int248[${string}]`]: undefined;
4467
+ [x: `int256[${string}]`]: undefined;
4468
+ [x: `uint[${string}]`]: undefined;
4469
+ [x: `uint8[${string}]`]: undefined;
4470
+ [x: `uint16[${string}]`]: undefined;
4471
+ [x: `uint24[${string}]`]: undefined;
4472
+ [x: `uint32[${string}]`]: undefined;
4473
+ [x: `uint40[${string}]`]: undefined;
4474
+ [x: `uint48[${string}]`]: undefined;
4475
+ [x: `uint56[${string}]`]: undefined;
4476
+ [x: `uint64[${string}]`]: undefined;
4477
+ [x: `uint72[${string}]`]: undefined;
4478
+ [x: `uint80[${string}]`]: undefined;
4479
+ [x: `uint88[${string}]`]: undefined;
4480
+ [x: `uint96[${string}]`]: undefined;
4481
+ [x: `uint104[${string}]`]: undefined;
4482
+ [x: `uint112[${string}]`]: undefined;
4483
+ [x: `uint120[${string}]`]: undefined;
4484
+ [x: `uint128[${string}]`]: undefined;
4485
+ [x: `uint136[${string}]`]: undefined;
4486
+ [x: `uint144[${string}]`]: undefined;
4487
+ [x: `uint152[${string}]`]: undefined;
4488
+ [x: `uint160[${string}]`]: undefined;
4489
+ [x: `uint168[${string}]`]: undefined;
4490
+ [x: `uint176[${string}]`]: undefined;
4491
+ [x: `uint184[${string}]`]: undefined;
4492
+ [x: `uint192[${string}]`]: undefined;
4493
+ [x: `uint200[${string}]`]: undefined;
4494
+ [x: `uint208[${string}]`]: undefined;
4495
+ [x: `uint216[${string}]`]: undefined;
4496
+ [x: `uint224[${string}]`]: undefined;
4497
+ [x: `uint232[${string}]`]: undefined;
4498
+ [x: `uint240[${string}]`]: undefined;
4499
+ [x: `uint248[${string}]`]: undefined;
4500
+ [x: `uint256[${string}]`]: undefined;
4501
+ string?: never;
4502
+ address?: never;
4503
+ bool?: never;
4504
+ bytes?: never;
4505
+ bytes1?: never;
4506
+ bytes2?: never;
4507
+ bytes3?: never;
4508
+ bytes4?: never;
4509
+ bytes5?: never;
4510
+ bytes6?: never;
4511
+ bytes7?: never;
4512
+ bytes8?: never;
4513
+ bytes9?: never;
4514
+ bytes10?: never;
4515
+ bytes11?: never;
4516
+ bytes12?: never;
4517
+ bytes13?: never;
4518
+ bytes14?: never;
4519
+ bytes15?: never;
4520
+ bytes16?: never;
4521
+ bytes17?: never;
4522
+ bytes18?: never;
4523
+ bytes19?: never;
4524
+ bytes20?: never;
4525
+ bytes21?: never;
4526
+ bytes22?: never;
4527
+ bytes23?: never;
4528
+ bytes24?: never;
4529
+ bytes25?: never;
4530
+ bytes26?: never;
4531
+ bytes27?: never;
4532
+ bytes28?: never;
4533
+ bytes29?: never;
4534
+ bytes30?: never;
4535
+ bytes31?: never;
4536
+ bytes32?: never;
4537
+ int8?: never;
4538
+ int16?: never;
4539
+ int24?: never;
4540
+ int32?: never;
4541
+ int40?: never;
4542
+ int48?: never;
4543
+ int56?: never;
4544
+ int64?: never;
4545
+ int72?: never;
4546
+ int80?: never;
4547
+ int88?: never;
4548
+ int96?: never;
4549
+ int104?: never;
4550
+ int112?: never;
4551
+ int120?: never;
4552
+ int128?: never;
4553
+ int136?: never;
4554
+ int144?: never;
4555
+ int152?: never;
4556
+ int160?: never;
4557
+ int168?: never;
4558
+ int176?: never;
4559
+ int184?: never;
4560
+ int192?: never;
4561
+ int200?: never;
4562
+ int208?: never;
4563
+ int216?: never;
4564
+ int224?: never;
4565
+ int232?: never;
4566
+ int240?: never;
4567
+ int248?: never;
4568
+ int256?: never;
4569
+ uint8?: never;
4570
+ uint16?: never;
4571
+ uint24?: never;
4572
+ uint32?: never;
4573
+ uint40?: never;
4574
+ uint48?: never;
4575
+ uint56?: never;
4576
+ uint64?: never;
4577
+ uint72?: never;
4578
+ uint80?: never;
4579
+ uint88?: never;
4580
+ uint96?: never;
4581
+ uint104?: never;
4582
+ uint112?: never;
4583
+ uint120?: never;
4584
+ uint128?: never;
4585
+ uint136?: never;
4586
+ uint144?: never;
4587
+ uint152?: never;
4588
+ uint160?: never;
4589
+ uint168?: never;
4590
+ uint176?: never;
4591
+ uint184?: never;
4592
+ uint192?: never;
4593
+ uint200?: never;
4594
+ uint208?: never;
4595
+ uint216?: never;
4596
+ uint224?: never;
4597
+ uint232?: never;
4598
+ uint240?: never;
4599
+ uint248?: never;
4600
+ uint256?: never;
4601
+ } | {
4602
+ [key: string]: unknown;
4603
+ }, primaryType extends string>(args: viem.SignTypedDataParameters<typedData, primaryType, {
4604
+ address: `0x${string}`;
4605
+ type: "json-rpc";
4606
+ } | undefined>) => Promise<viem.SignTypedDataReturnType>;
4607
+ switchChain: (args: viem.SwitchChainParameters) => Promise<void>;
4608
+ waitForCallsStatus: (parameters: viem.WaitForCallsStatusParameters) => Promise<viem.WaitForCallsStatusReturnType>;
4609
+ watchAsset: (args: viem.WatchAssetParameters) => Promise<viem.WatchAssetReturnType>;
4610
+ writeContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractParameters<abi, functionName, args_1, undefined, {
4611
+ address: `0x${string}`;
4612
+ type: "json-rpc";
4613
+ } | undefined, chainOverride>) => Promise<viem.WriteContractReturnType>;
4614
+ writeContractSync: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined = undefined>(args: viem.WriteContractSyncParameters<abi, functionName, args_1, undefined, {
4615
+ address: `0x${string}`;
4616
+ type: "json-rpc";
4617
+ } | undefined, chainOverride>) => Promise<viem.WriteContractSyncReturnType>;
4618
+ extend: <const client extends {
4619
+ [x: string]: unknown;
4620
+ account?: undefined;
4621
+ batch?: undefined;
4622
+ cacheTime?: undefined;
4623
+ ccipRead?: undefined;
4624
+ chain?: undefined;
4625
+ dataSuffix?: undefined;
4626
+ experimental_blockTag?: undefined;
4627
+ key?: undefined;
4628
+ name?: undefined;
4629
+ pollingInterval?: undefined;
4630
+ request?: undefined;
4631
+ transport?: undefined;
4632
+ type?: undefined;
4633
+ uid?: undefined;
4634
+ } & viem.ExactPartial<Pick<viem.PublicActions<viem.CustomTransport, undefined, {
4635
+ address: `0x${string}`;
4636
+ type: "json-rpc";
4637
+ } | 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<viem.WalletActions<undefined, {
4638
+ address: `0x${string}`;
4639
+ type: "json-rpc";
4640
+ } | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.CustomTransport, undefined, {
4641
+ address: `0x${string}`;
4642
+ type: "json-rpc";
4643
+ } | undefined, viem.WalletRpcSchema, viem.WalletActions<undefined, {
4644
+ address: `0x${string}`;
4645
+ type: "json-rpc";
4646
+ } | undefined>>) => client) => viem.Client<viem.CustomTransport, undefined, {
4647
+ address: `0x${string}`;
4648
+ type: "json-rpc";
4649
+ } | undefined, viem.WalletRpcSchema, { [K in keyof client]: client[K]; } & viem.WalletActions<undefined, {
4650
+ address: `0x${string}`;
4651
+ type: "json-rpc";
4652
+ } | undefined>>;
4653
+ } | null;
4654
+ };
4655
+
4656
+ declare global {
4657
+ interface Window {
4658
+ kasware?: any;
4659
+ }
4660
+ }
4661
+ type KasWareLocalState = {
4662
+ installed: boolean;
4663
+ connected: boolean;
4664
+ supported: boolean;
4665
+ address?: string;
4666
+ network?: string;
4667
+ localNetworkDetected: boolean;
4668
+ errors: string[];
4669
+ };
4670
+ declare function useKasWareLocal(): {
4671
+ state: KasWareLocalState;
4672
+ refresh: () => Promise<void>;
4673
+ };
4674
+ declare function useConnectKasWareLocal(): {
4675
+ connect: () => Promise<any>;
4676
+ };
4677
+ type KasWareSessionMatch = {
4678
+ walletAddress?: string;
4679
+ sessionAddress?: string;
4680
+ matches: boolean;
4681
+ reason?: "not-installed" | "not-connected" | "network-mismatch" | "address-mismatch" | "no-session";
4682
+ };
4683
+ declare function useKasWareSessionMatch(sessionL1Address?: string | null): {
4684
+ walletAddress: string | undefined;
4685
+ sessionAddress: string | undefined;
4686
+ matches: boolean;
4687
+ reason: "not-installed" | "not-connected" | "network-mismatch" | "address-mismatch" | "no-session" | undefined;
4688
+ };
4689
+
4690
+ type SandboxConnection = {
4691
+ id: string;
4692
+ createdAt: number;
4693
+ status: "pending" | "paired" | "expired" | "disconnected";
4694
+ sessionName?: string;
4695
+ l1Address?: string;
4696
+ l2Address?: `0x${string}`;
4697
+ transport: "local-sandbox";
4698
+ expiresAt: number;
4699
+ };
4700
+ declare function useSandboxSessions(): _tanstack_react_query.UseQueryResult<SandboxConnection[], Error>;
4701
+ declare function useCreateSandboxSession(): _tanstack_react_query.UseMutationResult<SandboxConnection, Error, void, unknown>;
4702
+ declare function usePairSandboxSession(): _tanstack_react_query.UseMutationResult<SandboxConnection, Error, string, unknown>;
4703
+ declare function useDisconnectSandboxSession(): _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
4704
+
4705
+ declare function useIgraReadContract(options: {
4706
+ address: Address;
4707
+ abi: any;
4708
+ functionName: string;
4709
+ args?: any[];
4710
+ enabled?: boolean;
4711
+ refetchInterval?: number;
4712
+ }): _tanstack_react_query.UseQueryResult<unknown, Error>;
4713
+ declare function useIgraWriteContract(): _tanstack_react_query.UseMutationResult<any, Error, {
4714
+ address: Address;
4715
+ abi: any;
4716
+ functionName: string;
4717
+ args?: any[];
4718
+ walletClient?: any;
4719
+ }, unknown>;
4720
+ declare function useIgraWaitForReceipt(): _tanstack_react_query.UseMutationResult<viem.TransactionReceipt, Error, `0x${string}`, unknown>;
4721
+
4722
+ export { type EventCallback, type HardKasContextValue, HardKasProvider, type HardKasReactConfig, type HealthInfo, type KasWareLocalState, type KasWareSessionMatch, type MetaMaskLocalState, type RuntimeEvent, type SSEStatus, type SandboxConnection, type SessionInfo, useBridgeLocalPlan, useBridgeLocalSimulation, useConnectKasWareLocal, useCreateSandboxSession, useDisconnectSandboxSession, useHardKas, useHardKasHealth, useHardKasSession, useIgraAccount, useIgraBalance, useIgraInjectedAccount, useIgraReadContract, useIgraWaitForReceipt, useIgraWriteContract, useKasWareLocal, useKasWareSessionMatch, useKaspaBalance, useKaspaWallet, useLocalIgraWalletClient, useMetaMaskLocal, usePairSandboxSession, useSandboxSessions, useSwitchToLocalIgra };