recoverFor

Prepares a transaction to call the "recoverFor" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.