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