transferEvent

Creates an event object for the Transfer event.

Example

import { getContractEvents } from "thirdweb";
import { transferEvent } from "thirdweb/extensions/farcaster";
const events = await getContractEvents({
contract,
events: [
transferEvent({
from: ...,
to: ...,
})
],
});

Parameters

Returns

The prepared event object.