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: RegisterFidParams;
let returnType: PreparedTransaction< [], AbiFunction, PrepareTransactionOptions>;
A prepared transaction object to register the account.