Registers a Farcaster fid for the given wallet.
import { registerFid } from "thirdweb/extensions/farcaster";import { sendTransaction } from "thirdweb"; const transaction = registerFid({ client, recoveryAddress,}); await sendTransaction({ transaction, account });
function registerFid( options: RegisterFidParams,): PreparedTransaction<[], AbiFunction, PrepareTransactionOptions>;
The options for registering an account.
let options: { chain?: Chain; client: ThirdwebClient; disableCache?: boolean; extraStorage?: bigint | string | number; recoveryAddress: Address;};
let returnType: PreparedTransaction< [], AbiFunction, PrepareTransactionOptions>;
A prepared transaction object to register the account.