Docs

recover

Calls the "recover" function on the contract.

Example

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

Parameters

Returns

A prepared transaction object.