Creates an event object for the ChangeRecoveryAddress event.
import { getContractEvents } from "thirdweb";import { changeRecoveryAddressEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({contract,events: [ changeRecoveryAddressEvent({ id: ..., recovery: ...,})],});
function changeRecoveryAddressEvent( filters: Partial<{ id: bigint; recovery: string }>,): PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "id"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "recovery"; readonly type: "address"; }, ]; readonly name: "ChangeRecoveryAddress"; readonly type: "event";}>;
Optional filters to apply to the event.
let filters: Partial<{ id: bigint; recovery: string }>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "id"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "recovery"; readonly type: "address"; }, ]; readonly name: "ChangeRecoveryAddress"; readonly type: "event";}>;
The prepared event object.