Docs

addSignerFor

Adds farcaster signer for a given user. Helpful if you want to cover the gas fee for a user.

Example

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

Parameters

Returns

A prepared transaction object to add the signer to the account.