registerFidAndSigner

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

Example

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

Parameters

Returns

A prepared transaction object to register the account.