TypeScript SDK
FARCASTER.recoverEvent
Creates an event object for the Recover event.
import { getContractEvents } from "thirdweb";import { recoverEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({contract,events: [ recoverEvent({ from: ..., to: ..., id: ...,})],});function recoverEvent(  filters: Partial,  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "from";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "to";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "id";      readonly type: "uint256";    },  ];  readonly name: "Recover";  readonly type: "event";}>;  readonly inputs: readonly [    {      readonly indexed: true;      readonly name: "from";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "to";      readonly type: "address";    },    {      readonly indexed: true;      readonly name: "id";      readonly type: "uint256";    },  ];  readonly name: "Recover";  readonly type: "event";}>;The prepared event object.