@wagmi/core 3.2.0 → 3.2.2
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/esm/actions/prepareTransactionRequest.js.map +1 -1
- package/dist/esm/actions/simulateContract.js.map +1 -1
- package/dist/esm/exports/internal.js.map +1 -1
- package/dist/esm/exports/query.js.map +1 -1
- package/dist/esm/query/call.js +4 -3
- package/dist/esm/query/call.js.map +1 -1
- package/dist/esm/query/estimateFeesPerGas.js +3 -2
- package/dist/esm/query/estimateFeesPerGas.js.map +1 -1
- package/dist/esm/query/estimateGas.js +12 -7
- package/dist/esm/query/estimateGas.js.map +1 -1
- package/dist/esm/query/estimateMaxPriorityFeePerGas.js +3 -2
- package/dist/esm/query/estimateMaxPriorityFeePerGas.js.map +1 -1
- package/dist/esm/query/getBalance.js +6 -4
- package/dist/esm/query/getBalance.js.map +1 -1
- package/dist/esm/query/getBlock.js +3 -2
- package/dist/esm/query/getBlock.js.map +1 -1
- package/dist/esm/query/getBlockNumber.js +3 -2
- package/dist/esm/query/getBlockNumber.js.map +1 -1
- package/dist/esm/query/getBlockTransactionCount.js +3 -2
- package/dist/esm/query/getBlockTransactionCount.js.map +1 -1
- package/dist/esm/query/getBytecode.js +10 -5
- package/dist/esm/query/getBytecode.js.map +1 -1
- package/dist/esm/query/getCallsStatus.js +6 -8
- package/dist/esm/query/getCallsStatus.js.map +1 -1
- package/dist/esm/query/getCapabilities.js +6 -8
- package/dist/esm/query/getCapabilities.js.map +1 -1
- package/dist/esm/query/getConnectorClient.js +7 -9
- package/dist/esm/query/getConnectorClient.js.map +1 -1
- package/dist/esm/query/getEnsAddress.js +6 -4
- package/dist/esm/query/getEnsAddress.js.map +1 -1
- package/dist/esm/query/getEnsAvatar.js +6 -4
- package/dist/esm/query/getEnsAvatar.js.map +1 -1
- package/dist/esm/query/getEnsName.js +6 -4
- package/dist/esm/query/getEnsName.js.map +1 -1
- package/dist/esm/query/getEnsResolver.js +6 -4
- package/dist/esm/query/getEnsResolver.js.map +1 -1
- package/dist/esm/query/getEnsText.js +10 -4
- package/dist/esm/query/getEnsText.js.map +1 -1
- package/dist/esm/query/getFeeHistory.js +10 -6
- package/dist/esm/query/getFeeHistory.js.map +1 -1
- package/dist/esm/query/getGasPrice.js +3 -2
- package/dist/esm/query/getGasPrice.js.map +1 -1
- package/dist/esm/query/getProof.js +13 -5
- package/dist/esm/query/getProof.js.map +1 -1
- package/dist/esm/query/getStorageAt.js +11 -5
- package/dist/esm/query/getStorageAt.js.map +1 -1
- package/dist/esm/query/getTransaction.js +14 -8
- package/dist/esm/query/getTransaction.js.map +1 -1
- package/dist/esm/query/getTransactionConfirmations.js +8 -5
- package/dist/esm/query/getTransactionConfirmations.js.map +1 -1
- package/dist/esm/query/getTransactionCount.js +6 -4
- package/dist/esm/query/getTransactionCount.js.map +1 -1
- package/dist/esm/query/getTransactionReceipt.js +10 -5
- package/dist/esm/query/getTransactionReceipt.js.map +1 -1
- package/dist/esm/query/getWalletClient.js +12 -9
- package/dist/esm/query/getWalletClient.js.map +1 -1
- package/dist/esm/query/infiniteReadContracts.js +1 -1
- package/dist/esm/query/infiniteReadContracts.js.map +1 -1
- package/dist/esm/query/prepareTransactionRequest.js +7 -5
- package/dist/esm/query/prepareTransactionRequest.js.map +1 -1
- package/dist/esm/query/readContract.js +18 -21
- package/dist/esm/query/readContract.js.map +1 -1
- package/dist/esm/query/readContracts.js +5 -4
- package/dist/esm/query/readContracts.js.map +1 -1
- package/dist/esm/query/simulateContract.js +18 -10
- package/dist/esm/query/simulateContract.js.map +1 -1
- package/dist/esm/query/utils.js +3 -1
- package/dist/esm/query/utils.js.map +1 -1
- package/dist/esm/query/verifyMessage.js +20 -7
- package/dist/esm/query/verifyMessage.js.map +1 -1
- package/dist/esm/query/verifyTypedData.js +20 -13
- package/dist/esm/query/verifyTypedData.js.map +1 -1
- package/dist/esm/query/waitForCallsStatus.js +14 -11
- package/dist/esm/query/waitForCallsStatus.js.map +1 -1
- package/dist/esm/query/waitForTransactionReceipt.js +6 -4
- package/dist/esm/query/waitForTransactionReceipt.js.map +1 -1
- package/dist/esm/tempo/Connectors.js +39 -30
- package/dist/esm/tempo/Connectors.js.map +1 -1
- package/dist/esm/tempo/actions/amm.js +1 -1
- package/dist/esm/tempo/actions/amm.js.map +1 -1
- package/dist/esm/tempo/actions/fee.js +1 -1
- package/dist/esm/tempo/actions/fee.js.map +1 -1
- package/dist/esm/tempo/actions/nonce.js +1 -1
- package/dist/esm/tempo/actions/nonce.js.map +1 -1
- package/dist/esm/tempo/actions/utils.js +17 -1
- package/dist/esm/tempo/actions/utils.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/types/query.js +2 -0
- package/dist/esm/types/query.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/actions/prepareTransactionRequest.d.ts +2 -2
- package/dist/types/actions/prepareTransactionRequest.d.ts.map +1 -1
- package/dist/types/actions/simulateContract.d.ts +5 -3
- package/dist/types/actions/simulateContract.d.ts.map +1 -1
- package/dist/types/actions/verifyTypedData.d.ts +2 -2
- package/dist/types/actions/verifyTypedData.d.ts.map +1 -1
- package/dist/types/exports/internal.d.ts +1 -0
- package/dist/types/exports/internal.d.ts.map +1 -1
- package/dist/types/exports/query.d.ts +34 -34
- package/dist/types/exports/query.d.ts.map +1 -1
- package/dist/types/query/call.d.ts +34 -13
- package/dist/types/query/call.d.ts.map +1 -1
- package/dist/types/query/estimateFeesPerGas.d.ts +7 -22
- package/dist/types/query/estimateFeesPerGas.d.ts.map +1 -1
- package/dist/types/query/estimateGas.d.ts +12 -15
- package/dist/types/query/estimateGas.d.ts.map +1 -1
- package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts +6 -19
- package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts.map +1 -1
- package/dist/types/query/getBalance.d.ts +8 -27
- package/dist/types/query/getBalance.d.ts.map +1 -1
- package/dist/types/query/getBlock.d.ts +13 -13
- package/dist/types/query/getBlock.d.ts.map +1 -1
- package/dist/types/query/getBlockNumber.d.ts +7 -23
- package/dist/types/query/getBlockNumber.d.ts.map +1 -1
- package/dist/types/query/getBlockTransactionCount.d.ts +12 -13
- package/dist/types/query/getBlockTransactionCount.d.ts.map +1 -1
- package/dist/types/query/getBytecode.d.ts +12 -13
- package/dist/types/query/getBytecode.d.ts.map +1 -1
- package/dist/types/query/getCallsStatus.d.ts +7 -36
- package/dist/types/query/getCallsStatus.d.ts.map +1 -1
- package/dist/types/query/getCapabilities.d.ts +8 -50
- package/dist/types/query/getCapabilities.d.ts.map +1 -1
- package/dist/types/query/getConnectorClient.d.ts +11 -521
- package/dist/types/query/getConnectorClient.d.ts.map +1 -1
- package/dist/types/query/getEnsAddress.d.ts +8 -35
- package/dist/types/query/getEnsAddress.d.ts.map +1 -1
- package/dist/types/query/getEnsAvatar.d.ts +7 -34
- package/dist/types/query/getEnsAvatar.d.ts.map +1 -1
- package/dist/types/query/getEnsName.d.ts +8 -35
- package/dist/types/query/getEnsName.d.ts.map +1 -1
- package/dist/types/query/getEnsResolver.d.ts +8 -29
- package/dist/types/query/getEnsResolver.d.ts.map +1 -1
- package/dist/types/query/getEnsText.d.ts +9 -36
- package/dist/types/query/getEnsText.d.ts.map +1 -1
- package/dist/types/query/getFeeHistory.d.ts +9 -30
- package/dist/types/query/getFeeHistory.d.ts.map +1 -1
- package/dist/types/query/getGasPrice.d.ts +6 -19
- package/dist/types/query/getGasPrice.d.ts.map +1 -1
- package/dist/types/query/getProof.d.ts +13 -13
- package/dist/types/query/getProof.d.ts.map +1 -1
- package/dist/types/query/getStorageAt.d.ts +13 -13
- package/dist/types/query/getStorageAt.d.ts.map +1 -1
- package/dist/types/query/getTransaction.d.ts +16 -15
- package/dist/types/query/getTransaction.d.ts.map +1 -1
- package/dist/types/query/getTransactionConfirmations.d.ts +9 -13
- package/dist/types/query/getTransactionConfirmations.d.ts.map +1 -1
- package/dist/types/query/getTransactionCount.d.ts +8 -27
- package/dist/types/query/getTransactionCount.d.ts.map +1 -1
- package/dist/types/query/getTransactionReceipt.d.ts +7 -24
- package/dist/types/query/getTransactionReceipt.d.ts.map +1 -1
- package/dist/types/query/getWalletClient.d.ts +11 -31
- package/dist/types/query/getWalletClient.d.ts.map +1 -1
- package/dist/types/query/infiniteReadContracts.d.ts +13 -13
- package/dist/types/query/infiniteReadContracts.d.ts.map +1 -1
- package/dist/types/query/prepareTransactionRequest.d.ts +9 -13
- package/dist/types/query/prepareTransactionRequest.d.ts.map +1 -1
- package/dist/types/query/readContract.d.ts +9 -167
- package/dist/types/query/readContract.d.ts.map +1 -1
- package/dist/types/query/readContracts.d.ts +18 -60
- package/dist/types/query/readContracts.d.ts.map +1 -1
- package/dist/types/query/simulateContract.d.ts +11 -14
- package/dist/types/query/simulateContract.d.ts.map +1 -1
- package/dist/types/query/utils.d.ts +9 -1
- package/dist/types/query/utils.d.ts.map +1 -1
- package/dist/types/query/verifyMessage.d.ts +8 -43
- package/dist/types/query/verifyMessage.d.ts.map +1 -1
- package/dist/types/query/verifyTypedData.d.ts +10 -14
- package/dist/types/query/verifyTypedData.d.ts.map +1 -1
- package/dist/types/query/waitForCallsStatus.d.ts +9 -56
- package/dist/types/query/waitForCallsStatus.d.ts.map +1 -1
- package/dist/types/query/waitForTransactionReceipt.d.ts +11 -46
- package/dist/types/query/waitForTransactionReceipt.d.ts.map +1 -1
- package/dist/types/tempo/Connectors.d.ts.map +1 -1
- package/dist/types/tempo/actions/amm.d.ts.map +1 -1
- package/dist/types/tempo/actions/fee.d.ts.map +1 -1
- package/dist/types/tempo/actions/nonce.d.ts.map +1 -1
- package/dist/types/tempo/actions/utils.d.ts +1 -0
- package/dist/types/tempo/actions/utils.d.ts.map +1 -1
- package/dist/types/types/query.d.ts +9 -0
- package/dist/types/types/query.d.ts.map +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/actions/prepareTransactionRequest.ts +9 -12
- package/src/actions/simulateContract.ts +11 -19
- package/src/actions/verifyTypedData.ts +2 -2
- package/src/exports/internal.ts +2 -0
- package/src/exports/query.ts +34 -0
- package/src/query/call.ts +29 -16
- package/src/query/estimateFeesPerGas.ts +34 -12
- package/src/query/estimateGas.ts +53 -24
- package/src/query/estimateMaxPriorityFeePerGas.ts +37 -18
- package/src/query/getBalance.ts +38 -20
- package/src/query/getBlock.ts +50 -16
- package/src/query/getBlockNumber.ts +34 -13
- package/src/query/getBlockTransactionCount.ts +34 -15
- package/src/query/getBytecode.ts +41 -19
- package/src/query/getCallsStatus.ts +36 -21
- package/src/query/getCapabilities.ts +40 -18
- package/src/query/getConnectorClient.ts +45 -20
- package/src/query/getEnsAddress.ts +37 -19
- package/src/query/getEnsAvatar.ts +37 -19
- package/src/query/getEnsName.ts +37 -19
- package/src/query/getEnsResolver.ts +38 -18
- package/src/query/getEnsText.ts +44 -19
- package/src/query/getFeeHistory.ts +46 -28
- package/src/query/getGasPrice.ts +34 -13
- package/src/query/getProof.ts +45 -19
- package/src/query/getStorageAt.ts +44 -19
- package/src/query/getTransaction.ts +51 -19
- package/src/query/getTransactionConfirmations.ts +46 -23
- package/src/query/getTransactionCount.ts +41 -22
- package/src/query/getTransactionReceipt.ts +42 -14
- package/src/query/getWalletClient.ts +46 -20
- package/src/query/infiniteReadContracts.ts +1 -1
- package/src/query/prepareTransactionRequest.ts +45 -17
- package/src/query/readContract.ts +55 -36
- package/src/query/readContracts.ts +38 -16
- package/src/query/simulateContract.ts +68 -33
- package/src/query/utils.ts +14 -5
- package/src/query/verifyMessage.ts +50 -26
- package/src/query/verifyTypedData.ts +65 -38
- package/src/query/waitForCallsStatus.ts +47 -25
- package/src/query/waitForTransactionReceipt.ts +36 -16
- package/src/tempo/Connectors.ts +48 -38
- package/src/tempo/actions/amm.ts +2 -2
- package/src/tempo/actions/fee.ts +1 -1
- package/src/tempo/actions/nonce.ts +1 -1
- package/src/tempo/actions/utils.ts +26 -0
- package/src/types/query.ts +40 -0
- package/src/version.ts +1 -1
|
@@ -1,529 +1,19 @@
|
|
|
1
|
-
import { type GetConnectorClientParameters, type GetConnectorClientReturnType } from '../actions/getConnectorClient.js';
|
|
1
|
+
import { type GetConnectorClientErrorType, type GetConnectorClientParameters, type GetConnectorClientReturnType } from '../actions/getConnectorClient.js';
|
|
2
2
|
import type { Config } from '../createConfig.js';
|
|
3
3
|
import type { ScopeKeyParameter } from '../types/properties.js';
|
|
4
|
+
import type { QueryOptions, QueryParameter } from '../types/query.js';
|
|
4
5
|
import type { Compute, ExactPartial } from '../types/utils.js';
|
|
5
|
-
export type GetConnectorClientOptions<config extends Config, chainId extends config['chains'][number]['id']
|
|
6
|
-
export declare function getConnectorClientQueryOptions<config extends Config, chainId extends config['chains'][number]['id']
|
|
7
|
-
readonly gcTime: 0;
|
|
8
|
-
readonly queryFn: ({ queryKey }: {
|
|
9
|
-
queryKey: readonly ["connectorClient", {
|
|
10
|
-
readonly connectorUid: string | undefined;
|
|
11
|
-
readonly chainId?: config["chains"][number]["id"] | (chainId extends config["chains"][number]["id"] ? chainId : undefined) | undefined;
|
|
12
|
-
readonly account?: import("viem").Address | import("viem").Account | null | undefined;
|
|
13
|
-
readonly assertChainId?: boolean | undefined;
|
|
14
|
-
readonly scopeKey?: string | undefined;
|
|
15
|
-
}];
|
|
16
|
-
signal: AbortSignal;
|
|
17
|
-
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
18
|
-
pageParam?: unknown;
|
|
19
|
-
direction?: unknown;
|
|
20
|
-
}) => Promise<{
|
|
21
|
-
account: import("viem").Account;
|
|
22
|
-
batch?: {
|
|
23
|
-
multicall?: boolean | import("viem").Prettify<import("viem").MulticallBatchOptions> | undefined;
|
|
24
|
-
} | undefined;
|
|
25
|
-
cacheTime: number;
|
|
26
|
-
ccipRead?: false | {
|
|
27
|
-
request?: (parameters: import("viem").CcipRequestParameters) => Promise<`0x${string}`>;
|
|
28
|
-
} | undefined;
|
|
29
|
-
chain: Extract<config["chains"][number], {
|
|
30
|
-
id: chainId;
|
|
31
|
-
}>;
|
|
32
|
-
experimental_blockTag?: import("viem").BlockTag | undefined;
|
|
33
|
-
key: string;
|
|
34
|
-
name: string;
|
|
35
|
-
pollingInterval: number;
|
|
36
|
-
request: import("viem").EIP1193RequestFn<[{
|
|
37
|
-
Method: "web3_clientVersion";
|
|
38
|
-
Parameters?: undefined;
|
|
39
|
-
ReturnType: string;
|
|
40
|
-
}, {
|
|
41
|
-
Method: "web3_sha3";
|
|
42
|
-
Parameters: [data: import("viem").Hash];
|
|
43
|
-
ReturnType: string;
|
|
44
|
-
}, {
|
|
45
|
-
Method: "net_listening";
|
|
46
|
-
Parameters?: undefined;
|
|
47
|
-
ReturnType: boolean;
|
|
48
|
-
}, {
|
|
49
|
-
Method: "net_peerCount";
|
|
50
|
-
Parameters?: undefined;
|
|
51
|
-
ReturnType: import("viem").Quantity;
|
|
52
|
-
}, {
|
|
53
|
-
Method: "net_version";
|
|
54
|
-
Parameters?: undefined;
|
|
55
|
-
ReturnType: import("viem").Quantity;
|
|
56
|
-
}, {
|
|
57
|
-
Method: "eth_blobBaseFee";
|
|
58
|
-
Parameters?: undefined;
|
|
59
|
-
ReturnType: import("viem").Quantity;
|
|
60
|
-
}, {
|
|
61
|
-
Method: "eth_blockNumber";
|
|
62
|
-
Parameters?: undefined;
|
|
63
|
-
ReturnType: import("viem").Quantity;
|
|
64
|
-
}, {
|
|
65
|
-
Method: "eth_call";
|
|
66
|
-
Parameters: readonly [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | readonly [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | readonly [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride] | readonly [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride, blockOverrides: import("viem").RpcBlockOverrides];
|
|
67
|
-
ReturnType: import("viem").Hex;
|
|
68
|
-
}, {
|
|
69
|
-
Method: "eth_createAccessList";
|
|
70
|
-
Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
71
|
-
ReturnType: {
|
|
72
|
-
accessList: import("viem").AccessList;
|
|
73
|
-
gasUsed: import("viem").Quantity;
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
76
|
-
Method: "eth_chainId";
|
|
77
|
-
Parameters?: undefined;
|
|
78
|
-
ReturnType: import("viem").Quantity;
|
|
79
|
-
}, {
|
|
80
|
-
Method: "eth_coinbase";
|
|
81
|
-
Parameters?: undefined;
|
|
82
|
-
ReturnType: import("viem").Address;
|
|
83
|
-
}, {
|
|
84
|
-
Method: "eth_estimateGas";
|
|
85
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
|
|
86
|
-
ReturnType: import("viem").Quantity;
|
|
87
|
-
}, {
|
|
88
|
-
Method: "eth_fillTransaction";
|
|
89
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
90
|
-
ReturnType: {
|
|
91
|
-
raw: import("viem").Hex;
|
|
92
|
-
tx: import("viem").RpcTransaction;
|
|
93
|
-
};
|
|
94
|
-
}, {
|
|
95
|
-
Method: "eth_feeHistory";
|
|
96
|
-
Parameters: [blockCount: import("viem").Quantity, newestBlock: import("viem").RpcBlockNumber | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
97
|
-
ReturnType: import("viem").RpcFeeHistory;
|
|
98
|
-
}, {
|
|
99
|
-
Method: "eth_gasPrice";
|
|
100
|
-
Parameters?: undefined;
|
|
101
|
-
ReturnType: import("viem").Quantity;
|
|
102
|
-
}, {
|
|
103
|
-
Method: "eth_getBalance";
|
|
104
|
-
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
105
|
-
ReturnType: import("viem").Quantity;
|
|
106
|
-
}, {
|
|
107
|
-
Method: "eth_getBlockByHash";
|
|
108
|
-
Parameters: [hash: import("viem").Hash, includeTransactionObjects: boolean];
|
|
109
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
110
|
-
}, {
|
|
111
|
-
Method: "eth_getBlockByNumber";
|
|
112
|
-
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
113
|
-
ReturnType: import("viem").RpcBlock | null;
|
|
114
|
-
}, {
|
|
115
|
-
Method: "eth_getBlockTransactionCountByHash";
|
|
116
|
-
Parameters: [hash: import("viem").Hash];
|
|
117
|
-
ReturnType: import("viem").Quantity;
|
|
118
|
-
}, {
|
|
119
|
-
Method: "eth_getBlockTransactionCountByNumber";
|
|
120
|
-
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
121
|
-
ReturnType: import("viem").Quantity;
|
|
122
|
-
}, {
|
|
123
|
-
Method: "eth_getCode";
|
|
124
|
-
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
125
|
-
ReturnType: import("viem").Hex;
|
|
126
|
-
}, {
|
|
127
|
-
Method: "eth_getFilterChanges";
|
|
128
|
-
Parameters: [filterId: import("viem").Quantity];
|
|
129
|
-
ReturnType: import("viem").RpcLog[] | import("viem").Hex[];
|
|
130
|
-
}, {
|
|
131
|
-
Method: "eth_getFilterLogs";
|
|
132
|
-
Parameters: [filterId: import("viem").Quantity];
|
|
133
|
-
ReturnType: import("viem").RpcLog[];
|
|
134
|
-
}, {
|
|
135
|
-
Method: "eth_getLogs";
|
|
136
|
-
Parameters: [{
|
|
137
|
-
address?: import("viem").Address | import("viem").Address[] | undefined;
|
|
138
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
139
|
-
} & ({
|
|
140
|
-
fromBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
141
|
-
toBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
142
|
-
blockHash?: undefined;
|
|
143
|
-
} | {
|
|
144
|
-
fromBlock?: undefined;
|
|
145
|
-
toBlock?: undefined;
|
|
146
|
-
blockHash?: import("viem").Hash | undefined;
|
|
147
|
-
})];
|
|
148
|
-
ReturnType: import("viem").RpcLog[];
|
|
149
|
-
}, {
|
|
150
|
-
Method: "eth_getProof";
|
|
151
|
-
Parameters: [address: import("viem").Address, storageKeys: import("viem").Hash[], block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
152
|
-
ReturnType: import("viem").RpcProof;
|
|
153
|
-
}, {
|
|
154
|
-
Method: "eth_getStorageAt";
|
|
155
|
-
Parameters: [address: import("viem").Address, index: import("viem").Quantity, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
156
|
-
ReturnType: import("viem").Hex;
|
|
157
|
-
}, {
|
|
158
|
-
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
159
|
-
Parameters: [hash: import("viem").Hash, index: import("viem").Quantity];
|
|
160
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
161
|
-
}, {
|
|
162
|
-
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
163
|
-
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, index: import("viem").Quantity];
|
|
164
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
165
|
-
}, {
|
|
166
|
-
Method: "eth_getTransactionByHash";
|
|
167
|
-
Parameters: [hash: import("viem").Hash];
|
|
168
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
169
|
-
}, {
|
|
170
|
-
Method: "eth_getTransactionBySenderAndNonce";
|
|
171
|
-
Parameters: [sender: import("viem").Address, nonce: import("viem").Quantity];
|
|
172
|
-
ReturnType: import("viem").RpcTransaction | null;
|
|
173
|
-
}, {
|
|
174
|
-
Method: "eth_getTransactionCount";
|
|
175
|
-
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
176
|
-
ReturnType: import("viem").Quantity;
|
|
177
|
-
}, {
|
|
178
|
-
Method: "eth_getTransactionReceipt";
|
|
179
|
-
Parameters: [hash: import("viem").Hash];
|
|
180
|
-
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
181
|
-
}, {
|
|
182
|
-
Method: "eth_getUncleByBlockHashAndIndex";
|
|
183
|
-
Parameters: [hash: import("viem").Hash, index: import("viem").Quantity];
|
|
184
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
185
|
-
}, {
|
|
186
|
-
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
187
|
-
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, index: import("viem").Quantity];
|
|
188
|
-
ReturnType: import("viem").RpcUncle | null;
|
|
189
|
-
}, {
|
|
190
|
-
Method: "eth_getUncleCountByBlockHash";
|
|
191
|
-
Parameters: [hash: import("viem").Hash];
|
|
192
|
-
ReturnType: import("viem").Quantity;
|
|
193
|
-
}, {
|
|
194
|
-
Method: "eth_getUncleCountByBlockNumber";
|
|
195
|
-
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
196
|
-
ReturnType: import("viem").Quantity;
|
|
197
|
-
}, {
|
|
198
|
-
Method: "eth_maxPriorityFeePerGas";
|
|
199
|
-
Parameters?: undefined;
|
|
200
|
-
ReturnType: import("viem").Quantity;
|
|
201
|
-
}, {
|
|
202
|
-
Method: "eth_newBlockFilter";
|
|
203
|
-
Parameters?: undefined;
|
|
204
|
-
ReturnType: import("viem").Quantity;
|
|
205
|
-
}, {
|
|
206
|
-
Method: "eth_newFilter";
|
|
207
|
-
Parameters: [filter: {
|
|
208
|
-
fromBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
209
|
-
toBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
210
|
-
address?: import("viem").Address | import("viem").Address[] | undefined;
|
|
211
|
-
topics?: import("viem").LogTopic[] | undefined;
|
|
212
|
-
}];
|
|
213
|
-
ReturnType: import("viem").Quantity;
|
|
214
|
-
}, {
|
|
215
|
-
Method: "eth_newPendingTransactionFilter";
|
|
216
|
-
Parameters?: undefined;
|
|
217
|
-
ReturnType: import("viem").Quantity;
|
|
218
|
-
}, {
|
|
219
|
-
Method: "eth_protocolVersion";
|
|
220
|
-
Parameters?: undefined;
|
|
221
|
-
ReturnType: string;
|
|
222
|
-
}, {
|
|
223
|
-
Method: "eth_sendRawTransaction";
|
|
224
|
-
Parameters: [signedTransaction: import("viem").Hex];
|
|
225
|
-
ReturnType: import("viem").Hash;
|
|
226
|
-
}, {
|
|
227
|
-
Method: "eth_sendRawTransactionSync";
|
|
228
|
-
Parameters: [signedTransaction: import("viem").Hex] | [signedTransaction: import("viem").Hex, timeout: import("viem").Hex];
|
|
229
|
-
ReturnType: import("viem").RpcTransactionReceipt;
|
|
230
|
-
}, {
|
|
231
|
-
Method: "eth_simulateV1";
|
|
232
|
-
Parameters: [{
|
|
233
|
-
blockStateCalls: readonly {
|
|
234
|
-
blockOverrides?: import("viem").RpcBlockOverrides | undefined;
|
|
235
|
-
calls?: readonly import("viem").ExactPartial<import("viem").RpcTransactionRequest>[] | undefined;
|
|
236
|
-
stateOverrides?: import("viem").RpcStateOverride | undefined;
|
|
237
|
-
}[];
|
|
238
|
-
returnFullTransactions?: boolean | undefined;
|
|
239
|
-
traceTransfers?: boolean | undefined;
|
|
240
|
-
validation?: boolean | undefined;
|
|
241
|
-
}, import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
242
|
-
ReturnType: readonly (import("viem").RpcBlock & {
|
|
243
|
-
calls: readonly {
|
|
244
|
-
error?: {
|
|
245
|
-
data?: import("viem").Hex | undefined;
|
|
246
|
-
code: number;
|
|
247
|
-
message: string;
|
|
248
|
-
} | undefined;
|
|
249
|
-
logs?: readonly import("viem").RpcLog[] | undefined;
|
|
250
|
-
gasUsed: import("viem").Hex;
|
|
251
|
-
returnData: import("viem").Hex;
|
|
252
|
-
status: import("viem").Hex;
|
|
253
|
-
}[];
|
|
254
|
-
})[];
|
|
255
|
-
}, {
|
|
256
|
-
Method: "eth_uninstallFilter";
|
|
257
|
-
Parameters: [filterId: import("viem").Quantity];
|
|
258
|
-
ReturnType: boolean;
|
|
259
|
-
}, {
|
|
260
|
-
Method: "eth_accounts";
|
|
261
|
-
Parameters?: undefined;
|
|
262
|
-
ReturnType: import("viem").Address[];
|
|
263
|
-
}, {
|
|
264
|
-
Method: "eth_chainId";
|
|
265
|
-
Parameters?: undefined;
|
|
266
|
-
ReturnType: import("viem").Quantity;
|
|
267
|
-
}, {
|
|
268
|
-
Method: "eth_estimateGas";
|
|
269
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
|
|
270
|
-
ReturnType: import("viem").Quantity;
|
|
271
|
-
}, {
|
|
272
|
-
Method: "eth_fillTransaction";
|
|
273
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
274
|
-
ReturnType: {
|
|
275
|
-
raw: import("viem").Hex;
|
|
276
|
-
tx: import("viem").RpcTransaction;
|
|
277
|
-
};
|
|
278
|
-
}, {
|
|
279
|
-
Method: "eth_requestAccounts";
|
|
280
|
-
Parameters?: undefined;
|
|
281
|
-
ReturnType: import("viem").Address[];
|
|
282
|
-
}, {
|
|
283
|
-
Method: "eth_sendTransaction";
|
|
284
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
285
|
-
ReturnType: import("viem").Hash;
|
|
286
|
-
}, {
|
|
287
|
-
Method: "eth_sendRawTransaction";
|
|
288
|
-
Parameters: [signedTransaction: import("viem").Hex];
|
|
289
|
-
ReturnType: import("viem").Hash;
|
|
290
|
-
}, {
|
|
291
|
-
Method: "eth_sendRawTransactionSync";
|
|
292
|
-
Parameters: [signedTransaction: import("viem").Hex] | [signedTransaction: import("viem").Hex, timeout: import("viem").Hex];
|
|
293
|
-
ReturnType: import("viem").RpcTransactionReceipt;
|
|
294
|
-
}, {
|
|
295
|
-
Method: "eth_sign";
|
|
296
|
-
Parameters: [address: import("viem").Address, data: import("viem").Hex];
|
|
297
|
-
ReturnType: import("viem").Hex;
|
|
298
|
-
}, {
|
|
299
|
-
Method: "eth_signTransaction";
|
|
300
|
-
Parameters: [request: import("viem").RpcTransactionRequest];
|
|
301
|
-
ReturnType: import("viem").Hex;
|
|
302
|
-
}, {
|
|
303
|
-
Method: "eth_signTypedData_v4";
|
|
304
|
-
Parameters: [address: import("viem").Address, message: string];
|
|
305
|
-
ReturnType: import("viem").Hex;
|
|
306
|
-
}, {
|
|
307
|
-
Method: "eth_syncing";
|
|
308
|
-
Parameters?: undefined;
|
|
309
|
-
ReturnType: import("viem").NetworkSync | false;
|
|
310
|
-
}, {
|
|
311
|
-
Method: "personal_sign";
|
|
312
|
-
Parameters: [data: import("viem").Hex, address: import("viem").Address];
|
|
313
|
-
ReturnType: import("viem").Hex;
|
|
314
|
-
}, {
|
|
315
|
-
Method: "wallet_addEthereumChain";
|
|
316
|
-
Parameters: [chain: import("viem").AddEthereumChainParameter];
|
|
317
|
-
ReturnType: null;
|
|
318
|
-
}, {
|
|
319
|
-
Method: "wallet_addSubAccount";
|
|
320
|
-
Parameters: [{
|
|
321
|
-
account: import("viem").OneOf<{
|
|
322
|
-
keys: readonly {
|
|
323
|
-
publicKey: import("viem").Hex;
|
|
324
|
-
type: "address" | "p256" | "webcrypto-p256" | "webauthn-p256";
|
|
325
|
-
}[];
|
|
326
|
-
type: "create";
|
|
327
|
-
} | {
|
|
328
|
-
address: import("viem").Address;
|
|
329
|
-
chainId?: number | undefined;
|
|
330
|
-
type: "deployed";
|
|
331
|
-
} | {
|
|
332
|
-
address: import("viem").Address;
|
|
333
|
-
chainId?: number | undefined;
|
|
334
|
-
factory: import("viem").Address;
|
|
335
|
-
factoryData: import("viem").Hex;
|
|
336
|
-
type: "undeployed";
|
|
337
|
-
}>;
|
|
338
|
-
version: string;
|
|
339
|
-
}];
|
|
340
|
-
ReturnType: {
|
|
341
|
-
address: import("viem").Address;
|
|
342
|
-
factory?: import("viem").Address | undefined;
|
|
343
|
-
factoryData?: import("viem").Hex | undefined;
|
|
344
|
-
};
|
|
345
|
-
}, {
|
|
346
|
-
Method: "wallet_connect";
|
|
347
|
-
Parameters: [{
|
|
348
|
-
capabilities?: import("viem").Capabilities | undefined;
|
|
349
|
-
version: string;
|
|
350
|
-
}];
|
|
351
|
-
ReturnType: {
|
|
352
|
-
accounts: readonly {
|
|
353
|
-
address: import("viem").Address;
|
|
354
|
-
capabilities?: import("viem").Capabilities | undefined;
|
|
355
|
-
}[];
|
|
356
|
-
};
|
|
357
|
-
}, {
|
|
358
|
-
Method: "wallet_disconnect";
|
|
359
|
-
Parameters?: undefined;
|
|
360
|
-
ReturnType: void;
|
|
361
|
-
}, {
|
|
362
|
-
Method: "wallet_getAssets";
|
|
363
|
-
Parameters?: [import("viem").WalletGetAssetsParameters];
|
|
364
|
-
ReturnType: import("viem").WalletGetAssetsReturnType;
|
|
365
|
-
}, {
|
|
366
|
-
Method: "wallet_getCallsStatus";
|
|
367
|
-
Parameters?: [string];
|
|
368
|
-
ReturnType: import("viem").WalletGetCallsStatusReturnType;
|
|
369
|
-
}, {
|
|
370
|
-
Method: "wallet_getCapabilities";
|
|
371
|
-
Parameters?: readonly [] | readonly [import("viem").Address | undefined] | readonly [import("viem").Address | undefined, readonly import("viem").Hex[] | undefined] | undefined;
|
|
372
|
-
ReturnType: import("viem").Prettify<import("viem").WalletCapabilitiesRecord>;
|
|
373
|
-
}, {
|
|
374
|
-
Method: "wallet_getPermissions";
|
|
375
|
-
Parameters?: undefined;
|
|
376
|
-
ReturnType: import("viem").WalletPermission[];
|
|
377
|
-
}, {
|
|
378
|
-
Method: "wallet_grantPermissions";
|
|
379
|
-
Parameters?: [import("viem").WalletGrantPermissionsParameters];
|
|
380
|
-
ReturnType: import("viem").Prettify<import("viem").WalletGrantPermissionsReturnType>;
|
|
381
|
-
}, {
|
|
382
|
-
Method: "wallet_requestPermissions";
|
|
383
|
-
Parameters: [permissions: {
|
|
384
|
-
eth_accounts: Record<string, any>;
|
|
385
|
-
}];
|
|
386
|
-
ReturnType: import("viem").WalletPermission[];
|
|
387
|
-
}, {
|
|
388
|
-
Method: "wallet_revokePermissions";
|
|
389
|
-
Parameters: [permissions: {
|
|
390
|
-
eth_accounts: Record<string, any>;
|
|
391
|
-
}];
|
|
392
|
-
ReturnType: null;
|
|
393
|
-
}, {
|
|
394
|
-
Method: "wallet_sendCalls";
|
|
395
|
-
Parameters?: import("viem").WalletSendCallsParameters;
|
|
396
|
-
ReturnType: import("viem").WalletSendCallsReturnType;
|
|
397
|
-
}, {
|
|
398
|
-
Method: "wallet_sendTransaction";
|
|
399
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
400
|
-
ReturnType: import("viem").Hash;
|
|
401
|
-
}, {
|
|
402
|
-
Method: "wallet_showCallsStatus";
|
|
403
|
-
Parameters?: [string];
|
|
404
|
-
ReturnType: void;
|
|
405
|
-
}, {
|
|
406
|
-
Method: "wallet_switchEthereumChain";
|
|
407
|
-
Parameters: [chain: {
|
|
408
|
-
chainId: string;
|
|
409
|
-
}];
|
|
410
|
-
ReturnType: null;
|
|
411
|
-
}, {
|
|
412
|
-
Method: "wallet_watchAsset";
|
|
413
|
-
Parameters: import("viem").WatchAssetParams;
|
|
414
|
-
ReturnType: boolean;
|
|
415
|
-
}, {
|
|
416
|
-
Method: "eth_chainId";
|
|
417
|
-
Parameters?: undefined;
|
|
418
|
-
ReturnType: import("viem").Hex;
|
|
419
|
-
}, {
|
|
420
|
-
Method: "eth_estimateUserOperationGas";
|
|
421
|
-
Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: import("viem").Address] | [userOperation: import("viem").RpcUserOperation, entrypoint: import("viem").Address, stateOverrideSet: import("viem").RpcStateOverride];
|
|
422
|
-
ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
|
|
423
|
-
}, {
|
|
424
|
-
Method: "eth_getUserOperationByHash";
|
|
425
|
-
Parameters: [hash: import("viem").Hash];
|
|
426
|
-
ReturnType: import("viem").RpcGetUserOperationByHashReturnType | null;
|
|
427
|
-
}, {
|
|
428
|
-
Method: "eth_getUserOperationReceipt";
|
|
429
|
-
Parameters: [hash: import("viem").Hash];
|
|
430
|
-
ReturnType: import("viem").RpcUserOperationReceipt | null;
|
|
431
|
-
}, {
|
|
432
|
-
Method: "eth_sendUserOperation";
|
|
433
|
-
Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: import("viem").Address];
|
|
434
|
-
ReturnType: import("viem").Hash;
|
|
435
|
-
}, {
|
|
436
|
-
Method: "eth_supportedEntryPoints";
|
|
437
|
-
Parameters?: undefined;
|
|
438
|
-
ReturnType: readonly import("viem").Address[];
|
|
439
|
-
}, {
|
|
440
|
-
Method: "pm_getPaymasterStubData";
|
|
441
|
-
Parameters?: [userOperation: import("viem").OneOf<import("viem").PartialBy<Pick<import("viem").RpcUserOperation<"0.6">, "callData" | "callGasLimit" | "initCode" | "maxFeePerGas" | "maxPriorityFeePerGas" | "nonce" | "sender" | "preVerificationGas" | "verificationGasLimit">, "callGasLimit" | "initCode" | "maxFeePerGas" | "maxPriorityFeePerGas" | "preVerificationGas" | "verificationGasLimit"> | import("viem").PartialBy<Pick<import("viem").RpcUserOperation<"0.7">, "callData" | "callGasLimit" | "factory" | "factoryData" | "maxFeePerGas" | "maxPriorityFeePerGas" | "nonce" | "sender" | "preVerificationGas" | "verificationGasLimit">, "callGasLimit" | "factory" | "factoryData" | "maxFeePerGas" | "maxPriorityFeePerGas" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: import("viem").Address, chainId: import("viem").Hex, context: unknown];
|
|
442
|
-
ReturnType: import("viem").OneOf<{
|
|
443
|
-
paymasterAndData: import("viem").Hex;
|
|
444
|
-
} | {
|
|
445
|
-
paymaster: import("viem").Address;
|
|
446
|
-
paymasterData: import("viem").Hex;
|
|
447
|
-
paymasterVerificationGasLimit: import("viem").Hex;
|
|
448
|
-
paymasterPostOpGasLimit: import("viem").Hex;
|
|
449
|
-
}> & {
|
|
450
|
-
sponsor?: {
|
|
451
|
-
name: string;
|
|
452
|
-
icon?: string | undefined;
|
|
453
|
-
} | undefined;
|
|
454
|
-
isFinal?: boolean | undefined;
|
|
455
|
-
};
|
|
456
|
-
}, {
|
|
457
|
-
Method: "pm_getPaymasterData";
|
|
458
|
-
Parameters?: [userOperation: Pick<import("viem").RpcUserOperation<"0.6">, "callData" | "callGasLimit" | "initCode" | "maxFeePerGas" | "maxPriorityFeePerGas" | "nonce" | "sender" | "preVerificationGas" | "verificationGasLimit"> | Pick<import("viem").RpcUserOperation<"0.7">, "callData" | "callGasLimit" | "factory" | "factoryData" | "maxFeePerGas" | "maxPriorityFeePerGas" | "nonce" | "sender" | "preVerificationGas" | "verificationGasLimit">, entrypoint: import("viem").Address, chainId: import("viem").Hex, context: unknown];
|
|
459
|
-
ReturnType: import("viem").OneOf<{
|
|
460
|
-
paymasterAndData: import("viem").Hex;
|
|
461
|
-
} | {
|
|
462
|
-
paymaster: import("viem").Address;
|
|
463
|
-
paymasterData: import("viem").Hex;
|
|
464
|
-
paymasterVerificationGasLimit: import("viem").Hex;
|
|
465
|
-
paymasterPostOpGasLimit: import("viem").Hex;
|
|
466
|
-
}>;
|
|
467
|
-
}]>;
|
|
468
|
-
transport: ReturnType<config["_internal"]["transports"][chainId]>["config"] & ReturnType<config["_internal"]["transports"][chainId]>["value"];
|
|
469
|
-
type: string;
|
|
470
|
-
uid: string;
|
|
471
|
-
extend: <const client extends {
|
|
472
|
-
[x: string]: unknown;
|
|
473
|
-
account?: undefined;
|
|
474
|
-
batch?: undefined;
|
|
475
|
-
cacheTime?: undefined;
|
|
476
|
-
ccipRead?: undefined;
|
|
477
|
-
chain?: undefined;
|
|
478
|
-
experimental_blockTag?: undefined;
|
|
479
|
-
key?: undefined;
|
|
480
|
-
name?: undefined;
|
|
481
|
-
pollingInterval?: undefined;
|
|
482
|
-
request?: undefined;
|
|
483
|
-
transport?: undefined;
|
|
484
|
-
type?: undefined;
|
|
485
|
-
uid?: undefined;
|
|
486
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<config["_internal"]["transports"][chainId], Extract<config["chains"][number], {
|
|
487
|
-
id: chainId;
|
|
488
|
-
}>, import("viem").Account>, "getChainId" | "prepareTransactionRequest" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<Extract<config["chains"][number], {
|
|
489
|
-
id: chainId;
|
|
490
|
-
}>, import("viem").Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<config["_internal"]["transports"][chainId], Extract<config["chains"][number], {
|
|
491
|
-
id: chainId;
|
|
492
|
-
}>, import("viem").Account, undefined, {
|
|
493
|
-
[x: string]: unknown;
|
|
494
|
-
account?: undefined;
|
|
495
|
-
batch?: undefined;
|
|
496
|
-
cacheTime?: undefined;
|
|
497
|
-
ccipRead?: undefined;
|
|
498
|
-
chain?: undefined;
|
|
499
|
-
experimental_blockTag?: undefined;
|
|
500
|
-
key?: undefined;
|
|
501
|
-
name?: undefined;
|
|
502
|
-
pollingInterval?: undefined;
|
|
503
|
-
request?: undefined;
|
|
504
|
-
transport?: undefined;
|
|
505
|
-
type?: undefined;
|
|
506
|
-
uid?: undefined;
|
|
507
|
-
} | undefined>) => client) => import("viem").Client<config["_internal"]["transports"][chainId], Extract<config["chains"][number], {
|
|
508
|
-
id: chainId;
|
|
509
|
-
}>, import("viem").Account, undefined, { [K in keyof client]: client[K]; }>;
|
|
510
|
-
}>;
|
|
511
|
-
readonly queryKey: readonly ["connectorClient", {
|
|
512
|
-
readonly connectorUid: string | undefined;
|
|
513
|
-
readonly chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
|
|
514
|
-
readonly account?: import("viem").Address | import("viem").Account | null | undefined;
|
|
515
|
-
readonly assertChainId?: boolean | undefined;
|
|
516
|
-
readonly scopeKey?: string | undefined;
|
|
517
|
-
}];
|
|
518
|
-
};
|
|
6
|
+
export type GetConnectorClientOptions<config extends Config, chainId extends config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>> = Compute<ExactPartial<GetConnectorClientParameters<config, chainId>> & ScopeKeyParameter> & Omit<QueryParameter<GetConnectorClientQueryFnData<config, chainId>, GetConnectorClientErrorType, selectData, GetConnectorClientQueryKey<config, chainId>>, 'gcTime' | 'staleTime'>;
|
|
7
|
+
export declare function getConnectorClientQueryOptions<config extends Config, chainId extends config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>>(config: config, options?: GetConnectorClientOptions<config, chainId, selectData>): GetConnectorClientQueryOptions<config, chainId, selectData>;
|
|
519
8
|
export type GetConnectorClientQueryFnData<config extends Config, chainId extends config['chains'][number]['id']> = GetConnectorClientReturnType<config, chainId>;
|
|
520
9
|
export type GetConnectorClientData<config extends Config, chainId extends config['chains'][number]['id']> = GetConnectorClientQueryFnData<config, chainId>;
|
|
521
|
-
export declare function getConnectorClientQueryKey<config extends Config, chainId extends config['chains'][number]['id']>(options?:
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
10
|
+
export declare function getConnectorClientQueryKey<config extends Config, chainId extends config['chains'][number]['id']>(options?: Compute<ExactPartial<GetConnectorClientParameters<config, chainId>> & ScopeKeyParameter>): readonly ["connectorClient", {
|
|
11
|
+
chainId?: config["chains"][number]["id"] | (chainId extends config["chains"][number]["id"] ? chainId : undefined) | undefined;
|
|
12
|
+
account?: `0x${string}` | import("viem").Account | null | undefined;
|
|
13
|
+
assertChainId?: boolean | undefined | undefined;
|
|
14
|
+
scopeKey?: string | undefined | undefined;
|
|
15
|
+
connectorUid?: string | undefined;
|
|
527
16
|
}];
|
|
528
17
|
export type GetConnectorClientQueryKey<config extends Config, chainId extends config['chains'][number]['id']> = ReturnType<typeof getConnectorClientQueryKey<config, chainId>>;
|
|
18
|
+
export type GetConnectorClientQueryOptions<config extends Config, chainId extends config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>> = QueryOptions<GetConnectorClientQueryFnData<config, chainId>, GetConnectorClientErrorType, selectData, GetConnectorClientQueryKey<config, chainId>>;
|
|
529
19
|
//# sourceMappingURL=getConnectorClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectorClient.d.ts","sourceRoot":"","sources":["../../../src/query/getConnectorClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getConnectorClient.d.ts","sourceRoot":"","sources":["../../../src/query/getConnectorClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EAElC,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG9D,MAAM,MAAM,yBAAyB,CACnC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,UAAU,GAAG,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,IAClD,OAAO,CACT,YAAY,CAAC,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACzD,iBAAiB,CACpB,GACC,IAAI,CACF,cAAc,CACZ,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9C,2BAA2B,EAC3B,UAAU,EACV,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAC5C,EACD,QAAQ,GAAG,WAAW,CACvB,CAAA;AAEH,wBAAgB,8BAA8B,CAC5C,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,UAAU,GAAG,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,EAEpD,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,yBAAyB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAM,GACnE,8BAA8B,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAkB7D;AAED,MAAM,MAAM,6BAA6B,CACvC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjD,MAAM,MAAM,sBAAsB,CAChC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAElD,wBAAgB,0BAA0B,CACxC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAE9C,OAAO,GAAE,OAAO,CACd,YAAY,CAAC,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACzD,iBAAiB,CACf;;;;;;GAGP;AAED,MAAM,MAAM,0BAA0B,CACpC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,UAAU,CAAC,OAAO,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAElE,MAAM,MAAM,8BAA8B,CACxC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,UAAU,GAAG,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,IAClD,YAAY,CACd,6BAA6B,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9C,2BAA2B,EAC3B,UAAU,EACV,0BAA0B,CAAC,MAAM,EAAE,OAAO,CAAC,CAC5C,CAAA"}
|
|
@@ -1,50 +1,23 @@
|
|
|
1
|
-
import { type GetEnsAddressParameters, type GetEnsAddressReturnType } from '../actions/getEnsAddress.js';
|
|
1
|
+
import { type GetEnsAddressErrorType, type GetEnsAddressParameters, type GetEnsAddressReturnType } from '../actions/getEnsAddress.js';
|
|
2
2
|
import type { Config } from '../createConfig.js';
|
|
3
3
|
import type { ScopeKeyParameter } from '../types/properties.js';
|
|
4
|
+
import type { QueryOptions, QueryParameter } from '../types/query.js';
|
|
4
5
|
import type { Compute, ExactPartial } from '../types/utils.js';
|
|
5
|
-
export type GetEnsAddressOptions<config extends Config> = Compute<ExactPartial<GetEnsAddressParameters<config>> & ScopeKeyParameter
|
|
6
|
-
export declare function getEnsAddressQueryOptions<config extends Config>(config: config, options?: GetEnsAddressOptions<config>):
|
|
7
|
-
readonly queryFn: ({ queryKey }: {
|
|
8
|
-
queryKey: readonly ["ensAddress", {
|
|
9
|
-
blockNumber?: bigint | undefined | undefined;
|
|
10
|
-
blockTag?: import("viem").BlockTag | undefined;
|
|
11
|
-
coinType?: bigint | undefined | undefined;
|
|
12
|
-
gatewayUrls?: string[] | undefined | undefined;
|
|
13
|
-
name?: string | undefined;
|
|
14
|
-
strict?: boolean | undefined | undefined;
|
|
15
|
-
universalResolverAddress?: `0x${string}` | undefined;
|
|
16
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
|
|
17
|
-
scopeKey?: string | undefined | undefined;
|
|
18
|
-
}];
|
|
19
|
-
signal: AbortSignal;
|
|
20
|
-
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
21
|
-
pageParam?: unknown;
|
|
22
|
-
direction?: unknown;
|
|
23
|
-
}) => Promise<import("viem").GetEnsAddressReturnType>;
|
|
24
|
-
readonly queryKey: readonly ["ensAddress", {
|
|
25
|
-
blockNumber?: bigint | undefined | undefined;
|
|
26
|
-
blockTag?: import("viem").BlockTag | undefined;
|
|
27
|
-
coinType?: bigint | undefined | undefined;
|
|
28
|
-
gatewayUrls?: string[] | undefined | undefined;
|
|
29
|
-
name?: string | undefined;
|
|
30
|
-
strict?: boolean | undefined | undefined;
|
|
31
|
-
universalResolverAddress?: `0x${string}` | undefined;
|
|
32
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
|
|
33
|
-
scopeKey?: string | undefined | undefined;
|
|
34
|
-
}];
|
|
35
|
-
};
|
|
6
|
+
export type GetEnsAddressOptions<config extends Config, selectData = GetEnsAddressData> = Compute<ExactPartial<GetEnsAddressParameters<config>> & ScopeKeyParameter> & QueryParameter<GetEnsAddressQueryFnData, GetEnsAddressErrorType, selectData, GetEnsAddressQueryKey<config>>;
|
|
7
|
+
export declare function getEnsAddressQueryOptions<config extends Config, selectData = GetEnsAddressData>(config: config, options?: GetEnsAddressOptions<config, selectData>): GetEnsAddressQueryOptions<config, selectData>;
|
|
36
8
|
export type GetEnsAddressQueryFnData = GetEnsAddressReturnType;
|
|
37
9
|
export type GetEnsAddressData = GetEnsAddressQueryFnData;
|
|
38
|
-
export declare function getEnsAddressQueryKey<config extends Config>(options?:
|
|
10
|
+
export declare function getEnsAddressQueryKey<config extends Config>(options?: Compute<ExactPartial<GetEnsAddressParameters<config>> & ScopeKeyParameter>): readonly ["ensAddress", {
|
|
11
|
+
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
|
|
12
|
+
name?: string | undefined;
|
|
39
13
|
blockNumber?: bigint | undefined | undefined;
|
|
40
14
|
blockTag?: import("viem").BlockTag | undefined;
|
|
41
15
|
coinType?: bigint | undefined | undefined;
|
|
42
16
|
gatewayUrls?: string[] | undefined | undefined;
|
|
43
|
-
name?: string | undefined;
|
|
44
17
|
strict?: boolean | undefined | undefined;
|
|
45
18
|
universalResolverAddress?: `0x${string}` | undefined;
|
|
46
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer T ? T extends config["chains"][number]["id"] ? T extends config["chains"][number]["id"] ? T : undefined : never : never) | undefined;
|
|
47
19
|
scopeKey?: string | undefined | undefined;
|
|
48
20
|
}];
|
|
49
21
|
export type GetEnsAddressQueryKey<config extends Config> = ReturnType<typeof getEnsAddressQueryKey<config>>;
|
|
22
|
+
export type GetEnsAddressQueryOptions<config extends Config, selectData = GetEnsAddressData> = QueryOptions<GetEnsAddressQueryFnData, GetEnsAddressErrorType, selectData, GetEnsAddressQueryKey<config>>;
|
|
50
23
|
//# sourceMappingURL=getEnsAddress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnsAddress.d.ts","sourceRoot":"","sources":["../../../src/query/getEnsAddress.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getEnsAddress.d.ts","sourceRoot":"","sources":["../../../src/query/getEnsAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAE7B,MAAM,6BAA6B,CAAA;AACpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG9D,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,MAAM,EACrB,UAAU,GAAG,iBAAiB,IAC5B,OAAO,CAAC,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAAC,GAC5E,cAAc,CACZ,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,qBAAqB,CAAC,MAAM,CAAC,CAC9B,CAAA;AAEH,wBAAgB,yBAAyB,CACvC,MAAM,SAAS,MAAM,EACrB,UAAU,GAAG,iBAAiB,EAE9B,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAM,GACrD,yBAAyB,CAAC,MAAM,EAAE,UAAU,CAAC,CAW/C;AAED,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,CAAA;AAE9D,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAA;AAExD,wBAAgB,qBAAqB,CAAC,MAAM,SAAS,MAAM,EACzD,OAAO,GAAE,OAAO,CACd,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,GAAG,iBAAiB,CAC7D;;;;;;;;;;GAGP;AAED,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,MAAM,IAAI,UAAU,CACnE,OAAO,qBAAqB,CAAC,MAAM,CAAC,CACrC,CAAA;AAED,MAAM,MAAM,yBAAyB,CACnC,MAAM,SAAS,MAAM,EACrB,UAAU,GAAG,iBAAiB,IAC5B,YAAY,CACd,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,qBAAqB,CAAC,MAAM,CAAC,CAC9B,CAAA"}
|