Prepares a transaction to call the "addFor" function on the contract.
import { sendTransaction } from "thirdweb";import { addFor } from "thirdweb/extensions/farcaster"; const transaction = addFor({ contract, fidOwner: ..., keyType: ..., key: ..., metadataType: ..., metadata: ..., deadline: ..., sig: ..., overrides: { ... }}); // Send the transactionawait sendTransaction({ transaction, account });
function addFor( AddForParams | { asyncParams: () => Promise<AddForParams> } >,
The options for the "addFor" function.
A prepared transaction object.