Registers a Farcaster fid and signer for the given wallet using the provided app account.
import { registerFidAndSigner } from "thirdweb/extensions/farcaster";import { sendTransaction } from "thirdweb"; const transaction = registerFidAndSigner({ client, userAccount, appAccount, recoveryAddress, signerPublicKey,}); await sendTransaction({ transaction, account });
function registerFidAndSigner(
The options for registering an account.
let options: Prettify< { disableCache?: boolean; extraStorage?: bigint | number; recoveryAddress: Address; } & ( | { deadline: bigint; userAddress: Address; } ) & ( | { appAccountAddress: Address; deadline: bigint; } )>;
A prepared transaction object to register the account.