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

Function getTrending

common/hooks/api.ts:38–42  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

36}
37
38async function getTrending(url: string) {
39 const res = await fetch(url)
40 const data = await res.json()
41 return (data?.pools as PoolInfo[]) || []
42}
43
44export function useLaunchpadsStats() {
45 const { data, isLoading, error, mutate } = useSWR<LaunchpadsInfo[]>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected