recover

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

Example

import { recover } from "thirdweb/extensions/farcaster";
const transaction = recover({
contract,
from: ...,
to: ...,
deadline: ...,
sig: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.