Docs

ContractEvent

Standardized return type for contract events that returns event arguments

type ContractEvent<TEvent = Record<string, any>> = {
data: TEvent;
eventName: string;
transaction: {
address: string;
blockHash: string;
blockNumber: number;
data: string;
logIndex: number;
removed: boolean;
topics: Array<string>;
transactionHash: string;
transactionIndex: number;
};
};