removeEvent
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}` }>, 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";}>;
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.