MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / getLabels

Function getLabels

src/api/labels/labels.ts:42–52  ·  view source on GitHub ↗
(
    address: string,
 signal?: AbortSignal
)

Source from the content-addressed store, hash-verified

40 * Get labels for an address
41 */
42export const getLabels = (
43 address: string,
44 signal?: AbortSignal
45) => {
46
47
48 return instance<GetLabels200>(
49 {url: `/addresses/${address}/labels`, method: 'GET', signal
50 },
51 );
52 }
53
54
55export const getGetLabelsQueryKey = (address: string,) => {

Callers 1

queryFnFunction · 0.85

Calls 1

instanceFunction · 0.90

Tested by

no test coverage detected