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