(options: GetWalletClientOptions<config, chainId> = {})
| 49 | > = GetWalletClientQueryFnData<config, chainId> |
| 50 | |
| 51 | export function getWalletClientQueryKey< |
| 52 | config extends Config, |
| 53 | chainId extends config['chains'][number]['id'], |
| 54 | >(options: GetWalletClientOptions<config, chainId> = {}) { |
| 55 | const { connector, ...parameters } = options |
| 56 | return [ |
| 57 | 'walletClient', |
| 58 | { ...filterQueryOptions(parameters), connectorUid: connector?.uid }, |
| 59 | ] as const |
| 60 | } |
| 61 | |
| 62 | export type GetWalletClientQueryKey< |
| 63 | config extends Config, |
no test coverage detected