Creates an event object for the Remove event.
import { getContractEvents } from "thirdweb";import { removeEvent } from "thirdweb/extensions/farcaster"; const events = await getContractEvents({contract,events: [ removeEvent({ fid: ..., key: ...,})],});
function removeEvent( filters: Partial<{ fid: bigint; key: `0x${string}` }>,): PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "fid"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "key"; readonly type: "bytes"; }, { readonly name: "keyBytes"; readonly type: "bytes" }, ]; readonly name: "Remove"; readonly type: "event";}>;
Optional filters to apply to the event.
let filters: Partial<{ fid: bigint; key: `0x${string}` }>;
let returnType: PreparedEvent<{ readonly inputs: readonly [ { readonly indexed: true; readonly name: "fid"; readonly type: "uint256"; }, { readonly indexed: true; readonly name: "key"; readonly type: "bytes"; }, { readonly name: "keyBytes"; readonly type: "bytes" }, ]; readonly name: "Remove"; readonly type: "event";}>;
The prepared event object.