Prepares a transaction to call the "recoverFor" function on the contract.
import { recoverFor } from "thirdweb/extensions/farcaster"; const transaction = recoverFor({ contract, from: ..., to: ..., recoveryDeadline: ..., recoverySig: ..., toDeadline: ..., toSig: ..., overrides: { ... }}); // Send the transaction...
function recoverFor( options: BaseTransactionOptions< | RecoverForParams | { asyncParams: () => Promise<RecoverForParams> } >,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the "recoverFor" function.
let options: BaseTransactionOptions< RecoverForParams | { asyncParams: () => Promise<RecoverForParams> }>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A prepared transaction object.