MCPcopy Create free account
hub / github.com/MiloOweno/vector-mesh / getWalletClientQueryKey

Function getWalletClientQueryKey

packages/core/src/query/getWalletClient.ts:51–60  ·  view source on GitHub ↗
(options: GetWalletClientOptions<config, chainId> = {})

Source from the content-addressed store, hash-verified

49> = GetWalletClientQueryFnData<config, chainId>
50
51export 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
62export type GetWalletClientQueryKey<
63 config extends Config,

Callers 1

Calls 1

filterQueryOptionsFunction · 0.85

Tested by

no test coverage detected