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