Docs

accountDeployedEvent

Creates an event object for the AccountDeployed event.

Example

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

Parameters

Returns

The prepared event object.