Retrieves the current fid for an account.
import { getFid } from "thirdweb/extensions/farcaster"; const price = await getFid({ client, address,});
function getFid(options: GetFidParams): Promise<bigint>;
Parameters to pass to the function.
let options: { address: Address; chain?: Chain; client: ThirdwebClient; disableCache?: boolean;};
let returnType: Promise<bigint>;
A promise that resolves to the account's fid, if one exists, otherwise 0.