Docs

registerFidAndSigner

Registers a Farcaster fid and signer for the given wallet using the provided app account.

Example

import { registerFidAndSigner } from "thirdweb/extensions/farcaster";
const tx = await registerFidAndSigner({
client,
userAccount,
appAccount,
recoveryAddress,
signerPublicKey,
});

Parameters

Returns

A prepared transaction object to register the account.