@wagmi/core 2.11.2 → 2.11.4
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/connectors/injected.js +6 -3
- package/dist/esm/connectors/injected.js.map +1 -1
- package/dist/esm/query/readContract.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/connectors/injected.d.ts +9 -271
- package/dist/types/connectors/injected.d.ts.map +1 -1
- package/dist/types/experimental/query/getCallsStatus.d.ts +2 -2
- package/dist/types/experimental/query/getCapabilities.d.ts +2 -2
- package/dist/types/experimental/query/writeContracts.d.ts.map +1 -1
- package/dist/types/query/call.d.ts +2 -2
- package/dist/types/query/connect.d.ts +1 -1
- package/dist/types/query/estimateFeesPerGas.d.ts +3 -3
- package/dist/types/query/estimateGas.d.ts +2 -2
- package/dist/types/query/estimateMaxPriorityFeePerGas.d.ts +3 -3
- package/dist/types/query/getBalance.d.ts +6 -6
- package/dist/types/query/getBlock.d.ts +2 -2
- package/dist/types/query/getBlockNumber.d.ts +2 -2
- package/dist/types/query/getBlockTransactionCount.d.ts +2 -2
- package/dist/types/query/getBytecode.d.ts +2 -2
- package/dist/types/query/getConnectorClient.d.ts +130 -97
- package/dist/types/query/getConnectorClient.d.ts.map +1 -1
- package/dist/types/query/getEnsAddress.d.ts +6 -6
- package/dist/types/query/getEnsAvatar.d.ts +6 -6
- package/dist/types/query/getEnsName.d.ts +6 -6
- package/dist/types/query/getEnsResolver.d.ts +6 -6
- package/dist/types/query/getEnsText.d.ts +6 -6
- package/dist/types/query/getFeeHistory.d.ts +2 -2
- package/dist/types/query/getGasPrice.d.ts +2 -2
- package/dist/types/query/getProof.d.ts +2 -2
- package/dist/types/query/getStorageAt.d.ts +2 -2
- package/dist/types/query/getToken.d.ts +3 -3
- package/dist/types/query/getTransaction.d.ts +3 -3
- package/dist/types/query/getTransactionConfirmations.d.ts +2 -2
- package/dist/types/query/getTransactionCount.d.ts +3 -3
- package/dist/types/query/getTransactionReceipt.d.ts +4 -4
- package/dist/types/query/getWalletClient.d.ts +42 -2812
- package/dist/types/query/getWalletClient.d.ts.map +1 -1
- package/dist/types/query/infiniteReadContracts.d.ts +5 -5
- package/dist/types/query/infiniteReadContracts.d.ts.map +1 -1
- package/dist/types/query/prepareTransactionRequest.d.ts +2 -2
- package/dist/types/query/prepareTransactionRequest.d.ts.map +1 -1
- package/dist/types/query/readContract.d.ts +3 -3
- package/dist/types/query/readContract.d.ts.map +1 -1
- package/dist/types/query/readContracts.d.ts +9 -9
- package/dist/types/query/signTypedData.d.ts +2 -2
- package/dist/types/query/signTypedData.d.ts.map +1 -1
- package/dist/types/query/simulateContract.d.ts +2 -2
- package/dist/types/query/switchChain.d.ts +1 -11
- package/dist/types/query/switchChain.d.ts.map +1 -1
- package/dist/types/query/verifyMessage.d.ts +3 -3
- package/dist/types/query/verifyTypedData.d.ts +2 -2
- package/dist/types/query/waitForTransactionReceipt.d.ts +12 -12
- package/dist/types/query/writeContract.d.ts +1 -1
- package/dist/types/types/register.d.ts +2 -1
- package/dist/types/types/register.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/connectors/injected.ts +17 -10
- package/src/query/readContract.ts +1 -1
- package/src/types/register.ts +2 -2
- package/src/version.ts +1 -1
|
@@ -9,25 +9,18 @@ export declare function getConnectorClientQueryOptions<config extends Config, ch
|
|
|
9
9
|
queryKey: readonly ["connectorClient", {
|
|
10
10
|
readonly connectorUid: string | undefined;
|
|
11
11
|
readonly chainId?: config["chains"][number]["id"] | (chainId extends config["chains"][number]["id"] ? chainId : undefined) | undefined;
|
|
12
|
-
readonly account?:
|
|
12
|
+
readonly account?: import("viem").Address | import("viem").Account | undefined;
|
|
13
13
|
readonly scopeKey?: string | undefined;
|
|
14
14
|
}];
|
|
15
15
|
signal: AbortSignal;
|
|
16
|
-
meta:
|
|
16
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
17
17
|
pageParam?: unknown;
|
|
18
|
-
direction?: "forward" | "backward"
|
|
18
|
+
direction?: "forward" | "backward";
|
|
19
19
|
}) => Promise<{
|
|
20
20
|
account: import("viem").Account;
|
|
21
|
-
batch?:
|
|
22
|
-
multicall?: boolean | {
|
|
23
|
-
batchSize?: number | undefined;
|
|
24
|
-
wait?: number | undefined;
|
|
25
|
-
} | undefined;
|
|
26
|
-
} | undefined;
|
|
21
|
+
batch?: import("viem").ClientConfig["batch"] | undefined;
|
|
27
22
|
cacheTime: number;
|
|
28
|
-
ccipRead?:
|
|
29
|
-
request?: ((parameters: import("viem").CcipRequestParameters) => Promise<`0x${string}`>) | undefined;
|
|
30
|
-
} | undefined;
|
|
23
|
+
ccipRead?: import("viem").ClientConfig["ccipRead"] | undefined;
|
|
31
24
|
chain: Extract<config["chains"][number], {
|
|
32
25
|
id: chainId;
|
|
33
26
|
}>;
|
|
@@ -40,7 +33,7 @@ export declare function getConnectorClientQueryOptions<config extends Config, ch
|
|
|
40
33
|
ReturnType: string;
|
|
41
34
|
}, {
|
|
42
35
|
Method: "web3_sha3";
|
|
43
|
-
Parameters: [data:
|
|
36
|
+
Parameters: [data: import("viem").Hash];
|
|
44
37
|
ReturnType: string;
|
|
45
38
|
}, {
|
|
46
39
|
Method: "net_listening";
|
|
@@ -49,225 +42,223 @@ export declare function getConnectorClientQueryOptions<config extends Config, ch
|
|
|
49
42
|
}, {
|
|
50
43
|
Method: "net_peerCount";
|
|
51
44
|
Parameters?: undefined;
|
|
52
|
-
ReturnType:
|
|
45
|
+
ReturnType: import("viem").Quantity;
|
|
53
46
|
}, {
|
|
54
47
|
Method: "net_version";
|
|
55
48
|
Parameters?: undefined;
|
|
56
|
-
ReturnType:
|
|
49
|
+
ReturnType: import("viem").Quantity;
|
|
57
50
|
}, {
|
|
58
51
|
Method: "eth_blobBaseFee";
|
|
59
52
|
Parameters?: undefined;
|
|
60
|
-
ReturnType:
|
|
53
|
+
ReturnType: import("viem").Quantity;
|
|
61
54
|
}, {
|
|
62
55
|
Method: "eth_blockNumber";
|
|
63
56
|
Parameters?: undefined;
|
|
64
|
-
ReturnType:
|
|
57
|
+
ReturnType: import("viem").Quantity;
|
|
65
58
|
}, {
|
|
66
59
|
Method: "eth_call";
|
|
67
|
-
Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block:
|
|
68
|
-
ReturnType:
|
|
60
|
+
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] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
|
|
61
|
+
ReturnType: import("viem").Hex;
|
|
69
62
|
}, {
|
|
70
63
|
Method: "eth_chainId";
|
|
71
64
|
Parameters?: undefined;
|
|
72
|
-
ReturnType:
|
|
65
|
+
ReturnType: import("viem").Quantity;
|
|
73
66
|
}, {
|
|
74
67
|
Method: "eth_coinbase";
|
|
75
68
|
Parameters?: undefined;
|
|
76
|
-
ReturnType:
|
|
69
|
+
ReturnType: import("viem").Address;
|
|
77
70
|
}, {
|
|
78
71
|
Method: "eth_estimateGas";
|
|
79
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block:
|
|
80
|
-
ReturnType:
|
|
72
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
73
|
+
ReturnType: import("viem").Quantity;
|
|
81
74
|
}, {
|
|
82
75
|
Method: "eth_feeHistory";
|
|
83
|
-
Parameters: [blockCount:
|
|
76
|
+
Parameters: [blockCount: import("viem").Quantity, newestBlock: import("viem").RpcBlockNumber | import("viem").BlockTag, rewardPercentiles: number[] | undefined];
|
|
84
77
|
ReturnType: import("viem").RpcFeeHistory;
|
|
85
78
|
}, {
|
|
86
79
|
Method: "eth_gasPrice";
|
|
87
80
|
Parameters?: undefined;
|
|
88
|
-
ReturnType:
|
|
81
|
+
ReturnType: import("viem").Quantity;
|
|
89
82
|
}, {
|
|
90
83
|
Method: "eth_getBalance";
|
|
91
|
-
Parameters: [address:
|
|
92
|
-
ReturnType:
|
|
84
|
+
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
85
|
+
ReturnType: import("viem").Quantity;
|
|
93
86
|
}, {
|
|
94
87
|
Method: "eth_getBlockByHash";
|
|
95
|
-
Parameters: [hash:
|
|
88
|
+
Parameters: [hash: import("viem").Hash, includeTransactionObjects: boolean];
|
|
96
89
|
ReturnType: import("viem").RpcBlock | null;
|
|
97
90
|
}, {
|
|
98
91
|
Method: "eth_getBlockByNumber";
|
|
99
|
-
Parameters: [block:
|
|
92
|
+
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, includeTransactionObjects: boolean];
|
|
100
93
|
ReturnType: import("viem").RpcBlock | null;
|
|
101
94
|
}, {
|
|
102
95
|
Method: "eth_getBlockTransactionCountByHash";
|
|
103
|
-
Parameters: [hash:
|
|
104
|
-
ReturnType:
|
|
96
|
+
Parameters: [hash: import("viem").Hash];
|
|
97
|
+
ReturnType: import("viem").Quantity;
|
|
105
98
|
}, {
|
|
106
99
|
Method: "eth_getBlockTransactionCountByNumber";
|
|
107
|
-
Parameters: [block:
|
|
108
|
-
ReturnType:
|
|
100
|
+
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
101
|
+
ReturnType: import("viem").Quantity;
|
|
109
102
|
}, {
|
|
110
103
|
Method: "eth_getCode";
|
|
111
|
-
Parameters: [address:
|
|
112
|
-
ReturnType:
|
|
104
|
+
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
105
|
+
ReturnType: import("viem").Hex;
|
|
113
106
|
}, {
|
|
114
107
|
Method: "eth_getFilterChanges";
|
|
115
|
-
Parameters: [filterId:
|
|
116
|
-
ReturnType:
|
|
108
|
+
Parameters: [filterId: import("viem").Quantity];
|
|
109
|
+
ReturnType: import("viem").RpcLog[] | import("viem").Hex[];
|
|
117
110
|
}, {
|
|
118
111
|
Method: "eth_getFilterLogs";
|
|
119
|
-
Parameters: [filterId:
|
|
112
|
+
Parameters: [filterId: import("viem").Quantity];
|
|
120
113
|
ReturnType: import("viem").RpcLog[];
|
|
121
114
|
}, {
|
|
122
115
|
Method: "eth_getLogs";
|
|
123
116
|
Parameters: [{
|
|
124
|
-
address?:
|
|
117
|
+
address?: import("viem").Address | import("viem").Address[] | undefined;
|
|
125
118
|
topics?: import("viem").LogTopic[] | undefined;
|
|
126
119
|
} & ({
|
|
127
|
-
fromBlock?:
|
|
128
|
-
toBlock?:
|
|
129
|
-
blockHash?: undefined;
|
|
120
|
+
fromBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
121
|
+
toBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
122
|
+
blockHash?: never | undefined;
|
|
130
123
|
} | {
|
|
131
|
-
fromBlock?: undefined;
|
|
132
|
-
toBlock?: undefined;
|
|
133
|
-
blockHash?:
|
|
124
|
+
fromBlock?: never | undefined;
|
|
125
|
+
toBlock?: never | undefined;
|
|
126
|
+
blockHash?: import("viem").Hash | undefined;
|
|
134
127
|
})];
|
|
135
128
|
ReturnType: import("viem").RpcLog[];
|
|
136
129
|
}, {
|
|
137
130
|
Method: "eth_getProof";
|
|
138
|
-
Parameters: [address:
|
|
131
|
+
Parameters: [address: import("viem").Address, storageKeys: import("viem").Hash[], block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
139
132
|
ReturnType: import("viem").RpcProof;
|
|
140
133
|
}, {
|
|
141
134
|
Method: "eth_getStorageAt";
|
|
142
|
-
Parameters: [address:
|
|
143
|
-
ReturnType:
|
|
135
|
+
Parameters: [address: import("viem").Address, index: import("viem").Quantity, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
136
|
+
ReturnType: import("viem").Hex;
|
|
144
137
|
}, {
|
|
145
138
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
146
|
-
Parameters: [hash:
|
|
139
|
+
Parameters: [hash: import("viem").Hash, index: import("viem").Quantity];
|
|
147
140
|
ReturnType: import("viem").RpcTransaction | null;
|
|
148
141
|
}, {
|
|
149
142
|
Method: "eth_getTransactionByBlockNumberAndIndex";
|
|
150
|
-
Parameters: [block:
|
|
143
|
+
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, index: import("viem").Quantity];
|
|
151
144
|
ReturnType: import("viem").RpcTransaction | null;
|
|
152
145
|
}, {
|
|
153
146
|
Method: "eth_getTransactionByHash";
|
|
154
|
-
Parameters: [hash:
|
|
147
|
+
Parameters: [hash: import("viem").Hash];
|
|
155
148
|
ReturnType: import("viem").RpcTransaction | null;
|
|
156
149
|
}, {
|
|
157
150
|
Method: "eth_getTransactionCount";
|
|
158
|
-
Parameters: [address:
|
|
159
|
-
ReturnType:
|
|
151
|
+
Parameters: [address: import("viem").Address, block: import("viem").RpcBlockNumber | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
|
|
152
|
+
ReturnType: import("viem").Quantity;
|
|
160
153
|
}, {
|
|
161
154
|
Method: "eth_getTransactionReceipt";
|
|
162
|
-
Parameters: [hash:
|
|
155
|
+
Parameters: [hash: import("viem").Hash];
|
|
163
156
|
ReturnType: import("viem").RpcTransactionReceipt | null;
|
|
164
157
|
}, {
|
|
165
158
|
Method: "eth_getUncleByBlockHashAndIndex";
|
|
166
|
-
Parameters: [hash:
|
|
159
|
+
Parameters: [hash: import("viem").Hash, index: import("viem").Quantity];
|
|
167
160
|
ReturnType: import("viem").RpcUncle | null;
|
|
168
161
|
}, {
|
|
169
162
|
Method: "eth_getUncleByBlockNumberAndIndex";
|
|
170
|
-
Parameters: [block:
|
|
163
|
+
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag, index: import("viem").Quantity];
|
|
171
164
|
ReturnType: import("viem").RpcUncle | null;
|
|
172
165
|
}, {
|
|
173
166
|
Method: "eth_getUncleCountByBlockHash";
|
|
174
|
-
Parameters: [hash:
|
|
175
|
-
ReturnType:
|
|
167
|
+
Parameters: [hash: import("viem").Hash];
|
|
168
|
+
ReturnType: import("viem").Quantity;
|
|
176
169
|
}, {
|
|
177
170
|
Method: "eth_getUncleCountByBlockNumber";
|
|
178
|
-
Parameters: [block:
|
|
179
|
-
ReturnType:
|
|
171
|
+
Parameters: [block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
172
|
+
ReturnType: import("viem").Quantity;
|
|
180
173
|
}, {
|
|
181
174
|
Method: "eth_maxPriorityFeePerGas";
|
|
182
175
|
Parameters?: undefined;
|
|
183
|
-
ReturnType:
|
|
176
|
+
ReturnType: import("viem").Quantity;
|
|
184
177
|
}, {
|
|
185
178
|
Method: "eth_newBlockFilter";
|
|
186
179
|
Parameters?: undefined;
|
|
187
|
-
ReturnType:
|
|
180
|
+
ReturnType: import("viem").Quantity;
|
|
188
181
|
}, {
|
|
189
182
|
Method: "eth_newFilter";
|
|
190
183
|
Parameters: [filter: {
|
|
191
|
-
fromBlock?:
|
|
192
|
-
toBlock?:
|
|
193
|
-
address?:
|
|
184
|
+
fromBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
185
|
+
toBlock?: import("viem").RpcBlockNumber | import("viem").BlockTag | undefined;
|
|
186
|
+
address?: import("viem").Address | import("viem").Address[] | undefined;
|
|
194
187
|
topics?: import("viem").LogTopic[] | undefined;
|
|
195
188
|
}];
|
|
196
|
-
ReturnType:
|
|
189
|
+
ReturnType: import("viem").Quantity;
|
|
197
190
|
}, {
|
|
198
191
|
Method: "eth_newPendingTransactionFilter";
|
|
199
192
|
Parameters?: undefined;
|
|
200
|
-
ReturnType:
|
|
193
|
+
ReturnType: import("viem").Quantity;
|
|
201
194
|
}, {
|
|
202
195
|
Method: "eth_protocolVersion";
|
|
203
196
|
Parameters?: undefined;
|
|
204
197
|
ReturnType: string;
|
|
205
198
|
}, {
|
|
206
199
|
Method: "eth_sendRawTransaction";
|
|
207
|
-
Parameters: [signedTransaction:
|
|
208
|
-
ReturnType:
|
|
200
|
+
Parameters: [signedTransaction: import("viem").Hex];
|
|
201
|
+
ReturnType: import("viem").Hash;
|
|
209
202
|
}, {
|
|
210
203
|
Method: "eth_uninstallFilter";
|
|
211
|
-
Parameters: [filterId:
|
|
204
|
+
Parameters: [filterId: import("viem").Quantity];
|
|
212
205
|
ReturnType: boolean;
|
|
213
206
|
}, {
|
|
214
207
|
Method: "eth_accounts";
|
|
215
208
|
Parameters?: undefined;
|
|
216
|
-
ReturnType:
|
|
209
|
+
ReturnType: import("viem").Address[];
|
|
217
210
|
}, {
|
|
218
211
|
Method: "eth_chainId";
|
|
219
212
|
Parameters?: undefined;
|
|
220
|
-
ReturnType:
|
|
213
|
+
ReturnType: import("viem").Quantity;
|
|
221
214
|
}, {
|
|
222
215
|
Method: "eth_estimateGas";
|
|
223
|
-
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block:
|
|
224
|
-
ReturnType:
|
|
216
|
+
Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: import("viem").RpcBlockNumber | import("viem").BlockTag];
|
|
217
|
+
ReturnType: import("viem").Quantity;
|
|
225
218
|
}, {
|
|
226
219
|
Method: "eth_requestAccounts";
|
|
227
220
|
Parameters?: undefined;
|
|
228
|
-
ReturnType:
|
|
221
|
+
ReturnType: import("viem").Address[];
|
|
229
222
|
}, {
|
|
230
223
|
Method: "eth_sendTransaction";
|
|
231
224
|
Parameters: [transaction: import("viem").RpcTransactionRequest];
|
|
232
|
-
ReturnType:
|
|
225
|
+
ReturnType: import("viem").Hash;
|
|
233
226
|
}, {
|
|
234
227
|
Method: "eth_sendRawTransaction";
|
|
235
|
-
Parameters: [signedTransaction:
|
|
236
|
-
ReturnType:
|
|
228
|
+
Parameters: [signedTransaction: import("viem").Hex];
|
|
229
|
+
ReturnType: import("viem").Hash;
|
|
237
230
|
}, {
|
|
238
231
|
Method: "eth_sign";
|
|
239
|
-
Parameters: [address:
|
|
240
|
-
ReturnType:
|
|
232
|
+
Parameters: [address: import("viem").Address, data: import("viem").Hex];
|
|
233
|
+
ReturnType: import("viem").Hex;
|
|
241
234
|
}, {
|
|
242
235
|
Method: "eth_signTransaction";
|
|
243
236
|
Parameters: [request: import("viem").RpcTransactionRequest];
|
|
244
|
-
ReturnType:
|
|
237
|
+
ReturnType: import("viem").Hex;
|
|
245
238
|
}, {
|
|
246
239
|
Method: "eth_signTypedData_v4";
|
|
247
|
-
Parameters: [address:
|
|
248
|
-
ReturnType:
|
|
240
|
+
Parameters: [address: import("viem").Address, message: string];
|
|
241
|
+
ReturnType: import("viem").Hex;
|
|
249
242
|
}, {
|
|
250
243
|
Method: "eth_syncing";
|
|
251
244
|
Parameters?: undefined;
|
|
252
|
-
ReturnType:
|
|
245
|
+
ReturnType: import("viem").NetworkSync | false;
|
|
253
246
|
}, {
|
|
254
247
|
Method: "personal_sign";
|
|
255
|
-
Parameters: [data:
|
|
256
|
-
ReturnType:
|
|
248
|
+
Parameters: [data: import("viem").Hex, address: import("viem").Address];
|
|
249
|
+
ReturnType: import("viem").Hex;
|
|
257
250
|
}, {
|
|
258
251
|
Method: "wallet_addEthereumChain";
|
|
259
252
|
Parameters: [chain: import("viem").AddEthereumChainParameter];
|
|
260
253
|
ReturnType: null;
|
|
261
254
|
}, {
|
|
262
255
|
Method: "wallet_getCallsStatus";
|
|
263
|
-
Parameters?: [string]
|
|
264
|
-
ReturnType: import("viem").WalletGetCallsStatusReturnType
|
|
256
|
+
Parameters?: [string];
|
|
257
|
+
ReturnType: import("viem").WalletGetCallsStatusReturnType;
|
|
265
258
|
}, {
|
|
266
259
|
Method: "wallet_getCapabilities";
|
|
267
|
-
Parameters?: [
|
|
268
|
-
ReturnType:
|
|
269
|
-
[x: `0x${string}`]: import("viem").WalletCapabilities;
|
|
270
|
-
};
|
|
260
|
+
Parameters?: [import("viem").Address];
|
|
261
|
+
ReturnType: import("viem/chains").Prettify<import("viem").WalletCapabilitiesRecord>;
|
|
271
262
|
}, {
|
|
272
263
|
Method: "wallet_getPermissions";
|
|
273
264
|
Parameters?: undefined;
|
|
@@ -280,11 +271,11 @@ export declare function getConnectorClientQueryOptions<config extends Config, ch
|
|
|
280
271
|
ReturnType: import("viem").WalletPermission[];
|
|
281
272
|
}, {
|
|
282
273
|
Method: "wallet_sendCalls";
|
|
283
|
-
Parameters?: import("viem").WalletSendCallsParameters
|
|
274
|
+
Parameters?: import("viem").WalletSendCallsParameters;
|
|
284
275
|
ReturnType: string;
|
|
285
276
|
}, {
|
|
286
277
|
Method: "wallet_showCallsStatus";
|
|
287
|
-
Parameters?: [string]
|
|
278
|
+
Parameters?: [string];
|
|
288
279
|
ReturnType: void;
|
|
289
280
|
}, {
|
|
290
281
|
Method: "wallet_switchEthereumChain";
|
|
@@ -336,12 +327,54 @@ export declare function getConnectorClientQueryOptions<config extends Config, ch
|
|
|
336
327
|
uid?: undefined;
|
|
337
328
|
} | undefined>) => client) => import("viem").Client<config["_internal"]["transports"][chainId], Extract<config["chains"][number], {
|
|
338
329
|
id: chainId;
|
|
339
|
-
}>, import("viem").Account, undefined,
|
|
330
|
+
}>, import("viem").Account, undefined, import("viem/chains").Prettify<client> & ({
|
|
331
|
+
[x: string]: unknown;
|
|
332
|
+
account?: undefined;
|
|
333
|
+
batch?: undefined;
|
|
334
|
+
cacheTime?: undefined;
|
|
335
|
+
ccipRead?: undefined;
|
|
336
|
+
chain?: undefined;
|
|
337
|
+
key?: undefined;
|
|
338
|
+
name?: undefined;
|
|
339
|
+
pollingInterval?: undefined;
|
|
340
|
+
request?: undefined;
|
|
341
|
+
transport?: undefined;
|
|
342
|
+
type?: undefined;
|
|
343
|
+
uid?: undefined;
|
|
344
|
+
} | undefined extends {
|
|
345
|
+
[x: string]: unknown;
|
|
346
|
+
account?: undefined;
|
|
347
|
+
batch?: undefined;
|
|
348
|
+
cacheTime?: undefined;
|
|
349
|
+
ccipRead?: undefined;
|
|
350
|
+
chain?: undefined;
|
|
351
|
+
key?: undefined;
|
|
352
|
+
name?: undefined;
|
|
353
|
+
pollingInterval?: undefined;
|
|
354
|
+
request?: undefined;
|
|
355
|
+
transport?: undefined;
|
|
356
|
+
type?: undefined;
|
|
357
|
+
uid?: undefined;
|
|
358
|
+
} ? {
|
|
359
|
+
[x: string]: unknown;
|
|
360
|
+
account?: undefined;
|
|
361
|
+
batch?: undefined;
|
|
362
|
+
cacheTime?: undefined;
|
|
363
|
+
ccipRead?: undefined;
|
|
364
|
+
chain?: undefined;
|
|
365
|
+
key?: undefined;
|
|
366
|
+
name?: undefined;
|
|
367
|
+
pollingInterval?: undefined;
|
|
368
|
+
request?: undefined;
|
|
369
|
+
transport?: undefined;
|
|
370
|
+
type?: undefined;
|
|
371
|
+
uid?: undefined;
|
|
372
|
+
} : unknown)>;
|
|
340
373
|
}>;
|
|
341
374
|
readonly queryKey: readonly ["connectorClient", {
|
|
342
375
|
readonly connectorUid: string | undefined;
|
|
343
376
|
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;
|
|
344
|
-
readonly account?:
|
|
377
|
+
readonly account?: import("viem").Address | import("viem").Account | undefined;
|
|
345
378
|
readonly scopeKey?: string | undefined;
|
|
346
379
|
}];
|
|
347
380
|
};
|
|
@@ -350,7 +383,7 @@ export type GetConnectorClientData<config extends Config, chainId extends config
|
|
|
350
383
|
export declare function getConnectorClientQueryKey<config extends Config, chainId extends config['chains'][number]['id']>(options?: GetConnectorClientOptions<config, chainId>): readonly ["connectorClient", {
|
|
351
384
|
readonly connectorUid: string | undefined;
|
|
352
385
|
readonly chainId?: config["chains"][number]["id"] | (chainId extends config["chains"][number]["id"] ? chainId : undefined) | undefined;
|
|
353
|
-
readonly account?:
|
|
386
|
+
readonly account?: import("viem").Address | import("viem").Account | undefined;
|
|
354
387
|
readonly scopeKey?: string | undefined;
|
|
355
388
|
}];
|
|
356
389
|
export type GetConnectorClientQueryKey<config extends Config, chainId extends config['chains'][number]['id']> = ReturnType<typeof getConnectorClientQueryKey<config, chainId>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectorClient.d.ts","sourceRoot":"","sources":["../../../src/query/getConnectorClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,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,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG/D,MAAM,MAAM,yBAAyB,CACnC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,QAAQ,CACV,YAAY,CAAC,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACzD,iBAAiB,CACpB,CAAA;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAM
|
|
1
|
+
{"version":3,"file":"getConnectorClient.d.ts","sourceRoot":"","sources":["../../../src/query/getConnectorClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,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,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG/D,MAAM,MAAM,yBAAyB,CACnC,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAC5C,QAAQ,CACV,YAAY,CAAC,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACzD,iBAAiB,CACpB,CAAA;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,SAAS,MAAM,EACrB,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC9C,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA6CkxW,CAAC;sBAAyD,CAAC;;yBAAsE,CAAC;uBAA6D,CAAC;yBAA+D,CAAC;;yBAAgE,CAAC;uBAA4C,CAAC;yBAA8C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAy3M,CAAC;uBAA6D,CAAC;uBAA6D,CAAC;sBAAyD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA3BxykB;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,EAC9C,OAAO,GAAE,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAM;;;;;GAMzD;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"}
|
|
@@ -12,14 +12,14 @@ export declare function getEnsAddressQueryOptions<config extends Config>(config:
|
|
|
12
12
|
gatewayUrls?: string[] | undefined;
|
|
13
13
|
name?: string | undefined;
|
|
14
14
|
strict?: boolean | undefined;
|
|
15
|
-
universalResolverAddress?:
|
|
15
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
16
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
17
|
scopeKey?: string | undefined;
|
|
18
18
|
}];
|
|
19
19
|
signal: AbortSignal;
|
|
20
|
-
meta:
|
|
20
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
21
21
|
pageParam?: unknown;
|
|
22
|
-
direction?: "forward" | "backward"
|
|
22
|
+
direction?: "forward" | "backward";
|
|
23
23
|
}) => Promise<import("viem").GetEnsAddressReturnType>;
|
|
24
24
|
readonly queryKey: readonly ["ensAddress", {
|
|
25
25
|
blockNumber?: bigint | undefined;
|
|
@@ -28,8 +28,8 @@ export declare function getEnsAddressQueryOptions<config extends Config>(config:
|
|
|
28
28
|
gatewayUrls?: string[] | undefined;
|
|
29
29
|
name?: string | undefined;
|
|
30
30
|
strict?: boolean | undefined;
|
|
31
|
-
universalResolverAddress?:
|
|
32
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer
|
|
31
|
+
universalResolverAddress?: import("viem").Address | 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
33
|
scopeKey?: string | undefined;
|
|
34
34
|
}];
|
|
35
35
|
};
|
|
@@ -42,7 +42,7 @@ export declare function getEnsAddressQueryKey<config extends Config>(options?: G
|
|
|
42
42
|
gatewayUrls?: string[] | undefined;
|
|
43
43
|
name?: string | undefined;
|
|
44
44
|
strict?: boolean | undefined;
|
|
45
|
-
universalResolverAddress?:
|
|
45
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
46
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
47
|
scopeKey?: string | undefined;
|
|
48
48
|
}];
|
|
@@ -11,15 +11,15 @@ export declare function getEnsAvatarQueryOptions<config extends Config>(config:
|
|
|
11
11
|
blockTag?: import("viem").BlockTag | undefined;
|
|
12
12
|
gatewayUrls?: string[] | undefined;
|
|
13
13
|
strict?: boolean | undefined;
|
|
14
|
-
universalResolverAddress?:
|
|
14
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
15
15
|
assetGatewayUrls?: import("viem").AssetGatewayUrls | undefined;
|
|
16
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
17
|
scopeKey?: string | undefined;
|
|
18
18
|
}];
|
|
19
19
|
signal: AbortSignal;
|
|
20
|
-
meta:
|
|
20
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
21
21
|
pageParam?: unknown;
|
|
22
|
-
direction?: "forward" | "backward"
|
|
22
|
+
direction?: "forward" | "backward";
|
|
23
23
|
}) => Promise<import("viem").GetEnsAvatarReturnType>;
|
|
24
24
|
readonly queryKey: readonly ["ensAvatar", {
|
|
25
25
|
name?: string | undefined;
|
|
@@ -27,9 +27,9 @@ export declare function getEnsAvatarQueryOptions<config extends Config>(config:
|
|
|
27
27
|
blockTag?: import("viem").BlockTag | undefined;
|
|
28
28
|
gatewayUrls?: string[] | undefined;
|
|
29
29
|
strict?: boolean | undefined;
|
|
30
|
-
universalResolverAddress?:
|
|
30
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
31
31
|
assetGatewayUrls?: import("viem").AssetGatewayUrls | undefined;
|
|
32
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer
|
|
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
33
|
scopeKey?: string | undefined;
|
|
34
34
|
}];
|
|
35
35
|
};
|
|
@@ -41,7 +41,7 @@ export declare function getEnsAvatarQueryKey<config extends Config>(options?: Ge
|
|
|
41
41
|
blockTag?: import("viem").BlockTag | undefined;
|
|
42
42
|
gatewayUrls?: string[] | undefined;
|
|
43
43
|
strict?: boolean | undefined;
|
|
44
|
-
universalResolverAddress?:
|
|
44
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
45
45
|
assetGatewayUrls?: import("viem").AssetGatewayUrls | undefined;
|
|
46
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
47
|
scopeKey?: string | undefined;
|
|
@@ -11,14 +11,14 @@ export declare function getEnsNameQueryOptions<config extends Config>(config: co
|
|
|
11
11
|
address?: `0x${string}` | undefined;
|
|
12
12
|
gatewayUrls?: string[] | undefined;
|
|
13
13
|
strict?: boolean | undefined;
|
|
14
|
-
universalResolverAddress?:
|
|
14
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
15
15
|
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;
|
|
16
16
|
scopeKey?: string | undefined;
|
|
17
17
|
}];
|
|
18
18
|
signal: AbortSignal;
|
|
19
|
-
meta:
|
|
19
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
20
20
|
pageParam?: unknown;
|
|
21
|
-
direction?: "forward" | "backward"
|
|
21
|
+
direction?: "forward" | "backward";
|
|
22
22
|
}) => Promise<import("viem").GetEnsNameReturnType>;
|
|
23
23
|
readonly queryKey: readonly ["ensName", {
|
|
24
24
|
blockNumber?: bigint | undefined;
|
|
@@ -26,8 +26,8 @@ export declare function getEnsNameQueryOptions<config extends Config>(config: co
|
|
|
26
26
|
address?: `0x${string}` | undefined;
|
|
27
27
|
gatewayUrls?: string[] | undefined;
|
|
28
28
|
strict?: boolean | undefined;
|
|
29
|
-
universalResolverAddress?:
|
|
30
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer
|
|
29
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
30
|
+
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;
|
|
31
31
|
scopeKey?: string | undefined;
|
|
32
32
|
}];
|
|
33
33
|
};
|
|
@@ -39,7 +39,7 @@ export declare function getEnsNameQueryKey<config extends Config>(options?: GetE
|
|
|
39
39
|
address?: `0x${string}` | undefined;
|
|
40
40
|
gatewayUrls?: string[] | undefined;
|
|
41
41
|
strict?: boolean | undefined;
|
|
42
|
-
universalResolverAddress?:
|
|
42
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
43
43
|
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;
|
|
44
44
|
scopeKey?: string | undefined;
|
|
45
45
|
}];
|
|
@@ -9,21 +9,21 @@ export declare function getEnsResolverQueryOptions<config extends Config>(config
|
|
|
9
9
|
blockNumber?: bigint | undefined;
|
|
10
10
|
blockTag?: import("viem").BlockTag | undefined;
|
|
11
11
|
name?: string | undefined;
|
|
12
|
-
universalResolverAddress?:
|
|
12
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
13
13
|
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;
|
|
14
14
|
scopeKey?: string | undefined;
|
|
15
15
|
}];
|
|
16
16
|
signal: AbortSignal;
|
|
17
|
-
meta:
|
|
17
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
18
18
|
pageParam?: unknown;
|
|
19
|
-
direction?: "forward" | "backward"
|
|
19
|
+
direction?: "forward" | "backward";
|
|
20
20
|
}) => Promise<`0x${string}`>;
|
|
21
21
|
readonly queryKey: readonly ["ensResolver", {
|
|
22
22
|
blockNumber?: bigint | undefined;
|
|
23
23
|
blockTag?: import("viem").BlockTag | undefined;
|
|
24
24
|
name?: string | undefined;
|
|
25
|
-
universalResolverAddress?:
|
|
26
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer
|
|
25
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
26
|
+
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;
|
|
27
27
|
scopeKey?: string | undefined;
|
|
28
28
|
}];
|
|
29
29
|
};
|
|
@@ -33,7 +33,7 @@ export declare function getEnsResolverQueryKey<config extends Config>(options?:
|
|
|
33
33
|
blockNumber?: bigint | undefined;
|
|
34
34
|
blockTag?: import("viem").BlockTag | undefined;
|
|
35
35
|
name?: string | undefined;
|
|
36
|
-
universalResolverAddress?:
|
|
36
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
37
37
|
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;
|
|
38
38
|
scopeKey?: string | undefined;
|
|
39
39
|
}];
|
|
@@ -12,14 +12,14 @@ export declare function getEnsTextQueryOptions<config extends Config>(config: co
|
|
|
12
12
|
gatewayUrls?: string[] | undefined;
|
|
13
13
|
key?: string | undefined;
|
|
14
14
|
strict?: boolean | undefined;
|
|
15
|
-
universalResolverAddress?:
|
|
15
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
16
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
17
|
scopeKey?: string | undefined;
|
|
18
18
|
}];
|
|
19
19
|
signal: AbortSignal;
|
|
20
|
-
meta:
|
|
20
|
+
meta: import("@tanstack/query-core").QueryMeta | undefined;
|
|
21
21
|
pageParam?: unknown;
|
|
22
|
-
direction?: "forward" | "backward"
|
|
22
|
+
direction?: "forward" | "backward";
|
|
23
23
|
}) => Promise<import("viem").GetEnsTextReturnType>;
|
|
24
24
|
readonly queryKey: readonly ["ensText", {
|
|
25
25
|
blockNumber?: bigint | undefined;
|
|
@@ -28,8 +28,8 @@ export declare function getEnsTextQueryOptions<config extends Config>(config: co
|
|
|
28
28
|
gatewayUrls?: string[] | undefined;
|
|
29
29
|
key?: string | undefined;
|
|
30
30
|
strict?: boolean | undefined;
|
|
31
|
-
universalResolverAddress?:
|
|
32
|
-
chainId?: config["chains"][number]["id"] | (config["chains"][number]["id"] extends infer
|
|
31
|
+
universalResolverAddress?: import("viem").Address | 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
33
|
scopeKey?: string | undefined;
|
|
34
34
|
}];
|
|
35
35
|
};
|
|
@@ -42,7 +42,7 @@ export declare function getEnsTextQueryKey<config extends Config>(options?: GetE
|
|
|
42
42
|
gatewayUrls?: string[] | undefined;
|
|
43
43
|
key?: string | undefined;
|
|
44
44
|
strict?: boolean | undefined;
|
|
45
|
-
universalResolverAddress?:
|
|
45
|
+
universalResolverAddress?: import("viem").Address | undefined;
|
|
46
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
47
|
scopeKey?: string | undefined;
|
|
48
48
|
}];
|