Docs

recoverFor

Calls the "recoverFor" function on the contract.

Example

import { recoverFor } from "thirdweb/extensions/farcaster";
const transaction = recoverFor({
contract,
from: ...,
to: ...,
recoveryDeadline: ...,
recoverySig: ...,
toDeadline: ...,
toSig: ...,
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.