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