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

Function getBlockNumberQueryKey

packages/core/src/query/getBlockNumber.ts:45–50  ·  view source on GitHub ↗
(options: GetBlockNumberOptions<config, chainId> = {})

Source from the content-addressed store, hash-verified

43export type GetBlockNumberData = GetBlockNumberQueryFnData
44
45export function getBlockNumberQueryKey<
46 config extends Config,
47 chainId extends config['chains'][number]['id'],
48>(options: GetBlockNumberOptions<config, chainId> = {}) {
49 return ['blockNumber', filterQueryOptions(options)] as const
50}
51
52export type GetBlockNumberQueryKey<
53 config extends Config,

Callers 1

Calls 1

filterQueryOptionsFunction · 0.85

Tested by

no test coverage detected