ownerUpdatedEvent

Creates an event object for the OwnerUpdated event.

Example

import { getContractEvents } from "thirdweb";
import { ownerUpdatedEvent } from "thirdweb/extensions/common";
const events = await getContractEvents({
contract,
events: [
ownerUpdatedEvent({
prevOwner: ...,
newOwner: ...,
})
],
});

Parameters

Returns

The prepared event object.