Retrieves the current cost to register a Farcaster fid in USD.
import { getUsdRegistrationPrice } from "thirdweb/extensions/farcaster"; const price = await getUsdRegistrationPrice({ client,});
function getUsdRegistrationPrice( options: GetUsdRegistrationPriceParams,): Promise<number>;
An object containing a client to use to fetch the price and the amount of extra storage to include in the returned price.
let options: { chain?: Chain; client: ThirdwebClient; disableCache?: boolean; extraStorage?: bigint | number | string;};
let returnType: Promise<number>;
A promise that resolves to the current cost of a Farcaster fid in USD.