Docs

withdrawEvent

Creates an event object for the Withdraw event.

Example

import { getContractEvents } from "thirdweb";
import { withdrawEvent } from "thirdweb/extensions/erc4626";
const events = await getContractEvents({
contract,
events: [
withdrawEvent({
caller: ...,
receiver: ...,
owner: ...,
})
],
});

Parameters

Returns

The prepared event object.