MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / hubStatus

Function hubStatus

ui/src/api/openbb.ts:19–23  ·  view source on GitHub ↗
(baseUrl?: string)

Source from the content-addressed store, hash-verified

17 },
18
19 async hubStatus(baseUrl?: string): Promise<HubStatus> {
20 const qs = baseUrl ? `?baseUrl=${encodeURIComponent(baseUrl)}` : ''
21 const res = await fetch(`/api/market-data/hub-status${qs}`, { headers })
22 return res.json()
23 },
24}

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected