Docs

adminUpdatedEvent

Creates an event object for the AdminUpdated event.

Example

import { getContractEvents } from "thirdweb";
import { adminUpdatedEvent } from "thirdweb/extensions/erc4337";
const events = await getContractEvents({
contract,
events: [
adminUpdatedEvent({
signer: ...,
})
],
});

Parameters

Returns

The prepared event object.