recoverEvent

Creates an event object for the Recover event.

Example

import { getContractEvents } from "thirdweb";
import { recoverEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [
recoverEvent({
from: ...,
to: ...,
id: ...,
})
],
});

Parameters

Returns

The prepared event object.