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