Prepares an event by parsing the signature, generating the event hash, and encoding the event topics.
import { prepareEvent } from "thirdweb";const myEvent = prepareEvent({ signature: "event MyEvent(uint256 myArg)",});
function prepareEvent( options: PrepareEventOptions<TSignature>,): PreparedEvent<ParseEvent<TSignature>>;
The options for preparing the event.
let options: PrepareEventOptions<TSignature>;
let returnType: PreparedEvent<ParseEvent<TSignature>>;
The prepared event object.