MCPcopy Create free account
hub / github.com/evolify/dumpfun / getLaunchpadsStats

Function getLaunchpadsStats

common/hooks/api.ts:21–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 fetch(resource, init).then(res => res.json())
20
21async function getLaunchpadsStats() {
22 const res = await fetch(LaunchpadsStatsUrl)
23 const data = await res.json()
24 return (
25 data?.launchpads.map((t: LaunchpadsInfo) => ({
26 ...t,
27 id: t.launchpad.replaceAll(".", "_").replaceAll("-", "_"),
28 })) || []
29 )
30}
31
32async function getLaunchpadDetail(url: string) {
33 const res = await fetch(url)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected