MCPcopy Create free account
hub / github.com/block/buzz / getUserProfile

Function getUserProfile

desktop/src/shared/api/tauri.ts:486–489  ·  view source on GitHub ↗
(pubkey?: string)

Source from the content-addressed store, hash-verified

484}
485
486export async function getUserProfile(pubkey?: string): Promise<Profile> {
487 const profile = await invokeTauri<RawProfile>("get_user_profile", { pubkey });
488 return fromRawProfile(profile);
489}
490
491export async function getUsersBatch(
492 pubkeys: string[],

Callers 1

useUserProfileQueryFunction · 0.90

Calls 1

fromRawProfileFunction · 0.85

Tested by

no test coverage detected