getHandleFromProfileId

Return the Lens handle of a profile in the format: lens/@<name-of-user>

Example

import { getHandleFromProfileId } from "thirdweb/extensions/lens";
const profileId = 461662n;
const handle = await getHandleFromProfileId({ profileId, client }); // "lens/@captain_jack"

Parameters

Returns