@getpara/wagmi-v2-connector 2.0.0-dev.3 → 2.0.0-fc.0

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.
@@ -17,923 +17,86 @@ export interface ParaConnectorOpts {
17
17
  nameOverride?: string;
18
18
  transports?: Record<number, Transport>;
19
19
  }
20
- export declare const createParaConnector: ({ para, chains: _chains, disableModal, storageOverride, options, iconOverride, nameOverride, idOverride, transports, renderModal, openModal, }: ParaConnectorOpts & {
21
- renderModal?: (onClose: () => void) => void;
22
- openModal?: () => void;
23
- }) => import("wagmi").CreateConnectorFn<unknown, {
20
+ export declare const createParaConnector: ({ para, chains: _chains, disableModal, storageOverride, options, iconOverride, nameOverride, idOverride, transports, renderModal, }: ParaConnectorOpts & {
21
+ renderModal?: (onClose: () => void) => {
22
+ openModal: () => void;
23
+ };
24
+ }) => (config: {
25
+ chains: readonly [Chain, ...Chain[]];
26
+ emitter: import("@wagmi/core/internal").Emitter<import("wagmi").ConnectorEventMap>;
27
+ storage?: {
28
+ key: string;
29
+ getItem: <key_1 extends string, value extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1], defaultValue_1 extends value>(key: key_1, defaultValue?: defaultValue_1) => (defaultValue_1 extends null ? value : value) | Promise<defaultValue_1 extends null ? value : value>;
30
+ setItem: <key_1 extends string, value_1 extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1]>(key: key_1, value: value_1) => void | Promise<void>;
31
+ removeItem: (key: string) => void | Promise<void>;
32
+ };
33
+ transports?: Record<number, import("wagmi").Transport> | undefined;
34
+ }) => {
24
35
  type: string;
25
36
  name: string;
26
37
  icon: string;
27
38
  disconnect: () => Promise<void>;
28
39
  id: string;
29
- supportsSimulation?: boolean;
40
+ rdns?: string | readonly string[] | undefined;
41
+ supportsSimulation?: boolean | undefined;
30
42
  setup?: () => Promise<void>;
31
43
  connect: (parameters?: {
32
- chainId?: number;
33
- isReconnecting?: boolean;
34
- }) => Promise<{
35
- accounts: readonly `0x${string}`[];
44
+ chainId?: number | undefined;
45
+ isReconnecting?: boolean | undefined;
46
+ } | undefined) => Promise<{
47
+ accounts: readonly import("viem").Address[];
36
48
  chainId: number;
37
49
  }>;
38
- getAccounts: () => Promise<readonly `0x${string}`[]>;
50
+ getAccounts: () => Promise<readonly import("viem").Address[]>;
39
51
  getChainId: () => Promise<number>;
40
52
  getProvider: (parameters?: {
41
- chainId?: number;
42
- }) => Promise<{
43
- on: <TEvent extends keyof import("viem").EIP1193EventMap>(event: TEvent, listener: import("viem").EIP1193EventMap[TEvent]) => void;
44
- removeListener: <TEvent_1 extends keyof import("viem").EIP1193EventMap>(event: TEvent_1, listener: import("viem").EIP1193EventMap[TEvent_1]) => void;
45
- request: import("viem").EIP1193RequestFn<[{
46
- Method: "web3_clientVersion";
47
- Parameters?: undefined;
48
- ReturnType: string;
49
- }, {
50
- Method: "web3_sha3";
51
- Parameters: [data: `0x${string}`];
52
- ReturnType: string;
53
- }, {
54
- Method: "net_listening";
55
- Parameters?: undefined;
56
- ReturnType: boolean;
57
- }, {
58
- Method: "net_peerCount";
59
- Parameters?: undefined;
60
- ReturnType: `0x${string}`;
61
- }, {
62
- Method: "net_version";
63
- Parameters?: undefined;
64
- ReturnType: `0x${string}`;
65
- }, {
66
- Method: "eth_blobBaseFee";
67
- Parameters?: undefined;
68
- ReturnType: `0x${string}`;
69
- }, {
70
- Method: "eth_blockNumber";
71
- Parameters?: undefined;
72
- ReturnType: `0x${string}`;
73
- }, {
74
- Method: "eth_call";
75
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
76
- ReturnType: `0x${string}`;
77
- }, {
78
- Method: "eth_chainId";
79
- Parameters?: undefined;
80
- ReturnType: `0x${string}`;
81
- }, {
82
- Method: "eth_coinbase";
83
- Parameters?: undefined;
84
- ReturnType: `0x${string}`;
85
- }, {
86
- Method: "eth_estimateGas";
87
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
88
- ReturnType: `0x${string}`;
89
- }, {
90
- Method: "eth_feeHistory";
91
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
92
- ReturnType: import("viem").RpcFeeHistory;
93
- }, {
94
- Method: "eth_gasPrice";
95
- Parameters?: undefined;
96
- ReturnType: `0x${string}`;
97
- }, {
98
- Method: "eth_getBalance";
99
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
100
- ReturnType: `0x${string}`;
101
- }, {
102
- Method: "eth_getBlockByHash";
103
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
104
- ReturnType: import("viem").RpcBlock;
105
- }, {
106
- Method: "eth_getBlockByNumber";
107
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
108
- ReturnType: import("viem").RpcBlock;
109
- }, {
110
- Method: "eth_getBlockTransactionCountByHash";
111
- Parameters: [hash: `0x${string}`];
112
- ReturnType: `0x${string}`;
113
- }, {
114
- Method: "eth_getBlockTransactionCountByNumber";
115
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
116
- ReturnType: `0x${string}`;
117
- }, {
118
- Method: "eth_getCode";
119
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
120
- ReturnType: `0x${string}`;
121
- }, {
122
- Method: "eth_getFilterChanges";
123
- Parameters: [filterId: `0x${string}`];
124
- ReturnType: `0x${string}`[] | {
125
- address: `0x${string}`;
126
- blockHash: `0x${string}`;
127
- blockNumber: `0x${string}`;
128
- data: `0x${string}`;
129
- logIndex: `0x${string}`;
130
- transactionHash: `0x${string}`;
131
- transactionIndex: `0x${string}`;
132
- removed: boolean;
133
- }[];
134
- }, {
135
- Method: "eth_getFilterLogs";
136
- Parameters: [filterId: `0x${string}`];
137
- ReturnType: {
138
- address: `0x${string}`;
139
- blockHash: `0x${string}`;
140
- blockNumber: `0x${string}`;
141
- data: `0x${string}`;
142
- logIndex: `0x${string}`;
143
- transactionHash: `0x${string}`;
144
- transactionIndex: `0x${string}`;
145
- removed: boolean;
146
- }[];
147
- }, {
148
- Method: "eth_getLogs";
149
- Parameters: [{
150
- address?: `0x${string}` | `0x${string}`[];
151
- topics?: import("viem").LogTopic[];
152
- } & ({
153
- fromBlock?: `0x${string}` | import("viem").BlockTag;
154
- toBlock?: `0x${string}` | import("viem").BlockTag;
155
- blockHash?: undefined;
156
- } | {
157
- fromBlock?: undefined;
158
- toBlock?: undefined;
159
- blockHash?: `0x${string}`;
160
- })];
161
- ReturnType: {
162
- address: `0x${string}`;
163
- blockHash: `0x${string}`;
164
- blockNumber: `0x${string}`;
165
- data: `0x${string}`;
166
- logIndex: `0x${string}`;
167
- transactionHash: `0x${string}`;
168
- transactionIndex: `0x${string}`;
169
- removed: boolean;
170
- }[];
171
- }, {
172
- Method: "eth_getProof";
173
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
174
- ReturnType: import("viem").RpcProof;
175
- }, {
176
- Method: "eth_getStorageAt";
177
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
178
- ReturnType: `0x${string}`;
179
- }, {
180
- Method: "eth_getTransactionByBlockHashAndIndex";
181
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
182
- ReturnType: import("viem").RpcTransaction;
183
- }, {
184
- Method: "eth_getTransactionByBlockNumberAndIndex";
185
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
186
- ReturnType: import("viem").RpcTransaction;
187
- }, {
188
- Method: "eth_getTransactionByHash";
189
- Parameters: [hash: `0x${string}`];
190
- ReturnType: import("viem").RpcTransaction;
191
- }, {
192
- Method: "eth_getTransactionCount";
193
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
194
- ReturnType: `0x${string}`;
195
- }, {
196
- Method: "eth_getTransactionReceipt";
197
- Parameters: [hash: `0x${string}`];
198
- ReturnType: import("viem").RpcTransactionReceipt;
199
- }, {
200
- Method: "eth_getUncleByBlockHashAndIndex";
201
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
202
- ReturnType: import("viem").RpcUncle;
203
- }, {
204
- Method: "eth_getUncleByBlockNumberAndIndex";
205
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
206
- ReturnType: import("viem").RpcUncle;
207
- }, {
208
- Method: "eth_getUncleCountByBlockHash";
209
- Parameters: [hash: `0x${string}`];
210
- ReturnType: `0x${string}`;
211
- }, {
212
- Method: "eth_getUncleCountByBlockNumber";
213
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
214
- ReturnType: `0x${string}`;
215
- }, {
216
- Method: "eth_maxPriorityFeePerGas";
217
- Parameters?: undefined;
218
- ReturnType: `0x${string}`;
219
- }, {
220
- Method: "eth_newBlockFilter";
221
- Parameters?: undefined;
222
- ReturnType: `0x${string}`;
223
- }, {
224
- Method: "eth_newFilter";
225
- Parameters: [filter: {
226
- fromBlock?: `0x${string}` | import("viem").BlockTag;
227
- toBlock?: `0x${string}` | import("viem").BlockTag;
228
- address?: `0x${string}` | `0x${string}`[];
229
- topics?: import("viem").LogTopic[];
230
- }];
231
- ReturnType: `0x${string}`;
232
- }, {
233
- Method: "eth_newPendingTransactionFilter";
234
- Parameters?: undefined;
235
- ReturnType: `0x${string}`;
236
- }, {
237
- Method: "eth_protocolVersion";
238
- Parameters?: undefined;
239
- ReturnType: string;
240
- }, {
241
- Method: "eth_sendRawTransaction";
242
- Parameters: [signedTransaction: `0x${string}`];
243
- ReturnType: `0x${string}`;
244
- }, {
245
- Method: "eth_uninstallFilter";
246
- Parameters: [filterId: `0x${string}`];
247
- ReturnType: boolean;
248
- }, {
249
- Method: "eth_accounts";
250
- Parameters?: undefined;
251
- ReturnType: `0x${string}`[];
252
- }, {
253
- Method: "eth_chainId";
254
- Parameters?: undefined;
255
- ReturnType: `0x${string}`;
256
- }, {
257
- Method: "eth_estimateGas";
258
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
259
- ReturnType: `0x${string}`;
260
- }, {
261
- Method: "eth_requestAccounts";
262
- Parameters?: undefined;
263
- ReturnType: `0x${string}`[];
264
- }, {
265
- Method: "eth_sendTransaction";
266
- Parameters: [transaction: import("viem").RpcTransactionRequest];
267
- ReturnType: `0x${string}`;
268
- }, {
269
- Method: "eth_sendRawTransaction";
270
- Parameters: [signedTransaction: `0x${string}`];
271
- ReturnType: `0x${string}`;
272
- }, {
273
- Method: "eth_sign";
274
- Parameters: [address: `0x${string}`, data: `0x${string}`];
275
- ReturnType: `0x${string}`;
276
- }, {
277
- Method: "eth_signTransaction";
278
- Parameters: [request: import("viem").RpcTransactionRequest];
279
- ReturnType: `0x${string}`;
280
- }, {
281
- Method: "eth_signTypedData_v4";
282
- Parameters: [address: `0x${string}`, message: string];
283
- ReturnType: `0x${string}`;
284
- }, {
285
- Method: "eth_syncing";
286
- Parameters?: undefined;
287
- ReturnType: false | import("viem").NetworkSync;
288
- }, {
289
- Method: "personal_sign";
290
- Parameters: [data: `0x${string}`, address: `0x${string}`];
291
- ReturnType: `0x${string}`;
292
- }, {
293
- Method: "wallet_addEthereumChain";
294
- Parameters: [chain: import("viem").AddEthereumChainParameter];
295
- ReturnType: null;
296
- }, {
297
- Method: "wallet_getCallsStatus";
298
- Parameters?: [string];
299
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
300
- }, {
301
- Method: "wallet_getCapabilities";
302
- Parameters?: [`0x${string}`];
303
- ReturnType: {
304
- [x: `0x${string}`]: import("viem").WalletCapabilities;
305
- };
306
- }, {
307
- Method: "wallet_getPermissions";
308
- Parameters?: undefined;
309
- ReturnType: import("viem").WalletPermission[];
310
- }, {
311
- Method: "wallet_grantPermissions";
312
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
313
- ReturnType: {
314
- expiry: number;
315
- factory?: `0x${string}`;
316
- factoryData?: string;
317
- grantedPermissions: readonly {
318
- data: unknown;
319
- policies: readonly {
320
- data: unknown;
321
- type: string;
322
- }[];
323
- required?: boolean;
324
- type: string;
325
- }[];
326
- permissionsContext: string;
327
- signerData?: {
328
- userOpBuilder?: `0x${string}`;
329
- submitToAddress?: `0x${string}`;
330
- };
331
- };
332
- }, {
333
- Method: "wallet_requestPermissions";
334
- Parameters: [permissions: {
335
- eth_accounts: Record<string, any>;
336
- }];
337
- ReturnType: import("viem").WalletPermission[];
338
- }, {
339
- Method: "wallet_revokePermissions";
340
- Parameters: [permissions: {
341
- eth_accounts: Record<string, any>;
342
- }];
343
- ReturnType: null;
344
- }, {
345
- Method: "wallet_sendCalls";
346
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
347
- ReturnType: string;
348
- }, {
349
- Method: "wallet_showCallsStatus";
350
- Parameters?: [string];
351
- ReturnType: void;
352
- }, {
353
- Method: "wallet_switchEthereumChain";
354
- Parameters: [chain: {
355
- chainId: string;
356
- }];
357
- ReturnType: null;
358
- }, {
359
- Method: "wallet_watchAsset";
360
- Parameters: import("viem").WatchAssetParams;
361
- ReturnType: boolean;
362
- }, {
363
- Method: "eth_chainId";
364
- Parameters?: undefined;
365
- ReturnType: `0x${string}`;
366
- }, {
367
- Method: "eth_estimateUserOperationGas";
368
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
369
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
370
- }, {
371
- Method: "eth_getUserOperationByHash";
372
- Parameters: [hash: `0x${string}`];
373
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
374
- }, {
375
- Method: "eth_getUserOperationReceipt";
376
- Parameters: [hash: `0x${string}`];
377
- ReturnType: import("viem").RpcUserOperationReceipt;
378
- }, {
379
- Method: "eth_sendUserOperation";
380
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
381
- ReturnType: `0x${string}`;
382
- }, {
383
- Method: "eth_supportedEntryPoints";
384
- Parameters?: undefined;
385
- ReturnType: readonly `0x${string}`[];
386
- }, {
387
- Method: "pm_getPaymasterStubData";
388
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
389
- callData: `0x${string}`;
390
- callGasLimit: `0x${string}`;
391
- initCode?: `0x${string}`;
392
- maxFeePerGas: `0x${string}`;
393
- maxPriorityFeePerGas: `0x${string}`;
394
- nonce: `0x${string}`;
395
- paymasterAndData?: `0x${string}`;
396
- preVerificationGas: `0x${string}`;
397
- sender: `0x${string}`;
398
- signature: `0x${string}`;
399
- verificationGasLimit: `0x${string}`;
400
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
401
- callData: `0x${string}`;
402
- callGasLimit: `0x${string}`;
403
- factory?: `0x${string}`;
404
- factoryData?: `0x${string}`;
405
- maxFeePerGas: `0x${string}`;
406
- maxPriorityFeePerGas: `0x${string}`;
407
- nonce: `0x${string}`;
408
- paymaster?: `0x${string}`;
409
- paymasterData?: `0x${string}`;
410
- paymasterPostOpGasLimit?: `0x${string}`;
411
- paymasterVerificationGasLimit?: `0x${string}`;
412
- preVerificationGas: `0x${string}`;
413
- sender: `0x${string}`;
414
- signature: `0x${string}`;
415
- verificationGasLimit: `0x${string}`;
416
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
417
- ReturnType: import("viem").OneOf<{
418
- paymasterAndData: `0x${string}`;
419
- } | {
420
- paymaster: `0x${string}`;
421
- paymasterData: `0x${string}`;
422
- paymasterVerificationGasLimit: `0x${string}`;
423
- paymasterPostOpGasLimit: `0x${string}`;
424
- }> & {
425
- sponsor?: {
426
- name: string;
427
- icon?: string;
428
- };
429
- isFinal?: boolean;
430
- };
431
- }, {
432
- Method: "pm_getPaymasterData";
433
- Parameters?: [userOperation: Pick<{
434
- callData: `0x${string}`;
435
- callGasLimit: `0x${string}`;
436
- initCode?: `0x${string}`;
437
- maxFeePerGas: `0x${string}`;
438
- maxPriorityFeePerGas: `0x${string}`;
439
- nonce: `0x${string}`;
440
- paymasterAndData?: `0x${string}`;
441
- preVerificationGas: `0x${string}`;
442
- sender: `0x${string}`;
443
- signature: `0x${string}`;
444
- verificationGasLimit: `0x${string}`;
445
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
446
- callData: `0x${string}`;
447
- callGasLimit: `0x${string}`;
448
- factory?: `0x${string}`;
449
- factoryData?: `0x${string}`;
450
- maxFeePerGas: `0x${string}`;
451
- maxPriorityFeePerGas: `0x${string}`;
452
- nonce: `0x${string}`;
453
- paymaster?: `0x${string}`;
454
- paymasterData?: `0x${string}`;
455
- paymasterPostOpGasLimit?: `0x${string}`;
456
- paymasterVerificationGasLimit?: `0x${string}`;
457
- preVerificationGas: `0x${string}`;
458
- sender: `0x${string}`;
459
- signature: `0x${string}`;
460
- verificationGasLimit: `0x${string}`;
461
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
462
- ReturnType: import("viem").OneOf<{
463
- paymasterAndData: `0x${string}`;
464
- } | {
465
- paymaster: `0x${string}`;
466
- paymasterData: `0x${string}`;
467
- paymasterVerificationGasLimit: `0x${string}`;
468
- paymasterPostOpGasLimit: `0x${string}`;
469
- }>;
470
- }]>;
471
- isApexWallet?: true;
472
- isAvalanche?: true;
473
- isBackpack?: true;
474
- isBifrost?: true;
475
- isBitKeep?: true;
476
- isBitski?: true;
477
- isBlockWallet?: true;
478
- isBraveWallet?: true;
479
- isCoinbaseWallet?: true;
480
- isDawn?: true;
481
- isEnkrypt?: true;
482
- isExodus?: true;
483
- isFrame?: true;
484
- isFrontier?: true;
485
- isGamestop?: true;
486
- isHyperPay?: true;
487
- isImToken?: true;
488
- isKuCoinWallet?: true;
489
- isMathWallet?: true;
490
- isMetaMask?: true;
491
- isOkxWallet?: true;
492
- isOKExWallet?: true;
493
- isOneInchAndroidWallet?: true;
494
- isOneInchIOSWallet?: true;
495
- isOpera?: true;
496
- isPhantom?: true;
497
- isPortal?: true;
498
- isRabby?: true;
499
- isRainbow?: true;
500
- isStatus?: true;
501
- isTally?: true;
502
- isTokenPocket?: true;
503
- isTokenary?: true;
504
- isTrust?: true;
505
- isTrustWallet?: true;
506
- isXDEFI?: true;
507
- isZerion?: true;
53
+ chainId?: number | undefined;
54
+ } | undefined) => Promise<{
55
+ on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
56
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
57
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
58
+ isApexWallet?: true | undefined;
59
+ isAvalanche?: true | undefined;
60
+ isBackpack?: true | undefined;
61
+ isBifrost?: true | undefined;
62
+ isBitKeep?: true | undefined;
63
+ isBitski?: true | undefined;
64
+ isBlockWallet?: true | undefined;
65
+ isBraveWallet?: true | undefined;
66
+ isCoinbaseWallet?: true | undefined;
67
+ isDawn?: true | undefined;
68
+ isEnkrypt?: true | undefined;
69
+ isExodus?: true | undefined;
70
+ isFrame?: true | undefined;
71
+ isFrontier?: true | undefined;
72
+ isGamestop?: true | undefined;
73
+ isHyperPay?: true | undefined;
74
+ isImToken?: true | undefined;
75
+ isKuCoinWallet?: true | undefined;
76
+ isMathWallet?: true | undefined;
77
+ isMetaMask?: true | undefined;
78
+ isOkxWallet?: true | undefined;
79
+ isOKExWallet?: true | undefined;
80
+ isOneInchAndroidWallet?: true | undefined;
81
+ isOneInchIOSWallet?: true | undefined;
82
+ isOpera?: true | undefined;
83
+ isPhantom?: true | undefined;
84
+ isPortal?: true | undefined;
85
+ isRabby?: true | undefined;
86
+ isRainbow?: true | undefined;
87
+ isStatus?: true | undefined;
88
+ isTally?: true | undefined;
89
+ isTokenPocket?: true | undefined;
90
+ isTokenary?: true | undefined;
91
+ isTrust?: true | undefined;
92
+ isTrustWallet?: true | undefined;
93
+ isUniswapWallet?: true | undefined;
94
+ isXDEFI?: true | undefined;
95
+ isZerion?: true | undefined;
508
96
  providers?: {
509
97
  on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
510
- removeListener: <event_1 extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
511
- request: import("viem").EIP1193RequestFn<[{
512
- Method: "web3_clientVersion";
513
- Parameters?: undefined;
514
- ReturnType: string;
515
- }, {
516
- Method: "web3_sha3";
517
- Parameters: [data: `0x${string}`];
518
- ReturnType: string;
519
- }, {
520
- Method: "net_listening";
521
- Parameters?: undefined;
522
- ReturnType: boolean;
523
- }, {
524
- Method: "net_peerCount";
525
- Parameters?: undefined;
526
- ReturnType: `0x${string}`;
527
- }, {
528
- Method: "net_version";
529
- Parameters?: undefined;
530
- ReturnType: `0x${string}`;
531
- }, {
532
- Method: "eth_blobBaseFee";
533
- Parameters?: undefined;
534
- ReturnType: `0x${string}`;
535
- }, {
536
- Method: "eth_blockNumber";
537
- Parameters?: undefined;
538
- ReturnType: `0x${string}`;
539
- }, {
540
- Method: "eth_call";
541
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
542
- ReturnType: `0x${string}`;
543
- }, {
544
- Method: "eth_chainId";
545
- Parameters?: undefined;
546
- ReturnType: `0x${string}`;
547
- }, {
548
- Method: "eth_coinbase";
549
- Parameters?: undefined;
550
- ReturnType: `0x${string}`;
551
- }, {
552
- Method: "eth_estimateGas";
553
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
554
- ReturnType: `0x${string}`;
555
- }, {
556
- Method: "eth_feeHistory";
557
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
558
- ReturnType: import("viem").RpcFeeHistory;
559
- }, {
560
- Method: "eth_gasPrice";
561
- Parameters?: undefined;
562
- ReturnType: `0x${string}`;
563
- }, {
564
- Method: "eth_getBalance";
565
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
566
- ReturnType: `0x${string}`;
567
- }, {
568
- Method: "eth_getBlockByHash";
569
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
570
- ReturnType: import("viem").RpcBlock;
571
- }, {
572
- Method: "eth_getBlockByNumber";
573
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
574
- ReturnType: import("viem").RpcBlock;
575
- }, {
576
- Method: "eth_getBlockTransactionCountByHash";
577
- Parameters: [hash: `0x${string}`];
578
- ReturnType: `0x${string}`;
579
- }, {
580
- Method: "eth_getBlockTransactionCountByNumber";
581
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
582
- ReturnType: `0x${string}`;
583
- }, {
584
- Method: "eth_getCode";
585
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
586
- ReturnType: `0x${string}`;
587
- }, {
588
- Method: "eth_getFilterChanges";
589
- Parameters: [filterId: `0x${string}`];
590
- ReturnType: `0x${string}`[] | {
591
- address: `0x${string}`;
592
- blockHash: `0x${string}`;
593
- blockNumber: `0x${string}`;
594
- data: `0x${string}`;
595
- logIndex: `0x${string}`;
596
- transactionHash: `0x${string}`;
597
- transactionIndex: `0x${string}`;
598
- removed: boolean;
599
- }[];
600
- }, {
601
- Method: "eth_getFilterLogs";
602
- Parameters: [filterId: `0x${string}`];
603
- ReturnType: {
604
- address: `0x${string}`;
605
- blockHash: `0x${string}`;
606
- blockNumber: `0x${string}`;
607
- data: `0x${string}`;
608
- logIndex: `0x${string}`;
609
- transactionHash: `0x${string}`;
610
- transactionIndex: `0x${string}`;
611
- removed: boolean;
612
- }[];
613
- }, {
614
- Method: "eth_getLogs";
615
- Parameters: [{
616
- address?: `0x${string}` | `0x${string}`[];
617
- topics?: import("viem").LogTopic[];
618
- } & ({
619
- fromBlock?: `0x${string}` | import("viem").BlockTag;
620
- toBlock?: `0x${string}` | import("viem").BlockTag;
621
- blockHash?: undefined;
622
- } | {
623
- fromBlock?: undefined;
624
- toBlock?: undefined;
625
- blockHash?: `0x${string}`;
626
- })];
627
- ReturnType: {
628
- address: `0x${string}`;
629
- blockHash: `0x${string}`;
630
- blockNumber: `0x${string}`;
631
- data: `0x${string}`;
632
- logIndex: `0x${string}`;
633
- transactionHash: `0x${string}`;
634
- transactionIndex: `0x${string}`;
635
- removed: boolean;
636
- }[];
637
- }, {
638
- Method: "eth_getProof";
639
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
640
- ReturnType: import("viem").RpcProof;
641
- }, {
642
- Method: "eth_getStorageAt";
643
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
644
- ReturnType: `0x${string}`;
645
- }, {
646
- Method: "eth_getTransactionByBlockHashAndIndex";
647
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
648
- ReturnType: import("viem").RpcTransaction;
649
- }, {
650
- Method: "eth_getTransactionByBlockNumberAndIndex";
651
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
652
- ReturnType: import("viem").RpcTransaction;
653
- }, {
654
- Method: "eth_getTransactionByHash";
655
- Parameters: [hash: `0x${string}`];
656
- ReturnType: import("viem").RpcTransaction;
657
- }, {
658
- Method: "eth_getTransactionCount";
659
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
660
- ReturnType: `0x${string}`;
661
- }, {
662
- Method: "eth_getTransactionReceipt";
663
- Parameters: [hash: `0x${string}`];
664
- ReturnType: import("viem").RpcTransactionReceipt;
665
- }, {
666
- Method: "eth_getUncleByBlockHashAndIndex";
667
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
668
- ReturnType: import("viem").RpcUncle;
669
- }, {
670
- Method: "eth_getUncleByBlockNumberAndIndex";
671
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
672
- ReturnType: import("viem").RpcUncle;
673
- }, {
674
- Method: "eth_getUncleCountByBlockHash";
675
- Parameters: [hash: `0x${string}`];
676
- ReturnType: `0x${string}`;
677
- }, {
678
- Method: "eth_getUncleCountByBlockNumber";
679
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
680
- ReturnType: `0x${string}`;
681
- }, {
682
- Method: "eth_maxPriorityFeePerGas";
683
- Parameters?: undefined;
684
- ReturnType: `0x${string}`;
685
- }, {
686
- Method: "eth_newBlockFilter";
687
- Parameters?: undefined;
688
- ReturnType: `0x${string}`;
689
- }, {
690
- Method: "eth_newFilter";
691
- Parameters: [filter: {
692
- fromBlock?: `0x${string}` | import("viem").BlockTag;
693
- toBlock?: `0x${string}` | import("viem").BlockTag;
694
- address?: `0x${string}` | `0x${string}`[];
695
- topics?: import("viem").LogTopic[];
696
- }];
697
- ReturnType: `0x${string}`;
698
- }, {
699
- Method: "eth_newPendingTransactionFilter";
700
- Parameters?: undefined;
701
- ReturnType: `0x${string}`;
702
- }, {
703
- Method: "eth_protocolVersion";
704
- Parameters?: undefined;
705
- ReturnType: string;
706
- }, {
707
- Method: "eth_sendRawTransaction";
708
- Parameters: [signedTransaction: `0x${string}`];
709
- ReturnType: `0x${string}`;
710
- }, {
711
- Method: "eth_uninstallFilter";
712
- Parameters: [filterId: `0x${string}`];
713
- ReturnType: boolean;
714
- }, {
715
- Method: "eth_accounts";
716
- Parameters?: undefined;
717
- ReturnType: `0x${string}`[];
718
- }, {
719
- Method: "eth_chainId";
720
- Parameters?: undefined;
721
- ReturnType: `0x${string}`;
722
- }, {
723
- Method: "eth_estimateGas";
724
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
725
- ReturnType: `0x${string}`;
726
- }, {
727
- Method: "eth_requestAccounts";
728
- Parameters?: undefined;
729
- ReturnType: `0x${string}`[];
730
- }, {
731
- Method: "eth_sendTransaction";
732
- Parameters: [transaction: import("viem").RpcTransactionRequest];
733
- ReturnType: `0x${string}`;
734
- }, {
735
- Method: "eth_sendRawTransaction";
736
- Parameters: [signedTransaction: `0x${string}`];
737
- ReturnType: `0x${string}`;
738
- }, {
739
- Method: "eth_sign";
740
- Parameters: [address: `0x${string}`, data: `0x${string}`];
741
- ReturnType: `0x${string}`;
742
- }, {
743
- Method: "eth_signTransaction";
744
- Parameters: [request: import("viem").RpcTransactionRequest];
745
- ReturnType: `0x${string}`;
746
- }, {
747
- Method: "eth_signTypedData_v4";
748
- Parameters: [address: `0x${string}`, message: string];
749
- ReturnType: `0x${string}`;
750
- }, {
751
- Method: "eth_syncing";
752
- Parameters?: undefined;
753
- ReturnType: false | import("viem").NetworkSync;
754
- }, {
755
- Method: "personal_sign";
756
- Parameters: [data: `0x${string}`, address: `0x${string}`];
757
- ReturnType: `0x${string}`;
758
- }, {
759
- Method: "wallet_addEthereumChain";
760
- Parameters: [chain: import("viem").AddEthereumChainParameter];
761
- ReturnType: null;
762
- }, {
763
- Method: "wallet_getCallsStatus";
764
- Parameters?: [string];
765
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
766
- }, {
767
- Method: "wallet_getCapabilities";
768
- Parameters?: [`0x${string}`];
769
- ReturnType: {
770
- [x: `0x${string}`]: import("viem").WalletCapabilities;
771
- };
772
- }, {
773
- Method: "wallet_getPermissions";
774
- Parameters?: undefined;
775
- ReturnType: import("viem").WalletPermission[];
776
- }, {
777
- Method: "wallet_grantPermissions";
778
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
779
- ReturnType: {
780
- expiry: number;
781
- factory?: `0x${string}`;
782
- factoryData?: string;
783
- grantedPermissions: readonly {
784
- data: unknown;
785
- policies: readonly {
786
- data: unknown;
787
- type: string;
788
- }[];
789
- required?: boolean;
790
- type: string;
791
- }[];
792
- permissionsContext: string;
793
- signerData?: {
794
- userOpBuilder?: `0x${string}`;
795
- submitToAddress?: `0x${string}`;
796
- };
797
- };
798
- }, {
799
- Method: "wallet_requestPermissions";
800
- Parameters: [permissions: {
801
- eth_accounts: Record<string, any>;
802
- }];
803
- ReturnType: import("viem").WalletPermission[];
804
- }, {
805
- Method: "wallet_revokePermissions";
806
- Parameters: [permissions: {
807
- eth_accounts: Record<string, any>;
808
- }];
809
- ReturnType: null;
810
- }, {
811
- Method: "wallet_sendCalls";
812
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
813
- ReturnType: string;
814
- }, {
815
- Method: "wallet_showCallsStatus";
816
- Parameters?: [string];
817
- ReturnType: void;
818
- }, {
819
- Method: "wallet_switchEthereumChain";
820
- Parameters: [chain: {
821
- chainId: string;
822
- }];
823
- ReturnType: null;
824
- }, {
825
- Method: "wallet_watchAsset";
826
- Parameters: import("viem").WatchAssetParams;
827
- ReturnType: boolean;
828
- }, {
829
- Method: "eth_chainId";
830
- Parameters?: undefined;
831
- ReturnType: `0x${string}`;
832
- }, {
833
- Method: "eth_estimateUserOperationGas";
834
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
835
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
836
- }, {
837
- Method: "eth_getUserOperationByHash";
838
- Parameters: [hash: `0x${string}`];
839
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
840
- }, {
841
- Method: "eth_getUserOperationReceipt";
842
- Parameters: [hash: `0x${string}`];
843
- ReturnType: import("viem").RpcUserOperationReceipt;
844
- }, {
845
- Method: "eth_sendUserOperation";
846
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
847
- ReturnType: `0x${string}`;
848
- }, {
849
- Method: "eth_supportedEntryPoints";
850
- Parameters?: undefined;
851
- ReturnType: readonly `0x${string}`[];
852
- }, {
853
- Method: "pm_getPaymasterStubData";
854
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
855
- callData: `0x${string}`;
856
- callGasLimit: `0x${string}`;
857
- initCode?: `0x${string}`;
858
- maxFeePerGas: `0x${string}`;
859
- maxPriorityFeePerGas: `0x${string}`;
860
- nonce: `0x${string}`;
861
- paymasterAndData?: `0x${string}`;
862
- preVerificationGas: `0x${string}`;
863
- sender: `0x${string}`;
864
- signature: `0x${string}`;
865
- verificationGasLimit: `0x${string}`;
866
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
867
- callData: `0x${string}`;
868
- callGasLimit: `0x${string}`;
869
- factory?: `0x${string}`;
870
- factoryData?: `0x${string}`;
871
- maxFeePerGas: `0x${string}`;
872
- maxPriorityFeePerGas: `0x${string}`;
873
- nonce: `0x${string}`;
874
- paymaster?: `0x${string}`;
875
- paymasterData?: `0x${string}`;
876
- paymasterPostOpGasLimit?: `0x${string}`;
877
- paymasterVerificationGasLimit?: `0x${string}`;
878
- preVerificationGas: `0x${string}`;
879
- sender: `0x${string}`;
880
- signature: `0x${string}`;
881
- verificationGasLimit: `0x${string}`;
882
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
883
- ReturnType: import("viem").OneOf<{
884
- paymasterAndData: `0x${string}`;
885
- } | {
886
- paymaster: `0x${string}`;
887
- paymasterData: `0x${string}`;
888
- paymasterVerificationGasLimit: `0x${string}`;
889
- paymasterPostOpGasLimit: `0x${string}`;
890
- }> & {
891
- sponsor?: {
892
- name: string;
893
- icon?: string;
894
- };
895
- isFinal?: boolean;
896
- };
897
- }, {
898
- Method: "pm_getPaymasterData";
899
- Parameters?: [userOperation: Pick<{
900
- callData: `0x${string}`;
901
- callGasLimit: `0x${string}`;
902
- initCode?: `0x${string}`;
903
- maxFeePerGas: `0x${string}`;
904
- maxPriorityFeePerGas: `0x${string}`;
905
- nonce: `0x${string}`;
906
- paymasterAndData?: `0x${string}`;
907
- preVerificationGas: `0x${string}`;
908
- sender: `0x${string}`;
909
- signature: `0x${string}`;
910
- verificationGasLimit: `0x${string}`;
911
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
912
- callData: `0x${string}`;
913
- callGasLimit: `0x${string}`;
914
- factory?: `0x${string}`;
915
- factoryData?: `0x${string}`;
916
- maxFeePerGas: `0x${string}`;
917
- maxPriorityFeePerGas: `0x${string}`;
918
- nonce: `0x${string}`;
919
- paymaster?: `0x${string}`;
920
- paymasterData?: `0x${string}`;
921
- paymasterPostOpGasLimit?: `0x${string}`;
922
- paymasterVerificationGasLimit?: `0x${string}`;
923
- preVerificationGas: `0x${string}`;
924
- sender: `0x${string}`;
925
- signature: `0x${string}`;
926
- verificationGasLimit: `0x${string}`;
927
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
928
- ReturnType: import("viem").OneOf<{
929
- paymasterAndData: `0x${string}`;
930
- } | {
931
- paymaster: `0x${string}`;
932
- paymasterData: `0x${string}`;
933
- paymasterVerificationGasLimit: `0x${string}`;
934
- paymasterPostOpGasLimit: `0x${string}`;
935
- }>;
936
- }]>;
98
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
99
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
937
100
  isApexWallet?: true;
938
101
  isAvalanche?: true;
939
102
  isBackpack?: true;
@@ -969,959 +132,122 @@ export declare const createParaConnector: ({ para, chains: _chains, disableModal
969
132
  isTokenary?: true;
970
133
  isTrust?: true;
971
134
  isTrustWallet?: true;
135
+ isUniswapWallet?: true;
972
136
  isXDEFI?: true;
973
137
  isZerion?: true;
974
- providers?: any[];
138
+ providers?: /*elided*/ any[];
975
139
  _events?: {
976
- connect?: () => void;
977
- };
140
+ connect?: (() => void) | undefined;
141
+ } | undefined;
978
142
  _state?: {
979
143
  accounts?: string[];
980
144
  initialized?: boolean;
981
145
  isConnected?: boolean;
982
146
  isPermanentlyDisconnected?: boolean;
983
147
  isUnlocked?: boolean;
984
- };
148
+ } | undefined;
985
149
  }[];
986
150
  _events?: {
987
- connect?: () => void;
988
- };
151
+ connect?: (() => void) | undefined;
152
+ } | undefined;
989
153
  _state?: {
990
154
  accounts?: string[];
991
155
  initialized?: boolean;
992
156
  isConnected?: boolean;
993
157
  isPermanentlyDisconnected?: boolean;
994
158
  isUnlocked?: boolean;
995
- };
159
+ } | undefined;
996
160
  }>;
997
161
  getClient?: (parameters?: {
998
- chainId?: number;
999
- }) => Promise<never>;
162
+ chainId?: number | undefined;
163
+ } | undefined) => Promise<import("viem").Client>;
1000
164
  isAuthorized: () => Promise<boolean>;
1001
- switchChain?: (parameters: {
1002
- addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">>;
165
+ switchChain?: (parameters: import("@wagmi/core/internal").Compute<{
166
+ addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">> | undefined;
1003
167
  chainId: number;
1004
- }) => Promise<Chain>;
168
+ }>) => Promise<Chain>;
1005
169
  onAccountsChanged: (accounts: string[]) => void;
1006
170
  onChainChanged: (chainId: string) => void;
1007
171
  onConnect: ((connectInfo: import("viem").ProviderConnectInfo) => void) & ((connectInfo: import("viem").ProviderConnectInfo) => void);
1008
- onDisconnect: (error?: Error) => void;
172
+ onDisconnect: (error?: Error | undefined) => void;
1009
173
  onMessage?: (message: import("viem").ProviderMessage) => void;
1010
- }, Record<string, unknown>>;
1011
- export declare const paraConnector: (opts: ParaConnectorOpts) => import("wagmi").CreateConnectorFn<unknown, {
174
+ };
175
+ export declare const paraConnector: (opts: ParaConnectorOpts) => (config: {
176
+ chains: readonly [Chain, ...Chain[]];
177
+ emitter: import("@wagmi/core/internal").Emitter<import("wagmi").ConnectorEventMap>;
178
+ storage?: {
179
+ key: string;
180
+ getItem: <key_1 extends string, value extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1], defaultValue_1 extends value>(key: key_1, defaultValue?: defaultValue_1) => (defaultValue_1 extends null ? value : value) | Promise<defaultValue_1 extends null ? value : value>;
181
+ setItem: <key_1 extends string, value_1 extends (import("@wagmi/core").StorageItemMap & Record<string, unknown>)[key_1]>(key: key_1, value: value_1) => void | Promise<void>;
182
+ removeItem: (key: string) => void | Promise<void>;
183
+ };
184
+ transports?: Record<number, import("wagmi").Transport> | undefined;
185
+ }) => {
1012
186
  type: string;
1013
187
  name: string;
1014
188
  icon: string;
1015
189
  disconnect: () => Promise<void>;
1016
190
  id: string;
1017
- supportsSimulation?: boolean;
191
+ rdns?: string | readonly string[] | undefined;
192
+ supportsSimulation?: boolean | undefined;
1018
193
  setup?: () => Promise<void>;
1019
194
  connect: (parameters?: {
1020
- chainId?: number;
1021
- isReconnecting?: boolean;
1022
- }) => Promise<{
1023
- accounts: readonly `0x${string}`[];
195
+ chainId?: number | undefined;
196
+ isReconnecting?: boolean | undefined;
197
+ } | undefined) => Promise<{
198
+ accounts: readonly import("viem").Address[];
1024
199
  chainId: number;
1025
200
  }>;
1026
- getAccounts: () => Promise<readonly `0x${string}`[]>;
201
+ getAccounts: () => Promise<readonly import("viem").Address[]>;
1027
202
  getChainId: () => Promise<number>;
1028
203
  getProvider: (parameters?: {
1029
- chainId?: number;
1030
- }) => Promise<{
1031
- on: <TEvent extends keyof import("viem").EIP1193EventMap>(event: TEvent, listener: import("viem").EIP1193EventMap[TEvent]) => void;
1032
- removeListener: <TEvent_1 extends keyof import("viem").EIP1193EventMap>(event: TEvent_1, listener: import("viem").EIP1193EventMap[TEvent_1]) => void;
1033
- request: import("viem").EIP1193RequestFn<[{
1034
- Method: "web3_clientVersion";
1035
- Parameters?: undefined;
1036
- ReturnType: string;
1037
- }, {
1038
- Method: "web3_sha3";
1039
- Parameters: [data: `0x${string}`];
1040
- ReturnType: string;
1041
- }, {
1042
- Method: "net_listening";
1043
- Parameters?: undefined;
1044
- ReturnType: boolean;
1045
- }, {
1046
- Method: "net_peerCount";
1047
- Parameters?: undefined;
1048
- ReturnType: `0x${string}`;
1049
- }, {
1050
- Method: "net_version";
1051
- Parameters?: undefined;
1052
- ReturnType: `0x${string}`;
1053
- }, {
1054
- Method: "eth_blobBaseFee";
1055
- Parameters?: undefined;
1056
- ReturnType: `0x${string}`;
1057
- }, {
1058
- Method: "eth_blockNumber";
1059
- Parameters?: undefined;
1060
- ReturnType: `0x${string}`;
1061
- }, {
1062
- Method: "eth_call";
1063
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
1064
- ReturnType: `0x${string}`;
1065
- }, {
1066
- Method: "eth_chainId";
1067
- Parameters?: undefined;
1068
- ReturnType: `0x${string}`;
1069
- }, {
1070
- Method: "eth_coinbase";
1071
- Parameters?: undefined;
1072
- ReturnType: `0x${string}`;
1073
- }, {
1074
- Method: "eth_estimateGas";
1075
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1076
- ReturnType: `0x${string}`;
1077
- }, {
1078
- Method: "eth_feeHistory";
1079
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
1080
- ReturnType: import("viem").RpcFeeHistory;
1081
- }, {
1082
- Method: "eth_gasPrice";
1083
- Parameters?: undefined;
1084
- ReturnType: `0x${string}`;
1085
- }, {
1086
- Method: "eth_getBalance";
1087
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1088
- ReturnType: `0x${string}`;
1089
- }, {
1090
- Method: "eth_getBlockByHash";
1091
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
1092
- ReturnType: import("viem").RpcBlock;
1093
- }, {
1094
- Method: "eth_getBlockByNumber";
1095
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
1096
- ReturnType: import("viem").RpcBlock;
1097
- }, {
1098
- Method: "eth_getBlockTransactionCountByHash";
1099
- Parameters: [hash: `0x${string}`];
1100
- ReturnType: `0x${string}`;
1101
- }, {
1102
- Method: "eth_getBlockTransactionCountByNumber";
1103
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1104
- ReturnType: `0x${string}`;
1105
- }, {
1106
- Method: "eth_getCode";
1107
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1108
- ReturnType: `0x${string}`;
1109
- }, {
1110
- Method: "eth_getFilterChanges";
1111
- Parameters: [filterId: `0x${string}`];
1112
- ReturnType: `0x${string}`[] | {
1113
- address: `0x${string}`;
1114
- blockHash: `0x${string}`;
1115
- blockNumber: `0x${string}`;
1116
- data: `0x${string}`;
1117
- logIndex: `0x${string}`;
1118
- transactionHash: `0x${string}`;
1119
- transactionIndex: `0x${string}`;
1120
- removed: boolean;
1121
- }[];
1122
- }, {
1123
- Method: "eth_getFilterLogs";
1124
- Parameters: [filterId: `0x${string}`];
1125
- ReturnType: {
1126
- address: `0x${string}`;
1127
- blockHash: `0x${string}`;
1128
- blockNumber: `0x${string}`;
1129
- data: `0x${string}`;
1130
- logIndex: `0x${string}`;
1131
- transactionHash: `0x${string}`;
1132
- transactionIndex: `0x${string}`;
1133
- removed: boolean;
1134
- }[];
1135
- }, {
1136
- Method: "eth_getLogs";
1137
- Parameters: [{
1138
- address?: `0x${string}` | `0x${string}`[];
1139
- topics?: import("viem").LogTopic[];
1140
- } & ({
1141
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1142
- toBlock?: `0x${string}` | import("viem").BlockTag;
1143
- blockHash?: undefined;
1144
- } | {
1145
- fromBlock?: undefined;
1146
- toBlock?: undefined;
1147
- blockHash?: `0x${string}`;
1148
- })];
1149
- ReturnType: {
1150
- address: `0x${string}`;
1151
- blockHash: `0x${string}`;
1152
- blockNumber: `0x${string}`;
1153
- data: `0x${string}`;
1154
- logIndex: `0x${string}`;
1155
- transactionHash: `0x${string}`;
1156
- transactionIndex: `0x${string}`;
1157
- removed: boolean;
1158
- }[];
1159
- }, {
1160
- Method: "eth_getProof";
1161
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
1162
- ReturnType: import("viem").RpcProof;
1163
- }, {
1164
- Method: "eth_getStorageAt";
1165
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1166
- ReturnType: `0x${string}`;
1167
- }, {
1168
- Method: "eth_getTransactionByBlockHashAndIndex";
1169
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1170
- ReturnType: import("viem").RpcTransaction;
1171
- }, {
1172
- Method: "eth_getTransactionByBlockNumberAndIndex";
1173
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1174
- ReturnType: import("viem").RpcTransaction;
1175
- }, {
1176
- Method: "eth_getTransactionByHash";
1177
- Parameters: [hash: `0x${string}`];
1178
- ReturnType: import("viem").RpcTransaction;
1179
- }, {
1180
- Method: "eth_getTransactionCount";
1181
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1182
- ReturnType: `0x${string}`;
1183
- }, {
1184
- Method: "eth_getTransactionReceipt";
1185
- Parameters: [hash: `0x${string}`];
1186
- ReturnType: import("viem").RpcTransactionReceipt;
1187
- }, {
1188
- Method: "eth_getUncleByBlockHashAndIndex";
1189
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1190
- ReturnType: import("viem").RpcUncle;
1191
- }, {
1192
- Method: "eth_getUncleByBlockNumberAndIndex";
1193
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1194
- ReturnType: import("viem").RpcUncle;
1195
- }, {
1196
- Method: "eth_getUncleCountByBlockHash";
1197
- Parameters: [hash: `0x${string}`];
1198
- ReturnType: `0x${string}`;
1199
- }, {
1200
- Method: "eth_getUncleCountByBlockNumber";
1201
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1202
- ReturnType: `0x${string}`;
1203
- }, {
1204
- Method: "eth_maxPriorityFeePerGas";
1205
- Parameters?: undefined;
1206
- ReturnType: `0x${string}`;
1207
- }, {
1208
- Method: "eth_newBlockFilter";
1209
- Parameters?: undefined;
1210
- ReturnType: `0x${string}`;
1211
- }, {
1212
- Method: "eth_newFilter";
1213
- Parameters: [filter: {
1214
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1215
- toBlock?: `0x${string}` | import("viem").BlockTag;
1216
- address?: `0x${string}` | `0x${string}`[];
1217
- topics?: import("viem").LogTopic[];
1218
- }];
1219
- ReturnType: `0x${string}`;
1220
- }, {
1221
- Method: "eth_newPendingTransactionFilter";
1222
- Parameters?: undefined;
1223
- ReturnType: `0x${string}`;
1224
- }, {
1225
- Method: "eth_protocolVersion";
1226
- Parameters?: undefined;
1227
- ReturnType: string;
1228
- }, {
1229
- Method: "eth_sendRawTransaction";
1230
- Parameters: [signedTransaction: `0x${string}`];
1231
- ReturnType: `0x${string}`;
1232
- }, {
1233
- Method: "eth_uninstallFilter";
1234
- Parameters: [filterId: `0x${string}`];
1235
- ReturnType: boolean;
1236
- }, {
1237
- Method: "eth_accounts";
1238
- Parameters?: undefined;
1239
- ReturnType: `0x${string}`[];
1240
- }, {
1241
- Method: "eth_chainId";
1242
- Parameters?: undefined;
1243
- ReturnType: `0x${string}`;
1244
- }, {
1245
- Method: "eth_estimateGas";
1246
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1247
- ReturnType: `0x${string}`;
1248
- }, {
1249
- Method: "eth_requestAccounts";
1250
- Parameters?: undefined;
1251
- ReturnType: `0x${string}`[];
1252
- }, {
1253
- Method: "eth_sendTransaction";
1254
- Parameters: [transaction: import("viem").RpcTransactionRequest];
1255
- ReturnType: `0x${string}`;
1256
- }, {
1257
- Method: "eth_sendRawTransaction";
1258
- Parameters: [signedTransaction: `0x${string}`];
1259
- ReturnType: `0x${string}`;
1260
- }, {
1261
- Method: "eth_sign";
1262
- Parameters: [address: `0x${string}`, data: `0x${string}`];
1263
- ReturnType: `0x${string}`;
1264
- }, {
1265
- Method: "eth_signTransaction";
1266
- Parameters: [request: import("viem").RpcTransactionRequest];
1267
- ReturnType: `0x${string}`;
1268
- }, {
1269
- Method: "eth_signTypedData_v4";
1270
- Parameters: [address: `0x${string}`, message: string];
1271
- ReturnType: `0x${string}`;
1272
- }, {
1273
- Method: "eth_syncing";
1274
- Parameters?: undefined;
1275
- ReturnType: false | import("viem").NetworkSync;
1276
- }, {
1277
- Method: "personal_sign";
1278
- Parameters: [data: `0x${string}`, address: `0x${string}`];
1279
- ReturnType: `0x${string}`;
1280
- }, {
1281
- Method: "wallet_addEthereumChain";
1282
- Parameters: [chain: import("viem").AddEthereumChainParameter];
1283
- ReturnType: null;
1284
- }, {
1285
- Method: "wallet_getCallsStatus";
1286
- Parameters?: [string];
1287
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
1288
- }, {
1289
- Method: "wallet_getCapabilities";
1290
- Parameters?: [`0x${string}`];
1291
- ReturnType: {
1292
- [x: `0x${string}`]: import("viem").WalletCapabilities;
1293
- };
1294
- }, {
1295
- Method: "wallet_getPermissions";
1296
- Parameters?: undefined;
1297
- ReturnType: import("viem").WalletPermission[];
1298
- }, {
1299
- Method: "wallet_grantPermissions";
1300
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
1301
- ReturnType: {
1302
- expiry: number;
1303
- factory?: `0x${string}`;
1304
- factoryData?: string;
1305
- grantedPermissions: readonly {
1306
- data: unknown;
1307
- policies: readonly {
1308
- data: unknown;
1309
- type: string;
1310
- }[];
1311
- required?: boolean;
1312
- type: string;
1313
- }[];
1314
- permissionsContext: string;
1315
- signerData?: {
1316
- userOpBuilder?: `0x${string}`;
1317
- submitToAddress?: `0x${string}`;
1318
- };
1319
- };
1320
- }, {
1321
- Method: "wallet_requestPermissions";
1322
- Parameters: [permissions: {
1323
- eth_accounts: Record<string, any>;
1324
- }];
1325
- ReturnType: import("viem").WalletPermission[];
1326
- }, {
1327
- Method: "wallet_revokePermissions";
1328
- Parameters: [permissions: {
1329
- eth_accounts: Record<string, any>;
1330
- }];
1331
- ReturnType: null;
1332
- }, {
1333
- Method: "wallet_sendCalls";
1334
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
1335
- ReturnType: string;
1336
- }, {
1337
- Method: "wallet_showCallsStatus";
1338
- Parameters?: [string];
1339
- ReturnType: void;
1340
- }, {
1341
- Method: "wallet_switchEthereumChain";
1342
- Parameters: [chain: {
1343
- chainId: string;
1344
- }];
1345
- ReturnType: null;
1346
- }, {
1347
- Method: "wallet_watchAsset";
1348
- Parameters: import("viem").WatchAssetParams;
1349
- ReturnType: boolean;
1350
- }, {
1351
- Method: "eth_chainId";
1352
- Parameters?: undefined;
1353
- ReturnType: `0x${string}`;
1354
- }, {
1355
- Method: "eth_estimateUserOperationGas";
1356
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
1357
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
1358
- }, {
1359
- Method: "eth_getUserOperationByHash";
1360
- Parameters: [hash: `0x${string}`];
1361
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
1362
- }, {
1363
- Method: "eth_getUserOperationReceipt";
1364
- Parameters: [hash: `0x${string}`];
1365
- ReturnType: import("viem").RpcUserOperationReceipt;
1366
- }, {
1367
- Method: "eth_sendUserOperation";
1368
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
1369
- ReturnType: `0x${string}`;
1370
- }, {
1371
- Method: "eth_supportedEntryPoints";
1372
- Parameters?: undefined;
1373
- ReturnType: readonly `0x${string}`[];
1374
- }, {
1375
- Method: "pm_getPaymasterStubData";
1376
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
1377
- callData: `0x${string}`;
1378
- callGasLimit: `0x${string}`;
1379
- initCode?: `0x${string}`;
1380
- maxFeePerGas: `0x${string}`;
1381
- maxPriorityFeePerGas: `0x${string}`;
1382
- nonce: `0x${string}`;
1383
- paymasterAndData?: `0x${string}`;
1384
- preVerificationGas: `0x${string}`;
1385
- sender: `0x${string}`;
1386
- signature: `0x${string}`;
1387
- verificationGasLimit: `0x${string}`;
1388
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
1389
- callData: `0x${string}`;
1390
- callGasLimit: `0x${string}`;
1391
- factory?: `0x${string}`;
1392
- factoryData?: `0x${string}`;
1393
- maxFeePerGas: `0x${string}`;
1394
- maxPriorityFeePerGas: `0x${string}`;
1395
- nonce: `0x${string}`;
1396
- paymaster?: `0x${string}`;
1397
- paymasterData?: `0x${string}`;
1398
- paymasterPostOpGasLimit?: `0x${string}`;
1399
- paymasterVerificationGasLimit?: `0x${string}`;
1400
- preVerificationGas: `0x${string}`;
1401
- sender: `0x${string}`;
1402
- signature: `0x${string}`;
1403
- verificationGasLimit: `0x${string}`;
1404
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1405
- ReturnType: import("viem").OneOf<{
1406
- paymasterAndData: `0x${string}`;
1407
- } | {
1408
- paymaster: `0x${string}`;
1409
- paymasterData: `0x${string}`;
1410
- paymasterVerificationGasLimit: `0x${string}`;
1411
- paymasterPostOpGasLimit: `0x${string}`;
1412
- }> & {
1413
- sponsor?: {
1414
- name: string;
1415
- icon?: string;
1416
- };
1417
- isFinal?: boolean;
1418
- };
1419
- }, {
1420
- Method: "pm_getPaymasterData";
1421
- Parameters?: [userOperation: Pick<{
1422
- callData: `0x${string}`;
1423
- callGasLimit: `0x${string}`;
1424
- initCode?: `0x${string}`;
1425
- maxFeePerGas: `0x${string}`;
1426
- maxPriorityFeePerGas: `0x${string}`;
1427
- nonce: `0x${string}`;
1428
- paymasterAndData?: `0x${string}`;
1429
- preVerificationGas: `0x${string}`;
1430
- sender: `0x${string}`;
1431
- signature: `0x${string}`;
1432
- verificationGasLimit: `0x${string}`;
1433
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
1434
- callData: `0x${string}`;
1435
- callGasLimit: `0x${string}`;
1436
- factory?: `0x${string}`;
1437
- factoryData?: `0x${string}`;
1438
- maxFeePerGas: `0x${string}`;
1439
- maxPriorityFeePerGas: `0x${string}`;
1440
- nonce: `0x${string}`;
1441
- paymaster?: `0x${string}`;
1442
- paymasterData?: `0x${string}`;
1443
- paymasterPostOpGasLimit?: `0x${string}`;
1444
- paymasterVerificationGasLimit?: `0x${string}`;
1445
- preVerificationGas: `0x${string}`;
1446
- sender: `0x${string}`;
1447
- signature: `0x${string}`;
1448
- verificationGasLimit: `0x${string}`;
1449
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1450
- ReturnType: import("viem").OneOf<{
1451
- paymasterAndData: `0x${string}`;
1452
- } | {
1453
- paymaster: `0x${string}`;
1454
- paymasterData: `0x${string}`;
1455
- paymasterVerificationGasLimit: `0x${string}`;
1456
- paymasterPostOpGasLimit: `0x${string}`;
1457
- }>;
1458
- }]>;
1459
- isApexWallet?: true;
1460
- isAvalanche?: true;
1461
- isBackpack?: true;
1462
- isBifrost?: true;
1463
- isBitKeep?: true;
1464
- isBitski?: true;
1465
- isBlockWallet?: true;
1466
- isBraveWallet?: true;
1467
- isCoinbaseWallet?: true;
1468
- isDawn?: true;
1469
- isEnkrypt?: true;
1470
- isExodus?: true;
1471
- isFrame?: true;
1472
- isFrontier?: true;
1473
- isGamestop?: true;
1474
- isHyperPay?: true;
1475
- isImToken?: true;
1476
- isKuCoinWallet?: true;
1477
- isMathWallet?: true;
1478
- isMetaMask?: true;
1479
- isOkxWallet?: true;
1480
- isOKExWallet?: true;
1481
- isOneInchAndroidWallet?: true;
1482
- isOneInchIOSWallet?: true;
1483
- isOpera?: true;
1484
- isPhantom?: true;
1485
- isPortal?: true;
1486
- isRabby?: true;
1487
- isRainbow?: true;
1488
- isStatus?: true;
1489
- isTally?: true;
1490
- isTokenPocket?: true;
1491
- isTokenary?: true;
1492
- isTrust?: true;
1493
- isTrustWallet?: true;
1494
- isXDEFI?: true;
1495
- isZerion?: true;
204
+ chainId?: number | undefined;
205
+ } | undefined) => Promise<{
206
+ on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
207
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
208
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
209
+ isApexWallet?: true | undefined;
210
+ isAvalanche?: true | undefined;
211
+ isBackpack?: true | undefined;
212
+ isBifrost?: true | undefined;
213
+ isBitKeep?: true | undefined;
214
+ isBitski?: true | undefined;
215
+ isBlockWallet?: true | undefined;
216
+ isBraveWallet?: true | undefined;
217
+ isCoinbaseWallet?: true | undefined;
218
+ isDawn?: true | undefined;
219
+ isEnkrypt?: true | undefined;
220
+ isExodus?: true | undefined;
221
+ isFrame?: true | undefined;
222
+ isFrontier?: true | undefined;
223
+ isGamestop?: true | undefined;
224
+ isHyperPay?: true | undefined;
225
+ isImToken?: true | undefined;
226
+ isKuCoinWallet?: true | undefined;
227
+ isMathWallet?: true | undefined;
228
+ isMetaMask?: true | undefined;
229
+ isOkxWallet?: true | undefined;
230
+ isOKExWallet?: true | undefined;
231
+ isOneInchAndroidWallet?: true | undefined;
232
+ isOneInchIOSWallet?: true | undefined;
233
+ isOpera?: true | undefined;
234
+ isPhantom?: true | undefined;
235
+ isPortal?: true | undefined;
236
+ isRabby?: true | undefined;
237
+ isRainbow?: true | undefined;
238
+ isStatus?: true | undefined;
239
+ isTally?: true | undefined;
240
+ isTokenPocket?: true | undefined;
241
+ isTokenary?: true | undefined;
242
+ isTrust?: true | undefined;
243
+ isTrustWallet?: true | undefined;
244
+ isUniswapWallet?: true | undefined;
245
+ isXDEFI?: true | undefined;
246
+ isZerion?: true | undefined;
1496
247
  providers?: {
1497
248
  on: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
1498
- removeListener: <event_1 extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
1499
- request: import("viem").EIP1193RequestFn<[{
1500
- Method: "web3_clientVersion";
1501
- Parameters?: undefined;
1502
- ReturnType: string;
1503
- }, {
1504
- Method: "web3_sha3";
1505
- Parameters: [data: `0x${string}`];
1506
- ReturnType: string;
1507
- }, {
1508
- Method: "net_listening";
1509
- Parameters?: undefined;
1510
- ReturnType: boolean;
1511
- }, {
1512
- Method: "net_peerCount";
1513
- Parameters?: undefined;
1514
- ReturnType: `0x${string}`;
1515
- }, {
1516
- Method: "net_version";
1517
- Parameters?: undefined;
1518
- ReturnType: `0x${string}`;
1519
- }, {
1520
- Method: "eth_blobBaseFee";
1521
- Parameters?: undefined;
1522
- ReturnType: `0x${string}`;
1523
- }, {
1524
- Method: "eth_blockNumber";
1525
- Parameters?: undefined;
1526
- ReturnType: `0x${string}`;
1527
- }, {
1528
- Method: "eth_call";
1529
- Parameters: [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier] | [transaction: import("viem").ExactPartial<import("viem").RpcTransactionRequest>, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier, stateOverrideSet: import("viem").RpcStateOverride];
1530
- ReturnType: `0x${string}`;
1531
- }, {
1532
- Method: "eth_chainId";
1533
- Parameters?: undefined;
1534
- ReturnType: `0x${string}`;
1535
- }, {
1536
- Method: "eth_coinbase";
1537
- Parameters?: undefined;
1538
- ReturnType: `0x${string}`;
1539
- }, {
1540
- Method: "eth_estimateGas";
1541
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1542
- ReturnType: `0x${string}`;
1543
- }, {
1544
- Method: "eth_feeHistory";
1545
- Parameters: [blockCount: `0x${string}`, newestBlock: `0x${string}` | import("viem").BlockTag, rewardPercentiles: number[]];
1546
- ReturnType: import("viem").RpcFeeHistory;
1547
- }, {
1548
- Method: "eth_gasPrice";
1549
- Parameters?: undefined;
1550
- ReturnType: `0x${string}`;
1551
- }, {
1552
- Method: "eth_getBalance";
1553
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1554
- ReturnType: `0x${string}`;
1555
- }, {
1556
- Method: "eth_getBlockByHash";
1557
- Parameters: [hash: `0x${string}`, includeTransactionObjects: boolean];
1558
- ReturnType: import("viem").RpcBlock;
1559
- }, {
1560
- Method: "eth_getBlockByNumber";
1561
- Parameters: [block: `0x${string}` | import("viem").BlockTag, includeTransactionObjects: boolean];
1562
- ReturnType: import("viem").RpcBlock;
1563
- }, {
1564
- Method: "eth_getBlockTransactionCountByHash";
1565
- Parameters: [hash: `0x${string}`];
1566
- ReturnType: `0x${string}`;
1567
- }, {
1568
- Method: "eth_getBlockTransactionCountByNumber";
1569
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1570
- ReturnType: `0x${string}`;
1571
- }, {
1572
- Method: "eth_getCode";
1573
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1574
- ReturnType: `0x${string}`;
1575
- }, {
1576
- Method: "eth_getFilterChanges";
1577
- Parameters: [filterId: `0x${string}`];
1578
- ReturnType: `0x${string}`[] | {
1579
- address: `0x${string}`;
1580
- blockHash: `0x${string}`;
1581
- blockNumber: `0x${string}`;
1582
- data: `0x${string}`;
1583
- logIndex: `0x${string}`;
1584
- transactionHash: `0x${string}`;
1585
- transactionIndex: `0x${string}`;
1586
- removed: boolean;
1587
- }[];
1588
- }, {
1589
- Method: "eth_getFilterLogs";
1590
- Parameters: [filterId: `0x${string}`];
1591
- ReturnType: {
1592
- address: `0x${string}`;
1593
- blockHash: `0x${string}`;
1594
- blockNumber: `0x${string}`;
1595
- data: `0x${string}`;
1596
- logIndex: `0x${string}`;
1597
- transactionHash: `0x${string}`;
1598
- transactionIndex: `0x${string}`;
1599
- removed: boolean;
1600
- }[];
1601
- }, {
1602
- Method: "eth_getLogs";
1603
- Parameters: [{
1604
- address?: `0x${string}` | `0x${string}`[];
1605
- topics?: import("viem").LogTopic[];
1606
- } & ({
1607
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1608
- toBlock?: `0x${string}` | import("viem").BlockTag;
1609
- blockHash?: undefined;
1610
- } | {
1611
- fromBlock?: undefined;
1612
- toBlock?: undefined;
1613
- blockHash?: `0x${string}`;
1614
- })];
1615
- ReturnType: {
1616
- address: `0x${string}`;
1617
- blockHash: `0x${string}`;
1618
- blockNumber: `0x${string}`;
1619
- data: `0x${string}`;
1620
- logIndex: `0x${string}`;
1621
- transactionHash: `0x${string}`;
1622
- transactionIndex: `0x${string}`;
1623
- removed: boolean;
1624
- }[];
1625
- }, {
1626
- Method: "eth_getProof";
1627
- Parameters: [address: `0x${string}`, storageKeys: `0x${string}`[], block: `0x${string}` | import("viem").BlockTag];
1628
- ReturnType: import("viem").RpcProof;
1629
- }, {
1630
- Method: "eth_getStorageAt";
1631
- Parameters: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1632
- ReturnType: `0x${string}`;
1633
- }, {
1634
- Method: "eth_getTransactionByBlockHashAndIndex";
1635
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1636
- ReturnType: import("viem").RpcTransaction;
1637
- }, {
1638
- Method: "eth_getTransactionByBlockNumberAndIndex";
1639
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1640
- ReturnType: import("viem").RpcTransaction;
1641
- }, {
1642
- Method: "eth_getTransactionByHash";
1643
- Parameters: [hash: `0x${string}`];
1644
- ReturnType: import("viem").RpcTransaction;
1645
- }, {
1646
- Method: "eth_getTransactionCount";
1647
- Parameters: [address: `0x${string}`, block: `0x${string}` | import("viem").BlockTag | import("viem").RpcBlockIdentifier];
1648
- ReturnType: `0x${string}`;
1649
- }, {
1650
- Method: "eth_getTransactionReceipt";
1651
- Parameters: [hash: `0x${string}`];
1652
- ReturnType: import("viem").RpcTransactionReceipt;
1653
- }, {
1654
- Method: "eth_getUncleByBlockHashAndIndex";
1655
- Parameters: [hash: `0x${string}`, index: `0x${string}`];
1656
- ReturnType: import("viem").RpcUncle;
1657
- }, {
1658
- Method: "eth_getUncleByBlockNumberAndIndex";
1659
- Parameters: [block: `0x${string}` | import("viem").BlockTag, index: `0x${string}`];
1660
- ReturnType: import("viem").RpcUncle;
1661
- }, {
1662
- Method: "eth_getUncleCountByBlockHash";
1663
- Parameters: [hash: `0x${string}`];
1664
- ReturnType: `0x${string}`;
1665
- }, {
1666
- Method: "eth_getUncleCountByBlockNumber";
1667
- Parameters: [block: `0x${string}` | import("viem").BlockTag];
1668
- ReturnType: `0x${string}`;
1669
- }, {
1670
- Method: "eth_maxPriorityFeePerGas";
1671
- Parameters?: undefined;
1672
- ReturnType: `0x${string}`;
1673
- }, {
1674
- Method: "eth_newBlockFilter";
1675
- Parameters?: undefined;
1676
- ReturnType: `0x${string}`;
1677
- }, {
1678
- Method: "eth_newFilter";
1679
- Parameters: [filter: {
1680
- fromBlock?: `0x${string}` | import("viem").BlockTag;
1681
- toBlock?: `0x${string}` | import("viem").BlockTag;
1682
- address?: `0x${string}` | `0x${string}`[];
1683
- topics?: import("viem").LogTopic[];
1684
- }];
1685
- ReturnType: `0x${string}`;
1686
- }, {
1687
- Method: "eth_newPendingTransactionFilter";
1688
- Parameters?: undefined;
1689
- ReturnType: `0x${string}`;
1690
- }, {
1691
- Method: "eth_protocolVersion";
1692
- Parameters?: undefined;
1693
- ReturnType: string;
1694
- }, {
1695
- Method: "eth_sendRawTransaction";
1696
- Parameters: [signedTransaction: `0x${string}`];
1697
- ReturnType: `0x${string}`;
1698
- }, {
1699
- Method: "eth_uninstallFilter";
1700
- Parameters: [filterId: `0x${string}`];
1701
- ReturnType: boolean;
1702
- }, {
1703
- Method: "eth_accounts";
1704
- Parameters?: undefined;
1705
- ReturnType: `0x${string}`[];
1706
- }, {
1707
- Method: "eth_chainId";
1708
- Parameters?: undefined;
1709
- ReturnType: `0x${string}`;
1710
- }, {
1711
- Method: "eth_estimateGas";
1712
- Parameters: [transaction: import("viem").RpcTransactionRequest] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag] | [transaction: import("viem").RpcTransactionRequest, block: `0x${string}` | import("viem").BlockTag, stateOverride: import("viem").RpcStateOverride];
1713
- ReturnType: `0x${string}`;
1714
- }, {
1715
- Method: "eth_requestAccounts";
1716
- Parameters?: undefined;
1717
- ReturnType: `0x${string}`[];
1718
- }, {
1719
- Method: "eth_sendTransaction";
1720
- Parameters: [transaction: import("viem").RpcTransactionRequest];
1721
- ReturnType: `0x${string}`;
1722
- }, {
1723
- Method: "eth_sendRawTransaction";
1724
- Parameters: [signedTransaction: `0x${string}`];
1725
- ReturnType: `0x${string}`;
1726
- }, {
1727
- Method: "eth_sign";
1728
- Parameters: [address: `0x${string}`, data: `0x${string}`];
1729
- ReturnType: `0x${string}`;
1730
- }, {
1731
- Method: "eth_signTransaction";
1732
- Parameters: [request: import("viem").RpcTransactionRequest];
1733
- ReturnType: `0x${string}`;
1734
- }, {
1735
- Method: "eth_signTypedData_v4";
1736
- Parameters: [address: `0x${string}`, message: string];
1737
- ReturnType: `0x${string}`;
1738
- }, {
1739
- Method: "eth_syncing";
1740
- Parameters?: undefined;
1741
- ReturnType: false | import("viem").NetworkSync;
1742
- }, {
1743
- Method: "personal_sign";
1744
- Parameters: [data: `0x${string}`, address: `0x${string}`];
1745
- ReturnType: `0x${string}`;
1746
- }, {
1747
- Method: "wallet_addEthereumChain";
1748
- Parameters: [chain: import("viem").AddEthereumChainParameter];
1749
- ReturnType: null;
1750
- }, {
1751
- Method: "wallet_getCallsStatus";
1752
- Parameters?: [string];
1753
- ReturnType: import("viem").WalletGetCallsStatusReturnType<`0x${string}`, `0x${string}`>;
1754
- }, {
1755
- Method: "wallet_getCapabilities";
1756
- Parameters?: [`0x${string}`];
1757
- ReturnType: {
1758
- [x: `0x${string}`]: import("viem").WalletCapabilities;
1759
- };
1760
- }, {
1761
- Method: "wallet_getPermissions";
1762
- Parameters?: undefined;
1763
- ReturnType: import("viem").WalletPermission[];
1764
- }, {
1765
- Method: "wallet_grantPermissions";
1766
- Parameters?: [import("viem").WalletGrantPermissionsParameters];
1767
- ReturnType: {
1768
- expiry: number;
1769
- factory?: `0x${string}`;
1770
- factoryData?: string;
1771
- grantedPermissions: readonly {
1772
- data: unknown;
1773
- policies: readonly {
1774
- data: unknown;
1775
- type: string;
1776
- }[];
1777
- required?: boolean;
1778
- type: string;
1779
- }[];
1780
- permissionsContext: string;
1781
- signerData?: {
1782
- userOpBuilder?: `0x${string}`;
1783
- submitToAddress?: `0x${string}`;
1784
- };
1785
- };
1786
- }, {
1787
- Method: "wallet_requestPermissions";
1788
- Parameters: [permissions: {
1789
- eth_accounts: Record<string, any>;
1790
- }];
1791
- ReturnType: import("viem").WalletPermission[];
1792
- }, {
1793
- Method: "wallet_revokePermissions";
1794
- Parameters: [permissions: {
1795
- eth_accounts: Record<string, any>;
1796
- }];
1797
- ReturnType: null;
1798
- }, {
1799
- Method: "wallet_sendCalls";
1800
- Parameters?: import("viem").WalletSendCallsParameters<import("viem").WalletCapabilities, `0x${string}`, `0x${string}`>;
1801
- ReturnType: string;
1802
- }, {
1803
- Method: "wallet_showCallsStatus";
1804
- Parameters?: [string];
1805
- ReturnType: void;
1806
- }, {
1807
- Method: "wallet_switchEthereumChain";
1808
- Parameters: [chain: {
1809
- chainId: string;
1810
- }];
1811
- ReturnType: null;
1812
- }, {
1813
- Method: "wallet_watchAsset";
1814
- Parameters: import("viem").WatchAssetParams;
1815
- ReturnType: boolean;
1816
- }, {
1817
- Method: "eth_chainId";
1818
- Parameters?: undefined;
1819
- ReturnType: `0x${string}`;
1820
- }, {
1821
- Method: "eth_estimateUserOperationGas";
1822
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`] | [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`, stateOverrideSet: import("viem").RpcStateOverride];
1823
- ReturnType: import("viem").RpcEstimateUserOperationGasReturnType;
1824
- }, {
1825
- Method: "eth_getUserOperationByHash";
1826
- Parameters: [hash: `0x${string}`];
1827
- ReturnType: import("viem").RpcGetUserOperationByHashReturnType;
1828
- }, {
1829
- Method: "eth_getUserOperationReceipt";
1830
- Parameters: [hash: `0x${string}`];
1831
- ReturnType: import("viem").RpcUserOperationReceipt;
1832
- }, {
1833
- Method: "eth_sendUserOperation";
1834
- Parameters: [userOperation: import("viem").RpcUserOperation, entrypoint: `0x${string}`];
1835
- ReturnType: `0x${string}`;
1836
- }, {
1837
- Method: "eth_supportedEntryPoints";
1838
- Parameters?: undefined;
1839
- ReturnType: readonly `0x${string}`[];
1840
- }, {
1841
- Method: "pm_getPaymasterStubData";
1842
- Parameters?: [userOperation: import("viem").OneOf<import("wagmi/chains").PartialBy<Pick<{
1843
- callData: `0x${string}`;
1844
- callGasLimit: `0x${string}`;
1845
- initCode?: `0x${string}`;
1846
- maxFeePerGas: `0x${string}`;
1847
- maxPriorityFeePerGas: `0x${string}`;
1848
- nonce: `0x${string}`;
1849
- paymasterAndData?: `0x${string}`;
1850
- preVerificationGas: `0x${string}`;
1851
- sender: `0x${string}`;
1852
- signature: `0x${string}`;
1853
- verificationGasLimit: `0x${string}`;
1854
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "initCode"> | import("wagmi/chains").PartialBy<Pick<{
1855
- callData: `0x${string}`;
1856
- callGasLimit: `0x${string}`;
1857
- factory?: `0x${string}`;
1858
- factoryData?: `0x${string}`;
1859
- maxFeePerGas: `0x${string}`;
1860
- maxPriorityFeePerGas: `0x${string}`;
1861
- nonce: `0x${string}`;
1862
- paymaster?: `0x${string}`;
1863
- paymasterData?: `0x${string}`;
1864
- paymasterPostOpGasLimit?: `0x${string}`;
1865
- paymasterVerificationGasLimit?: `0x${string}`;
1866
- preVerificationGas: `0x${string}`;
1867
- sender: `0x${string}`;
1868
- signature: `0x${string}`;
1869
- verificationGasLimit: `0x${string}`;
1870
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, "maxFeePerGas" | "maxPriorityFeePerGas" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "verificationGasLimit">>, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1871
- ReturnType: import("viem").OneOf<{
1872
- paymasterAndData: `0x${string}`;
1873
- } | {
1874
- paymaster: `0x${string}`;
1875
- paymasterData: `0x${string}`;
1876
- paymasterVerificationGasLimit: `0x${string}`;
1877
- paymasterPostOpGasLimit: `0x${string}`;
1878
- }> & {
1879
- sponsor?: {
1880
- name: string;
1881
- icon?: string;
1882
- };
1883
- isFinal?: boolean;
1884
- };
1885
- }, {
1886
- Method: "pm_getPaymasterData";
1887
- Parameters?: [userOperation: Pick<{
1888
- callData: `0x${string}`;
1889
- callGasLimit: `0x${string}`;
1890
- initCode?: `0x${string}`;
1891
- maxFeePerGas: `0x${string}`;
1892
- maxPriorityFeePerGas: `0x${string}`;
1893
- nonce: `0x${string}`;
1894
- paymasterAndData?: `0x${string}`;
1895
- preVerificationGas: `0x${string}`;
1896
- sender: `0x${string}`;
1897
- signature: `0x${string}`;
1898
- verificationGasLimit: `0x${string}`;
1899
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "preVerificationGas" | "sender" | "verificationGasLimit" | "initCode"> | Pick<{
1900
- callData: `0x${string}`;
1901
- callGasLimit: `0x${string}`;
1902
- factory?: `0x${string}`;
1903
- factoryData?: `0x${string}`;
1904
- maxFeePerGas: `0x${string}`;
1905
- maxPriorityFeePerGas: `0x${string}`;
1906
- nonce: `0x${string}`;
1907
- paymaster?: `0x${string}`;
1908
- paymasterData?: `0x${string}`;
1909
- paymasterPostOpGasLimit?: `0x${string}`;
1910
- paymasterVerificationGasLimit?: `0x${string}`;
1911
- preVerificationGas: `0x${string}`;
1912
- sender: `0x${string}`;
1913
- signature: `0x${string}`;
1914
- verificationGasLimit: `0x${string}`;
1915
- }, "nonce" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "callGasLimit" | "factory" | "factoryData" | "preVerificationGas" | "sender" | "verificationGasLimit">, entrypoint: `0x${string}`, chainId: `0x${string}`, context: unknown];
1916
- ReturnType: import("viem").OneOf<{
1917
- paymasterAndData: `0x${string}`;
1918
- } | {
1919
- paymaster: `0x${string}`;
1920
- paymasterData: `0x${string}`;
1921
- paymasterVerificationGasLimit: `0x${string}`;
1922
- paymasterPostOpGasLimit: `0x${string}`;
1923
- }>;
1924
- }]>;
249
+ removeListener: <event extends keyof import("viem").EIP1193EventMap>(event: event, listener: import("viem").EIP1193EventMap[event]) => void;
250
+ request: import("viem").EIP1193RequestFn<import("viem").EIP1474Methods>;
1925
251
  isApexWallet?: true;
1926
252
  isAvalanche?: true;
1927
253
  isBackpack?: true;
@@ -1957,42 +283,43 @@ export declare const paraConnector: (opts: ParaConnectorOpts) => import("wagmi")
1957
283
  isTokenary?: true;
1958
284
  isTrust?: true;
1959
285
  isTrustWallet?: true;
286
+ isUniswapWallet?: true;
1960
287
  isXDEFI?: true;
1961
288
  isZerion?: true;
1962
- providers?: any[];
289
+ providers?: /*elided*/ any[];
1963
290
  _events?: {
1964
- connect?: () => void;
1965
- };
291
+ connect?: (() => void) | undefined;
292
+ } | undefined;
1966
293
  _state?: {
1967
294
  accounts?: string[];
1968
295
  initialized?: boolean;
1969
296
  isConnected?: boolean;
1970
297
  isPermanentlyDisconnected?: boolean;
1971
298
  isUnlocked?: boolean;
1972
- };
299
+ } | undefined;
1973
300
  }[];
1974
301
  _events?: {
1975
- connect?: () => void;
1976
- };
302
+ connect?: (() => void) | undefined;
303
+ } | undefined;
1977
304
  _state?: {
1978
305
  accounts?: string[];
1979
306
  initialized?: boolean;
1980
307
  isConnected?: boolean;
1981
308
  isPermanentlyDisconnected?: boolean;
1982
309
  isUnlocked?: boolean;
1983
- };
310
+ } | undefined;
1984
311
  }>;
1985
312
  getClient?: (parameters?: {
1986
- chainId?: number;
1987
- }) => Promise<never>;
313
+ chainId?: number | undefined;
314
+ } | undefined) => Promise<import("viem").Client>;
1988
315
  isAuthorized: () => Promise<boolean>;
1989
- switchChain?: (parameters: {
1990
- addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">>;
316
+ switchChain?: (parameters: import("@wagmi/core/internal").Compute<{
317
+ addEthereumChainParameter?: import("@wagmi/core/internal").ExactPartial<import("@wagmi/core/internal").Omit<import("viem").AddEthereumChainParameter, "chainId">> | undefined;
1991
318
  chainId: number;
1992
- }) => Promise<Chain>;
319
+ }>) => Promise<Chain>;
1993
320
  onAccountsChanged: (accounts: string[]) => void;
1994
321
  onChainChanged: (chainId: string) => void;
1995
322
  onConnect: ((connectInfo: import("viem").ProviderConnectInfo) => void) & ((connectInfo: import("viem").ProviderConnectInfo) => void);
1996
- onDisconnect: (error?: Error) => void;
323
+ onDisconnect: (error?: Error | undefined) => void;
1997
324
  onMessage?: (message: import("viem").ProviderMessage) => void;
1998
- }, Record<string, unknown>>;
325
+ };