@settlemint/sdk-viem 2.5.14-pr23133c76 → 2.5.14-pr9a38dbdb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,9 @@
1
1
  /* SettleMint Viem SDK - Web3 Optimized */
2
2
  import * as viem0 from "viem";
3
- import { Chain, Client, Hex, HttpTransportConfig } from "viem";
3
+ import { Chain, Client, HttpTransportConfig, Transport } from "viem";
4
4
  import * as chains from "viem/chains";
5
5
  import { z } from "zod";
6
6
 
7
- //#region src/custom-actions/anvil/anvil-set-balance.d.ts
8
- /**
9
- * Parameters for setting the balance of a wallet.
10
- */
11
- type AnvilSetBalanceParameters = [wallet: string, balance: Hex];
12
- /**
13
- * Set the balance of a wallet in the Anvil test environment.
14
- * @param client - The viem client to use for the request.
15
- * @returns An object with a anvilSetBalance method.
16
- */
17
- declare function anvilSetBalance(client: Client): {
18
- /**
19
- * Sets the balance of a wallet.
20
- * @param args - The parameters for setting the balance.
21
- * @returns A promise that resolves to the result of the balance setting operation.
22
- */
23
- anvilSetBalance(args: AnvilSetBalanceParameters): Promise<unknown>;
24
- };
25
- //#endregion
26
7
  //#region src/custom-actions/verify-wallet-verification-challenge.action.d.ts
27
8
  /**
28
9
  * Represents either a wallet address string or an object containing wallet address and optional verification ID.
@@ -439,10 +420,7 @@ type ClientOptions = Omit<z.infer<typeof ClientOptionsSchema>, "httpTransportCon
439
420
  * ```
440
421
  */
441
422
  declare const getPublicClient: (options: ClientOptions) => {
442
- account: viem0.Account | {
443
- address: `0x${string}`;
444
- type: "json-rpc";
445
- } | undefined;
423
+ account: undefined;
446
424
  batch?: {
447
425
  multicall?: boolean | chains.Prettify<viem0.MulticallBatchOptions> | undefined;
448
426
  } | undefined;
@@ -450,229 +428,17 @@ declare const getPublicClient: (options: ClientOptions) => {
450
428
  ccipRead?: false | {
451
429
  request?: (parameters: viem0.CcipRequestParameters) => Promise<`0x${string}`>;
452
430
  } | undefined;
453
- chain: Chain | undefined;
431
+ chain: Chain;
454
432
  experimental_blockTag?: viem0.BlockTag | undefined;
455
433
  key: string;
456
434
  name: string;
457
435
  pollingInterval: number;
458
- request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema | [{
459
- Method: "web3_clientVersion";
460
- Parameters?: undefined;
461
- ReturnType: string;
462
- }, {
463
- Method: "web3_sha3";
464
- Parameters: [data: viem0.Hash];
465
- ReturnType: string;
466
- }, {
467
- Method: "net_listening";
468
- Parameters?: undefined;
469
- ReturnType: boolean;
470
- }, {
471
- Method: "net_peerCount";
472
- Parameters?: undefined;
473
- ReturnType: viem0.Quantity;
474
- }, {
475
- Method: "net_version";
476
- Parameters?: undefined;
477
- ReturnType: viem0.Quantity;
478
- }, {
479
- Method: "eth_blobBaseFee";
480
- Parameters?: undefined;
481
- ReturnType: viem0.Quantity;
482
- }, {
483
- Method: "eth_blockNumber";
484
- Parameters?: undefined;
485
- ReturnType: viem0.Quantity;
486
- }, {
487
- Method: "eth_call";
488
- Parameters: readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride, blockOverrides: viem0.RpcBlockOverrides];
489
- ReturnType: viem0.Hex;
490
- }, {
491
- Method: "eth_createAccessList";
492
- Parameters: [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
493
- ReturnType: {
494
- accessList: viem0.AccessList;
495
- gasUsed: viem0.Quantity;
496
- };
497
- }, {
498
- Method: "eth_chainId";
499
- Parameters?: undefined;
500
- ReturnType: viem0.Quantity;
501
- }, {
502
- Method: "eth_coinbase";
503
- Parameters?: undefined;
504
- ReturnType: viem0.Address;
505
- }, {
506
- Method: "eth_estimateGas";
507
- Parameters: [transaction: viem0.RpcTransactionRequest] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag, stateOverride: viem0.RpcStateOverride];
508
- ReturnType: viem0.Quantity;
509
- }, {
510
- Method: "eth_feeHistory";
511
- Parameters: [blockCount: viem0.Quantity, newestBlock: viem0.RpcBlockNumber | viem0.BlockTag, rewardPercentiles: number[] | undefined];
512
- ReturnType: viem0.RpcFeeHistory;
513
- }, {
514
- Method: "eth_gasPrice";
515
- Parameters?: undefined;
516
- ReturnType: viem0.Quantity;
517
- }, {
518
- Method: "eth_getBalance";
519
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
520
- ReturnType: viem0.Quantity;
521
- }, {
522
- Method: "eth_getBlockByHash";
523
- Parameters: [hash: viem0.Hash, includeTransactionObjects: boolean];
524
- ReturnType: viem0.RpcBlock | null;
525
- }, {
526
- Method: "eth_getBlockByNumber";
527
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, includeTransactionObjects: boolean];
528
- ReturnType: viem0.RpcBlock | null;
529
- }, {
530
- Method: "eth_getBlockTransactionCountByHash";
531
- Parameters: [hash: viem0.Hash];
532
- ReturnType: viem0.Quantity;
533
- }, {
534
- Method: "eth_getBlockTransactionCountByNumber";
535
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
536
- ReturnType: viem0.Quantity;
537
- }, {
538
- Method: "eth_getCode";
539
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
540
- ReturnType: viem0.Hex;
541
- }, {
542
- Method: "eth_getFilterChanges";
543
- Parameters: [filterId: viem0.Quantity];
544
- ReturnType: viem0.RpcLog[] | viem0.Hex[];
545
- }, {
546
- Method: "eth_getFilterLogs";
547
- Parameters: [filterId: viem0.Quantity];
548
- ReturnType: viem0.RpcLog[];
549
- }, {
550
- Method: "eth_getLogs";
551
- Parameters: [{
552
- address?: viem0.Address | viem0.Address[] | undefined;
553
- topics?: viem0.LogTopic[] | undefined;
554
- } & ({
555
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
556
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
557
- blockHash?: undefined;
558
- } | {
559
- fromBlock?: undefined;
560
- toBlock?: undefined;
561
- blockHash?: viem0.Hash | undefined;
562
- })];
563
- ReturnType: viem0.RpcLog[];
564
- }, {
565
- Method: "eth_getProof";
566
- Parameters: [address: viem0.Address, storageKeys: viem0.Hash[], block: viem0.RpcBlockNumber | viem0.BlockTag];
567
- ReturnType: viem0.RpcProof;
568
- }, {
569
- Method: "eth_getStorageAt";
570
- Parameters: [address: viem0.Address, index: viem0.Quantity, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
571
- ReturnType: viem0.Hex;
572
- }, {
573
- Method: "eth_getTransactionByBlockHashAndIndex";
574
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
575
- ReturnType: viem0.RpcTransaction | null;
576
- }, {
577
- Method: "eth_getTransactionByBlockNumberAndIndex";
578
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
579
- ReturnType: viem0.RpcTransaction | null;
580
- }, {
581
- Method: "eth_getTransactionByHash";
582
- Parameters: [hash: viem0.Hash];
583
- ReturnType: viem0.RpcTransaction | null;
584
- }, {
585
- Method: "eth_getTransactionCount";
586
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
587
- ReturnType: viem0.Quantity;
588
- }, {
589
- Method: "eth_getTransactionReceipt";
590
- Parameters: [hash: viem0.Hash];
591
- ReturnType: viem0.RpcTransactionReceipt | null;
592
- }, {
593
- Method: "eth_getUncleByBlockHashAndIndex";
594
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
595
- ReturnType: viem0.RpcUncle | null;
596
- }, {
597
- Method: "eth_getUncleByBlockNumberAndIndex";
598
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
599
- ReturnType: viem0.RpcUncle | null;
600
- }, {
601
- Method: "eth_getUncleCountByBlockHash";
602
- Parameters: [hash: viem0.Hash];
603
- ReturnType: viem0.Quantity;
604
- }, {
605
- Method: "eth_getUncleCountByBlockNumber";
606
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
607
- ReturnType: viem0.Quantity;
608
- }, {
609
- Method: "eth_maxPriorityFeePerGas";
610
- Parameters?: undefined;
611
- ReturnType: viem0.Quantity;
612
- }, {
613
- Method: "eth_newBlockFilter";
614
- Parameters?: undefined;
615
- ReturnType: viem0.Quantity;
616
- }, {
617
- Method: "eth_newFilter";
618
- Parameters: [filter: {
619
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
620
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
621
- address?: viem0.Address | viem0.Address[] | undefined;
622
- topics?: viem0.LogTopic[] | undefined;
623
- }];
624
- ReturnType: viem0.Quantity;
625
- }, {
626
- Method: "eth_newPendingTransactionFilter";
627
- Parameters?: undefined;
628
- ReturnType: viem0.Quantity;
629
- }, {
630
- Method: "eth_protocolVersion";
631
- Parameters?: undefined;
632
- ReturnType: string;
633
- }, {
634
- Method: "eth_sendRawTransaction";
635
- Parameters: [signedTransaction: viem0.Hex];
636
- ReturnType: viem0.Hash;
637
- }, {
638
- Method: "eth_simulateV1";
639
- Parameters: [{
640
- blockStateCalls: readonly {
641
- blockOverrides?: viem0.RpcBlockOverrides | undefined;
642
- calls?: readonly viem0.ExactPartial<viem0.RpcTransactionRequest>[] | undefined;
643
- stateOverrides?: viem0.RpcStateOverride | undefined;
644
- }[];
645
- returnFullTransactions?: boolean | undefined;
646
- traceTransfers?: boolean | undefined;
647
- validation?: boolean | undefined;
648
- }, viem0.RpcBlockNumber | viem0.BlockTag];
649
- ReturnType: readonly (viem0.RpcBlock & {
650
- calls: readonly {
651
- error?: {
652
- data?: viem0.Hex | undefined;
653
- code: number;
654
- message: string;
655
- } | undefined;
656
- logs?: readonly viem0.RpcLog[] | undefined;
657
- gasUsed: viem0.Hex;
658
- returnData: viem0.Hex;
659
- status: viem0.Hex;
660
- }[];
661
- })[];
662
- }, {
663
- Method: "eth_uninstallFilter";
664
- Parameters: [filterId: viem0.Quantity];
665
- ReturnType: boolean;
666
- }, ...{
667
- Method: string;
668
- Parameters?: unknown | undefined;
669
- ReturnType: unknown;
670
- }[]]>;
436
+ request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema>;
671
437
  transport: viem0.TransportConfig<string, viem0.EIP1193RequestFn> & Record<string, any>;
672
438
  type: string;
673
439
  uid: string;
674
- call: (parameters: viem0.CallParameters<Chain | undefined>) => Promise<viem0.CallReturnType>;
675
- createAccessList: (parameters: viem0.CreateAccessListParameters<Chain | undefined>) => Promise<{
440
+ call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
441
+ createAccessList: (parameters: viem0.CreateAccessListParameters<Chain>) => Promise<{
676
442
  accessList: viem0.AccessList;
677
443
  gasUsed: bigint;
678
444
  }>;
@@ -681,14 +447,13 @@ declare const getPublicClient: (options: ClientOptions) => {
681
447
  createEventFilter: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, _EventName extends string | undefined = viem0.MaybeAbiEventName<abiEvent>, _Args extends viem0.MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: viem0.CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<viem0.CreateEventFilterReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args>>;
682
448
  createPendingTransactionFilter: () => Promise<viem0.CreatePendingTransactionFilterReturnType>;
683
449
  estimateContractGas: <chain extends Chain | undefined, const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, args extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: viem0.EstimateContractGasParameters<abi, functionName, args, chain>) => Promise<viem0.EstimateContractGasReturnType>;
684
- estimateGas: (args: viem0.EstimateGasParameters<Chain | undefined>) => Promise<viem0.EstimateGasReturnType>;
450
+ estimateGas: (args: viem0.EstimateGasParameters<Chain>) => Promise<viem0.EstimateGasReturnType>;
685
451
  getBalance: (args: viem0.GetBalanceParameters) => Promise<viem0.GetBalanceReturnType>;
686
452
  getBlobBaseFee: () => Promise<viem0.GetBlobBaseFeeReturnType>;
687
453
  getBlock: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args?: viem0.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
688
454
  number: blockTag extends "pending" ? null : bigint;
689
455
  nonce: blockTag extends "pending" ? null : `0x${string}`;
690
456
  hash: blockTag extends "pending" ? null : `0x${string}`;
691
- gasUsed: bigint;
692
457
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
693
458
  baseFeePerGas: bigint | null;
694
459
  blobGasUsed: bigint;
@@ -696,6 +461,7 @@ declare const getPublicClient: (options: ClientOptions) => {
696
461
  excessBlobGas: bigint;
697
462
  extraData: viem0.Hex;
698
463
  gasLimit: bigint;
464
+ gasUsed: bigint;
699
465
  miner: viem0.Address;
700
466
  mixHash: viem0.Hash;
701
467
  parentBeaconBlockRoot?: `0x${string}` | undefined;
@@ -851,14 +617,14 @@ declare const getPublicClient: (options: ClientOptions) => {
851
617
  getEnsResolver: (args: viem0.GetEnsResolverParameters) => Promise<viem0.GetEnsResolverReturnType>;
852
618
  getEnsText: (args: viem0.GetEnsTextParameters) => Promise<viem0.GetEnsTextReturnType>;
853
619
  getFeeHistory: (args: viem0.GetFeeHistoryParameters) => Promise<viem0.GetFeeHistoryReturnType>;
854
- estimateFeesPerGas: <chainOverride extends Chain | undefined = undefined, type extends viem0.FeeValuesType = "eip1559">(args?: viem0.EstimateFeesPerGasParameters<Chain | undefined, chainOverride, type> | undefined) => Promise<viem0.EstimateFeesPerGasReturnType<type>>;
620
+ estimateFeesPerGas: <chainOverride extends Chain | undefined = undefined, type extends viem0.FeeValuesType = "eip1559">(args?: viem0.EstimateFeesPerGasParameters<Chain, chainOverride, type> | undefined) => Promise<viem0.EstimateFeesPerGasReturnType<type>>;
855
621
  getFilterChanges: <filterType extends viem0.FilterType, const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterChangesParameters<filterType, abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterChangesReturnType<filterType, abi, eventName, strict, fromBlock, toBlock>>;
856
622
  getFilterLogs: <const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterLogsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterLogsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
857
623
  getGasPrice: () => Promise<viem0.GetGasPriceReturnType>;
858
624
  getLogs: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args?: viem0.GetLogsParameters<abiEvent, abiEvents, strict, fromBlock, toBlock> | undefined) => Promise<viem0.GetLogsReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock>>;
859
625
  getProof: (args: viem0.GetProofParameters) => Promise<viem0.GetProofReturnType>;
860
626
  estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: {
861
- chain: chainOverride | null;
627
+ chain?: chainOverride | null | undefined;
862
628
  } | undefined) => Promise<viem0.EstimateMaxPriorityFeePerGasReturnType>;
863
629
  getStorageAt: (args: viem0.GetStorageAtParameters) => Promise<viem0.GetStorageAtReturnType>;
864
630
  getTransaction: <blockTag extends viem0.BlockTag = "latest">(args: viem0.GetTransactionParameters<blockTag>) => Promise<{
@@ -987,11 +753,11 @@ declare const getPublicClient: (options: ClientOptions) => {
987
753
  blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
988
754
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never;
989
755
  }>;
990
- getTransactionConfirmations: (args: viem0.GetTransactionConfirmationsParameters<Chain | undefined>) => Promise<viem0.GetTransactionConfirmationsReturnType>;
756
+ getTransactionConfirmations: (args: viem0.GetTransactionConfirmationsParameters<Chain>) => Promise<viem0.GetTransactionConfirmationsReturnType>;
991
757
  getTransactionCount: (args: viem0.GetTransactionCountParameters) => Promise<viem0.GetTransactionCountReturnType>;
992
758
  getTransactionReceipt: (args: viem0.GetTransactionReceiptParameters) => Promise<viem0.TransactionReceipt>;
993
759
  multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: viem0.MulticallParameters<contracts, allowFailure>) => Promise<viem0.MulticallReturnType<contracts, allowFailure>>;
994
- prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain | undefined, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain | undefined, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain | undefined, chainOverride> ? T_1 extends Chain ? {
760
+ prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain, viem0.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain, chainOverride> ? T_1 extends Chain ? {
995
761
  chain: T_1;
996
762
  } : {
997
763
  chain?: undefined;
@@ -4249,7 +4015,7 @@ declare const getPublicClient: (options: ClientOptions) => {
4249
4015
  simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
4250
4016
  simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
4251
4017
  simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
4252
- simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain | undefined, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain | undefined, viem0.Account | undefined, chainOverride, accountOverride>>;
4018
+ simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain, viem0.Account | undefined, chainOverride, accountOverride>>;
4253
4019
  verifyMessage: (args: viem0.VerifyMessageActionParameters) => Promise<viem0.VerifyMessageActionReturnType>;
4254
4020
  verifySiweMessage: (args: {
4255
4021
  blockNumber?: bigint | undefined | undefined;
@@ -4264,12 +4030,12 @@ declare const getPublicClient: (options: ClientOptions) => {
4264
4030
  }) => Promise<boolean>;
4265
4031
  verifyTypedData: (args: viem0.VerifyTypedDataActionParameters) => Promise<viem0.VerifyTypedDataActionReturnType>;
4266
4032
  uninstallFilter: (args: viem0.UninstallFilterParameters) => Promise<viem0.UninstallFilterReturnType>;
4267
- waitForTransactionReceipt: (args: viem0.WaitForTransactionReceiptParameters<Chain | undefined>) => Promise<viem0.TransactionReceipt>;
4033
+ waitForTransactionReceipt: (args: viem0.WaitForTransactionReceiptParameters<Chain>) => Promise<viem0.TransactionReceipt>;
4268
4034
  watchBlockNumber: (args: viem0.WatchBlockNumberParameters) => viem0.WatchBlockNumberReturnType;
4269
- watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<viem0.Transport, Chain | undefined, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
4270
- watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, viem0.Transport>) => viem0.WatchContractEventReturnType;
4271
- watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, viem0.Transport>) => viem0.WatchEventReturnType;
4272
- watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<viem0.Transport>) => viem0.WatchPendingTransactionsReturnType;
4035
+ watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<Transport, Chain, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
4036
+ watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, Transport>) => viem0.WatchContractEventReturnType;
4037
+ watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, Transport>) => viem0.WatchEventReturnType;
4038
+ watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<Transport>) => viem0.WatchPendingTransactionsReturnType;
4273
4039
  extend: <const client extends {
4274
4040
  [x: string]: unknown;
4275
4041
  account?: undefined;
@@ -4285,533 +4051,28 @@ declare const getPublicClient: (options: ClientOptions) => {
4285
4051
  transport?: undefined;
4286
4052
  type?: undefined;
4287
4053
  uid?: undefined;
4288
- } & viem0.ExactPartial<Pick<viem0.PublicActions<viem0.Transport, Chain | undefined, viem0.Account | {
4289
- address: `0x${string}`;
4290
- type: "json-rpc";
4291
- } | undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain | undefined, viem0.Account | {
4292
- address: `0x${string}`;
4293
- type: "json-rpc";
4294
- } | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<viem0.Transport, Chain | undefined, viem0.Account | {
4295
- address: `0x${string}`;
4296
- type: "json-rpc";
4297
- } | undefined, viem0.PublicRpcSchema | [{
4298
- Method: "web3_clientVersion";
4299
- Parameters?: undefined;
4300
- ReturnType: string;
4301
- }, {
4302
- Method: "web3_sha3";
4303
- Parameters: [data: viem0.Hash];
4304
- ReturnType: string;
4305
- }, {
4306
- Method: "net_listening";
4307
- Parameters?: undefined;
4308
- ReturnType: boolean;
4309
- }, {
4310
- Method: "net_peerCount";
4311
- Parameters?: undefined;
4312
- ReturnType: viem0.Quantity;
4313
- }, {
4314
- Method: "net_version";
4315
- Parameters?: undefined;
4316
- ReturnType: viem0.Quantity;
4317
- }, {
4318
- Method: "eth_blobBaseFee";
4319
- Parameters?: undefined;
4320
- ReturnType: viem0.Quantity;
4321
- }, {
4322
- Method: "eth_blockNumber";
4323
- Parameters?: undefined;
4324
- ReturnType: viem0.Quantity;
4325
- }, {
4326
- Method: "eth_call";
4327
- Parameters: readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride, blockOverrides: viem0.RpcBlockOverrides];
4328
- ReturnType: viem0.Hex;
4329
- }, {
4330
- Method: "eth_createAccessList";
4331
- Parameters: [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4332
- ReturnType: {
4333
- accessList: viem0.AccessList;
4334
- gasUsed: viem0.Quantity;
4335
- };
4336
- }, {
4337
- Method: "eth_chainId";
4338
- Parameters?: undefined;
4339
- ReturnType: viem0.Quantity;
4340
- }, {
4341
- Method: "eth_coinbase";
4342
- Parameters?: undefined;
4343
- ReturnType: viem0.Address;
4344
- }, {
4345
- Method: "eth_estimateGas";
4346
- Parameters: [transaction: viem0.RpcTransactionRequest] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag, stateOverride: viem0.RpcStateOverride];
4347
- ReturnType: viem0.Quantity;
4348
- }, {
4349
- Method: "eth_feeHistory";
4350
- Parameters: [blockCount: viem0.Quantity, newestBlock: viem0.RpcBlockNumber | viem0.BlockTag, rewardPercentiles: number[] | undefined];
4351
- ReturnType: viem0.RpcFeeHistory;
4352
- }, {
4353
- Method: "eth_gasPrice";
4354
- Parameters?: undefined;
4355
- ReturnType: viem0.Quantity;
4356
- }, {
4357
- Method: "eth_getBalance";
4358
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4359
- ReturnType: viem0.Quantity;
4360
- }, {
4361
- Method: "eth_getBlockByHash";
4362
- Parameters: [hash: viem0.Hash, includeTransactionObjects: boolean];
4363
- ReturnType: viem0.RpcBlock | null;
4364
- }, {
4365
- Method: "eth_getBlockByNumber";
4366
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, includeTransactionObjects: boolean];
4367
- ReturnType: viem0.RpcBlock | null;
4368
- }, {
4369
- Method: "eth_getBlockTransactionCountByHash";
4370
- Parameters: [hash: viem0.Hash];
4371
- ReturnType: viem0.Quantity;
4372
- }, {
4373
- Method: "eth_getBlockTransactionCountByNumber";
4374
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
4375
- ReturnType: viem0.Quantity;
4376
- }, {
4377
- Method: "eth_getCode";
4378
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4379
- ReturnType: viem0.Hex;
4380
- }, {
4381
- Method: "eth_getFilterChanges";
4382
- Parameters: [filterId: viem0.Quantity];
4383
- ReturnType: viem0.RpcLog[] | viem0.Hex[];
4384
- }, {
4385
- Method: "eth_getFilterLogs";
4386
- Parameters: [filterId: viem0.Quantity];
4387
- ReturnType: viem0.RpcLog[];
4388
- }, {
4389
- Method: "eth_getLogs";
4390
- Parameters: [{
4391
- address?: viem0.Address | viem0.Address[] | undefined;
4392
- topics?: viem0.LogTopic[] | undefined;
4393
- } & ({
4394
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4395
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4396
- blockHash?: undefined;
4397
- } | {
4398
- fromBlock?: undefined;
4399
- toBlock?: undefined;
4400
- blockHash?: viem0.Hash | undefined;
4401
- })];
4402
- ReturnType: viem0.RpcLog[];
4403
- }, {
4404
- Method: "eth_getProof";
4405
- Parameters: [address: viem0.Address, storageKeys: viem0.Hash[], block: viem0.RpcBlockNumber | viem0.BlockTag];
4406
- ReturnType: viem0.RpcProof;
4407
- }, {
4408
- Method: "eth_getStorageAt";
4409
- Parameters: [address: viem0.Address, index: viem0.Quantity, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4410
- ReturnType: viem0.Hex;
4411
- }, {
4412
- Method: "eth_getTransactionByBlockHashAndIndex";
4413
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
4414
- ReturnType: viem0.RpcTransaction | null;
4415
- }, {
4416
- Method: "eth_getTransactionByBlockNumberAndIndex";
4417
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
4418
- ReturnType: viem0.RpcTransaction | null;
4419
- }, {
4420
- Method: "eth_getTransactionByHash";
4421
- Parameters: [hash: viem0.Hash];
4422
- ReturnType: viem0.RpcTransaction | null;
4423
- }, {
4424
- Method: "eth_getTransactionCount";
4425
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4426
- ReturnType: viem0.Quantity;
4427
- }, {
4428
- Method: "eth_getTransactionReceipt";
4429
- Parameters: [hash: viem0.Hash];
4430
- ReturnType: viem0.RpcTransactionReceipt | null;
4431
- }, {
4432
- Method: "eth_getUncleByBlockHashAndIndex";
4433
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
4434
- ReturnType: viem0.RpcUncle | null;
4435
- }, {
4436
- Method: "eth_getUncleByBlockNumberAndIndex";
4437
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
4438
- ReturnType: viem0.RpcUncle | null;
4439
- }, {
4440
- Method: "eth_getUncleCountByBlockHash";
4441
- Parameters: [hash: viem0.Hash];
4442
- ReturnType: viem0.Quantity;
4443
- }, {
4444
- Method: "eth_getUncleCountByBlockNumber";
4445
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
4446
- ReturnType: viem0.Quantity;
4447
- }, {
4448
- Method: "eth_maxPriorityFeePerGas";
4449
- Parameters?: undefined;
4450
- ReturnType: viem0.Quantity;
4451
- }, {
4452
- Method: "eth_newBlockFilter";
4453
- Parameters?: undefined;
4454
- ReturnType: viem0.Quantity;
4455
- }, {
4456
- Method: "eth_newFilter";
4457
- Parameters: [filter: {
4458
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4459
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4460
- address?: viem0.Address | viem0.Address[] | undefined;
4461
- topics?: viem0.LogTopic[] | undefined;
4462
- }];
4463
- ReturnType: viem0.Quantity;
4464
- }, {
4465
- Method: "eth_newPendingTransactionFilter";
4466
- Parameters?: undefined;
4467
- ReturnType: viem0.Quantity;
4468
- }, {
4469
- Method: "eth_protocolVersion";
4470
- Parameters?: undefined;
4471
- ReturnType: string;
4472
- }, {
4473
- Method: "eth_sendRawTransaction";
4474
- Parameters: [signedTransaction: viem0.Hex];
4475
- ReturnType: viem0.Hash;
4476
- }, {
4477
- Method: "eth_simulateV1";
4478
- Parameters: [{
4479
- blockStateCalls: readonly {
4480
- blockOverrides?: viem0.RpcBlockOverrides | undefined;
4481
- calls?: readonly viem0.ExactPartial<viem0.RpcTransactionRequest>[] | undefined;
4482
- stateOverrides?: viem0.RpcStateOverride | undefined;
4483
- }[];
4484
- returnFullTransactions?: boolean | undefined;
4485
- traceTransfers?: boolean | undefined;
4486
- validation?: boolean | undefined;
4487
- }, viem0.RpcBlockNumber | viem0.BlockTag];
4488
- ReturnType: readonly (viem0.RpcBlock & {
4489
- calls: readonly {
4490
- error?: {
4491
- data?: viem0.Hex | undefined;
4492
- code: number;
4493
- message: string;
4494
- } | undefined;
4495
- logs?: readonly viem0.RpcLog[] | undefined;
4496
- gasUsed: viem0.Hex;
4497
- returnData: viem0.Hex;
4498
- status: viem0.Hex;
4499
- }[];
4500
- })[];
4501
- }, {
4502
- Method: "eth_uninstallFilter";
4503
- Parameters: [filterId: viem0.Quantity];
4504
- ReturnType: boolean;
4505
- }, ...{
4506
- Method: string;
4507
- Parameters?: unknown | undefined;
4508
- ReturnType: unknown;
4509
- }[]], viem0.PublicActions<viem0.Transport, Chain | undefined>>) => client) => viem0.Client<viem0.Transport, Chain | undefined, viem0.Account | {
4510
- address: `0x${string}`;
4511
- type: "json-rpc";
4512
- } | undefined, viem0.PublicRpcSchema | [{
4513
- Method: "web3_clientVersion";
4514
- Parameters?: undefined;
4515
- ReturnType: string;
4516
- }, {
4517
- Method: "web3_sha3";
4518
- Parameters: [data: viem0.Hash];
4519
- ReturnType: string;
4520
- }, {
4521
- Method: "net_listening";
4522
- Parameters?: undefined;
4523
- ReturnType: boolean;
4524
- }, {
4525
- Method: "net_peerCount";
4526
- Parameters?: undefined;
4527
- ReturnType: viem0.Quantity;
4528
- }, {
4529
- Method: "net_version";
4530
- Parameters?: undefined;
4531
- ReturnType: viem0.Quantity;
4532
- }, {
4533
- Method: "eth_blobBaseFee";
4534
- Parameters?: undefined;
4535
- ReturnType: viem0.Quantity;
4536
- }, {
4537
- Method: "eth_blockNumber";
4538
- Parameters?: undefined;
4539
- ReturnType: viem0.Quantity;
4540
- }, {
4541
- Method: "eth_call";
4542
- Parameters: readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride] | readonly [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier, stateOverrideSet: viem0.RpcStateOverride, blockOverrides: viem0.RpcBlockOverrides];
4543
- ReturnType: viem0.Hex;
4544
- }, {
4545
- Method: "eth_createAccessList";
4546
- Parameters: [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>] | [transaction: viem0.ExactPartial<viem0.RpcTransactionRequest>, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4547
- ReturnType: {
4548
- accessList: viem0.AccessList;
4549
- gasUsed: viem0.Quantity;
4550
- };
4551
- }, {
4552
- Method: "eth_chainId";
4553
- Parameters?: undefined;
4554
- ReturnType: viem0.Quantity;
4555
- }, {
4556
- Method: "eth_coinbase";
4557
- Parameters?: undefined;
4558
- ReturnType: viem0.Address;
4559
- }, {
4560
- Method: "eth_estimateGas";
4561
- Parameters: [transaction: viem0.RpcTransactionRequest] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag] | [transaction: viem0.RpcTransactionRequest, block: viem0.RpcBlockNumber | viem0.BlockTag, stateOverride: viem0.RpcStateOverride];
4562
- ReturnType: viem0.Quantity;
4563
- }, {
4564
- Method: "eth_feeHistory";
4565
- Parameters: [blockCount: viem0.Quantity, newestBlock: viem0.RpcBlockNumber | viem0.BlockTag, rewardPercentiles: number[] | undefined];
4566
- ReturnType: viem0.RpcFeeHistory;
4567
- }, {
4568
- Method: "eth_gasPrice";
4569
- Parameters?: undefined;
4570
- ReturnType: viem0.Quantity;
4571
- }, {
4572
- Method: "eth_getBalance";
4573
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4574
- ReturnType: viem0.Quantity;
4575
- }, {
4576
- Method: "eth_getBlockByHash";
4577
- Parameters: [hash: viem0.Hash, includeTransactionObjects: boolean];
4578
- ReturnType: viem0.RpcBlock | null;
4579
- }, {
4580
- Method: "eth_getBlockByNumber";
4581
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, includeTransactionObjects: boolean];
4582
- ReturnType: viem0.RpcBlock | null;
4583
- }, {
4584
- Method: "eth_getBlockTransactionCountByHash";
4585
- Parameters: [hash: viem0.Hash];
4586
- ReturnType: viem0.Quantity;
4587
- }, {
4588
- Method: "eth_getBlockTransactionCountByNumber";
4589
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
4590
- ReturnType: viem0.Quantity;
4591
- }, {
4592
- Method: "eth_getCode";
4593
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4594
- ReturnType: viem0.Hex;
4595
- }, {
4596
- Method: "eth_getFilterChanges";
4597
- Parameters: [filterId: viem0.Quantity];
4598
- ReturnType: viem0.RpcLog[] | viem0.Hex[];
4599
- }, {
4600
- Method: "eth_getFilterLogs";
4601
- Parameters: [filterId: viem0.Quantity];
4602
- ReturnType: viem0.RpcLog[];
4603
- }, {
4604
- Method: "eth_getLogs";
4605
- Parameters: [{
4606
- address?: viem0.Address | viem0.Address[] | undefined;
4607
- topics?: viem0.LogTopic[] | undefined;
4608
- } & ({
4609
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4610
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4611
- blockHash?: undefined;
4612
- } | {
4613
- fromBlock?: undefined;
4614
- toBlock?: undefined;
4615
- blockHash?: viem0.Hash | undefined;
4616
- })];
4617
- ReturnType: viem0.RpcLog[];
4618
- }, {
4619
- Method: "eth_getProof";
4620
- Parameters: [address: viem0.Address, storageKeys: viem0.Hash[], block: viem0.RpcBlockNumber | viem0.BlockTag];
4621
- ReturnType: viem0.RpcProof;
4622
- }, {
4623
- Method: "eth_getStorageAt";
4624
- Parameters: [address: viem0.Address, index: viem0.Quantity, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4625
- ReturnType: viem0.Hex;
4626
- }, {
4627
- Method: "eth_getTransactionByBlockHashAndIndex";
4628
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
4629
- ReturnType: viem0.RpcTransaction | null;
4630
- }, {
4631
- Method: "eth_getTransactionByBlockNumberAndIndex";
4632
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
4633
- ReturnType: viem0.RpcTransaction | null;
4634
- }, {
4635
- Method: "eth_getTransactionByHash";
4636
- Parameters: [hash: viem0.Hash];
4637
- ReturnType: viem0.RpcTransaction | null;
4638
- }, {
4639
- Method: "eth_getTransactionCount";
4640
- Parameters: [address: viem0.Address, block: viem0.RpcBlockNumber | viem0.BlockTag | viem0.RpcBlockIdentifier];
4641
- ReturnType: viem0.Quantity;
4642
- }, {
4643
- Method: "eth_getTransactionReceipt";
4644
- Parameters: [hash: viem0.Hash];
4645
- ReturnType: viem0.RpcTransactionReceipt | null;
4646
- }, {
4647
- Method: "eth_getUncleByBlockHashAndIndex";
4648
- Parameters: [hash: viem0.Hash, index: viem0.Quantity];
4649
- ReturnType: viem0.RpcUncle | null;
4650
- }, {
4651
- Method: "eth_getUncleByBlockNumberAndIndex";
4652
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag, index: viem0.Quantity];
4653
- ReturnType: viem0.RpcUncle | null;
4654
- }, {
4655
- Method: "eth_getUncleCountByBlockHash";
4656
- Parameters: [hash: viem0.Hash];
4657
- ReturnType: viem0.Quantity;
4658
- }, {
4659
- Method: "eth_getUncleCountByBlockNumber";
4660
- Parameters: [block: viem0.RpcBlockNumber | viem0.BlockTag];
4661
- ReturnType: viem0.Quantity;
4662
- }, {
4663
- Method: "eth_maxPriorityFeePerGas";
4664
- Parameters?: undefined;
4665
- ReturnType: viem0.Quantity;
4666
- }, {
4667
- Method: "eth_newBlockFilter";
4668
- Parameters?: undefined;
4669
- ReturnType: viem0.Quantity;
4670
- }, {
4671
- Method: "eth_newFilter";
4672
- Parameters: [filter: {
4673
- fromBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4674
- toBlock?: viem0.RpcBlockNumber | viem0.BlockTag | undefined;
4675
- address?: viem0.Address | viem0.Address[] | undefined;
4676
- topics?: viem0.LogTopic[] | undefined;
4677
- }];
4678
- ReturnType: viem0.Quantity;
4679
- }, {
4680
- Method: "eth_newPendingTransactionFilter";
4681
- Parameters?: undefined;
4682
- ReturnType: viem0.Quantity;
4683
- }, {
4684
- Method: "eth_protocolVersion";
4685
- Parameters?: undefined;
4686
- ReturnType: string;
4687
- }, {
4688
- Method: "eth_sendRawTransaction";
4689
- Parameters: [signedTransaction: viem0.Hex];
4690
- ReturnType: viem0.Hash;
4691
- }, {
4692
- Method: "eth_simulateV1";
4693
- Parameters: [{
4694
- blockStateCalls: readonly {
4695
- blockOverrides?: viem0.RpcBlockOverrides | undefined;
4696
- calls?: readonly viem0.ExactPartial<viem0.RpcTransactionRequest>[] | undefined;
4697
- stateOverrides?: viem0.RpcStateOverride | undefined;
4698
- }[];
4699
- returnFullTransactions?: boolean | undefined;
4700
- traceTransfers?: boolean | undefined;
4701
- validation?: boolean | undefined;
4702
- }, viem0.RpcBlockNumber | viem0.BlockTag];
4703
- ReturnType: readonly (viem0.RpcBlock & {
4704
- calls: readonly {
4705
- error?: {
4706
- data?: viem0.Hex | undefined;
4707
- code: number;
4708
- message: string;
4709
- } | undefined;
4710
- logs?: readonly viem0.RpcLog[] | undefined;
4711
- gasUsed: viem0.Hex;
4712
- returnData: viem0.Hex;
4713
- status: viem0.Hex;
4714
- }[];
4715
- })[];
4716
- }, {
4717
- Method: "eth_uninstallFilter";
4718
- Parameters: [filterId: viem0.Quantity];
4719
- ReturnType: boolean;
4720
- }, ...{
4721
- Method: string;
4722
- Parameters?: unknown | undefined;
4723
- ReturnType: unknown;
4724
- }[]], { [K in keyof client]: client[K] } & viem0.PublicActions<viem0.Transport, Chain | undefined>>;
4725
- } | viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, {
4726
- anvilSetBalance: (args: AnvilSetBalanceParameters) => Promise<unknown>;
4727
- } & viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>;
4728
- /**
4729
- * The options for the wallet client.
4730
- */
4731
- interface WalletVerificationOptions {
4732
- /**
4733
- * The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications.
4734
- */
4735
- verificationId?: string;
4736
- /**
4737
- * The challenge id (used for HD wallets)
4738
- */
4739
- challengeId?: string;
4740
- /**
4741
- * The challenge response (used for HD wallets)
4742
- */
4743
- challengeResponse: string;
4744
- }
4745
- /**
4746
- * Creates a factory function for wallet clients with runtime verification support.
4747
- *
4748
- * @remarks
4749
- * DESIGN PATTERN: Returns a factory function rather than a client instance because
4750
- * wallet operations require runtime verification parameters (challenge responses, etc.)
4751
- * that cannot be known at factory creation time.
4752
- *
4753
- * SECURITY: Verification headers are injected per-operation to support:
4754
- * - HD wallet challenge/response flows
4755
- * - Multi-signature verification workflows
4756
- * - Time-sensitive authentication tokens
4757
- *
4758
- * PERFORMANCE: Factory caching amortizes expensive setup (chain resolution, transport config)
4759
- * while allowing runtime parameter injection for each wallet operation.
4760
- *
4761
- * FEATURE EXTENSIONS: Automatically extends client with SettleMint-specific wallet actions:
4762
- * - Wallet creation and management
4763
- * - Verification challenge handling
4764
- * - Multi-factor authentication flows
4765
- *
4766
- * @param options - Base client configuration (chain, RPC, auth)
4767
- * @returns Factory function that accepts runtime verification options
4768
- * @throws ValidationError when options don't match required schema
4769
- *
4770
- * @example
4771
- * ```ts
4772
- * import { getWalletClient } from '@settlemint/sdk-viem';
4773
- * import { parseAbi } from "viem";
4774
- *
4775
- * const walletClient = getWalletClient({
4776
- * accessToken: process.env.SETTLEMINT_ACCESS_TOKEN,
4777
- * chainId: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID!,
4778
- * chainName: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK!,
4779
- * rpcUrl: process.env.SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT!,
4780
- * });
4781
- *
4782
- * // Get the chain id
4783
- * const chainId = await walletClient().getChainId();
4784
- * console.log(chainId);
4785
- *
4786
- * // write to the blockchain
4787
- * const transactionHash = await walletClient().writeContract({
4788
- * account: "0x0000000000000000000000000000000000000000",
4789
- * address: "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2",
4790
- * abi: parseAbi(["function mint(uint32 tokenId) nonpayable"]),
4791
- * functionName: "mint",
4792
- * args: [69420],
4793
- * });
4794
- * console.log(transactionHash);
4795
- * ```
4796
- */
4797
- declare const getWalletClient: (options: ClientOptions) => (verificationOptions?: WalletVerificationOptions) => ReturnType<typeof createWalletClientWithCustomMethods>;
4798
- declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof getChain>, validatedOptions: ClientOptions, verificationOptions?: WalletVerificationOptions) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.WalletRpcSchema, {
4799
- verifyWalletVerificationChallenge: (args: VerifyWalletVerificationChallengeParameters) => Promise<VerifyWalletVerificationChallengeResponse>;
4800
- } & {
4801
- createWalletVerificationChallenges: (args: CreateWalletVerificationChallengesParameters) => Promise<CreateWalletVerificationChallengesResponse>;
4802
- } & {
4803
- createWalletVerificationChallenge: (args: CreateWalletVerificationChallengeParameters) => Promise<CreateWalletVerificationChallengeResponse>;
4804
- } & {
4805
- deleteWalletVerification: (args: DeleteWalletVerificationParameters) => Promise<DeleteWalletVerificationResponse[]>;
4806
- } & {
4807
- createWalletVerification: (args: CreateWalletVerificationParameters) => Promise<CreateWalletVerificationResponse[]>;
4808
- } & {
4809
- getWalletVerifications: (args: GetWalletVerificationsParameters) => Promise<GetWalletVerificationsResponse>;
4810
- } & {
4811
- createWallet: (args: CreateWalletParameters) => Promise<CreateWalletResponse[]>;
4812
- } & {
4813
- anvilSetBalance: (args: AnvilSetBalanceParameters) => Promise<unknown>;
4814
- } & {
4054
+ } & viem0.ExactPartial<Pick<viem0.PublicActions<Transport, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<Transport, Chain>>) => client) => viem0.Client<Transport, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<Transport, Chain>>;
4055
+ } | {
4056
+ account: undefined;
4057
+ batch?: {
4058
+ multicall?: boolean | chains.Prettify<viem0.MulticallBatchOptions> | undefined;
4059
+ } | undefined;
4060
+ cacheTime: number;
4061
+ ccipRead?: false | {
4062
+ request?: (parameters: viem0.CcipRequestParameters) => Promise<`0x${string}`>;
4063
+ } | undefined;
4064
+ chain: Chain;
4065
+ experimental_blockTag?: viem0.BlockTag | undefined;
4066
+ key: string;
4067
+ name: string;
4068
+ pollingInterval: number;
4069
+ request: viem0.EIP1193RequestFn<viem0.PublicRpcSchema>;
4070
+ transport: viem0.TransportConfig<"http", viem0.EIP1193RequestFn> & {
4071
+ fetchOptions?: HttpTransportConfig["fetchOptions"] | undefined;
4072
+ url?: string | undefined;
4073
+ };
4074
+ type: string;
4075
+ uid: string;
4815
4076
  call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
4816
4077
  createAccessList: (parameters: viem0.CreateAccessListParameters<Chain>) => Promise<{
4817
4078
  accessList: viem0.AccessList;
@@ -4829,7 +4090,6 @@ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof get
4829
4090
  number: blockTag extends "pending" ? null : bigint;
4830
4091
  nonce: blockTag extends "pending" ? null : `0x${string}`;
4831
4092
  hash: blockTag extends "pending" ? null : `0x${string}`;
4832
- gasUsed: bigint;
4833
4093
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
4834
4094
  baseFeePerGas: bigint | null;
4835
4095
  blobGasUsed: bigint;
@@ -4837,6 +4097,3708 @@ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof get
4837
4097
  excessBlobGas: bigint;
4838
4098
  extraData: viem0.Hex;
4839
4099
  gasLimit: bigint;
4100
+ gasUsed: bigint;
4101
+ miner: viem0.Address;
4102
+ mixHash: viem0.Hash;
4103
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
4104
+ parentHash: viem0.Hash;
4105
+ receiptsRoot: viem0.Hex;
4106
+ sealFields: viem0.Hex[];
4107
+ sha3Uncles: viem0.Hash;
4108
+ size: bigint;
4109
+ stateRoot: viem0.Hash;
4110
+ timestamp: bigint;
4111
+ totalDifficulty: bigint | null;
4112
+ transactionsRoot: viem0.Hash;
4113
+ uncles: viem0.Hash[];
4114
+ withdrawals?: viem0.Withdrawal[] | undefined | undefined;
4115
+ withdrawalsRoot?: `0x${string}` | undefined;
4116
+ transactions: includeTransactions extends true ? ({
4117
+ chainId?: number | undefined;
4118
+ input: viem0.Hex;
4119
+ type: "legacy";
4120
+ to: viem0.Address | null;
4121
+ from: viem0.Address;
4122
+ gas: bigint;
4123
+ nonce: number;
4124
+ value: bigint;
4125
+ maxFeePerBlobGas?: undefined | undefined;
4126
+ gasPrice: bigint;
4127
+ maxFeePerGas?: undefined | undefined;
4128
+ maxPriorityFeePerGas?: undefined | undefined;
4129
+ accessList?: undefined | undefined;
4130
+ blobVersionedHashes?: undefined | undefined;
4131
+ authorizationList?: undefined | undefined;
4132
+ hash: viem0.Hash;
4133
+ r: viem0.Hex;
4134
+ s: viem0.Hex;
4135
+ v: bigint;
4136
+ yParity?: undefined | undefined;
4137
+ typeHex: viem0.Hex | null;
4138
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
4139
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
4140
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
4141
+ } | {
4142
+ chainId: number;
4143
+ input: viem0.Hex;
4144
+ type: "eip2930";
4145
+ to: viem0.Address | null;
4146
+ from: viem0.Address;
4147
+ gas: bigint;
4148
+ nonce: number;
4149
+ value: bigint;
4150
+ maxFeePerBlobGas?: undefined | undefined;
4151
+ gasPrice: bigint;
4152
+ maxFeePerGas?: undefined | undefined;
4153
+ maxPriorityFeePerGas?: undefined | undefined;
4154
+ accessList: viem0.AccessList;
4155
+ blobVersionedHashes?: undefined | undefined;
4156
+ authorizationList?: undefined | undefined;
4157
+ hash: viem0.Hash;
4158
+ r: viem0.Hex;
4159
+ s: viem0.Hex;
4160
+ v: bigint;
4161
+ yParity: number;
4162
+ typeHex: viem0.Hex | null;
4163
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
4164
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
4165
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
4166
+ } | {
4167
+ chainId: number;
4168
+ input: viem0.Hex;
4169
+ type: "eip1559";
4170
+ to: viem0.Address | null;
4171
+ from: viem0.Address;
4172
+ gas: bigint;
4173
+ nonce: number;
4174
+ value: bigint;
4175
+ maxFeePerBlobGas?: undefined | undefined;
4176
+ gasPrice?: undefined | undefined;
4177
+ maxFeePerGas: bigint;
4178
+ maxPriorityFeePerGas: bigint;
4179
+ accessList: viem0.AccessList;
4180
+ blobVersionedHashes?: undefined | undefined;
4181
+ authorizationList?: undefined | undefined;
4182
+ hash: viem0.Hash;
4183
+ r: viem0.Hex;
4184
+ s: viem0.Hex;
4185
+ v: bigint;
4186
+ yParity: number;
4187
+ typeHex: viem0.Hex | null;
4188
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
4189
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
4190
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
4191
+ } | {
4192
+ chainId: number;
4193
+ input: viem0.Hex;
4194
+ type: "eip4844";
4195
+ to: viem0.Address | null;
4196
+ from: viem0.Address;
4197
+ gas: bigint;
4198
+ nonce: number;
4199
+ value: bigint;
4200
+ maxFeePerBlobGas: bigint;
4201
+ gasPrice?: undefined | undefined;
4202
+ maxFeePerGas: bigint;
4203
+ maxPriorityFeePerGas: bigint;
4204
+ accessList: viem0.AccessList;
4205
+ blobVersionedHashes: readonly viem0.Hex[];
4206
+ authorizationList?: undefined | undefined;
4207
+ hash: viem0.Hash;
4208
+ r: viem0.Hex;
4209
+ s: viem0.Hex;
4210
+ v: bigint;
4211
+ yParity: number;
4212
+ typeHex: viem0.Hex | null;
4213
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
4214
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
4215
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
4216
+ } | {
4217
+ chainId: number;
4218
+ input: viem0.Hex;
4219
+ type: "eip7702";
4220
+ to: viem0.Address | null;
4221
+ from: viem0.Address;
4222
+ gas: bigint;
4223
+ nonce: number;
4224
+ value: bigint;
4225
+ maxFeePerBlobGas?: undefined | undefined;
4226
+ gasPrice?: undefined | undefined;
4227
+ maxFeePerGas: bigint;
4228
+ maxPriorityFeePerGas: bigint;
4229
+ accessList: viem0.AccessList;
4230
+ blobVersionedHashes?: undefined | undefined;
4231
+ authorizationList: viem0.SignedAuthorizationList;
4232
+ hash: viem0.Hash;
4233
+ r: viem0.Hex;
4234
+ s: viem0.Hex;
4235
+ v: bigint;
4236
+ yParity: number;
4237
+ typeHex: viem0.Hex | null;
4238
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
4239
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
4240
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never;
4241
+ })[] : `0x${string}`[];
4242
+ }>;
4243
+ getBlockNumber: (args?: viem0.GetBlockNumberParameters | undefined) => Promise<viem0.GetBlockNumberReturnType>;
4244
+ getBlockTransactionCount: (args?: viem0.GetBlockTransactionCountParameters | undefined) => Promise<viem0.GetBlockTransactionCountReturnType>;
4245
+ getBytecode: (args: viem0.GetBytecodeParameters) => Promise<viem0.GetBytecodeReturnType>;
4246
+ getChainId: () => Promise<viem0.GetChainIdReturnType>;
4247
+ getCode: (args: viem0.GetBytecodeParameters) => Promise<viem0.GetBytecodeReturnType>;
4248
+ getContractEvents: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
4249
+ getEip712Domain: (args: viem0.GetEip712DomainParameters) => Promise<viem0.GetEip712DomainReturnType>;
4250
+ getEnsAddress: (args: viem0.GetEnsAddressParameters) => Promise<viem0.GetEnsAddressReturnType>;
4251
+ getEnsAvatar: (args: viem0.GetEnsAvatarParameters) => Promise<viem0.GetEnsAvatarReturnType>;
4252
+ getEnsName: (args: viem0.GetEnsNameParameters) => Promise<viem0.GetEnsNameReturnType>;
4253
+ getEnsResolver: (args: viem0.GetEnsResolverParameters) => Promise<viem0.GetEnsResolverReturnType>;
4254
+ getEnsText: (args: viem0.GetEnsTextParameters) => Promise<viem0.GetEnsTextReturnType>;
4255
+ getFeeHistory: (args: viem0.GetFeeHistoryParameters) => Promise<viem0.GetFeeHistoryReturnType>;
4256
+ estimateFeesPerGas: <chainOverride extends Chain | undefined = undefined, type extends viem0.FeeValuesType = "eip1559">(args?: viem0.EstimateFeesPerGasParameters<Chain, chainOverride, type> | undefined) => Promise<viem0.EstimateFeesPerGasReturnType<type>>;
4257
+ getFilterChanges: <filterType extends viem0.FilterType, const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterChangesParameters<filterType, abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterChangesReturnType<filterType, abi, eventName, strict, fromBlock, toBlock>>;
4258
+ getFilterLogs: <const abi extends viem0.Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.GetFilterLogsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<viem0.GetFilterLogsReturnType<abi, eventName, strict, fromBlock, toBlock>>;
4259
+ getGasPrice: () => Promise<viem0.GetGasPriceReturnType>;
4260
+ getLogs: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args?: viem0.GetLogsParameters<abiEvent, abiEvents, strict, fromBlock, toBlock> | undefined) => Promise<viem0.GetLogsReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock>>;
4261
+ getProof: (args: viem0.GetProofParameters) => Promise<viem0.GetProofReturnType>;
4262
+ estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: {
4263
+ chain?: chainOverride | null | undefined;
4264
+ } | undefined) => Promise<viem0.EstimateMaxPriorityFeePerGasReturnType>;
4265
+ getStorageAt: (args: viem0.GetStorageAtParameters) => Promise<viem0.GetStorageAtReturnType>;
4266
+ getTransaction: <blockTag extends viem0.BlockTag = "latest">(args: viem0.GetTransactionParameters<blockTag>) => Promise<{
4267
+ chainId?: number | undefined;
4268
+ input: viem0.Hex;
4269
+ type: "legacy";
4270
+ to: viem0.Address | null;
4271
+ from: viem0.Address;
4272
+ gas: bigint;
4273
+ nonce: number;
4274
+ value: bigint;
4275
+ maxFeePerBlobGas?: undefined | undefined;
4276
+ gasPrice: bigint;
4277
+ maxFeePerGas?: undefined | undefined;
4278
+ maxPriorityFeePerGas?: undefined | undefined;
4279
+ accessList?: undefined | undefined;
4280
+ blobVersionedHashes?: undefined | undefined;
4281
+ authorizationList?: undefined | undefined;
4282
+ hash: viem0.Hash;
4283
+ r: viem0.Hex;
4284
+ s: viem0.Hex;
4285
+ v: bigint;
4286
+ yParity?: undefined | undefined;
4287
+ typeHex: viem0.Hex | null;
4288
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
4289
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
4290
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
4291
+ } | {
4292
+ chainId: number;
4293
+ input: viem0.Hex;
4294
+ type: "eip2930";
4295
+ to: viem0.Address | null;
4296
+ from: viem0.Address;
4297
+ gas: bigint;
4298
+ nonce: number;
4299
+ value: bigint;
4300
+ maxFeePerBlobGas?: undefined | undefined;
4301
+ gasPrice: bigint;
4302
+ maxFeePerGas?: undefined | undefined;
4303
+ maxPriorityFeePerGas?: undefined | undefined;
4304
+ accessList: viem0.AccessList;
4305
+ blobVersionedHashes?: undefined | undefined;
4306
+ authorizationList?: undefined | undefined;
4307
+ hash: viem0.Hash;
4308
+ r: viem0.Hex;
4309
+ s: viem0.Hex;
4310
+ v: bigint;
4311
+ yParity: number;
4312
+ typeHex: viem0.Hex | null;
4313
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
4314
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
4315
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
4316
+ } | {
4317
+ chainId: number;
4318
+ input: viem0.Hex;
4319
+ type: "eip1559";
4320
+ to: viem0.Address | null;
4321
+ from: viem0.Address;
4322
+ gas: bigint;
4323
+ nonce: number;
4324
+ value: bigint;
4325
+ maxFeePerBlobGas?: undefined | undefined;
4326
+ gasPrice?: undefined | undefined;
4327
+ maxFeePerGas: bigint;
4328
+ maxPriorityFeePerGas: bigint;
4329
+ accessList: viem0.AccessList;
4330
+ blobVersionedHashes?: undefined | undefined;
4331
+ authorizationList?: undefined | undefined;
4332
+ hash: viem0.Hash;
4333
+ r: viem0.Hex;
4334
+ s: viem0.Hex;
4335
+ v: bigint;
4336
+ yParity: number;
4337
+ typeHex: viem0.Hex | null;
4338
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
4339
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
4340
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
4341
+ } | {
4342
+ chainId: number;
4343
+ input: viem0.Hex;
4344
+ type: "eip4844";
4345
+ to: viem0.Address | null;
4346
+ from: viem0.Address;
4347
+ gas: bigint;
4348
+ nonce: number;
4349
+ value: bigint;
4350
+ maxFeePerBlobGas: bigint;
4351
+ gasPrice?: undefined | undefined;
4352
+ maxFeePerGas: bigint;
4353
+ maxPriorityFeePerGas: bigint;
4354
+ accessList: viem0.AccessList;
4355
+ blobVersionedHashes: readonly viem0.Hex[];
4356
+ authorizationList?: undefined | undefined;
4357
+ hash: viem0.Hash;
4358
+ r: viem0.Hex;
4359
+ s: viem0.Hex;
4360
+ v: bigint;
4361
+ yParity: number;
4362
+ typeHex: viem0.Hex | null;
4363
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
4364
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
4365
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
4366
+ } | {
4367
+ chainId: number;
4368
+ input: viem0.Hex;
4369
+ type: "eip7702";
4370
+ to: viem0.Address | null;
4371
+ from: viem0.Address;
4372
+ gas: bigint;
4373
+ nonce: number;
4374
+ value: bigint;
4375
+ maxFeePerBlobGas?: undefined | undefined;
4376
+ gasPrice?: undefined | undefined;
4377
+ maxFeePerGas: bigint;
4378
+ maxPriorityFeePerGas: bigint;
4379
+ accessList: viem0.AccessList;
4380
+ blobVersionedHashes?: undefined | undefined;
4381
+ authorizationList: viem0.SignedAuthorizationList;
4382
+ hash: viem0.Hash;
4383
+ r: viem0.Hex;
4384
+ s: viem0.Hex;
4385
+ v: bigint;
4386
+ yParity: number;
4387
+ typeHex: viem0.Hex | null;
4388
+ blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
4389
+ blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
4390
+ transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never;
4391
+ }>;
4392
+ getTransactionConfirmations: (args: viem0.GetTransactionConfirmationsParameters<Chain>) => Promise<viem0.GetTransactionConfirmationsReturnType>;
4393
+ getTransactionCount: (args: viem0.GetTransactionCountParameters) => Promise<viem0.GetTransactionCountReturnType>;
4394
+ getTransactionReceipt: (args: viem0.GetTransactionReceiptParameters) => Promise<viem0.TransactionReceipt>;
4395
+ multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: viem0.MulticallParameters<contracts, allowFailure>) => Promise<viem0.MulticallReturnType<contracts, allowFailure>>;
4396
+ prepareTransactionRequest: <const request extends viem0.PrepareTransactionRequestRequest<Chain, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.PrepareTransactionRequestParameters<Chain, viem0.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem0.UnionRequiredBy<Extract<viem0.UnionOmit<viem0.ExtractChainFormatterParameters<viem0.DeriveChain<Chain, chainOverride>, "transactionRequest", viem0.TransactionRequest>, "from"> & (viem0.DeriveChain<Chain, chainOverride> extends infer T_1 ? T_1 extends viem0.DeriveChain<Chain, chainOverride> ? T_1 extends Chain ? {
4397
+ chain: T_1;
4398
+ } : {
4399
+ chain?: undefined;
4400
+ } : never : never) & (viem0.DeriveAccount<viem0.Account | undefined, accountOverride> extends infer T_2 ? T_2 extends viem0.DeriveAccount<viem0.Account | undefined, accountOverride> ? T_2 extends viem0.Account ? {
4401
+ account: T_2;
4402
+ from: viem0.Address;
4403
+ } : {
4404
+ account?: undefined;
4405
+ from?: undefined;
4406
+ } : never : never), viem0.IsNever<((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
4407
+ accessList?: undefined | undefined;
4408
+ authorizationList?: undefined | undefined;
4409
+ blobs?: undefined | undefined;
4410
+ blobVersionedHashes?: undefined | undefined;
4411
+ gasPrice?: bigint | undefined;
4412
+ sidecars?: undefined | undefined;
4413
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4414
+ accessList?: viem0.AccessList | undefined;
4415
+ authorizationList?: undefined | undefined;
4416
+ blobs?: undefined | undefined;
4417
+ blobVersionedHashes?: undefined | undefined;
4418
+ gasPrice?: undefined | undefined;
4419
+ maxFeePerBlobGas?: undefined | undefined;
4420
+ maxFeePerGas?: bigint | undefined;
4421
+ maxPriorityFeePerGas?: bigint | undefined;
4422
+ sidecars?: undefined | undefined;
4423
+ } & (viem0.OneOf<{
4424
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4425
+ } | {
4426
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4427
+ }, viem0.FeeValuesEIP1559> & {
4428
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4429
+ }) ? "eip1559" : never) | (request extends {
4430
+ accessList?: viem0.AccessList | undefined;
4431
+ authorizationList?: undefined | undefined;
4432
+ blobs?: undefined | undefined;
4433
+ blobVersionedHashes?: undefined | undefined;
4434
+ gasPrice?: bigint | undefined;
4435
+ sidecars?: undefined | undefined;
4436
+ maxFeePerBlobGas?: undefined | undefined;
4437
+ maxFeePerGas?: undefined | undefined;
4438
+ maxPriorityFeePerGas?: undefined | undefined;
4439
+ } & {
4440
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4441
+ } ? "eip2930" : never) | (request extends ({
4442
+ accessList?: viem0.AccessList | undefined;
4443
+ authorizationList?: undefined | undefined;
4444
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4445
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4446
+ maxFeePerBlobGas?: bigint | undefined;
4447
+ maxFeePerGas?: bigint | undefined;
4448
+ maxPriorityFeePerGas?: bigint | undefined;
4449
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4450
+ } | {
4451
+ accessList?: viem0.AccessList | undefined;
4452
+ authorizationList?: undefined | undefined;
4453
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4454
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4455
+ maxFeePerBlobGas?: bigint | undefined;
4456
+ maxFeePerGas?: bigint | undefined;
4457
+ maxPriorityFeePerGas?: bigint | undefined;
4458
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4459
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4460
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4461
+ } | {
4462
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4463
+ } | {
4464
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4465
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4466
+ accessList?: viem0.AccessList | undefined;
4467
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4468
+ blobs?: undefined | undefined;
4469
+ blobVersionedHashes?: undefined | undefined;
4470
+ gasPrice?: undefined | undefined;
4471
+ maxFeePerBlobGas?: undefined | undefined;
4472
+ maxFeePerGas?: bigint | undefined;
4473
+ maxPriorityFeePerGas?: bigint | undefined;
4474
+ sidecars?: undefined | undefined;
4475
+ } | {
4476
+ accessList?: viem0.AccessList | undefined;
4477
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4478
+ blobs?: undefined | undefined;
4479
+ blobVersionedHashes?: undefined | undefined;
4480
+ gasPrice?: undefined | undefined;
4481
+ maxFeePerBlobGas?: undefined | undefined;
4482
+ maxFeePerGas?: bigint | undefined;
4483
+ maxPriorityFeePerGas?: bigint | undefined;
4484
+ sidecars?: undefined | undefined;
4485
+ }) & {
4486
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4487
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
4488
+ accessList?: undefined | undefined;
4489
+ authorizationList?: undefined | undefined;
4490
+ blobs?: undefined | undefined;
4491
+ blobVersionedHashes?: undefined | undefined;
4492
+ gasPrice?: bigint | undefined;
4493
+ sidecars?: undefined | undefined;
4494
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4495
+ accessList?: viem0.AccessList | undefined;
4496
+ authorizationList?: undefined | undefined;
4497
+ blobs?: undefined | undefined;
4498
+ blobVersionedHashes?: undefined | undefined;
4499
+ gasPrice?: undefined | undefined;
4500
+ maxFeePerBlobGas?: undefined | undefined;
4501
+ maxFeePerGas?: bigint | undefined;
4502
+ maxPriorityFeePerGas?: bigint | undefined;
4503
+ sidecars?: undefined | undefined;
4504
+ } & (viem0.OneOf<{
4505
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4506
+ } | {
4507
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4508
+ }, viem0.FeeValuesEIP1559> & {
4509
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4510
+ }) ? "eip1559" : never) | (request extends {
4511
+ accessList?: viem0.AccessList | undefined;
4512
+ authorizationList?: undefined | undefined;
4513
+ blobs?: undefined | undefined;
4514
+ blobVersionedHashes?: undefined | undefined;
4515
+ gasPrice?: bigint | undefined;
4516
+ sidecars?: undefined | undefined;
4517
+ maxFeePerBlobGas?: undefined | undefined;
4518
+ maxFeePerGas?: undefined | undefined;
4519
+ maxPriorityFeePerGas?: undefined | undefined;
4520
+ } & {
4521
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4522
+ } ? "eip2930" : never) | (request extends ({
4523
+ accessList?: viem0.AccessList | undefined;
4524
+ authorizationList?: undefined | undefined;
4525
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4526
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4527
+ maxFeePerBlobGas?: bigint | undefined;
4528
+ maxFeePerGas?: bigint | undefined;
4529
+ maxPriorityFeePerGas?: bigint | undefined;
4530
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4531
+ } | {
4532
+ accessList?: viem0.AccessList | undefined;
4533
+ authorizationList?: undefined | undefined;
4534
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4535
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4536
+ maxFeePerBlobGas?: bigint | undefined;
4537
+ maxFeePerGas?: bigint | undefined;
4538
+ maxPriorityFeePerGas?: bigint | undefined;
4539
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4540
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4541
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4542
+ } | {
4543
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4544
+ } | {
4545
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4546
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4547
+ accessList?: viem0.AccessList | undefined;
4548
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4549
+ blobs?: undefined | undefined;
4550
+ blobVersionedHashes?: undefined | undefined;
4551
+ gasPrice?: undefined | undefined;
4552
+ maxFeePerBlobGas?: undefined | undefined;
4553
+ maxFeePerGas?: bigint | undefined;
4554
+ maxPriorityFeePerGas?: bigint | undefined;
4555
+ sidecars?: undefined | undefined;
4556
+ } | {
4557
+ accessList?: viem0.AccessList | undefined;
4558
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4559
+ blobs?: undefined | undefined;
4560
+ blobVersionedHashes?: undefined | undefined;
4561
+ gasPrice?: undefined | undefined;
4562
+ maxFeePerBlobGas?: undefined | undefined;
4563
+ maxFeePerGas?: bigint | undefined;
4564
+ maxPriorityFeePerGas?: bigint | undefined;
4565
+ sidecars?: undefined | undefined;
4566
+ }) & {
4567
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4568
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_3 ? T_3 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
4569
+ accessList?: undefined | undefined;
4570
+ authorizationList?: undefined | undefined;
4571
+ blobs?: undefined | undefined;
4572
+ blobVersionedHashes?: undefined | undefined;
4573
+ gasPrice?: bigint | undefined;
4574
+ sidecars?: undefined | undefined;
4575
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4576
+ accessList?: viem0.AccessList | undefined;
4577
+ authorizationList?: undefined | undefined;
4578
+ blobs?: undefined | undefined;
4579
+ blobVersionedHashes?: undefined | undefined;
4580
+ gasPrice?: undefined | undefined;
4581
+ maxFeePerBlobGas?: undefined | undefined;
4582
+ maxFeePerGas?: bigint | undefined;
4583
+ maxPriorityFeePerGas?: bigint | undefined;
4584
+ sidecars?: undefined | undefined;
4585
+ } & (viem0.OneOf<{
4586
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4587
+ } | {
4588
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4589
+ }, viem0.FeeValuesEIP1559> & {
4590
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4591
+ }) ? "eip1559" : never) | (request extends {
4592
+ accessList?: viem0.AccessList | undefined;
4593
+ authorizationList?: undefined | undefined;
4594
+ blobs?: undefined | undefined;
4595
+ blobVersionedHashes?: undefined | undefined;
4596
+ gasPrice?: bigint | undefined;
4597
+ sidecars?: undefined | undefined;
4598
+ maxFeePerBlobGas?: undefined | undefined;
4599
+ maxFeePerGas?: undefined | undefined;
4600
+ maxPriorityFeePerGas?: undefined | undefined;
4601
+ } & {
4602
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4603
+ } ? "eip2930" : never) | (request extends ({
4604
+ accessList?: viem0.AccessList | undefined;
4605
+ authorizationList?: undefined | undefined;
4606
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4607
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4608
+ maxFeePerBlobGas?: bigint | undefined;
4609
+ maxFeePerGas?: bigint | undefined;
4610
+ maxPriorityFeePerGas?: bigint | undefined;
4611
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4612
+ } | {
4613
+ accessList?: viem0.AccessList | undefined;
4614
+ authorizationList?: undefined | undefined;
4615
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4616
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4617
+ maxFeePerBlobGas?: bigint | undefined;
4618
+ maxFeePerGas?: bigint | undefined;
4619
+ maxPriorityFeePerGas?: bigint | undefined;
4620
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4621
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4622
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4623
+ } | {
4624
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4625
+ } | {
4626
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4627
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4628
+ accessList?: viem0.AccessList | undefined;
4629
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4630
+ blobs?: undefined | undefined;
4631
+ blobVersionedHashes?: undefined | undefined;
4632
+ gasPrice?: undefined | undefined;
4633
+ maxFeePerBlobGas?: undefined | undefined;
4634
+ maxFeePerGas?: bigint | undefined;
4635
+ maxPriorityFeePerGas?: bigint | undefined;
4636
+ sidecars?: undefined | undefined;
4637
+ } | {
4638
+ accessList?: viem0.AccessList | undefined;
4639
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4640
+ blobs?: undefined | undefined;
4641
+ blobVersionedHashes?: undefined | undefined;
4642
+ gasPrice?: undefined | undefined;
4643
+ maxFeePerBlobGas?: undefined | undefined;
4644
+ maxFeePerGas?: bigint | undefined;
4645
+ maxPriorityFeePerGas?: bigint | undefined;
4646
+ sidecars?: undefined | undefined;
4647
+ }) & {
4648
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4649
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
4650
+ accessList?: undefined | undefined;
4651
+ authorizationList?: undefined | undefined;
4652
+ blobs?: undefined | undefined;
4653
+ blobVersionedHashes?: undefined | undefined;
4654
+ gasPrice?: bigint | undefined;
4655
+ sidecars?: undefined | undefined;
4656
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4657
+ accessList?: viem0.AccessList | undefined;
4658
+ authorizationList?: undefined | undefined;
4659
+ blobs?: undefined | undefined;
4660
+ blobVersionedHashes?: undefined | undefined;
4661
+ gasPrice?: undefined | undefined;
4662
+ maxFeePerBlobGas?: undefined | undefined;
4663
+ maxFeePerGas?: bigint | undefined;
4664
+ maxPriorityFeePerGas?: bigint | undefined;
4665
+ sidecars?: undefined | undefined;
4666
+ } & (viem0.OneOf<{
4667
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4668
+ } | {
4669
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4670
+ }, viem0.FeeValuesEIP1559> & {
4671
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4672
+ }) ? "eip1559" : never) | (request extends {
4673
+ accessList?: viem0.AccessList | undefined;
4674
+ authorizationList?: undefined | undefined;
4675
+ blobs?: undefined | undefined;
4676
+ blobVersionedHashes?: undefined | undefined;
4677
+ gasPrice?: bigint | undefined;
4678
+ sidecars?: undefined | undefined;
4679
+ maxFeePerBlobGas?: undefined | undefined;
4680
+ maxFeePerGas?: undefined | undefined;
4681
+ maxPriorityFeePerGas?: undefined | undefined;
4682
+ } & {
4683
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4684
+ } ? "eip2930" : never) | (request extends ({
4685
+ accessList?: viem0.AccessList | undefined;
4686
+ authorizationList?: undefined | undefined;
4687
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4688
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4689
+ maxFeePerBlobGas?: bigint | undefined;
4690
+ maxFeePerGas?: bigint | undefined;
4691
+ maxPriorityFeePerGas?: bigint | undefined;
4692
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4693
+ } | {
4694
+ accessList?: viem0.AccessList | undefined;
4695
+ authorizationList?: undefined | undefined;
4696
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4697
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4698
+ maxFeePerBlobGas?: bigint | undefined;
4699
+ maxFeePerGas?: bigint | undefined;
4700
+ maxPriorityFeePerGas?: bigint | undefined;
4701
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4702
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4703
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4704
+ } | {
4705
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4706
+ } | {
4707
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4708
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4709
+ accessList?: viem0.AccessList | undefined;
4710
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4711
+ blobs?: undefined | undefined;
4712
+ blobVersionedHashes?: undefined | undefined;
4713
+ gasPrice?: undefined | undefined;
4714
+ maxFeePerBlobGas?: undefined | undefined;
4715
+ maxFeePerGas?: bigint | undefined;
4716
+ maxPriorityFeePerGas?: bigint | undefined;
4717
+ sidecars?: undefined | undefined;
4718
+ } | {
4719
+ accessList?: viem0.AccessList | undefined;
4720
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4721
+ blobs?: undefined | undefined;
4722
+ blobVersionedHashes?: undefined | undefined;
4723
+ gasPrice?: undefined | undefined;
4724
+ maxFeePerBlobGas?: undefined | undefined;
4725
+ maxFeePerGas?: bigint | undefined;
4726
+ maxPriorityFeePerGas?: bigint | undefined;
4727
+ sidecars?: undefined | undefined;
4728
+ }) & {
4729
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4730
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_3 extends "legacy" ? viem0.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
4731
+ accessList?: undefined | undefined;
4732
+ authorizationList?: undefined | undefined;
4733
+ blobs?: undefined | undefined;
4734
+ blobVersionedHashes?: undefined | undefined;
4735
+ gasPrice?: bigint | undefined;
4736
+ sidecars?: undefined | undefined;
4737
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4738
+ accessList?: viem0.AccessList | undefined;
4739
+ authorizationList?: undefined | undefined;
4740
+ blobs?: undefined | undefined;
4741
+ blobVersionedHashes?: undefined | undefined;
4742
+ gasPrice?: undefined | undefined;
4743
+ maxFeePerBlobGas?: undefined | undefined;
4744
+ maxFeePerGas?: bigint | undefined;
4745
+ maxPriorityFeePerGas?: bigint | undefined;
4746
+ sidecars?: undefined | undefined;
4747
+ } & (viem0.OneOf<{
4748
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4749
+ } | {
4750
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4751
+ }, viem0.FeeValuesEIP1559> & {
4752
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4753
+ }) ? "eip1559" : never) | (request extends {
4754
+ accessList?: viem0.AccessList | undefined;
4755
+ authorizationList?: undefined | undefined;
4756
+ blobs?: undefined | undefined;
4757
+ blobVersionedHashes?: undefined | undefined;
4758
+ gasPrice?: bigint | undefined;
4759
+ sidecars?: undefined | undefined;
4760
+ maxFeePerBlobGas?: undefined | undefined;
4761
+ maxFeePerGas?: undefined | undefined;
4762
+ maxPriorityFeePerGas?: undefined | undefined;
4763
+ } & {
4764
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4765
+ } ? "eip2930" : never) | (request extends ({
4766
+ accessList?: viem0.AccessList | undefined;
4767
+ authorizationList?: undefined | undefined;
4768
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4769
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4770
+ maxFeePerBlobGas?: bigint | undefined;
4771
+ maxFeePerGas?: bigint | undefined;
4772
+ maxPriorityFeePerGas?: bigint | undefined;
4773
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4774
+ } | {
4775
+ accessList?: viem0.AccessList | undefined;
4776
+ authorizationList?: undefined | undefined;
4777
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4778
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4779
+ maxFeePerBlobGas?: bigint | undefined;
4780
+ maxFeePerGas?: bigint | undefined;
4781
+ maxPriorityFeePerGas?: bigint | undefined;
4782
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4783
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4784
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4785
+ } | {
4786
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4787
+ } | {
4788
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4789
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4790
+ accessList?: viem0.AccessList | undefined;
4791
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4792
+ blobs?: undefined | undefined;
4793
+ blobVersionedHashes?: undefined | undefined;
4794
+ gasPrice?: undefined | undefined;
4795
+ maxFeePerBlobGas?: undefined | undefined;
4796
+ maxFeePerGas?: bigint | undefined;
4797
+ maxPriorityFeePerGas?: bigint | undefined;
4798
+ sidecars?: undefined | undefined;
4799
+ } | {
4800
+ accessList?: viem0.AccessList | undefined;
4801
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4802
+ blobs?: undefined | undefined;
4803
+ blobVersionedHashes?: undefined | undefined;
4804
+ gasPrice?: undefined | undefined;
4805
+ maxFeePerBlobGas?: undefined | undefined;
4806
+ maxFeePerGas?: bigint | undefined;
4807
+ maxPriorityFeePerGas?: bigint | undefined;
4808
+ sidecars?: undefined | undefined;
4809
+ }) & {
4810
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4811
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
4812
+ accessList?: undefined | undefined;
4813
+ authorizationList?: undefined | undefined;
4814
+ blobs?: undefined | undefined;
4815
+ blobVersionedHashes?: undefined | undefined;
4816
+ gasPrice?: bigint | undefined;
4817
+ sidecars?: undefined | undefined;
4818
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4819
+ accessList?: viem0.AccessList | undefined;
4820
+ authorizationList?: undefined | undefined;
4821
+ blobs?: undefined | undefined;
4822
+ blobVersionedHashes?: undefined | undefined;
4823
+ gasPrice?: undefined | undefined;
4824
+ maxFeePerBlobGas?: undefined | undefined;
4825
+ maxFeePerGas?: bigint | undefined;
4826
+ maxPriorityFeePerGas?: bigint | undefined;
4827
+ sidecars?: undefined | undefined;
4828
+ } & (viem0.OneOf<{
4829
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4830
+ } | {
4831
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4832
+ }, viem0.FeeValuesEIP1559> & {
4833
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4834
+ }) ? "eip1559" : never) | (request extends {
4835
+ accessList?: viem0.AccessList | undefined;
4836
+ authorizationList?: undefined | undefined;
4837
+ blobs?: undefined | undefined;
4838
+ blobVersionedHashes?: undefined | undefined;
4839
+ gasPrice?: bigint | undefined;
4840
+ sidecars?: undefined | undefined;
4841
+ maxFeePerBlobGas?: undefined | undefined;
4842
+ maxFeePerGas?: undefined | undefined;
4843
+ maxPriorityFeePerGas?: undefined | undefined;
4844
+ } & {
4845
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4846
+ } ? "eip2930" : never) | (request extends ({
4847
+ accessList?: viem0.AccessList | undefined;
4848
+ authorizationList?: undefined | undefined;
4849
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4850
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4851
+ maxFeePerBlobGas?: bigint | undefined;
4852
+ maxFeePerGas?: bigint | undefined;
4853
+ maxPriorityFeePerGas?: bigint | undefined;
4854
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4855
+ } | {
4856
+ accessList?: viem0.AccessList | undefined;
4857
+ authorizationList?: undefined | undefined;
4858
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4859
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4860
+ maxFeePerBlobGas?: bigint | undefined;
4861
+ maxFeePerGas?: bigint | undefined;
4862
+ maxPriorityFeePerGas?: bigint | undefined;
4863
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4864
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4865
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4866
+ } | {
4867
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4868
+ } | {
4869
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4870
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4871
+ accessList?: viem0.AccessList | undefined;
4872
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4873
+ blobs?: undefined | undefined;
4874
+ blobVersionedHashes?: undefined | undefined;
4875
+ gasPrice?: undefined | undefined;
4876
+ maxFeePerBlobGas?: undefined | undefined;
4877
+ maxFeePerGas?: bigint | undefined;
4878
+ maxPriorityFeePerGas?: bigint | undefined;
4879
+ sidecars?: undefined | undefined;
4880
+ } | {
4881
+ accessList?: viem0.AccessList | undefined;
4882
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4883
+ blobs?: undefined | undefined;
4884
+ blobVersionedHashes?: undefined | undefined;
4885
+ gasPrice?: undefined | undefined;
4886
+ maxFeePerBlobGas?: undefined | undefined;
4887
+ maxFeePerGas?: bigint | undefined;
4888
+ maxPriorityFeePerGas?: bigint | undefined;
4889
+ sidecars?: undefined | undefined;
4890
+ }) & {
4891
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4892
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_4 ? T_4 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
4893
+ accessList?: undefined | undefined;
4894
+ authorizationList?: undefined | undefined;
4895
+ blobs?: undefined | undefined;
4896
+ blobVersionedHashes?: undefined | undefined;
4897
+ gasPrice?: bigint | undefined;
4898
+ sidecars?: undefined | undefined;
4899
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4900
+ accessList?: viem0.AccessList | undefined;
4901
+ authorizationList?: undefined | undefined;
4902
+ blobs?: undefined | undefined;
4903
+ blobVersionedHashes?: undefined | undefined;
4904
+ gasPrice?: undefined | undefined;
4905
+ maxFeePerBlobGas?: undefined | undefined;
4906
+ maxFeePerGas?: bigint | undefined;
4907
+ maxPriorityFeePerGas?: bigint | undefined;
4908
+ sidecars?: undefined | undefined;
4909
+ } & (viem0.OneOf<{
4910
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4911
+ } | {
4912
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4913
+ }, viem0.FeeValuesEIP1559> & {
4914
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4915
+ }) ? "eip1559" : never) | (request extends {
4916
+ accessList?: viem0.AccessList | undefined;
4917
+ authorizationList?: undefined | undefined;
4918
+ blobs?: undefined | undefined;
4919
+ blobVersionedHashes?: undefined | undefined;
4920
+ gasPrice?: bigint | undefined;
4921
+ sidecars?: undefined | undefined;
4922
+ maxFeePerBlobGas?: undefined | undefined;
4923
+ maxFeePerGas?: undefined | undefined;
4924
+ maxPriorityFeePerGas?: undefined | undefined;
4925
+ } & {
4926
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
4927
+ } ? "eip2930" : never) | (request extends ({
4928
+ accessList?: viem0.AccessList | undefined;
4929
+ authorizationList?: undefined | undefined;
4930
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4931
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4932
+ maxFeePerBlobGas?: bigint | undefined;
4933
+ maxFeePerGas?: bigint | undefined;
4934
+ maxPriorityFeePerGas?: bigint | undefined;
4935
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4936
+ } | {
4937
+ accessList?: viem0.AccessList | undefined;
4938
+ authorizationList?: undefined | undefined;
4939
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
4940
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
4941
+ maxFeePerBlobGas?: bigint | undefined;
4942
+ maxFeePerGas?: bigint | undefined;
4943
+ maxPriorityFeePerGas?: bigint | undefined;
4944
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
4945
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
4946
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
4947
+ } | {
4948
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
4949
+ } | {
4950
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
4951
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
4952
+ accessList?: viem0.AccessList | undefined;
4953
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4954
+ blobs?: undefined | undefined;
4955
+ blobVersionedHashes?: undefined | undefined;
4956
+ gasPrice?: undefined | undefined;
4957
+ maxFeePerBlobGas?: undefined | undefined;
4958
+ maxFeePerGas?: bigint | undefined;
4959
+ maxPriorityFeePerGas?: bigint | undefined;
4960
+ sidecars?: undefined | undefined;
4961
+ } | {
4962
+ accessList?: viem0.AccessList | undefined;
4963
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
4964
+ blobs?: undefined | undefined;
4965
+ blobVersionedHashes?: undefined | undefined;
4966
+ gasPrice?: undefined | undefined;
4967
+ maxFeePerBlobGas?: undefined | undefined;
4968
+ maxFeePerGas?: bigint | undefined;
4969
+ maxPriorityFeePerGas?: bigint | undefined;
4970
+ sidecars?: undefined | undefined;
4971
+ }) & {
4972
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
4973
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
4974
+ accessList?: undefined | undefined;
4975
+ authorizationList?: undefined | undefined;
4976
+ blobs?: undefined | undefined;
4977
+ blobVersionedHashes?: undefined | undefined;
4978
+ gasPrice?: bigint | undefined;
4979
+ sidecars?: undefined | undefined;
4980
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
4981
+ accessList?: viem0.AccessList | undefined;
4982
+ authorizationList?: undefined | undefined;
4983
+ blobs?: undefined | undefined;
4984
+ blobVersionedHashes?: undefined | undefined;
4985
+ gasPrice?: undefined | undefined;
4986
+ maxFeePerBlobGas?: undefined | undefined;
4987
+ maxFeePerGas?: bigint | undefined;
4988
+ maxPriorityFeePerGas?: bigint | undefined;
4989
+ sidecars?: undefined | undefined;
4990
+ } & (viem0.OneOf<{
4991
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
4992
+ } | {
4993
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
4994
+ }, viem0.FeeValuesEIP1559> & {
4995
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
4996
+ }) ? "eip1559" : never) | (request extends {
4997
+ accessList?: viem0.AccessList | undefined;
4998
+ authorizationList?: undefined | undefined;
4999
+ blobs?: undefined | undefined;
5000
+ blobVersionedHashes?: undefined | undefined;
5001
+ gasPrice?: bigint | undefined;
5002
+ sidecars?: undefined | undefined;
5003
+ maxFeePerBlobGas?: undefined | undefined;
5004
+ maxFeePerGas?: undefined | undefined;
5005
+ maxPriorityFeePerGas?: undefined | undefined;
5006
+ } & {
5007
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5008
+ } ? "eip2930" : never) | (request extends ({
5009
+ accessList?: viem0.AccessList | undefined;
5010
+ authorizationList?: undefined | undefined;
5011
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5012
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5013
+ maxFeePerBlobGas?: bigint | undefined;
5014
+ maxFeePerGas?: bigint | undefined;
5015
+ maxPriorityFeePerGas?: bigint | undefined;
5016
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5017
+ } | {
5018
+ accessList?: viem0.AccessList | undefined;
5019
+ authorizationList?: undefined | undefined;
5020
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5021
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5022
+ maxFeePerBlobGas?: bigint | undefined;
5023
+ maxFeePerGas?: bigint | undefined;
5024
+ maxPriorityFeePerGas?: bigint | undefined;
5025
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5026
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5027
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5028
+ } | {
5029
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5030
+ } | {
5031
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5032
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5033
+ accessList?: viem0.AccessList | undefined;
5034
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5035
+ blobs?: undefined | undefined;
5036
+ blobVersionedHashes?: undefined | undefined;
5037
+ gasPrice?: undefined | undefined;
5038
+ maxFeePerBlobGas?: undefined | undefined;
5039
+ maxFeePerGas?: bigint | undefined;
5040
+ maxPriorityFeePerGas?: bigint | undefined;
5041
+ sidecars?: undefined | undefined;
5042
+ } | {
5043
+ accessList?: viem0.AccessList | undefined;
5044
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5045
+ blobs?: undefined | undefined;
5046
+ blobVersionedHashes?: undefined | undefined;
5047
+ gasPrice?: undefined | undefined;
5048
+ maxFeePerBlobGas?: undefined | undefined;
5049
+ maxFeePerGas?: bigint | undefined;
5050
+ maxPriorityFeePerGas?: bigint | undefined;
5051
+ sidecars?: undefined | undefined;
5052
+ }) & {
5053
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5054
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_4 extends "eip1559" ? viem0.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5055
+ accessList?: undefined | undefined;
5056
+ authorizationList?: undefined | undefined;
5057
+ blobs?: undefined | undefined;
5058
+ blobVersionedHashes?: undefined | undefined;
5059
+ gasPrice?: bigint | undefined;
5060
+ sidecars?: undefined | undefined;
5061
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5062
+ accessList?: viem0.AccessList | undefined;
5063
+ authorizationList?: undefined | undefined;
5064
+ blobs?: undefined | undefined;
5065
+ blobVersionedHashes?: undefined | undefined;
5066
+ gasPrice?: undefined | undefined;
5067
+ maxFeePerBlobGas?: undefined | undefined;
5068
+ maxFeePerGas?: bigint | undefined;
5069
+ maxPriorityFeePerGas?: bigint | undefined;
5070
+ sidecars?: undefined | undefined;
5071
+ } & (viem0.OneOf<{
5072
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5073
+ } | {
5074
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5075
+ }, viem0.FeeValuesEIP1559> & {
5076
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5077
+ }) ? "eip1559" : never) | (request extends {
5078
+ accessList?: viem0.AccessList | undefined;
5079
+ authorizationList?: undefined | undefined;
5080
+ blobs?: undefined | undefined;
5081
+ blobVersionedHashes?: undefined | undefined;
5082
+ gasPrice?: bigint | undefined;
5083
+ sidecars?: undefined | undefined;
5084
+ maxFeePerBlobGas?: undefined | undefined;
5085
+ maxFeePerGas?: undefined | undefined;
5086
+ maxPriorityFeePerGas?: undefined | undefined;
5087
+ } & {
5088
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5089
+ } ? "eip2930" : never) | (request extends ({
5090
+ accessList?: viem0.AccessList | undefined;
5091
+ authorizationList?: undefined | undefined;
5092
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5093
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5094
+ maxFeePerBlobGas?: bigint | undefined;
5095
+ maxFeePerGas?: bigint | undefined;
5096
+ maxPriorityFeePerGas?: bigint | undefined;
5097
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5098
+ } | {
5099
+ accessList?: viem0.AccessList | undefined;
5100
+ authorizationList?: undefined | undefined;
5101
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5102
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5103
+ maxFeePerBlobGas?: bigint | undefined;
5104
+ maxFeePerGas?: bigint | undefined;
5105
+ maxPriorityFeePerGas?: bigint | undefined;
5106
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5107
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5108
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5109
+ } | {
5110
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5111
+ } | {
5112
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5113
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5114
+ accessList?: viem0.AccessList | undefined;
5115
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5116
+ blobs?: undefined | undefined;
5117
+ blobVersionedHashes?: undefined | undefined;
5118
+ gasPrice?: undefined | undefined;
5119
+ maxFeePerBlobGas?: undefined | undefined;
5120
+ maxFeePerGas?: bigint | undefined;
5121
+ maxPriorityFeePerGas?: bigint | undefined;
5122
+ sidecars?: undefined | undefined;
5123
+ } | {
5124
+ accessList?: viem0.AccessList | undefined;
5125
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5126
+ blobs?: undefined | undefined;
5127
+ blobVersionedHashes?: undefined | undefined;
5128
+ gasPrice?: undefined | undefined;
5129
+ maxFeePerBlobGas?: undefined | undefined;
5130
+ maxFeePerGas?: bigint | undefined;
5131
+ maxPriorityFeePerGas?: bigint | undefined;
5132
+ sidecars?: undefined | undefined;
5133
+ }) & {
5134
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5135
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5136
+ accessList?: undefined | undefined;
5137
+ authorizationList?: undefined | undefined;
5138
+ blobs?: undefined | undefined;
5139
+ blobVersionedHashes?: undefined | undefined;
5140
+ gasPrice?: bigint | undefined;
5141
+ sidecars?: undefined | undefined;
5142
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5143
+ accessList?: viem0.AccessList | undefined;
5144
+ authorizationList?: undefined | undefined;
5145
+ blobs?: undefined | undefined;
5146
+ blobVersionedHashes?: undefined | undefined;
5147
+ gasPrice?: undefined | undefined;
5148
+ maxFeePerBlobGas?: undefined | undefined;
5149
+ maxFeePerGas?: bigint | undefined;
5150
+ maxPriorityFeePerGas?: bigint | undefined;
5151
+ sidecars?: undefined | undefined;
5152
+ } & (viem0.OneOf<{
5153
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5154
+ } | {
5155
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5156
+ }, viem0.FeeValuesEIP1559> & {
5157
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5158
+ }) ? "eip1559" : never) | (request extends {
5159
+ accessList?: viem0.AccessList | undefined;
5160
+ authorizationList?: undefined | undefined;
5161
+ blobs?: undefined | undefined;
5162
+ blobVersionedHashes?: undefined | undefined;
5163
+ gasPrice?: bigint | undefined;
5164
+ sidecars?: undefined | undefined;
5165
+ maxFeePerBlobGas?: undefined | undefined;
5166
+ maxFeePerGas?: undefined | undefined;
5167
+ maxPriorityFeePerGas?: undefined | undefined;
5168
+ } & {
5169
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5170
+ } ? "eip2930" : never) | (request extends ({
5171
+ accessList?: viem0.AccessList | undefined;
5172
+ authorizationList?: undefined | undefined;
5173
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5174
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5175
+ maxFeePerBlobGas?: bigint | undefined;
5176
+ maxFeePerGas?: bigint | undefined;
5177
+ maxPriorityFeePerGas?: bigint | undefined;
5178
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5179
+ } | {
5180
+ accessList?: viem0.AccessList | undefined;
5181
+ authorizationList?: undefined | undefined;
5182
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5183
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5184
+ maxFeePerBlobGas?: bigint | undefined;
5185
+ maxFeePerGas?: bigint | undefined;
5186
+ maxPriorityFeePerGas?: bigint | undefined;
5187
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5188
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5189
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5190
+ } | {
5191
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5192
+ } | {
5193
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5194
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5195
+ accessList?: viem0.AccessList | undefined;
5196
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5197
+ blobs?: undefined | undefined;
5198
+ blobVersionedHashes?: undefined | undefined;
5199
+ gasPrice?: undefined | undefined;
5200
+ maxFeePerBlobGas?: undefined | undefined;
5201
+ maxFeePerGas?: bigint | undefined;
5202
+ maxPriorityFeePerGas?: bigint | undefined;
5203
+ sidecars?: undefined | undefined;
5204
+ } | {
5205
+ accessList?: viem0.AccessList | undefined;
5206
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5207
+ blobs?: undefined | undefined;
5208
+ blobVersionedHashes?: undefined | undefined;
5209
+ gasPrice?: undefined | undefined;
5210
+ maxFeePerBlobGas?: undefined | undefined;
5211
+ maxFeePerGas?: bigint | undefined;
5212
+ maxPriorityFeePerGas?: bigint | undefined;
5213
+ sidecars?: undefined | undefined;
5214
+ }) & {
5215
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5216
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_5 ? T_5 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5217
+ accessList?: undefined | undefined;
5218
+ authorizationList?: undefined | undefined;
5219
+ blobs?: undefined | undefined;
5220
+ blobVersionedHashes?: undefined | undefined;
5221
+ gasPrice?: bigint | undefined;
5222
+ sidecars?: undefined | undefined;
5223
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5224
+ accessList?: viem0.AccessList | undefined;
5225
+ authorizationList?: undefined | undefined;
5226
+ blobs?: undefined | undefined;
5227
+ blobVersionedHashes?: undefined | undefined;
5228
+ gasPrice?: undefined | undefined;
5229
+ maxFeePerBlobGas?: undefined | undefined;
5230
+ maxFeePerGas?: bigint | undefined;
5231
+ maxPriorityFeePerGas?: bigint | undefined;
5232
+ sidecars?: undefined | undefined;
5233
+ } & (viem0.OneOf<{
5234
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5235
+ } | {
5236
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5237
+ }, viem0.FeeValuesEIP1559> & {
5238
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5239
+ }) ? "eip1559" : never) | (request extends {
5240
+ accessList?: viem0.AccessList | undefined;
5241
+ authorizationList?: undefined | undefined;
5242
+ blobs?: undefined | undefined;
5243
+ blobVersionedHashes?: undefined | undefined;
5244
+ gasPrice?: bigint | undefined;
5245
+ sidecars?: undefined | undefined;
5246
+ maxFeePerBlobGas?: undefined | undefined;
5247
+ maxFeePerGas?: undefined | undefined;
5248
+ maxPriorityFeePerGas?: undefined | undefined;
5249
+ } & {
5250
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5251
+ } ? "eip2930" : never) | (request extends ({
5252
+ accessList?: viem0.AccessList | undefined;
5253
+ authorizationList?: undefined | undefined;
5254
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5255
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5256
+ maxFeePerBlobGas?: bigint | undefined;
5257
+ maxFeePerGas?: bigint | undefined;
5258
+ maxPriorityFeePerGas?: bigint | undefined;
5259
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5260
+ } | {
5261
+ accessList?: viem0.AccessList | undefined;
5262
+ authorizationList?: undefined | undefined;
5263
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5264
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5265
+ maxFeePerBlobGas?: bigint | undefined;
5266
+ maxFeePerGas?: bigint | undefined;
5267
+ maxPriorityFeePerGas?: bigint | undefined;
5268
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5269
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5270
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5271
+ } | {
5272
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5273
+ } | {
5274
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5275
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5276
+ accessList?: viem0.AccessList | undefined;
5277
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5278
+ blobs?: undefined | undefined;
5279
+ blobVersionedHashes?: undefined | undefined;
5280
+ gasPrice?: undefined | undefined;
5281
+ maxFeePerBlobGas?: undefined | undefined;
5282
+ maxFeePerGas?: bigint | undefined;
5283
+ maxPriorityFeePerGas?: bigint | undefined;
5284
+ sidecars?: undefined | undefined;
5285
+ } | {
5286
+ accessList?: viem0.AccessList | undefined;
5287
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5288
+ blobs?: undefined | undefined;
5289
+ blobVersionedHashes?: undefined | undefined;
5290
+ gasPrice?: undefined | undefined;
5291
+ maxFeePerBlobGas?: undefined | undefined;
5292
+ maxFeePerGas?: bigint | undefined;
5293
+ maxPriorityFeePerGas?: bigint | undefined;
5294
+ sidecars?: undefined | undefined;
5295
+ }) & {
5296
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5297
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5298
+ accessList?: undefined | undefined;
5299
+ authorizationList?: undefined | undefined;
5300
+ blobs?: undefined | undefined;
5301
+ blobVersionedHashes?: undefined | undefined;
5302
+ gasPrice?: bigint | undefined;
5303
+ sidecars?: undefined | undefined;
5304
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5305
+ accessList?: viem0.AccessList | undefined;
5306
+ authorizationList?: undefined | undefined;
5307
+ blobs?: undefined | undefined;
5308
+ blobVersionedHashes?: undefined | undefined;
5309
+ gasPrice?: undefined | undefined;
5310
+ maxFeePerBlobGas?: undefined | undefined;
5311
+ maxFeePerGas?: bigint | undefined;
5312
+ maxPriorityFeePerGas?: bigint | undefined;
5313
+ sidecars?: undefined | undefined;
5314
+ } & (viem0.OneOf<{
5315
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5316
+ } | {
5317
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5318
+ }, viem0.FeeValuesEIP1559> & {
5319
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5320
+ }) ? "eip1559" : never) | (request extends {
5321
+ accessList?: viem0.AccessList | undefined;
5322
+ authorizationList?: undefined | undefined;
5323
+ blobs?: undefined | undefined;
5324
+ blobVersionedHashes?: undefined | undefined;
5325
+ gasPrice?: bigint | undefined;
5326
+ sidecars?: undefined | undefined;
5327
+ maxFeePerBlobGas?: undefined | undefined;
5328
+ maxFeePerGas?: undefined | undefined;
5329
+ maxPriorityFeePerGas?: undefined | undefined;
5330
+ } & {
5331
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5332
+ } ? "eip2930" : never) | (request extends ({
5333
+ accessList?: viem0.AccessList | undefined;
5334
+ authorizationList?: undefined | undefined;
5335
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5336
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5337
+ maxFeePerBlobGas?: bigint | undefined;
5338
+ maxFeePerGas?: bigint | undefined;
5339
+ maxPriorityFeePerGas?: bigint | undefined;
5340
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5341
+ } | {
5342
+ accessList?: viem0.AccessList | undefined;
5343
+ authorizationList?: undefined | undefined;
5344
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5345
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5346
+ maxFeePerBlobGas?: bigint | undefined;
5347
+ maxFeePerGas?: bigint | undefined;
5348
+ maxPriorityFeePerGas?: bigint | undefined;
5349
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5350
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5351
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5352
+ } | {
5353
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5354
+ } | {
5355
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5356
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5357
+ accessList?: viem0.AccessList | undefined;
5358
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5359
+ blobs?: undefined | undefined;
5360
+ blobVersionedHashes?: undefined | undefined;
5361
+ gasPrice?: undefined | undefined;
5362
+ maxFeePerBlobGas?: undefined | undefined;
5363
+ maxFeePerGas?: bigint | undefined;
5364
+ maxPriorityFeePerGas?: bigint | undefined;
5365
+ sidecars?: undefined | undefined;
5366
+ } | {
5367
+ accessList?: viem0.AccessList | undefined;
5368
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5369
+ blobs?: undefined | undefined;
5370
+ blobVersionedHashes?: undefined | undefined;
5371
+ gasPrice?: undefined | undefined;
5372
+ maxFeePerBlobGas?: undefined | undefined;
5373
+ maxFeePerGas?: bigint | undefined;
5374
+ maxPriorityFeePerGas?: bigint | undefined;
5375
+ sidecars?: undefined | undefined;
5376
+ }) & {
5377
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5378
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_5 extends "eip2930" ? viem0.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5379
+ accessList?: undefined | undefined;
5380
+ authorizationList?: undefined | undefined;
5381
+ blobs?: undefined | undefined;
5382
+ blobVersionedHashes?: undefined | undefined;
5383
+ gasPrice?: bigint | undefined;
5384
+ sidecars?: undefined | undefined;
5385
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5386
+ accessList?: viem0.AccessList | undefined;
5387
+ authorizationList?: undefined | undefined;
5388
+ blobs?: undefined | undefined;
5389
+ blobVersionedHashes?: undefined | undefined;
5390
+ gasPrice?: undefined | undefined;
5391
+ maxFeePerBlobGas?: undefined | undefined;
5392
+ maxFeePerGas?: bigint | undefined;
5393
+ maxPriorityFeePerGas?: bigint | undefined;
5394
+ sidecars?: undefined | undefined;
5395
+ } & (viem0.OneOf<{
5396
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5397
+ } | {
5398
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5399
+ }, viem0.FeeValuesEIP1559> & {
5400
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5401
+ }) ? "eip1559" : never) | (request extends {
5402
+ accessList?: viem0.AccessList | undefined;
5403
+ authorizationList?: undefined | undefined;
5404
+ blobs?: undefined | undefined;
5405
+ blobVersionedHashes?: undefined | undefined;
5406
+ gasPrice?: bigint | undefined;
5407
+ sidecars?: undefined | undefined;
5408
+ maxFeePerBlobGas?: undefined | undefined;
5409
+ maxFeePerGas?: undefined | undefined;
5410
+ maxPriorityFeePerGas?: undefined | undefined;
5411
+ } & {
5412
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5413
+ } ? "eip2930" : never) | (request extends ({
5414
+ accessList?: viem0.AccessList | undefined;
5415
+ authorizationList?: undefined | undefined;
5416
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5417
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5418
+ maxFeePerBlobGas?: bigint | undefined;
5419
+ maxFeePerGas?: bigint | undefined;
5420
+ maxPriorityFeePerGas?: bigint | undefined;
5421
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5422
+ } | {
5423
+ accessList?: viem0.AccessList | undefined;
5424
+ authorizationList?: undefined | undefined;
5425
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5426
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5427
+ maxFeePerBlobGas?: bigint | undefined;
5428
+ maxFeePerGas?: bigint | undefined;
5429
+ maxPriorityFeePerGas?: bigint | undefined;
5430
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5431
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5432
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5433
+ } | {
5434
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5435
+ } | {
5436
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5437
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5438
+ accessList?: viem0.AccessList | undefined;
5439
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5440
+ blobs?: undefined | undefined;
5441
+ blobVersionedHashes?: undefined | undefined;
5442
+ gasPrice?: undefined | undefined;
5443
+ maxFeePerBlobGas?: undefined | undefined;
5444
+ maxFeePerGas?: bigint | undefined;
5445
+ maxPriorityFeePerGas?: bigint | undefined;
5446
+ sidecars?: undefined | undefined;
5447
+ } | {
5448
+ accessList?: viem0.AccessList | undefined;
5449
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5450
+ blobs?: undefined | undefined;
5451
+ blobVersionedHashes?: undefined | undefined;
5452
+ gasPrice?: undefined | undefined;
5453
+ maxFeePerBlobGas?: undefined | undefined;
5454
+ maxFeePerGas?: bigint | undefined;
5455
+ maxPriorityFeePerGas?: bigint | undefined;
5456
+ sidecars?: undefined | undefined;
5457
+ }) & {
5458
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5459
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5460
+ accessList?: undefined | undefined;
5461
+ authorizationList?: undefined | undefined;
5462
+ blobs?: undefined | undefined;
5463
+ blobVersionedHashes?: undefined | undefined;
5464
+ gasPrice?: bigint | undefined;
5465
+ sidecars?: undefined | undefined;
5466
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5467
+ accessList?: viem0.AccessList | undefined;
5468
+ authorizationList?: undefined | undefined;
5469
+ blobs?: undefined | undefined;
5470
+ blobVersionedHashes?: undefined | undefined;
5471
+ gasPrice?: undefined | undefined;
5472
+ maxFeePerBlobGas?: undefined | undefined;
5473
+ maxFeePerGas?: bigint | undefined;
5474
+ maxPriorityFeePerGas?: bigint | undefined;
5475
+ sidecars?: undefined | undefined;
5476
+ } & (viem0.OneOf<{
5477
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5478
+ } | {
5479
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5480
+ }, viem0.FeeValuesEIP1559> & {
5481
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5482
+ }) ? "eip1559" : never) | (request extends {
5483
+ accessList?: viem0.AccessList | undefined;
5484
+ authorizationList?: undefined | undefined;
5485
+ blobs?: undefined | undefined;
5486
+ blobVersionedHashes?: undefined | undefined;
5487
+ gasPrice?: bigint | undefined;
5488
+ sidecars?: undefined | undefined;
5489
+ maxFeePerBlobGas?: undefined | undefined;
5490
+ maxFeePerGas?: undefined | undefined;
5491
+ maxPriorityFeePerGas?: undefined | undefined;
5492
+ } & {
5493
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5494
+ } ? "eip2930" : never) | (request extends ({
5495
+ accessList?: viem0.AccessList | undefined;
5496
+ authorizationList?: undefined | undefined;
5497
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5498
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5499
+ maxFeePerBlobGas?: bigint | undefined;
5500
+ maxFeePerGas?: bigint | undefined;
5501
+ maxPriorityFeePerGas?: bigint | undefined;
5502
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5503
+ } | {
5504
+ accessList?: viem0.AccessList | undefined;
5505
+ authorizationList?: undefined | undefined;
5506
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5507
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5508
+ maxFeePerBlobGas?: bigint | undefined;
5509
+ maxFeePerGas?: bigint | undefined;
5510
+ maxPriorityFeePerGas?: bigint | undefined;
5511
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5512
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5513
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5514
+ } | {
5515
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5516
+ } | {
5517
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5518
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5519
+ accessList?: viem0.AccessList | undefined;
5520
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5521
+ blobs?: undefined | undefined;
5522
+ blobVersionedHashes?: undefined | undefined;
5523
+ gasPrice?: undefined | undefined;
5524
+ maxFeePerBlobGas?: undefined | undefined;
5525
+ maxFeePerGas?: bigint | undefined;
5526
+ maxPriorityFeePerGas?: bigint | undefined;
5527
+ sidecars?: undefined | undefined;
5528
+ } | {
5529
+ accessList?: viem0.AccessList | undefined;
5530
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5531
+ blobs?: undefined | undefined;
5532
+ blobVersionedHashes?: undefined | undefined;
5533
+ gasPrice?: undefined | undefined;
5534
+ maxFeePerBlobGas?: undefined | undefined;
5535
+ maxFeePerGas?: bigint | undefined;
5536
+ maxPriorityFeePerGas?: bigint | undefined;
5537
+ sidecars?: undefined | undefined;
5538
+ }) & {
5539
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5540
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_6 ? T_6 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5541
+ accessList?: undefined | undefined;
5542
+ authorizationList?: undefined | undefined;
5543
+ blobs?: undefined | undefined;
5544
+ blobVersionedHashes?: undefined | undefined;
5545
+ gasPrice?: bigint | undefined;
5546
+ sidecars?: undefined | undefined;
5547
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5548
+ accessList?: viem0.AccessList | undefined;
5549
+ authorizationList?: undefined | undefined;
5550
+ blobs?: undefined | undefined;
5551
+ blobVersionedHashes?: undefined | undefined;
5552
+ gasPrice?: undefined | undefined;
5553
+ maxFeePerBlobGas?: undefined | undefined;
5554
+ maxFeePerGas?: bigint | undefined;
5555
+ maxPriorityFeePerGas?: bigint | undefined;
5556
+ sidecars?: undefined | undefined;
5557
+ } & (viem0.OneOf<{
5558
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5559
+ } | {
5560
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5561
+ }, viem0.FeeValuesEIP1559> & {
5562
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5563
+ }) ? "eip1559" : never) | (request extends {
5564
+ accessList?: viem0.AccessList | undefined;
5565
+ authorizationList?: undefined | undefined;
5566
+ blobs?: undefined | undefined;
5567
+ blobVersionedHashes?: undefined | undefined;
5568
+ gasPrice?: bigint | undefined;
5569
+ sidecars?: undefined | undefined;
5570
+ maxFeePerBlobGas?: undefined | undefined;
5571
+ maxFeePerGas?: undefined | undefined;
5572
+ maxPriorityFeePerGas?: undefined | undefined;
5573
+ } & {
5574
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5575
+ } ? "eip2930" : never) | (request extends ({
5576
+ accessList?: viem0.AccessList | undefined;
5577
+ authorizationList?: undefined | undefined;
5578
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5579
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5580
+ maxFeePerBlobGas?: bigint | undefined;
5581
+ maxFeePerGas?: bigint | undefined;
5582
+ maxPriorityFeePerGas?: bigint | undefined;
5583
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5584
+ } | {
5585
+ accessList?: viem0.AccessList | undefined;
5586
+ authorizationList?: undefined | undefined;
5587
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5588
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5589
+ maxFeePerBlobGas?: bigint | undefined;
5590
+ maxFeePerGas?: bigint | undefined;
5591
+ maxPriorityFeePerGas?: bigint | undefined;
5592
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5593
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5594
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5595
+ } | {
5596
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5597
+ } | {
5598
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5599
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5600
+ accessList?: viem0.AccessList | undefined;
5601
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5602
+ blobs?: undefined | undefined;
5603
+ blobVersionedHashes?: undefined | undefined;
5604
+ gasPrice?: undefined | undefined;
5605
+ maxFeePerBlobGas?: undefined | undefined;
5606
+ maxFeePerGas?: bigint | undefined;
5607
+ maxPriorityFeePerGas?: bigint | undefined;
5608
+ sidecars?: undefined | undefined;
5609
+ } | {
5610
+ accessList?: viem0.AccessList | undefined;
5611
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5612
+ blobs?: undefined | undefined;
5613
+ blobVersionedHashes?: undefined | undefined;
5614
+ gasPrice?: undefined | undefined;
5615
+ maxFeePerBlobGas?: undefined | undefined;
5616
+ maxFeePerGas?: bigint | undefined;
5617
+ maxPriorityFeePerGas?: bigint | undefined;
5618
+ sidecars?: undefined | undefined;
5619
+ }) & {
5620
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5621
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5622
+ accessList?: undefined | undefined;
5623
+ authorizationList?: undefined | undefined;
5624
+ blobs?: undefined | undefined;
5625
+ blobVersionedHashes?: undefined | undefined;
5626
+ gasPrice?: bigint | undefined;
5627
+ sidecars?: undefined | undefined;
5628
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5629
+ accessList?: viem0.AccessList | undefined;
5630
+ authorizationList?: undefined | undefined;
5631
+ blobs?: undefined | undefined;
5632
+ blobVersionedHashes?: undefined | undefined;
5633
+ gasPrice?: undefined | undefined;
5634
+ maxFeePerBlobGas?: undefined | undefined;
5635
+ maxFeePerGas?: bigint | undefined;
5636
+ maxPriorityFeePerGas?: bigint | undefined;
5637
+ sidecars?: undefined | undefined;
5638
+ } & (viem0.OneOf<{
5639
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5640
+ } | {
5641
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5642
+ }, viem0.FeeValuesEIP1559> & {
5643
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5644
+ }) ? "eip1559" : never) | (request extends {
5645
+ accessList?: viem0.AccessList | undefined;
5646
+ authorizationList?: undefined | undefined;
5647
+ blobs?: undefined | undefined;
5648
+ blobVersionedHashes?: undefined | undefined;
5649
+ gasPrice?: bigint | undefined;
5650
+ sidecars?: undefined | undefined;
5651
+ maxFeePerBlobGas?: undefined | undefined;
5652
+ maxFeePerGas?: undefined | undefined;
5653
+ maxPriorityFeePerGas?: undefined | undefined;
5654
+ } & {
5655
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5656
+ } ? "eip2930" : never) | (request extends ({
5657
+ accessList?: viem0.AccessList | undefined;
5658
+ authorizationList?: undefined | undefined;
5659
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5660
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5661
+ maxFeePerBlobGas?: bigint | undefined;
5662
+ maxFeePerGas?: bigint | undefined;
5663
+ maxPriorityFeePerGas?: bigint | undefined;
5664
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5665
+ } | {
5666
+ accessList?: viem0.AccessList | undefined;
5667
+ authorizationList?: undefined | undefined;
5668
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5669
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5670
+ maxFeePerBlobGas?: bigint | undefined;
5671
+ maxFeePerGas?: bigint | undefined;
5672
+ maxPriorityFeePerGas?: bigint | undefined;
5673
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5674
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5675
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5676
+ } | {
5677
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5678
+ } | {
5679
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5680
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5681
+ accessList?: viem0.AccessList | undefined;
5682
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5683
+ blobs?: undefined | undefined;
5684
+ blobVersionedHashes?: undefined | undefined;
5685
+ gasPrice?: undefined | undefined;
5686
+ maxFeePerBlobGas?: undefined | undefined;
5687
+ maxFeePerGas?: bigint | undefined;
5688
+ maxPriorityFeePerGas?: bigint | undefined;
5689
+ sidecars?: undefined | undefined;
5690
+ } | {
5691
+ accessList?: viem0.AccessList | undefined;
5692
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5693
+ blobs?: undefined | undefined;
5694
+ blobVersionedHashes?: undefined | undefined;
5695
+ gasPrice?: undefined | undefined;
5696
+ maxFeePerBlobGas?: undefined | undefined;
5697
+ maxFeePerGas?: bigint | undefined;
5698
+ maxPriorityFeePerGas?: bigint | undefined;
5699
+ sidecars?: undefined | undefined;
5700
+ }) & {
5701
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5702
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_6 extends "eip4844" ? viem0.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5703
+ accessList?: undefined | undefined;
5704
+ authorizationList?: undefined | undefined;
5705
+ blobs?: undefined | undefined;
5706
+ blobVersionedHashes?: undefined | undefined;
5707
+ gasPrice?: bigint | undefined;
5708
+ sidecars?: undefined | undefined;
5709
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5710
+ accessList?: viem0.AccessList | undefined;
5711
+ authorizationList?: undefined | undefined;
5712
+ blobs?: undefined | undefined;
5713
+ blobVersionedHashes?: undefined | undefined;
5714
+ gasPrice?: undefined | undefined;
5715
+ maxFeePerBlobGas?: undefined | undefined;
5716
+ maxFeePerGas?: bigint | undefined;
5717
+ maxPriorityFeePerGas?: bigint | undefined;
5718
+ sidecars?: undefined | undefined;
5719
+ } & (viem0.OneOf<{
5720
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5721
+ } | {
5722
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5723
+ }, viem0.FeeValuesEIP1559> & {
5724
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5725
+ }) ? "eip1559" : never) | (request extends {
5726
+ accessList?: viem0.AccessList | undefined;
5727
+ authorizationList?: undefined | undefined;
5728
+ blobs?: undefined | undefined;
5729
+ blobVersionedHashes?: undefined | undefined;
5730
+ gasPrice?: bigint | undefined;
5731
+ sidecars?: undefined | undefined;
5732
+ maxFeePerBlobGas?: undefined | undefined;
5733
+ maxFeePerGas?: undefined | undefined;
5734
+ maxPriorityFeePerGas?: undefined | undefined;
5735
+ } & {
5736
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5737
+ } ? "eip2930" : never) | (request extends ({
5738
+ accessList?: viem0.AccessList | undefined;
5739
+ authorizationList?: undefined | undefined;
5740
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5741
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5742
+ maxFeePerBlobGas?: bigint | undefined;
5743
+ maxFeePerGas?: bigint | undefined;
5744
+ maxPriorityFeePerGas?: bigint | undefined;
5745
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5746
+ } | {
5747
+ accessList?: viem0.AccessList | undefined;
5748
+ authorizationList?: undefined | undefined;
5749
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5750
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5751
+ maxFeePerBlobGas?: bigint | undefined;
5752
+ maxFeePerGas?: bigint | undefined;
5753
+ maxPriorityFeePerGas?: bigint | undefined;
5754
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5755
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5756
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5757
+ } | {
5758
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5759
+ } | {
5760
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5761
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5762
+ accessList?: viem0.AccessList | undefined;
5763
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5764
+ blobs?: undefined | undefined;
5765
+ blobVersionedHashes?: undefined | undefined;
5766
+ gasPrice?: undefined | undefined;
5767
+ maxFeePerBlobGas?: undefined | undefined;
5768
+ maxFeePerGas?: bigint | undefined;
5769
+ maxPriorityFeePerGas?: bigint | undefined;
5770
+ sidecars?: undefined | undefined;
5771
+ } | {
5772
+ accessList?: viem0.AccessList | undefined;
5773
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5774
+ blobs?: undefined | undefined;
5775
+ blobVersionedHashes?: undefined | undefined;
5776
+ gasPrice?: undefined | undefined;
5777
+ maxFeePerBlobGas?: undefined | undefined;
5778
+ maxFeePerGas?: bigint | undefined;
5779
+ maxPriorityFeePerGas?: bigint | undefined;
5780
+ sidecars?: undefined | undefined;
5781
+ }) & {
5782
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5783
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5784
+ accessList?: undefined | undefined;
5785
+ authorizationList?: undefined | undefined;
5786
+ blobs?: undefined | undefined;
5787
+ blobVersionedHashes?: undefined | undefined;
5788
+ gasPrice?: bigint | undefined;
5789
+ sidecars?: undefined | undefined;
5790
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5791
+ accessList?: viem0.AccessList | undefined;
5792
+ authorizationList?: undefined | undefined;
5793
+ blobs?: undefined | undefined;
5794
+ blobVersionedHashes?: undefined | undefined;
5795
+ gasPrice?: undefined | undefined;
5796
+ maxFeePerBlobGas?: undefined | undefined;
5797
+ maxFeePerGas?: bigint | undefined;
5798
+ maxPriorityFeePerGas?: bigint | undefined;
5799
+ sidecars?: undefined | undefined;
5800
+ } & (viem0.OneOf<{
5801
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5802
+ } | {
5803
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5804
+ }, viem0.FeeValuesEIP1559> & {
5805
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5806
+ }) ? "eip1559" : never) | (request extends {
5807
+ accessList?: viem0.AccessList | undefined;
5808
+ authorizationList?: undefined | undefined;
5809
+ blobs?: undefined | undefined;
5810
+ blobVersionedHashes?: undefined | undefined;
5811
+ gasPrice?: bigint | undefined;
5812
+ sidecars?: undefined | undefined;
5813
+ maxFeePerBlobGas?: undefined | undefined;
5814
+ maxFeePerGas?: undefined | undefined;
5815
+ maxPriorityFeePerGas?: undefined | undefined;
5816
+ } & {
5817
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5818
+ } ? "eip2930" : never) | (request extends ({
5819
+ accessList?: viem0.AccessList | undefined;
5820
+ authorizationList?: undefined | undefined;
5821
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5822
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5823
+ maxFeePerBlobGas?: bigint | undefined;
5824
+ maxFeePerGas?: bigint | undefined;
5825
+ maxPriorityFeePerGas?: bigint | undefined;
5826
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5827
+ } | {
5828
+ accessList?: viem0.AccessList | undefined;
5829
+ authorizationList?: undefined | undefined;
5830
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5831
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5832
+ maxFeePerBlobGas?: bigint | undefined;
5833
+ maxFeePerGas?: bigint | undefined;
5834
+ maxPriorityFeePerGas?: bigint | undefined;
5835
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5836
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5837
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5838
+ } | {
5839
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5840
+ } | {
5841
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5842
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5843
+ accessList?: viem0.AccessList | undefined;
5844
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5845
+ blobs?: undefined | undefined;
5846
+ blobVersionedHashes?: undefined | undefined;
5847
+ gasPrice?: undefined | undefined;
5848
+ maxFeePerBlobGas?: undefined | undefined;
5849
+ maxFeePerGas?: bigint | undefined;
5850
+ maxPriorityFeePerGas?: bigint | undefined;
5851
+ sidecars?: undefined | undefined;
5852
+ } | {
5853
+ accessList?: viem0.AccessList | undefined;
5854
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5855
+ blobs?: undefined | undefined;
5856
+ blobVersionedHashes?: undefined | undefined;
5857
+ gasPrice?: undefined | undefined;
5858
+ maxFeePerBlobGas?: undefined | undefined;
5859
+ maxFeePerGas?: bigint | undefined;
5860
+ maxPriorityFeePerGas?: bigint | undefined;
5861
+ sidecars?: undefined | undefined;
5862
+ }) & {
5863
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5864
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_7 ? T_7 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
5865
+ accessList?: undefined | undefined;
5866
+ authorizationList?: undefined | undefined;
5867
+ blobs?: undefined | undefined;
5868
+ blobVersionedHashes?: undefined | undefined;
5869
+ gasPrice?: bigint | undefined;
5870
+ sidecars?: undefined | undefined;
5871
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5872
+ accessList?: viem0.AccessList | undefined;
5873
+ authorizationList?: undefined | undefined;
5874
+ blobs?: undefined | undefined;
5875
+ blobVersionedHashes?: undefined | undefined;
5876
+ gasPrice?: undefined | undefined;
5877
+ maxFeePerBlobGas?: undefined | undefined;
5878
+ maxFeePerGas?: bigint | undefined;
5879
+ maxPriorityFeePerGas?: bigint | undefined;
5880
+ sidecars?: undefined | undefined;
5881
+ } & (viem0.OneOf<{
5882
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5883
+ } | {
5884
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5885
+ }, viem0.FeeValuesEIP1559> & {
5886
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5887
+ }) ? "eip1559" : never) | (request extends {
5888
+ accessList?: viem0.AccessList | undefined;
5889
+ authorizationList?: undefined | undefined;
5890
+ blobs?: undefined | undefined;
5891
+ blobVersionedHashes?: undefined | undefined;
5892
+ gasPrice?: bigint | undefined;
5893
+ sidecars?: undefined | undefined;
5894
+ maxFeePerBlobGas?: undefined | undefined;
5895
+ maxFeePerGas?: undefined | undefined;
5896
+ maxPriorityFeePerGas?: undefined | undefined;
5897
+ } & {
5898
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5899
+ } ? "eip2930" : never) | (request extends ({
5900
+ accessList?: viem0.AccessList | undefined;
5901
+ authorizationList?: undefined | undefined;
5902
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5903
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5904
+ maxFeePerBlobGas?: bigint | undefined;
5905
+ maxFeePerGas?: bigint | undefined;
5906
+ maxPriorityFeePerGas?: bigint | undefined;
5907
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5908
+ } | {
5909
+ accessList?: viem0.AccessList | undefined;
5910
+ authorizationList?: undefined | undefined;
5911
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5912
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5913
+ maxFeePerBlobGas?: bigint | undefined;
5914
+ maxFeePerGas?: bigint | undefined;
5915
+ maxPriorityFeePerGas?: bigint | undefined;
5916
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5917
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5918
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
5919
+ } | {
5920
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
5921
+ } | {
5922
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
5923
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
5924
+ accessList?: viem0.AccessList | undefined;
5925
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5926
+ blobs?: undefined | undefined;
5927
+ blobVersionedHashes?: undefined | undefined;
5928
+ gasPrice?: undefined | undefined;
5929
+ maxFeePerBlobGas?: undefined | undefined;
5930
+ maxFeePerGas?: bigint | undefined;
5931
+ maxPriorityFeePerGas?: bigint | undefined;
5932
+ sidecars?: undefined | undefined;
5933
+ } | {
5934
+ accessList?: viem0.AccessList | undefined;
5935
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
5936
+ blobs?: undefined | undefined;
5937
+ blobVersionedHashes?: undefined | undefined;
5938
+ gasPrice?: undefined | undefined;
5939
+ maxFeePerBlobGas?: undefined | undefined;
5940
+ maxFeePerGas?: bigint | undefined;
5941
+ maxPriorityFeePerGas?: bigint | undefined;
5942
+ sidecars?: undefined | undefined;
5943
+ }) & {
5944
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
5945
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
5946
+ accessList?: undefined | undefined;
5947
+ authorizationList?: undefined | undefined;
5948
+ blobs?: undefined | undefined;
5949
+ blobVersionedHashes?: undefined | undefined;
5950
+ gasPrice?: bigint | undefined;
5951
+ sidecars?: undefined | undefined;
5952
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
5953
+ accessList?: viem0.AccessList | undefined;
5954
+ authorizationList?: undefined | undefined;
5955
+ blobs?: undefined | undefined;
5956
+ blobVersionedHashes?: undefined | undefined;
5957
+ gasPrice?: undefined | undefined;
5958
+ maxFeePerBlobGas?: undefined | undefined;
5959
+ maxFeePerGas?: bigint | undefined;
5960
+ maxPriorityFeePerGas?: bigint | undefined;
5961
+ sidecars?: undefined | undefined;
5962
+ } & (viem0.OneOf<{
5963
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
5964
+ } | {
5965
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
5966
+ }, viem0.FeeValuesEIP1559> & {
5967
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
5968
+ }) ? "eip1559" : never) | (request extends {
5969
+ accessList?: viem0.AccessList | undefined;
5970
+ authorizationList?: undefined | undefined;
5971
+ blobs?: undefined | undefined;
5972
+ blobVersionedHashes?: undefined | undefined;
5973
+ gasPrice?: bigint | undefined;
5974
+ sidecars?: undefined | undefined;
5975
+ maxFeePerBlobGas?: undefined | undefined;
5976
+ maxFeePerGas?: undefined | undefined;
5977
+ maxPriorityFeePerGas?: undefined | undefined;
5978
+ } & {
5979
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
5980
+ } ? "eip2930" : never) | (request extends ({
5981
+ accessList?: viem0.AccessList | undefined;
5982
+ authorizationList?: undefined | undefined;
5983
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5984
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5985
+ maxFeePerBlobGas?: bigint | undefined;
5986
+ maxFeePerGas?: bigint | undefined;
5987
+ maxPriorityFeePerGas?: bigint | undefined;
5988
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5989
+ } | {
5990
+ accessList?: viem0.AccessList | undefined;
5991
+ authorizationList?: undefined | undefined;
5992
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
5993
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
5994
+ maxFeePerBlobGas?: bigint | undefined;
5995
+ maxFeePerGas?: bigint | undefined;
5996
+ maxPriorityFeePerGas?: bigint | undefined;
5997
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
5998
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
5999
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6000
+ } | {
6001
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6002
+ } | {
6003
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6004
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6005
+ accessList?: viem0.AccessList | undefined;
6006
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6007
+ blobs?: undefined | undefined;
6008
+ blobVersionedHashes?: undefined | undefined;
6009
+ gasPrice?: undefined | undefined;
6010
+ maxFeePerBlobGas?: undefined | undefined;
6011
+ maxFeePerGas?: bigint | undefined;
6012
+ maxPriorityFeePerGas?: bigint | undefined;
6013
+ sidecars?: undefined | undefined;
6014
+ } | {
6015
+ accessList?: viem0.AccessList | undefined;
6016
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6017
+ blobs?: undefined | undefined;
6018
+ blobVersionedHashes?: undefined | undefined;
6019
+ gasPrice?: undefined | undefined;
6020
+ maxFeePerBlobGas?: undefined | undefined;
6021
+ maxFeePerGas?: bigint | undefined;
6022
+ maxPriorityFeePerGas?: bigint | undefined;
6023
+ sidecars?: undefined | undefined;
6024
+ }) & {
6025
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6026
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_7 extends "eip7702" ? viem0.TransactionRequestEIP7702 : never : never : never)> extends true ? unknown : viem0.ExactPartial<((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6027
+ accessList?: undefined | undefined;
6028
+ authorizationList?: undefined | undefined;
6029
+ blobs?: undefined | undefined;
6030
+ blobVersionedHashes?: undefined | undefined;
6031
+ gasPrice?: bigint | undefined;
6032
+ sidecars?: undefined | undefined;
6033
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6034
+ accessList?: viem0.AccessList | undefined;
6035
+ authorizationList?: undefined | undefined;
6036
+ blobs?: undefined | undefined;
6037
+ blobVersionedHashes?: undefined | undefined;
6038
+ gasPrice?: undefined | undefined;
6039
+ maxFeePerBlobGas?: undefined | undefined;
6040
+ maxFeePerGas?: bigint | undefined;
6041
+ maxPriorityFeePerGas?: bigint | undefined;
6042
+ sidecars?: undefined | undefined;
6043
+ } & (viem0.OneOf<{
6044
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6045
+ } | {
6046
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6047
+ }, viem0.FeeValuesEIP1559> & {
6048
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6049
+ }) ? "eip1559" : never) | (request extends {
6050
+ accessList?: viem0.AccessList | undefined;
6051
+ authorizationList?: undefined | undefined;
6052
+ blobs?: undefined | undefined;
6053
+ blobVersionedHashes?: undefined | undefined;
6054
+ gasPrice?: bigint | undefined;
6055
+ sidecars?: undefined | undefined;
6056
+ maxFeePerBlobGas?: undefined | undefined;
6057
+ maxFeePerGas?: undefined | undefined;
6058
+ maxPriorityFeePerGas?: undefined | undefined;
6059
+ } & {
6060
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6061
+ } ? "eip2930" : never) | (request extends ({
6062
+ accessList?: viem0.AccessList | undefined;
6063
+ authorizationList?: undefined | undefined;
6064
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6065
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6066
+ maxFeePerBlobGas?: bigint | undefined;
6067
+ maxFeePerGas?: bigint | undefined;
6068
+ maxPriorityFeePerGas?: bigint | undefined;
6069
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6070
+ } | {
6071
+ accessList?: viem0.AccessList | undefined;
6072
+ authorizationList?: undefined | undefined;
6073
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6074
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6075
+ maxFeePerBlobGas?: bigint | undefined;
6076
+ maxFeePerGas?: bigint | undefined;
6077
+ maxPriorityFeePerGas?: bigint | undefined;
6078
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6079
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6080
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6081
+ } | {
6082
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6083
+ } | {
6084
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6085
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6086
+ accessList?: viem0.AccessList | undefined;
6087
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6088
+ blobs?: undefined | undefined;
6089
+ blobVersionedHashes?: undefined | undefined;
6090
+ gasPrice?: undefined | undefined;
6091
+ maxFeePerBlobGas?: undefined | undefined;
6092
+ maxFeePerGas?: bigint | undefined;
6093
+ maxPriorityFeePerGas?: bigint | undefined;
6094
+ sidecars?: undefined | undefined;
6095
+ } | {
6096
+ accessList?: viem0.AccessList | undefined;
6097
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6098
+ blobs?: undefined | undefined;
6099
+ blobVersionedHashes?: undefined | undefined;
6100
+ gasPrice?: undefined | undefined;
6101
+ maxFeePerBlobGas?: undefined | undefined;
6102
+ maxFeePerGas?: bigint | undefined;
6103
+ maxPriorityFeePerGas?: bigint | undefined;
6104
+ sidecars?: undefined | undefined;
6105
+ }) & {
6106
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6107
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6108
+ accessList?: undefined | undefined;
6109
+ authorizationList?: undefined | undefined;
6110
+ blobs?: undefined | undefined;
6111
+ blobVersionedHashes?: undefined | undefined;
6112
+ gasPrice?: bigint | undefined;
6113
+ sidecars?: undefined | undefined;
6114
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6115
+ accessList?: viem0.AccessList | undefined;
6116
+ authorizationList?: undefined | undefined;
6117
+ blobs?: undefined | undefined;
6118
+ blobVersionedHashes?: undefined | undefined;
6119
+ gasPrice?: undefined | undefined;
6120
+ maxFeePerBlobGas?: undefined | undefined;
6121
+ maxFeePerGas?: bigint | undefined;
6122
+ maxPriorityFeePerGas?: bigint | undefined;
6123
+ sidecars?: undefined | undefined;
6124
+ } & (viem0.OneOf<{
6125
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6126
+ } | {
6127
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6128
+ }, viem0.FeeValuesEIP1559> & {
6129
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6130
+ }) ? "eip1559" : never) | (request extends {
6131
+ accessList?: viem0.AccessList | undefined;
6132
+ authorizationList?: undefined | undefined;
6133
+ blobs?: undefined | undefined;
6134
+ blobVersionedHashes?: undefined | undefined;
6135
+ gasPrice?: bigint | undefined;
6136
+ sidecars?: undefined | undefined;
6137
+ maxFeePerBlobGas?: undefined | undefined;
6138
+ maxFeePerGas?: undefined | undefined;
6139
+ maxPriorityFeePerGas?: undefined | undefined;
6140
+ } & {
6141
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6142
+ } ? "eip2930" : never) | (request extends ({
6143
+ accessList?: viem0.AccessList | undefined;
6144
+ authorizationList?: undefined | undefined;
6145
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6146
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6147
+ maxFeePerBlobGas?: bigint | undefined;
6148
+ maxFeePerGas?: bigint | undefined;
6149
+ maxPriorityFeePerGas?: bigint | undefined;
6150
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6151
+ } | {
6152
+ accessList?: viem0.AccessList | undefined;
6153
+ authorizationList?: undefined | undefined;
6154
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6155
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6156
+ maxFeePerBlobGas?: bigint | undefined;
6157
+ maxFeePerGas?: bigint | undefined;
6158
+ maxPriorityFeePerGas?: bigint | undefined;
6159
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6160
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6161
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6162
+ } | {
6163
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6164
+ } | {
6165
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6166
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6167
+ accessList?: viem0.AccessList | undefined;
6168
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6169
+ blobs?: undefined | undefined;
6170
+ blobVersionedHashes?: undefined | undefined;
6171
+ gasPrice?: undefined | undefined;
6172
+ maxFeePerBlobGas?: undefined | undefined;
6173
+ maxFeePerGas?: bigint | undefined;
6174
+ maxPriorityFeePerGas?: bigint | undefined;
6175
+ sidecars?: undefined | undefined;
6176
+ } | {
6177
+ accessList?: viem0.AccessList | undefined;
6178
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6179
+ blobs?: undefined | undefined;
6180
+ blobVersionedHashes?: undefined | undefined;
6181
+ gasPrice?: undefined | undefined;
6182
+ maxFeePerBlobGas?: undefined | undefined;
6183
+ maxFeePerGas?: bigint | undefined;
6184
+ maxPriorityFeePerGas?: bigint | undefined;
6185
+ sidecars?: undefined | undefined;
6186
+ }) & {
6187
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6188
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_8 ? T_8 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6189
+ accessList?: undefined | undefined;
6190
+ authorizationList?: undefined | undefined;
6191
+ blobs?: undefined | undefined;
6192
+ blobVersionedHashes?: undefined | undefined;
6193
+ gasPrice?: bigint | undefined;
6194
+ sidecars?: undefined | undefined;
6195
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6196
+ accessList?: viem0.AccessList | undefined;
6197
+ authorizationList?: undefined | undefined;
6198
+ blobs?: undefined | undefined;
6199
+ blobVersionedHashes?: undefined | undefined;
6200
+ gasPrice?: undefined | undefined;
6201
+ maxFeePerBlobGas?: undefined | undefined;
6202
+ maxFeePerGas?: bigint | undefined;
6203
+ maxPriorityFeePerGas?: bigint | undefined;
6204
+ sidecars?: undefined | undefined;
6205
+ } & (viem0.OneOf<{
6206
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6207
+ } | {
6208
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6209
+ }, viem0.FeeValuesEIP1559> & {
6210
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6211
+ }) ? "eip1559" : never) | (request extends {
6212
+ accessList?: viem0.AccessList | undefined;
6213
+ authorizationList?: undefined | undefined;
6214
+ blobs?: undefined | undefined;
6215
+ blobVersionedHashes?: undefined | undefined;
6216
+ gasPrice?: bigint | undefined;
6217
+ sidecars?: undefined | undefined;
6218
+ maxFeePerBlobGas?: undefined | undefined;
6219
+ maxFeePerGas?: undefined | undefined;
6220
+ maxPriorityFeePerGas?: undefined | undefined;
6221
+ } & {
6222
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6223
+ } ? "eip2930" : never) | (request extends ({
6224
+ accessList?: viem0.AccessList | undefined;
6225
+ authorizationList?: undefined | undefined;
6226
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6227
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6228
+ maxFeePerBlobGas?: bigint | undefined;
6229
+ maxFeePerGas?: bigint | undefined;
6230
+ maxPriorityFeePerGas?: bigint | undefined;
6231
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6232
+ } | {
6233
+ accessList?: viem0.AccessList | undefined;
6234
+ authorizationList?: undefined | undefined;
6235
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6236
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6237
+ maxFeePerBlobGas?: bigint | undefined;
6238
+ maxFeePerGas?: bigint | undefined;
6239
+ maxPriorityFeePerGas?: bigint | undefined;
6240
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6241
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6242
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6243
+ } | {
6244
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6245
+ } | {
6246
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6247
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6248
+ accessList?: viem0.AccessList | undefined;
6249
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6250
+ blobs?: undefined | undefined;
6251
+ blobVersionedHashes?: undefined | undefined;
6252
+ gasPrice?: undefined | undefined;
6253
+ maxFeePerBlobGas?: undefined | undefined;
6254
+ maxFeePerGas?: bigint | undefined;
6255
+ maxPriorityFeePerGas?: bigint | undefined;
6256
+ sidecars?: undefined | undefined;
6257
+ } | {
6258
+ accessList?: viem0.AccessList | undefined;
6259
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6260
+ blobs?: undefined | undefined;
6261
+ blobVersionedHashes?: undefined | undefined;
6262
+ gasPrice?: undefined | undefined;
6263
+ maxFeePerBlobGas?: undefined | undefined;
6264
+ maxFeePerGas?: bigint | undefined;
6265
+ maxPriorityFeePerGas?: bigint | undefined;
6266
+ sidecars?: undefined | undefined;
6267
+ }) & {
6268
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6269
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6270
+ accessList?: undefined | undefined;
6271
+ authorizationList?: undefined | undefined;
6272
+ blobs?: undefined | undefined;
6273
+ blobVersionedHashes?: undefined | undefined;
6274
+ gasPrice?: bigint | undefined;
6275
+ sidecars?: undefined | undefined;
6276
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6277
+ accessList?: viem0.AccessList | undefined;
6278
+ authorizationList?: undefined | undefined;
6279
+ blobs?: undefined | undefined;
6280
+ blobVersionedHashes?: undefined | undefined;
6281
+ gasPrice?: undefined | undefined;
6282
+ maxFeePerBlobGas?: undefined | undefined;
6283
+ maxFeePerGas?: bigint | undefined;
6284
+ maxPriorityFeePerGas?: bigint | undefined;
6285
+ sidecars?: undefined | undefined;
6286
+ } & (viem0.OneOf<{
6287
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6288
+ } | {
6289
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6290
+ }, viem0.FeeValuesEIP1559> & {
6291
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6292
+ }) ? "eip1559" : never) | (request extends {
6293
+ accessList?: viem0.AccessList | undefined;
6294
+ authorizationList?: undefined | undefined;
6295
+ blobs?: undefined | undefined;
6296
+ blobVersionedHashes?: undefined | undefined;
6297
+ gasPrice?: bigint | undefined;
6298
+ sidecars?: undefined | undefined;
6299
+ maxFeePerBlobGas?: undefined | undefined;
6300
+ maxFeePerGas?: undefined | undefined;
6301
+ maxPriorityFeePerGas?: undefined | undefined;
6302
+ } & {
6303
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6304
+ } ? "eip2930" : never) | (request extends ({
6305
+ accessList?: viem0.AccessList | undefined;
6306
+ authorizationList?: undefined | undefined;
6307
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6308
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6309
+ maxFeePerBlobGas?: bigint | undefined;
6310
+ maxFeePerGas?: bigint | undefined;
6311
+ maxPriorityFeePerGas?: bigint | undefined;
6312
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6313
+ } | {
6314
+ accessList?: viem0.AccessList | undefined;
6315
+ authorizationList?: undefined | undefined;
6316
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6317
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6318
+ maxFeePerBlobGas?: bigint | undefined;
6319
+ maxFeePerGas?: bigint | undefined;
6320
+ maxPriorityFeePerGas?: bigint | undefined;
6321
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6322
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6323
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6324
+ } | {
6325
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6326
+ } | {
6327
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6328
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6329
+ accessList?: viem0.AccessList | undefined;
6330
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6331
+ blobs?: undefined | undefined;
6332
+ blobVersionedHashes?: undefined | undefined;
6333
+ gasPrice?: undefined | undefined;
6334
+ maxFeePerBlobGas?: undefined | undefined;
6335
+ maxFeePerGas?: bigint | undefined;
6336
+ maxPriorityFeePerGas?: bigint | undefined;
6337
+ sidecars?: undefined | undefined;
6338
+ } | {
6339
+ accessList?: viem0.AccessList | undefined;
6340
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6341
+ blobs?: undefined | undefined;
6342
+ blobVersionedHashes?: undefined | undefined;
6343
+ gasPrice?: undefined | undefined;
6344
+ maxFeePerBlobGas?: undefined | undefined;
6345
+ maxFeePerGas?: bigint | undefined;
6346
+ maxPriorityFeePerGas?: bigint | undefined;
6347
+ sidecars?: undefined | undefined;
6348
+ }) & {
6349
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6350
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_8 extends "legacy" ? viem0.TransactionRequestLegacy : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6351
+ accessList?: undefined | undefined;
6352
+ authorizationList?: undefined | undefined;
6353
+ blobs?: undefined | undefined;
6354
+ blobVersionedHashes?: undefined | undefined;
6355
+ gasPrice?: bigint | undefined;
6356
+ sidecars?: undefined | undefined;
6357
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6358
+ accessList?: viem0.AccessList | undefined;
6359
+ authorizationList?: undefined | undefined;
6360
+ blobs?: undefined | undefined;
6361
+ blobVersionedHashes?: undefined | undefined;
6362
+ gasPrice?: undefined | undefined;
6363
+ maxFeePerBlobGas?: undefined | undefined;
6364
+ maxFeePerGas?: bigint | undefined;
6365
+ maxPriorityFeePerGas?: bigint | undefined;
6366
+ sidecars?: undefined | undefined;
6367
+ } & (viem0.OneOf<{
6368
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6369
+ } | {
6370
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6371
+ }, viem0.FeeValuesEIP1559> & {
6372
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6373
+ }) ? "eip1559" : never) | (request extends {
6374
+ accessList?: viem0.AccessList | undefined;
6375
+ authorizationList?: undefined | undefined;
6376
+ blobs?: undefined | undefined;
6377
+ blobVersionedHashes?: undefined | undefined;
6378
+ gasPrice?: bigint | undefined;
6379
+ sidecars?: undefined | undefined;
6380
+ maxFeePerBlobGas?: undefined | undefined;
6381
+ maxFeePerGas?: undefined | undefined;
6382
+ maxPriorityFeePerGas?: undefined | undefined;
6383
+ } & {
6384
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6385
+ } ? "eip2930" : never) | (request extends ({
6386
+ accessList?: viem0.AccessList | undefined;
6387
+ authorizationList?: undefined | undefined;
6388
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6389
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6390
+ maxFeePerBlobGas?: bigint | undefined;
6391
+ maxFeePerGas?: bigint | undefined;
6392
+ maxPriorityFeePerGas?: bigint | undefined;
6393
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6394
+ } | {
6395
+ accessList?: viem0.AccessList | undefined;
6396
+ authorizationList?: undefined | undefined;
6397
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6398
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6399
+ maxFeePerBlobGas?: bigint | undefined;
6400
+ maxFeePerGas?: bigint | undefined;
6401
+ maxPriorityFeePerGas?: bigint | undefined;
6402
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6403
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6404
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6405
+ } | {
6406
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6407
+ } | {
6408
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6409
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6410
+ accessList?: viem0.AccessList | undefined;
6411
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6412
+ blobs?: undefined | undefined;
6413
+ blobVersionedHashes?: undefined | undefined;
6414
+ gasPrice?: undefined | undefined;
6415
+ maxFeePerBlobGas?: undefined | undefined;
6416
+ maxFeePerGas?: bigint | undefined;
6417
+ maxPriorityFeePerGas?: bigint | undefined;
6418
+ sidecars?: undefined | undefined;
6419
+ } | {
6420
+ accessList?: viem0.AccessList | undefined;
6421
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6422
+ blobs?: undefined | undefined;
6423
+ blobVersionedHashes?: undefined | undefined;
6424
+ gasPrice?: undefined | undefined;
6425
+ maxFeePerBlobGas?: undefined | undefined;
6426
+ maxFeePerGas?: bigint | undefined;
6427
+ maxPriorityFeePerGas?: bigint | undefined;
6428
+ sidecars?: undefined | undefined;
6429
+ }) & {
6430
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6431
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6432
+ accessList?: undefined | undefined;
6433
+ authorizationList?: undefined | undefined;
6434
+ blobs?: undefined | undefined;
6435
+ blobVersionedHashes?: undefined | undefined;
6436
+ gasPrice?: bigint | undefined;
6437
+ sidecars?: undefined | undefined;
6438
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6439
+ accessList?: viem0.AccessList | undefined;
6440
+ authorizationList?: undefined | undefined;
6441
+ blobs?: undefined | undefined;
6442
+ blobVersionedHashes?: undefined | undefined;
6443
+ gasPrice?: undefined | undefined;
6444
+ maxFeePerBlobGas?: undefined | undefined;
6445
+ maxFeePerGas?: bigint | undefined;
6446
+ maxPriorityFeePerGas?: bigint | undefined;
6447
+ sidecars?: undefined | undefined;
6448
+ } & (viem0.OneOf<{
6449
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6450
+ } | {
6451
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6452
+ }, viem0.FeeValuesEIP1559> & {
6453
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6454
+ }) ? "eip1559" : never) | (request extends {
6455
+ accessList?: viem0.AccessList | undefined;
6456
+ authorizationList?: undefined | undefined;
6457
+ blobs?: undefined | undefined;
6458
+ blobVersionedHashes?: undefined | undefined;
6459
+ gasPrice?: bigint | undefined;
6460
+ sidecars?: undefined | undefined;
6461
+ maxFeePerBlobGas?: undefined | undefined;
6462
+ maxFeePerGas?: undefined | undefined;
6463
+ maxPriorityFeePerGas?: undefined | undefined;
6464
+ } & {
6465
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6466
+ } ? "eip2930" : never) | (request extends ({
6467
+ accessList?: viem0.AccessList | undefined;
6468
+ authorizationList?: undefined | undefined;
6469
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6470
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6471
+ maxFeePerBlobGas?: bigint | undefined;
6472
+ maxFeePerGas?: bigint | undefined;
6473
+ maxPriorityFeePerGas?: bigint | undefined;
6474
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6475
+ } | {
6476
+ accessList?: viem0.AccessList | undefined;
6477
+ authorizationList?: undefined | undefined;
6478
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6479
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6480
+ maxFeePerBlobGas?: bigint | undefined;
6481
+ maxFeePerGas?: bigint | undefined;
6482
+ maxPriorityFeePerGas?: bigint | undefined;
6483
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6484
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6485
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6486
+ } | {
6487
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6488
+ } | {
6489
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6490
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6491
+ accessList?: viem0.AccessList | undefined;
6492
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6493
+ blobs?: undefined | undefined;
6494
+ blobVersionedHashes?: undefined | undefined;
6495
+ gasPrice?: undefined | undefined;
6496
+ maxFeePerBlobGas?: undefined | undefined;
6497
+ maxFeePerGas?: bigint | undefined;
6498
+ maxPriorityFeePerGas?: bigint | undefined;
6499
+ sidecars?: undefined | undefined;
6500
+ } | {
6501
+ accessList?: viem0.AccessList | undefined;
6502
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6503
+ blobs?: undefined | undefined;
6504
+ blobVersionedHashes?: undefined | undefined;
6505
+ gasPrice?: undefined | undefined;
6506
+ maxFeePerBlobGas?: undefined | undefined;
6507
+ maxFeePerGas?: bigint | undefined;
6508
+ maxPriorityFeePerGas?: bigint | undefined;
6509
+ sidecars?: undefined | undefined;
6510
+ }) & {
6511
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6512
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_9 ? T_9 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6513
+ accessList?: undefined | undefined;
6514
+ authorizationList?: undefined | undefined;
6515
+ blobs?: undefined | undefined;
6516
+ blobVersionedHashes?: undefined | undefined;
6517
+ gasPrice?: bigint | undefined;
6518
+ sidecars?: undefined | undefined;
6519
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6520
+ accessList?: viem0.AccessList | undefined;
6521
+ authorizationList?: undefined | undefined;
6522
+ blobs?: undefined | undefined;
6523
+ blobVersionedHashes?: undefined | undefined;
6524
+ gasPrice?: undefined | undefined;
6525
+ maxFeePerBlobGas?: undefined | undefined;
6526
+ maxFeePerGas?: bigint | undefined;
6527
+ maxPriorityFeePerGas?: bigint | undefined;
6528
+ sidecars?: undefined | undefined;
6529
+ } & (viem0.OneOf<{
6530
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6531
+ } | {
6532
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6533
+ }, viem0.FeeValuesEIP1559> & {
6534
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6535
+ }) ? "eip1559" : never) | (request extends {
6536
+ accessList?: viem0.AccessList | undefined;
6537
+ authorizationList?: undefined | undefined;
6538
+ blobs?: undefined | undefined;
6539
+ blobVersionedHashes?: undefined | undefined;
6540
+ gasPrice?: bigint | undefined;
6541
+ sidecars?: undefined | undefined;
6542
+ maxFeePerBlobGas?: undefined | undefined;
6543
+ maxFeePerGas?: undefined | undefined;
6544
+ maxPriorityFeePerGas?: undefined | undefined;
6545
+ } & {
6546
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6547
+ } ? "eip2930" : never) | (request extends ({
6548
+ accessList?: viem0.AccessList | undefined;
6549
+ authorizationList?: undefined | undefined;
6550
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6551
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6552
+ maxFeePerBlobGas?: bigint | undefined;
6553
+ maxFeePerGas?: bigint | undefined;
6554
+ maxPriorityFeePerGas?: bigint | undefined;
6555
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6556
+ } | {
6557
+ accessList?: viem0.AccessList | undefined;
6558
+ authorizationList?: undefined | undefined;
6559
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6560
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6561
+ maxFeePerBlobGas?: bigint | undefined;
6562
+ maxFeePerGas?: bigint | undefined;
6563
+ maxPriorityFeePerGas?: bigint | undefined;
6564
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6565
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6566
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6567
+ } | {
6568
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6569
+ } | {
6570
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6571
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6572
+ accessList?: viem0.AccessList | undefined;
6573
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6574
+ blobs?: undefined | undefined;
6575
+ blobVersionedHashes?: undefined | undefined;
6576
+ gasPrice?: undefined | undefined;
6577
+ maxFeePerBlobGas?: undefined | undefined;
6578
+ maxFeePerGas?: bigint | undefined;
6579
+ maxPriorityFeePerGas?: bigint | undefined;
6580
+ sidecars?: undefined | undefined;
6581
+ } | {
6582
+ accessList?: viem0.AccessList | undefined;
6583
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6584
+ blobs?: undefined | undefined;
6585
+ blobVersionedHashes?: undefined | undefined;
6586
+ gasPrice?: undefined | undefined;
6587
+ maxFeePerBlobGas?: undefined | undefined;
6588
+ maxFeePerGas?: bigint | undefined;
6589
+ maxPriorityFeePerGas?: bigint | undefined;
6590
+ sidecars?: undefined | undefined;
6591
+ }) & {
6592
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6593
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6594
+ accessList?: undefined | undefined;
6595
+ authorizationList?: undefined | undefined;
6596
+ blobs?: undefined | undefined;
6597
+ blobVersionedHashes?: undefined | undefined;
6598
+ gasPrice?: bigint | undefined;
6599
+ sidecars?: undefined | undefined;
6600
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6601
+ accessList?: viem0.AccessList | undefined;
6602
+ authorizationList?: undefined | undefined;
6603
+ blobs?: undefined | undefined;
6604
+ blobVersionedHashes?: undefined | undefined;
6605
+ gasPrice?: undefined | undefined;
6606
+ maxFeePerBlobGas?: undefined | undefined;
6607
+ maxFeePerGas?: bigint | undefined;
6608
+ maxPriorityFeePerGas?: bigint | undefined;
6609
+ sidecars?: undefined | undefined;
6610
+ } & (viem0.OneOf<{
6611
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6612
+ } | {
6613
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6614
+ }, viem0.FeeValuesEIP1559> & {
6615
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6616
+ }) ? "eip1559" : never) | (request extends {
6617
+ accessList?: viem0.AccessList | undefined;
6618
+ authorizationList?: undefined | undefined;
6619
+ blobs?: undefined | undefined;
6620
+ blobVersionedHashes?: undefined | undefined;
6621
+ gasPrice?: bigint | undefined;
6622
+ sidecars?: undefined | undefined;
6623
+ maxFeePerBlobGas?: undefined | undefined;
6624
+ maxFeePerGas?: undefined | undefined;
6625
+ maxPriorityFeePerGas?: undefined | undefined;
6626
+ } & {
6627
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6628
+ } ? "eip2930" : never) | (request extends ({
6629
+ accessList?: viem0.AccessList | undefined;
6630
+ authorizationList?: undefined | undefined;
6631
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6632
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6633
+ maxFeePerBlobGas?: bigint | undefined;
6634
+ maxFeePerGas?: bigint | undefined;
6635
+ maxPriorityFeePerGas?: bigint | undefined;
6636
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6637
+ } | {
6638
+ accessList?: viem0.AccessList | undefined;
6639
+ authorizationList?: undefined | undefined;
6640
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6641
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6642
+ maxFeePerBlobGas?: bigint | undefined;
6643
+ maxFeePerGas?: bigint | undefined;
6644
+ maxPriorityFeePerGas?: bigint | undefined;
6645
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6646
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6647
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6648
+ } | {
6649
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6650
+ } | {
6651
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6652
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6653
+ accessList?: viem0.AccessList | undefined;
6654
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6655
+ blobs?: undefined | undefined;
6656
+ blobVersionedHashes?: undefined | undefined;
6657
+ gasPrice?: undefined | undefined;
6658
+ maxFeePerBlobGas?: undefined | undefined;
6659
+ maxFeePerGas?: bigint | undefined;
6660
+ maxPriorityFeePerGas?: bigint | undefined;
6661
+ sidecars?: undefined | undefined;
6662
+ } | {
6663
+ accessList?: viem0.AccessList | undefined;
6664
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6665
+ blobs?: undefined | undefined;
6666
+ blobVersionedHashes?: undefined | undefined;
6667
+ gasPrice?: undefined | undefined;
6668
+ maxFeePerBlobGas?: undefined | undefined;
6669
+ maxFeePerGas?: bigint | undefined;
6670
+ maxPriorityFeePerGas?: bigint | undefined;
6671
+ sidecars?: undefined | undefined;
6672
+ }) & {
6673
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6674
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_9 extends "eip1559" ? viem0.TransactionRequestEIP1559 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6675
+ accessList?: undefined | undefined;
6676
+ authorizationList?: undefined | undefined;
6677
+ blobs?: undefined | undefined;
6678
+ blobVersionedHashes?: undefined | undefined;
6679
+ gasPrice?: bigint | undefined;
6680
+ sidecars?: undefined | undefined;
6681
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6682
+ accessList?: viem0.AccessList | undefined;
6683
+ authorizationList?: undefined | undefined;
6684
+ blobs?: undefined | undefined;
6685
+ blobVersionedHashes?: undefined | undefined;
6686
+ gasPrice?: undefined | undefined;
6687
+ maxFeePerBlobGas?: undefined | undefined;
6688
+ maxFeePerGas?: bigint | undefined;
6689
+ maxPriorityFeePerGas?: bigint | undefined;
6690
+ sidecars?: undefined | undefined;
6691
+ } & (viem0.OneOf<{
6692
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6693
+ } | {
6694
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6695
+ }, viem0.FeeValuesEIP1559> & {
6696
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6697
+ }) ? "eip1559" : never) | (request extends {
6698
+ accessList?: viem0.AccessList | undefined;
6699
+ authorizationList?: undefined | undefined;
6700
+ blobs?: undefined | undefined;
6701
+ blobVersionedHashes?: undefined | undefined;
6702
+ gasPrice?: bigint | undefined;
6703
+ sidecars?: undefined | undefined;
6704
+ maxFeePerBlobGas?: undefined | undefined;
6705
+ maxFeePerGas?: undefined | undefined;
6706
+ maxPriorityFeePerGas?: undefined | undefined;
6707
+ } & {
6708
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6709
+ } ? "eip2930" : never) | (request extends ({
6710
+ accessList?: viem0.AccessList | undefined;
6711
+ authorizationList?: undefined | undefined;
6712
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6713
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6714
+ maxFeePerBlobGas?: bigint | undefined;
6715
+ maxFeePerGas?: bigint | undefined;
6716
+ maxPriorityFeePerGas?: bigint | undefined;
6717
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6718
+ } | {
6719
+ accessList?: viem0.AccessList | undefined;
6720
+ authorizationList?: undefined | undefined;
6721
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6722
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6723
+ maxFeePerBlobGas?: bigint | undefined;
6724
+ maxFeePerGas?: bigint | undefined;
6725
+ maxPriorityFeePerGas?: bigint | undefined;
6726
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6727
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6728
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6729
+ } | {
6730
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6731
+ } | {
6732
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6733
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6734
+ accessList?: viem0.AccessList | undefined;
6735
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6736
+ blobs?: undefined | undefined;
6737
+ blobVersionedHashes?: undefined | undefined;
6738
+ gasPrice?: undefined | undefined;
6739
+ maxFeePerBlobGas?: undefined | undefined;
6740
+ maxFeePerGas?: bigint | undefined;
6741
+ maxPriorityFeePerGas?: bigint | undefined;
6742
+ sidecars?: undefined | undefined;
6743
+ } | {
6744
+ accessList?: viem0.AccessList | undefined;
6745
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6746
+ blobs?: undefined | undefined;
6747
+ blobVersionedHashes?: undefined | undefined;
6748
+ gasPrice?: undefined | undefined;
6749
+ maxFeePerBlobGas?: undefined | undefined;
6750
+ maxFeePerGas?: bigint | undefined;
6751
+ maxPriorityFeePerGas?: bigint | undefined;
6752
+ sidecars?: undefined | undefined;
6753
+ }) & {
6754
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6755
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6756
+ accessList?: undefined | undefined;
6757
+ authorizationList?: undefined | undefined;
6758
+ blobs?: undefined | undefined;
6759
+ blobVersionedHashes?: undefined | undefined;
6760
+ gasPrice?: bigint | undefined;
6761
+ sidecars?: undefined | undefined;
6762
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6763
+ accessList?: viem0.AccessList | undefined;
6764
+ authorizationList?: undefined | undefined;
6765
+ blobs?: undefined | undefined;
6766
+ blobVersionedHashes?: undefined | undefined;
6767
+ gasPrice?: undefined | undefined;
6768
+ maxFeePerBlobGas?: undefined | undefined;
6769
+ maxFeePerGas?: bigint | undefined;
6770
+ maxPriorityFeePerGas?: bigint | undefined;
6771
+ sidecars?: undefined | undefined;
6772
+ } & (viem0.OneOf<{
6773
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6774
+ } | {
6775
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6776
+ }, viem0.FeeValuesEIP1559> & {
6777
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6778
+ }) ? "eip1559" : never) | (request extends {
6779
+ accessList?: viem0.AccessList | undefined;
6780
+ authorizationList?: undefined | undefined;
6781
+ blobs?: undefined | undefined;
6782
+ blobVersionedHashes?: undefined | undefined;
6783
+ gasPrice?: bigint | undefined;
6784
+ sidecars?: undefined | undefined;
6785
+ maxFeePerBlobGas?: undefined | undefined;
6786
+ maxFeePerGas?: undefined | undefined;
6787
+ maxPriorityFeePerGas?: undefined | undefined;
6788
+ } & {
6789
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6790
+ } ? "eip2930" : never) | (request extends ({
6791
+ accessList?: viem0.AccessList | undefined;
6792
+ authorizationList?: undefined | undefined;
6793
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6794
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6795
+ maxFeePerBlobGas?: bigint | undefined;
6796
+ maxFeePerGas?: bigint | undefined;
6797
+ maxPriorityFeePerGas?: bigint | undefined;
6798
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6799
+ } | {
6800
+ accessList?: viem0.AccessList | undefined;
6801
+ authorizationList?: undefined | undefined;
6802
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6803
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6804
+ maxFeePerBlobGas?: bigint | undefined;
6805
+ maxFeePerGas?: bigint | undefined;
6806
+ maxPriorityFeePerGas?: bigint | undefined;
6807
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6808
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6809
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6810
+ } | {
6811
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6812
+ } | {
6813
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6814
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6815
+ accessList?: viem0.AccessList | undefined;
6816
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6817
+ blobs?: undefined | undefined;
6818
+ blobVersionedHashes?: undefined | undefined;
6819
+ gasPrice?: undefined | undefined;
6820
+ maxFeePerBlobGas?: undefined | undefined;
6821
+ maxFeePerGas?: bigint | undefined;
6822
+ maxPriorityFeePerGas?: bigint | undefined;
6823
+ sidecars?: undefined | undefined;
6824
+ } | {
6825
+ accessList?: viem0.AccessList | undefined;
6826
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6827
+ blobs?: undefined | undefined;
6828
+ blobVersionedHashes?: undefined | undefined;
6829
+ gasPrice?: undefined | undefined;
6830
+ maxFeePerBlobGas?: undefined | undefined;
6831
+ maxFeePerGas?: bigint | undefined;
6832
+ maxPriorityFeePerGas?: bigint | undefined;
6833
+ sidecars?: undefined | undefined;
6834
+ }) & {
6835
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6836
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_10 ? T_10 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6837
+ accessList?: undefined | undefined;
6838
+ authorizationList?: undefined | undefined;
6839
+ blobs?: undefined | undefined;
6840
+ blobVersionedHashes?: undefined | undefined;
6841
+ gasPrice?: bigint | undefined;
6842
+ sidecars?: undefined | undefined;
6843
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6844
+ accessList?: viem0.AccessList | undefined;
6845
+ authorizationList?: undefined | undefined;
6846
+ blobs?: undefined | undefined;
6847
+ blobVersionedHashes?: undefined | undefined;
6848
+ gasPrice?: undefined | undefined;
6849
+ maxFeePerBlobGas?: undefined | undefined;
6850
+ maxFeePerGas?: bigint | undefined;
6851
+ maxPriorityFeePerGas?: bigint | undefined;
6852
+ sidecars?: undefined | undefined;
6853
+ } & (viem0.OneOf<{
6854
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6855
+ } | {
6856
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6857
+ }, viem0.FeeValuesEIP1559> & {
6858
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6859
+ }) ? "eip1559" : never) | (request extends {
6860
+ accessList?: viem0.AccessList | undefined;
6861
+ authorizationList?: undefined | undefined;
6862
+ blobs?: undefined | undefined;
6863
+ blobVersionedHashes?: undefined | undefined;
6864
+ gasPrice?: bigint | undefined;
6865
+ sidecars?: undefined | undefined;
6866
+ maxFeePerBlobGas?: undefined | undefined;
6867
+ maxFeePerGas?: undefined | undefined;
6868
+ maxPriorityFeePerGas?: undefined | undefined;
6869
+ } & {
6870
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6871
+ } ? "eip2930" : never) | (request extends ({
6872
+ accessList?: viem0.AccessList | undefined;
6873
+ authorizationList?: undefined | undefined;
6874
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6875
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6876
+ maxFeePerBlobGas?: bigint | undefined;
6877
+ maxFeePerGas?: bigint | undefined;
6878
+ maxPriorityFeePerGas?: bigint | undefined;
6879
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6880
+ } | {
6881
+ accessList?: viem0.AccessList | undefined;
6882
+ authorizationList?: undefined | undefined;
6883
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6884
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6885
+ maxFeePerBlobGas?: bigint | undefined;
6886
+ maxFeePerGas?: bigint | undefined;
6887
+ maxPriorityFeePerGas?: bigint | undefined;
6888
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6889
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6890
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6891
+ } | {
6892
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6893
+ } | {
6894
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6895
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6896
+ accessList?: viem0.AccessList | undefined;
6897
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6898
+ blobs?: undefined | undefined;
6899
+ blobVersionedHashes?: undefined | undefined;
6900
+ gasPrice?: undefined | undefined;
6901
+ maxFeePerBlobGas?: undefined | undefined;
6902
+ maxFeePerGas?: bigint | undefined;
6903
+ maxPriorityFeePerGas?: bigint | undefined;
6904
+ sidecars?: undefined | undefined;
6905
+ } | {
6906
+ accessList?: viem0.AccessList | undefined;
6907
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6908
+ blobs?: undefined | undefined;
6909
+ blobVersionedHashes?: undefined | undefined;
6910
+ gasPrice?: undefined | undefined;
6911
+ maxFeePerBlobGas?: undefined | undefined;
6912
+ maxFeePerGas?: bigint | undefined;
6913
+ maxPriorityFeePerGas?: bigint | undefined;
6914
+ sidecars?: undefined | undefined;
6915
+ }) & {
6916
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6917
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
6918
+ accessList?: undefined | undefined;
6919
+ authorizationList?: undefined | undefined;
6920
+ blobs?: undefined | undefined;
6921
+ blobVersionedHashes?: undefined | undefined;
6922
+ gasPrice?: bigint | undefined;
6923
+ sidecars?: undefined | undefined;
6924
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
6925
+ accessList?: viem0.AccessList | undefined;
6926
+ authorizationList?: undefined | undefined;
6927
+ blobs?: undefined | undefined;
6928
+ blobVersionedHashes?: undefined | undefined;
6929
+ gasPrice?: undefined | undefined;
6930
+ maxFeePerBlobGas?: undefined | undefined;
6931
+ maxFeePerGas?: bigint | undefined;
6932
+ maxPriorityFeePerGas?: bigint | undefined;
6933
+ sidecars?: undefined | undefined;
6934
+ } & (viem0.OneOf<{
6935
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
6936
+ } | {
6937
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
6938
+ }, viem0.FeeValuesEIP1559> & {
6939
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
6940
+ }) ? "eip1559" : never) | (request extends {
6941
+ accessList?: viem0.AccessList | undefined;
6942
+ authorizationList?: undefined | undefined;
6943
+ blobs?: undefined | undefined;
6944
+ blobVersionedHashes?: undefined | undefined;
6945
+ gasPrice?: bigint | undefined;
6946
+ sidecars?: undefined | undefined;
6947
+ maxFeePerBlobGas?: undefined | undefined;
6948
+ maxFeePerGas?: undefined | undefined;
6949
+ maxPriorityFeePerGas?: undefined | undefined;
6950
+ } & {
6951
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
6952
+ } ? "eip2930" : never) | (request extends ({
6953
+ accessList?: viem0.AccessList | undefined;
6954
+ authorizationList?: undefined | undefined;
6955
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6956
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6957
+ maxFeePerBlobGas?: bigint | undefined;
6958
+ maxFeePerGas?: bigint | undefined;
6959
+ maxPriorityFeePerGas?: bigint | undefined;
6960
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6961
+ } | {
6962
+ accessList?: viem0.AccessList | undefined;
6963
+ authorizationList?: undefined | undefined;
6964
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
6965
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
6966
+ maxFeePerBlobGas?: bigint | undefined;
6967
+ maxFeePerGas?: bigint | undefined;
6968
+ maxPriorityFeePerGas?: bigint | undefined;
6969
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
6970
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
6971
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
6972
+ } | {
6973
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
6974
+ } | {
6975
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
6976
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
6977
+ accessList?: viem0.AccessList | undefined;
6978
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6979
+ blobs?: undefined | undefined;
6980
+ blobVersionedHashes?: undefined | undefined;
6981
+ gasPrice?: undefined | undefined;
6982
+ maxFeePerBlobGas?: undefined | undefined;
6983
+ maxFeePerGas?: bigint | undefined;
6984
+ maxPriorityFeePerGas?: bigint | undefined;
6985
+ sidecars?: undefined | undefined;
6986
+ } | {
6987
+ accessList?: viem0.AccessList | undefined;
6988
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
6989
+ blobs?: undefined | undefined;
6990
+ blobVersionedHashes?: undefined | undefined;
6991
+ gasPrice?: undefined | undefined;
6992
+ maxFeePerBlobGas?: undefined | undefined;
6993
+ maxFeePerGas?: bigint | undefined;
6994
+ maxPriorityFeePerGas?: bigint | undefined;
6995
+ sidecars?: undefined | undefined;
6996
+ }) & {
6997
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
6998
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_10 extends "eip2930" ? viem0.TransactionRequestEIP2930 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
6999
+ accessList?: undefined | undefined;
7000
+ authorizationList?: undefined | undefined;
7001
+ blobs?: undefined | undefined;
7002
+ blobVersionedHashes?: undefined | undefined;
7003
+ gasPrice?: bigint | undefined;
7004
+ sidecars?: undefined | undefined;
7005
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7006
+ accessList?: viem0.AccessList | undefined;
7007
+ authorizationList?: undefined | undefined;
7008
+ blobs?: undefined | undefined;
7009
+ blobVersionedHashes?: undefined | undefined;
7010
+ gasPrice?: undefined | undefined;
7011
+ maxFeePerBlobGas?: undefined | undefined;
7012
+ maxFeePerGas?: bigint | undefined;
7013
+ maxPriorityFeePerGas?: bigint | undefined;
7014
+ sidecars?: undefined | undefined;
7015
+ } & (viem0.OneOf<{
7016
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7017
+ } | {
7018
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7019
+ }, viem0.FeeValuesEIP1559> & {
7020
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7021
+ }) ? "eip1559" : never) | (request extends {
7022
+ accessList?: viem0.AccessList | undefined;
7023
+ authorizationList?: undefined | undefined;
7024
+ blobs?: undefined | undefined;
7025
+ blobVersionedHashes?: undefined | undefined;
7026
+ gasPrice?: bigint | undefined;
7027
+ sidecars?: undefined | undefined;
7028
+ maxFeePerBlobGas?: undefined | undefined;
7029
+ maxFeePerGas?: undefined | undefined;
7030
+ maxPriorityFeePerGas?: undefined | undefined;
7031
+ } & {
7032
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7033
+ } ? "eip2930" : never) | (request extends ({
7034
+ accessList?: viem0.AccessList | undefined;
7035
+ authorizationList?: undefined | undefined;
7036
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7037
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7038
+ maxFeePerBlobGas?: bigint | undefined;
7039
+ maxFeePerGas?: bigint | undefined;
7040
+ maxPriorityFeePerGas?: bigint | undefined;
7041
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7042
+ } | {
7043
+ accessList?: viem0.AccessList | undefined;
7044
+ authorizationList?: undefined | undefined;
7045
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7046
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7047
+ maxFeePerBlobGas?: bigint | undefined;
7048
+ maxFeePerGas?: bigint | undefined;
7049
+ maxPriorityFeePerGas?: bigint | undefined;
7050
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7051
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7052
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7053
+ } | {
7054
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7055
+ } | {
7056
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7057
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7058
+ accessList?: viem0.AccessList | undefined;
7059
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7060
+ blobs?: undefined | undefined;
7061
+ blobVersionedHashes?: undefined | undefined;
7062
+ gasPrice?: undefined | undefined;
7063
+ maxFeePerBlobGas?: undefined | undefined;
7064
+ maxFeePerGas?: bigint | undefined;
7065
+ maxPriorityFeePerGas?: bigint | undefined;
7066
+ sidecars?: undefined | undefined;
7067
+ } | {
7068
+ accessList?: viem0.AccessList | undefined;
7069
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7070
+ blobs?: undefined | undefined;
7071
+ blobVersionedHashes?: undefined | undefined;
7072
+ gasPrice?: undefined | undefined;
7073
+ maxFeePerBlobGas?: undefined | undefined;
7074
+ maxFeePerGas?: bigint | undefined;
7075
+ maxPriorityFeePerGas?: bigint | undefined;
7076
+ sidecars?: undefined | undefined;
7077
+ }) & {
7078
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7079
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
7080
+ accessList?: undefined | undefined;
7081
+ authorizationList?: undefined | undefined;
7082
+ blobs?: undefined | undefined;
7083
+ blobVersionedHashes?: undefined | undefined;
7084
+ gasPrice?: bigint | undefined;
7085
+ sidecars?: undefined | undefined;
7086
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7087
+ accessList?: viem0.AccessList | undefined;
7088
+ authorizationList?: undefined | undefined;
7089
+ blobs?: undefined | undefined;
7090
+ blobVersionedHashes?: undefined | undefined;
7091
+ gasPrice?: undefined | undefined;
7092
+ maxFeePerBlobGas?: undefined | undefined;
7093
+ maxFeePerGas?: bigint | undefined;
7094
+ maxPriorityFeePerGas?: bigint | undefined;
7095
+ sidecars?: undefined | undefined;
7096
+ } & (viem0.OneOf<{
7097
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7098
+ } | {
7099
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7100
+ }, viem0.FeeValuesEIP1559> & {
7101
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7102
+ }) ? "eip1559" : never) | (request extends {
7103
+ accessList?: viem0.AccessList | undefined;
7104
+ authorizationList?: undefined | undefined;
7105
+ blobs?: undefined | undefined;
7106
+ blobVersionedHashes?: undefined | undefined;
7107
+ gasPrice?: bigint | undefined;
7108
+ sidecars?: undefined | undefined;
7109
+ maxFeePerBlobGas?: undefined | undefined;
7110
+ maxFeePerGas?: undefined | undefined;
7111
+ maxPriorityFeePerGas?: undefined | undefined;
7112
+ } & {
7113
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7114
+ } ? "eip2930" : never) | (request extends ({
7115
+ accessList?: viem0.AccessList | undefined;
7116
+ authorizationList?: undefined | undefined;
7117
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7118
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7119
+ maxFeePerBlobGas?: bigint | undefined;
7120
+ maxFeePerGas?: bigint | undefined;
7121
+ maxPriorityFeePerGas?: bigint | undefined;
7122
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7123
+ } | {
7124
+ accessList?: viem0.AccessList | undefined;
7125
+ authorizationList?: undefined | undefined;
7126
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7127
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7128
+ maxFeePerBlobGas?: bigint | undefined;
7129
+ maxFeePerGas?: bigint | undefined;
7130
+ maxPriorityFeePerGas?: bigint | undefined;
7131
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7132
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7133
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7134
+ } | {
7135
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7136
+ } | {
7137
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7138
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7139
+ accessList?: viem0.AccessList | undefined;
7140
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7141
+ blobs?: undefined | undefined;
7142
+ blobVersionedHashes?: undefined | undefined;
7143
+ gasPrice?: undefined | undefined;
7144
+ maxFeePerBlobGas?: undefined | undefined;
7145
+ maxFeePerGas?: bigint | undefined;
7146
+ maxPriorityFeePerGas?: bigint | undefined;
7147
+ sidecars?: undefined | undefined;
7148
+ } | {
7149
+ accessList?: viem0.AccessList | undefined;
7150
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7151
+ blobs?: undefined | undefined;
7152
+ blobVersionedHashes?: undefined | undefined;
7153
+ gasPrice?: undefined | undefined;
7154
+ maxFeePerBlobGas?: undefined | undefined;
7155
+ maxFeePerGas?: bigint | undefined;
7156
+ maxPriorityFeePerGas?: bigint | undefined;
7157
+ sidecars?: undefined | undefined;
7158
+ }) & {
7159
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7160
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_11 ? T_11 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
7161
+ accessList?: undefined | undefined;
7162
+ authorizationList?: undefined | undefined;
7163
+ blobs?: undefined | undefined;
7164
+ blobVersionedHashes?: undefined | undefined;
7165
+ gasPrice?: bigint | undefined;
7166
+ sidecars?: undefined | undefined;
7167
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7168
+ accessList?: viem0.AccessList | undefined;
7169
+ authorizationList?: undefined | undefined;
7170
+ blobs?: undefined | undefined;
7171
+ blobVersionedHashes?: undefined | undefined;
7172
+ gasPrice?: undefined | undefined;
7173
+ maxFeePerBlobGas?: undefined | undefined;
7174
+ maxFeePerGas?: bigint | undefined;
7175
+ maxPriorityFeePerGas?: bigint | undefined;
7176
+ sidecars?: undefined | undefined;
7177
+ } & (viem0.OneOf<{
7178
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7179
+ } | {
7180
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7181
+ }, viem0.FeeValuesEIP1559> & {
7182
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7183
+ }) ? "eip1559" : never) | (request extends {
7184
+ accessList?: viem0.AccessList | undefined;
7185
+ authorizationList?: undefined | undefined;
7186
+ blobs?: undefined | undefined;
7187
+ blobVersionedHashes?: undefined | undefined;
7188
+ gasPrice?: bigint | undefined;
7189
+ sidecars?: undefined | undefined;
7190
+ maxFeePerBlobGas?: undefined | undefined;
7191
+ maxFeePerGas?: undefined | undefined;
7192
+ maxPriorityFeePerGas?: undefined | undefined;
7193
+ } & {
7194
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7195
+ } ? "eip2930" : never) | (request extends ({
7196
+ accessList?: viem0.AccessList | undefined;
7197
+ authorizationList?: undefined | undefined;
7198
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7199
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7200
+ maxFeePerBlobGas?: bigint | undefined;
7201
+ maxFeePerGas?: bigint | undefined;
7202
+ maxPriorityFeePerGas?: bigint | undefined;
7203
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7204
+ } | {
7205
+ accessList?: viem0.AccessList | undefined;
7206
+ authorizationList?: undefined | undefined;
7207
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7208
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7209
+ maxFeePerBlobGas?: bigint | undefined;
7210
+ maxFeePerGas?: bigint | undefined;
7211
+ maxPriorityFeePerGas?: bigint | undefined;
7212
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7213
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7214
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7215
+ } | {
7216
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7217
+ } | {
7218
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7219
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7220
+ accessList?: viem0.AccessList | undefined;
7221
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7222
+ blobs?: undefined | undefined;
7223
+ blobVersionedHashes?: undefined | undefined;
7224
+ gasPrice?: undefined | undefined;
7225
+ maxFeePerBlobGas?: undefined | undefined;
7226
+ maxFeePerGas?: bigint | undefined;
7227
+ maxPriorityFeePerGas?: bigint | undefined;
7228
+ sidecars?: undefined | undefined;
7229
+ } | {
7230
+ accessList?: viem0.AccessList | undefined;
7231
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7232
+ blobs?: undefined | undefined;
7233
+ blobVersionedHashes?: undefined | undefined;
7234
+ gasPrice?: undefined | undefined;
7235
+ maxFeePerBlobGas?: undefined | undefined;
7236
+ maxFeePerGas?: bigint | undefined;
7237
+ maxPriorityFeePerGas?: bigint | undefined;
7238
+ sidecars?: undefined | undefined;
7239
+ }) & {
7240
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7241
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
7242
+ accessList?: undefined | undefined;
7243
+ authorizationList?: undefined | undefined;
7244
+ blobs?: undefined | undefined;
7245
+ blobVersionedHashes?: undefined | undefined;
7246
+ gasPrice?: bigint | undefined;
7247
+ sidecars?: undefined | undefined;
7248
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7249
+ accessList?: viem0.AccessList | undefined;
7250
+ authorizationList?: undefined | undefined;
7251
+ blobs?: undefined | undefined;
7252
+ blobVersionedHashes?: undefined | undefined;
7253
+ gasPrice?: undefined | undefined;
7254
+ maxFeePerBlobGas?: undefined | undefined;
7255
+ maxFeePerGas?: bigint | undefined;
7256
+ maxPriorityFeePerGas?: bigint | undefined;
7257
+ sidecars?: undefined | undefined;
7258
+ } & (viem0.OneOf<{
7259
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7260
+ } | {
7261
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7262
+ }, viem0.FeeValuesEIP1559> & {
7263
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7264
+ }) ? "eip1559" : never) | (request extends {
7265
+ accessList?: viem0.AccessList | undefined;
7266
+ authorizationList?: undefined | undefined;
7267
+ blobs?: undefined | undefined;
7268
+ blobVersionedHashes?: undefined | undefined;
7269
+ gasPrice?: bigint | undefined;
7270
+ sidecars?: undefined | undefined;
7271
+ maxFeePerBlobGas?: undefined | undefined;
7272
+ maxFeePerGas?: undefined | undefined;
7273
+ maxPriorityFeePerGas?: undefined | undefined;
7274
+ } & {
7275
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7276
+ } ? "eip2930" : never) | (request extends ({
7277
+ accessList?: viem0.AccessList | undefined;
7278
+ authorizationList?: undefined | undefined;
7279
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7280
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7281
+ maxFeePerBlobGas?: bigint | undefined;
7282
+ maxFeePerGas?: bigint | undefined;
7283
+ maxPriorityFeePerGas?: bigint | undefined;
7284
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7285
+ } | {
7286
+ accessList?: viem0.AccessList | undefined;
7287
+ authorizationList?: undefined | undefined;
7288
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7289
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7290
+ maxFeePerBlobGas?: bigint | undefined;
7291
+ maxFeePerGas?: bigint | undefined;
7292
+ maxPriorityFeePerGas?: bigint | undefined;
7293
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7294
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7295
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7296
+ } | {
7297
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7298
+ } | {
7299
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7300
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7301
+ accessList?: viem0.AccessList | undefined;
7302
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7303
+ blobs?: undefined | undefined;
7304
+ blobVersionedHashes?: undefined | undefined;
7305
+ gasPrice?: undefined | undefined;
7306
+ maxFeePerBlobGas?: undefined | undefined;
7307
+ maxFeePerGas?: bigint | undefined;
7308
+ maxPriorityFeePerGas?: bigint | undefined;
7309
+ sidecars?: undefined | undefined;
7310
+ } | {
7311
+ accessList?: viem0.AccessList | undefined;
7312
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7313
+ blobs?: undefined | undefined;
7314
+ blobVersionedHashes?: undefined | undefined;
7315
+ gasPrice?: undefined | undefined;
7316
+ maxFeePerBlobGas?: undefined | undefined;
7317
+ maxFeePerGas?: bigint | undefined;
7318
+ maxPriorityFeePerGas?: bigint | undefined;
7319
+ sidecars?: undefined | undefined;
7320
+ }) & {
7321
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7322
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_11 extends "eip4844" ? viem0.TransactionRequestEIP4844 : never : never : never) | ((request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
7323
+ accessList?: undefined | undefined;
7324
+ authorizationList?: undefined | undefined;
7325
+ blobs?: undefined | undefined;
7326
+ blobVersionedHashes?: undefined | undefined;
7327
+ gasPrice?: bigint | undefined;
7328
+ sidecars?: undefined | undefined;
7329
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7330
+ accessList?: viem0.AccessList | undefined;
7331
+ authorizationList?: undefined | undefined;
7332
+ blobs?: undefined | undefined;
7333
+ blobVersionedHashes?: undefined | undefined;
7334
+ gasPrice?: undefined | undefined;
7335
+ maxFeePerBlobGas?: undefined | undefined;
7336
+ maxFeePerGas?: bigint | undefined;
7337
+ maxPriorityFeePerGas?: bigint | undefined;
7338
+ sidecars?: undefined | undefined;
7339
+ } & (viem0.OneOf<{
7340
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7341
+ } | {
7342
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7343
+ }, viem0.FeeValuesEIP1559> & {
7344
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7345
+ }) ? "eip1559" : never) | (request extends {
7346
+ accessList?: viem0.AccessList | undefined;
7347
+ authorizationList?: undefined | undefined;
7348
+ blobs?: undefined | undefined;
7349
+ blobVersionedHashes?: undefined | undefined;
7350
+ gasPrice?: bigint | undefined;
7351
+ sidecars?: undefined | undefined;
7352
+ maxFeePerBlobGas?: undefined | undefined;
7353
+ maxFeePerGas?: undefined | undefined;
7354
+ maxPriorityFeePerGas?: undefined | undefined;
7355
+ } & {
7356
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7357
+ } ? "eip2930" : never) | (request extends ({
7358
+ accessList?: viem0.AccessList | undefined;
7359
+ authorizationList?: undefined | undefined;
7360
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7361
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7362
+ maxFeePerBlobGas?: bigint | undefined;
7363
+ maxFeePerGas?: bigint | undefined;
7364
+ maxPriorityFeePerGas?: bigint | undefined;
7365
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7366
+ } | {
7367
+ accessList?: viem0.AccessList | undefined;
7368
+ authorizationList?: undefined | undefined;
7369
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7370
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7371
+ maxFeePerBlobGas?: bigint | undefined;
7372
+ maxFeePerGas?: bigint | undefined;
7373
+ maxPriorityFeePerGas?: bigint | undefined;
7374
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7375
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7376
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7377
+ } | {
7378
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7379
+ } | {
7380
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7381
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7382
+ accessList?: viem0.AccessList | undefined;
7383
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7384
+ blobs?: undefined | undefined;
7385
+ blobVersionedHashes?: undefined | undefined;
7386
+ gasPrice?: undefined | undefined;
7387
+ maxFeePerBlobGas?: undefined | undefined;
7388
+ maxFeePerGas?: bigint | undefined;
7389
+ maxPriorityFeePerGas?: bigint | undefined;
7390
+ sidecars?: undefined | undefined;
7391
+ } | {
7392
+ accessList?: viem0.AccessList | undefined;
7393
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7394
+ blobs?: undefined | undefined;
7395
+ blobVersionedHashes?: undefined | undefined;
7396
+ gasPrice?: undefined | undefined;
7397
+ maxFeePerBlobGas?: undefined | undefined;
7398
+ maxFeePerGas?: bigint | undefined;
7399
+ maxPriorityFeePerGas?: bigint | undefined;
7400
+ sidecars?: undefined | undefined;
7401
+ }) & {
7402
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7403
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
7404
+ accessList?: undefined | undefined;
7405
+ authorizationList?: undefined | undefined;
7406
+ blobs?: undefined | undefined;
7407
+ blobVersionedHashes?: undefined | undefined;
7408
+ gasPrice?: bigint | undefined;
7409
+ sidecars?: undefined | undefined;
7410
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7411
+ accessList?: viem0.AccessList | undefined;
7412
+ authorizationList?: undefined | undefined;
7413
+ blobs?: undefined | undefined;
7414
+ blobVersionedHashes?: undefined | undefined;
7415
+ gasPrice?: undefined | undefined;
7416
+ maxFeePerBlobGas?: undefined | undefined;
7417
+ maxFeePerGas?: bigint | undefined;
7418
+ maxPriorityFeePerGas?: bigint | undefined;
7419
+ sidecars?: undefined | undefined;
7420
+ } & (viem0.OneOf<{
7421
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7422
+ } | {
7423
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7424
+ }, viem0.FeeValuesEIP1559> & {
7425
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7426
+ }) ? "eip1559" : never) | (request extends {
7427
+ accessList?: viem0.AccessList | undefined;
7428
+ authorizationList?: undefined | undefined;
7429
+ blobs?: undefined | undefined;
7430
+ blobVersionedHashes?: undefined | undefined;
7431
+ gasPrice?: bigint | undefined;
7432
+ sidecars?: undefined | undefined;
7433
+ maxFeePerBlobGas?: undefined | undefined;
7434
+ maxFeePerGas?: undefined | undefined;
7435
+ maxPriorityFeePerGas?: undefined | undefined;
7436
+ } & {
7437
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7438
+ } ? "eip2930" : never) | (request extends ({
7439
+ accessList?: viem0.AccessList | undefined;
7440
+ authorizationList?: undefined | undefined;
7441
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7442
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7443
+ maxFeePerBlobGas?: bigint | undefined;
7444
+ maxFeePerGas?: bigint | undefined;
7445
+ maxPriorityFeePerGas?: bigint | undefined;
7446
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7447
+ } | {
7448
+ accessList?: viem0.AccessList | undefined;
7449
+ authorizationList?: undefined | undefined;
7450
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7451
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7452
+ maxFeePerBlobGas?: bigint | undefined;
7453
+ maxFeePerGas?: bigint | undefined;
7454
+ maxPriorityFeePerGas?: bigint | undefined;
7455
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7456
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7457
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7458
+ } | {
7459
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7460
+ } | {
7461
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7462
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7463
+ accessList?: viem0.AccessList | undefined;
7464
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7465
+ blobs?: undefined | undefined;
7466
+ blobVersionedHashes?: undefined | undefined;
7467
+ gasPrice?: undefined | undefined;
7468
+ maxFeePerBlobGas?: undefined | undefined;
7469
+ maxFeePerGas?: bigint | undefined;
7470
+ maxPriorityFeePerGas?: bigint | undefined;
7471
+ sidecars?: undefined | undefined;
7472
+ } | {
7473
+ accessList?: viem0.AccessList | undefined;
7474
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7475
+ blobs?: undefined | undefined;
7476
+ blobVersionedHashes?: undefined | undefined;
7477
+ gasPrice?: undefined | undefined;
7478
+ maxFeePerBlobGas?: undefined | undefined;
7479
+ maxFeePerGas?: bigint | undefined;
7480
+ maxPriorityFeePerGas?: bigint | undefined;
7481
+ sidecars?: undefined | undefined;
7482
+ }) & {
7483
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7484
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_12 ? T_12 extends (request["type"] extends string | undefined ? request["type"] : viem0.GetTransactionType<request, (request extends {
7485
+ accessList?: undefined | undefined;
7486
+ authorizationList?: undefined | undefined;
7487
+ blobs?: undefined | undefined;
7488
+ blobVersionedHashes?: undefined | undefined;
7489
+ gasPrice?: bigint | undefined;
7490
+ sidecars?: undefined | undefined;
7491
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7492
+ accessList?: viem0.AccessList | undefined;
7493
+ authorizationList?: undefined | undefined;
7494
+ blobs?: undefined | undefined;
7495
+ blobVersionedHashes?: undefined | undefined;
7496
+ gasPrice?: undefined | undefined;
7497
+ maxFeePerBlobGas?: undefined | undefined;
7498
+ maxFeePerGas?: bigint | undefined;
7499
+ maxPriorityFeePerGas?: bigint | undefined;
7500
+ sidecars?: undefined | undefined;
7501
+ } & (viem0.OneOf<{
7502
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7503
+ } | {
7504
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7505
+ }, viem0.FeeValuesEIP1559> & {
7506
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7507
+ }) ? "eip1559" : never) | (request extends {
7508
+ accessList?: viem0.AccessList | undefined;
7509
+ authorizationList?: undefined | undefined;
7510
+ blobs?: undefined | undefined;
7511
+ blobVersionedHashes?: undefined | undefined;
7512
+ gasPrice?: bigint | undefined;
7513
+ sidecars?: undefined | undefined;
7514
+ maxFeePerBlobGas?: undefined | undefined;
7515
+ maxFeePerGas?: undefined | undefined;
7516
+ maxPriorityFeePerGas?: undefined | undefined;
7517
+ } & {
7518
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7519
+ } ? "eip2930" : never) | (request extends ({
7520
+ accessList?: viem0.AccessList | undefined;
7521
+ authorizationList?: undefined | undefined;
7522
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7523
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7524
+ maxFeePerBlobGas?: bigint | undefined;
7525
+ maxFeePerGas?: bigint | undefined;
7526
+ maxPriorityFeePerGas?: bigint | undefined;
7527
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7528
+ } | {
7529
+ accessList?: viem0.AccessList | undefined;
7530
+ authorizationList?: undefined | undefined;
7531
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7532
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7533
+ maxFeePerBlobGas?: bigint | undefined;
7534
+ maxFeePerGas?: bigint | undefined;
7535
+ maxPriorityFeePerGas?: bigint | undefined;
7536
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7537
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7538
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7539
+ } | {
7540
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7541
+ } | {
7542
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7543
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7544
+ accessList?: viem0.AccessList | undefined;
7545
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7546
+ blobs?: undefined | undefined;
7547
+ blobVersionedHashes?: undefined | undefined;
7548
+ gasPrice?: undefined | undefined;
7549
+ maxFeePerBlobGas?: undefined | undefined;
7550
+ maxFeePerGas?: bigint | undefined;
7551
+ maxPriorityFeePerGas?: bigint | undefined;
7552
+ sidecars?: undefined | undefined;
7553
+ } | {
7554
+ accessList?: viem0.AccessList | undefined;
7555
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7556
+ blobs?: undefined | undefined;
7557
+ blobVersionedHashes?: undefined | undefined;
7558
+ gasPrice?: undefined | undefined;
7559
+ maxFeePerBlobGas?: undefined | undefined;
7560
+ maxFeePerGas?: bigint | undefined;
7561
+ maxPriorityFeePerGas?: bigint | undefined;
7562
+ sidecars?: undefined | undefined;
7563
+ }) & {
7564
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7565
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : viem0.GetTransactionType<request, (request extends {
7566
+ accessList?: undefined | undefined;
7567
+ authorizationList?: undefined | undefined;
7568
+ blobs?: undefined | undefined;
7569
+ blobVersionedHashes?: undefined | undefined;
7570
+ gasPrice?: bigint | undefined;
7571
+ sidecars?: undefined | undefined;
7572
+ } & viem0.FeeValuesLegacy ? "legacy" : never) | (request extends {
7573
+ accessList?: viem0.AccessList | undefined;
7574
+ authorizationList?: undefined | undefined;
7575
+ blobs?: undefined | undefined;
7576
+ blobVersionedHashes?: undefined | undefined;
7577
+ gasPrice?: undefined | undefined;
7578
+ maxFeePerBlobGas?: undefined | undefined;
7579
+ maxFeePerGas?: bigint | undefined;
7580
+ maxPriorityFeePerGas?: bigint | undefined;
7581
+ sidecars?: undefined | undefined;
7582
+ } & (viem0.OneOf<{
7583
+ maxFeePerGas: viem0.FeeValuesEIP1559["maxFeePerGas"];
7584
+ } | {
7585
+ maxPriorityFeePerGas: viem0.FeeValuesEIP1559["maxPriorityFeePerGas"];
7586
+ }, viem0.FeeValuesEIP1559> & {
7587
+ accessList?: viem0.TransactionSerializableEIP2930["accessList"] | undefined;
7588
+ }) ? "eip1559" : never) | (request extends {
7589
+ accessList?: viem0.AccessList | undefined;
7590
+ authorizationList?: undefined | undefined;
7591
+ blobs?: undefined | undefined;
7592
+ blobVersionedHashes?: undefined | undefined;
7593
+ gasPrice?: bigint | undefined;
7594
+ sidecars?: undefined | undefined;
7595
+ maxFeePerBlobGas?: undefined | undefined;
7596
+ maxFeePerGas?: undefined | undefined;
7597
+ maxPriorityFeePerGas?: undefined | undefined;
7598
+ } & {
7599
+ accessList: viem0.TransactionSerializableEIP2930["accessList"];
7600
+ } ? "eip2930" : never) | (request extends ({
7601
+ accessList?: viem0.AccessList | undefined;
7602
+ authorizationList?: undefined | undefined;
7603
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7604
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7605
+ maxFeePerBlobGas?: bigint | undefined;
7606
+ maxFeePerGas?: bigint | undefined;
7607
+ maxPriorityFeePerGas?: bigint | undefined;
7608
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7609
+ } | {
7610
+ accessList?: viem0.AccessList | undefined;
7611
+ authorizationList?: undefined | undefined;
7612
+ blobs?: readonly `0x${string}`[] | readonly viem0.ByteArray[] | undefined;
7613
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
7614
+ maxFeePerBlobGas?: bigint | undefined;
7615
+ maxFeePerGas?: bigint | undefined;
7616
+ maxPriorityFeePerGas?: bigint | undefined;
7617
+ sidecars?: false | readonly viem0.BlobSidecar<`0x${string}`>[] | undefined;
7618
+ }) & (viem0.ExactPartial<viem0.FeeValuesEIP4844> & viem0.OneOf<{
7619
+ blobs: viem0.TransactionSerializableEIP4844["blobs"];
7620
+ } | {
7621
+ blobVersionedHashes: viem0.TransactionSerializableEIP4844["blobVersionedHashes"];
7622
+ } | {
7623
+ sidecars: viem0.TransactionSerializableEIP4844["sidecars"];
7624
+ }, viem0.TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({
7625
+ accessList?: viem0.AccessList | undefined;
7626
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7627
+ blobs?: undefined | undefined;
7628
+ blobVersionedHashes?: undefined | undefined;
7629
+ gasPrice?: undefined | undefined;
7630
+ maxFeePerBlobGas?: undefined | undefined;
7631
+ maxFeePerGas?: bigint | undefined;
7632
+ maxPriorityFeePerGas?: bigint | undefined;
7633
+ sidecars?: undefined | undefined;
7634
+ } | {
7635
+ accessList?: viem0.AccessList | undefined;
7636
+ authorizationList?: viem0.SignedAuthorizationList | undefined;
7637
+ blobs?: undefined | undefined;
7638
+ blobVersionedHashes?: undefined | undefined;
7639
+ gasPrice?: undefined | undefined;
7640
+ maxFeePerBlobGas?: undefined | undefined;
7641
+ maxFeePerGas?: bigint | undefined;
7642
+ maxPriorityFeePerGas?: bigint | undefined;
7643
+ sidecars?: undefined | undefined;
7644
+ }) & {
7645
+ authorizationList: viem0.TransactionSerializableEIP7702["authorizationList"];
7646
+ } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) ? T_12 extends "eip7702" ? viem0.TransactionRequestEIP7702 : never : never : never)>> & {
7647
+ chainId?: number | undefined;
7648
+ }, (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem0.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "chainId" | "type" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K] } : never>;
7649
+ readContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "pure" | "view">, const args extends viem0.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem0.ReadContractParameters<abi, functionName, args>) => Promise<viem0.ReadContractReturnType<abi, functionName, args>>;
7650
+ sendRawTransaction: (args: viem0.SendRawTransactionParameters) => Promise<viem0.SendRawTransactionReturnType>;
7651
+ simulate: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
7652
+ simulateBlocks: <const calls extends readonly unknown[]>(args: viem0.SimulateBlocksParameters<calls>) => Promise<viem0.SimulateBlocksReturnType<calls>>;
7653
+ simulateCalls: <const calls extends readonly unknown[]>(args: viem0.SimulateCallsParameters<calls>) => Promise<viem0.SimulateCallsReturnType<calls>>;
7654
+ simulateContract: <const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends Chain | undefined, accountOverride extends viem0.Account | viem0.Address | undefined = undefined>(args: viem0.SimulateContractParameters<abi, functionName, args_1, Chain, chainOverride, accountOverride>) => Promise<viem0.SimulateContractReturnType<abi, functionName, args_1, Chain, viem0.Account | undefined, chainOverride, accountOverride>>;
7655
+ verifyMessage: (args: viem0.VerifyMessageActionParameters) => Promise<viem0.VerifyMessageActionReturnType>;
7656
+ verifySiweMessage: (args: {
7657
+ blockNumber?: bigint | undefined | undefined;
7658
+ blockTag?: viem0.BlockTag | undefined;
7659
+ address?: `0x${string}` | undefined;
7660
+ nonce?: string | undefined | undefined;
7661
+ domain?: string | undefined | undefined;
7662
+ scheme?: string | undefined | undefined;
7663
+ time?: Date | undefined;
7664
+ message: string;
7665
+ signature: viem0.Hex;
7666
+ }) => Promise<boolean>;
7667
+ verifyTypedData: (args: viem0.VerifyTypedDataActionParameters) => Promise<viem0.VerifyTypedDataActionReturnType>;
7668
+ uninstallFilter: (args: viem0.UninstallFilterParameters) => Promise<viem0.UninstallFilterReturnType>;
7669
+ waitForTransactionReceipt: (args: viem0.WaitForTransactionReceiptParameters<Chain>) => Promise<viem0.TransactionReceipt>;
7670
+ watchBlockNumber: (args: viem0.WatchBlockNumberParameters) => viem0.WatchBlockNumberReturnType;
7671
+ watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args: viem0.WatchBlocksParameters<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, includeTransactions, blockTag>) => viem0.WatchBlocksReturnType;
7672
+ watchContractEvent: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem0.WatchContractEventParameters<abi, eventName, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchContractEventReturnType;
7673
+ watchEvent: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined>(args: viem0.WatchEventParameters<abiEvent, abiEvents, strict, viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchEventReturnType;
7674
+ watchPendingTransactions: (args: viem0.WatchPendingTransactionsParameters<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>>) => viem0.WatchPendingTransactionsReturnType;
7675
+ extend: <const client extends {
7676
+ [x: string]: unknown;
7677
+ account?: undefined;
7678
+ batch?: undefined;
7679
+ cacheTime?: undefined;
7680
+ ccipRead?: undefined;
7681
+ chain?: undefined;
7682
+ experimental_blockTag?: undefined;
7683
+ key?: undefined;
7684
+ name?: undefined;
7685
+ pollingInterval?: undefined;
7686
+ request?: undefined;
7687
+ transport?: undefined;
7688
+ type?: undefined;
7689
+ uid?: undefined;
7690
+ } & viem0.ExactPartial<Pick<viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem0.WalletActions<Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>) => client) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.PublicRpcSchema, { [K in keyof client]: client[K] } & viem0.PublicActions<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain>>;
7691
+ };
7692
+ /**
7693
+ * The options for the wallet client.
7694
+ */
7695
+ interface WalletVerificationOptions {
7696
+ /**
7697
+ * The verification id (used for HD wallets), if not provided, the challenge response will be validated against all active verifications.
7698
+ */
7699
+ verificationId?: string;
7700
+ /**
7701
+ * The challenge id (used for HD wallets)
7702
+ */
7703
+ challengeId?: string;
7704
+ /**
7705
+ * The challenge response (used for HD wallets)
7706
+ */
7707
+ challengeResponse: string;
7708
+ }
7709
+ /**
7710
+ * Creates a factory function for wallet clients with runtime verification support.
7711
+ *
7712
+ * @remarks
7713
+ * DESIGN PATTERN: Returns a factory function rather than a client instance because
7714
+ * wallet operations require runtime verification parameters (challenge responses, etc.)
7715
+ * that cannot be known at factory creation time.
7716
+ *
7717
+ * SECURITY: Verification headers are injected per-operation to support:
7718
+ * - HD wallet challenge/response flows
7719
+ * - Multi-signature verification workflows
7720
+ * - Time-sensitive authentication tokens
7721
+ *
7722
+ * PERFORMANCE: Factory caching amortizes expensive setup (chain resolution, transport config)
7723
+ * while allowing runtime parameter injection for each wallet operation.
7724
+ *
7725
+ * FEATURE EXTENSIONS: Automatically extends client with SettleMint-specific wallet actions:
7726
+ * - Wallet creation and management
7727
+ * - Verification challenge handling
7728
+ * - Multi-factor authentication flows
7729
+ *
7730
+ * @param options - Base client configuration (chain, RPC, auth)
7731
+ * @returns Factory function that accepts runtime verification options
7732
+ * @throws ValidationError when options don't match required schema
7733
+ *
7734
+ * @example
7735
+ * ```ts
7736
+ * import { getWalletClient } from '@settlemint/sdk-viem';
7737
+ * import { parseAbi } from "viem";
7738
+ *
7739
+ * const walletClient = getWalletClient({
7740
+ * accessToken: process.env.SETTLEMINT_ACCESS_TOKEN,
7741
+ * chainId: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID!,
7742
+ * chainName: process.env.SETTLEMINT_BLOCKCHAIN_NETWORK!,
7743
+ * rpcUrl: process.env.SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT!,
7744
+ * });
7745
+ *
7746
+ * // Get the chain id
7747
+ * const chainId = await walletClient().getChainId();
7748
+ * console.log(chainId);
7749
+ *
7750
+ * // write to the blockchain
7751
+ * const transactionHash = await walletClient().writeContract({
7752
+ * account: "0x0000000000000000000000000000000000000000",
7753
+ * address: "0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2",
7754
+ * abi: parseAbi(["function mint(uint32 tokenId) nonpayable"]),
7755
+ * functionName: "mint",
7756
+ * args: [69420],
7757
+ * });
7758
+ * console.log(transactionHash);
7759
+ * ```
7760
+ */
7761
+ declare const getWalletClient: (options: ClientOptions) => (verificationOptions?: WalletVerificationOptions) => ReturnType<typeof createWalletClientWithCustomMethods>;
7762
+ declare const createWalletClientWithCustomMethods: (chain: ReturnType<typeof getChain>, validatedOptions: ClientOptions, verificationOptions?: WalletVerificationOptions) => viem0.Client<viem0.HttpTransport<viem0.RpcSchema | undefined, boolean>, Chain, undefined, viem0.WalletRpcSchema, {
7763
+ verifyWalletVerificationChallenge: (args: VerifyWalletVerificationChallengeParameters) => Promise<VerifyWalletVerificationChallengeResponse>;
7764
+ } & {
7765
+ createWalletVerificationChallenges: (args: CreateWalletVerificationChallengesParameters) => Promise<CreateWalletVerificationChallengesResponse>;
7766
+ } & {
7767
+ createWalletVerificationChallenge: (args: CreateWalletVerificationChallengeParameters) => Promise<CreateWalletVerificationChallengeResponse>;
7768
+ } & {
7769
+ deleteWalletVerification: (args: DeleteWalletVerificationParameters) => Promise<DeleteWalletVerificationResponse[]>;
7770
+ } & {
7771
+ createWalletVerification: (args: CreateWalletVerificationParameters) => Promise<CreateWalletVerificationResponse[]>;
7772
+ } & {
7773
+ getWalletVerifications: (args: GetWalletVerificationsParameters) => Promise<GetWalletVerificationsResponse>;
7774
+ } & {
7775
+ createWallet: (args: CreateWalletParameters) => Promise<CreateWalletResponse[]>;
7776
+ } & {
7777
+ call: (parameters: viem0.CallParameters<Chain>) => Promise<viem0.CallReturnType>;
7778
+ createAccessList: (parameters: viem0.CreateAccessListParameters<Chain>) => Promise<{
7779
+ accessList: viem0.AccessList;
7780
+ gasUsed: bigint;
7781
+ }>;
7782
+ createBlockFilter: () => Promise<viem0.CreateBlockFilterReturnType>;
7783
+ createContractEventFilter: <const abi extends viem0.Abi | readonly unknown[], eventName extends viem0.ContractEventName<abi> | undefined, args extends viem0.MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined>(args: viem0.CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<viem0.CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>;
7784
+ createEventFilter: <const abiEvent extends viem0.AbiEvent | undefined = undefined, const abiEvents extends readonly viem0.AbiEvent[] | readonly unknown[] | undefined = (abiEvent extends viem0.AbiEvent ? [abiEvent] : undefined), strict extends boolean | undefined = undefined, fromBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, toBlock extends viem0.BlockNumber | viem0.BlockTag | undefined = undefined, _EventName extends string | undefined = viem0.MaybeAbiEventName<abiEvent>, _Args extends viem0.MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: viem0.CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<viem0.CreateEventFilterReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args>>;
7785
+ createPendingTransactionFilter: () => Promise<viem0.CreatePendingTransactionFilterReturnType>;
7786
+ estimateContractGas: <chain extends Chain | undefined, const abi extends viem0.Abi | readonly unknown[], functionName extends viem0.ContractFunctionName<abi, "nonpayable" | "payable">, args extends viem0.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: viem0.EstimateContractGasParameters<abi, functionName, args, chain>) => Promise<viem0.EstimateContractGasReturnType>;
7787
+ estimateGas: (args: viem0.EstimateGasParameters<Chain>) => Promise<viem0.EstimateGasReturnType>;
7788
+ getBalance: (args: viem0.GetBalanceParameters) => Promise<viem0.GetBalanceReturnType>;
7789
+ getBlobBaseFee: () => Promise<viem0.GetBlobBaseFeeReturnType>;
7790
+ getBlock: <includeTransactions extends boolean = false, blockTag extends viem0.BlockTag = "latest">(args?: viem0.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
7791
+ number: blockTag extends "pending" ? null : bigint;
7792
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
7793
+ hash: blockTag extends "pending" ? null : `0x${string}`;
7794
+ logsBloom: blockTag extends "pending" ? null : `0x${string}`;
7795
+ baseFeePerGas: bigint | null;
7796
+ blobGasUsed: bigint;
7797
+ difficulty: bigint;
7798
+ excessBlobGas: bigint;
7799
+ extraData: viem0.Hex;
7800
+ gasLimit: bigint;
7801
+ gasUsed: bigint;
4840
7802
  miner: viem0.Address;
4841
7803
  mixHash: viem0.Hash;
4842
7804
  parentBeaconBlockRoot?: `0x${string}` | undefined;