getProfile

Calls the "getProfile" function on the contract.

Example

import { getProfile } from "thirdweb/extensions/lens";
const result = await getProfile({
contract,
profileId: ...,
});
function getProfile(
): Promise<{
__DEPRECATED__followNFTURI: string;
__DEPRECATED__handle: string;
__DEPRECATED__imageURI: string;
followModule: string;
followNFT: string;
metadataURI: string;
pubCount: bigint;
}>;

Parameters

The options for the getProfile function.

Type

Returns

let returnType: Promise<{
__DEPRECATED__followNFTURI: string;
__DEPRECATED__handle: string;
__DEPRECATED__imageURI: string;
followModule: string;
followNFT: string;
metadataURI: string;
pubCount: bigint;
}>;

The parsed result of the function call.