Skip to content

Events

event AuctionCreated(uint256 nftId);
#[event]
struct AuctionCreated has drop, store {
auction: Object<Auction>,
}

The interesting difference is that the Move event can hold a typed Object<Auction>, which gives downstream readers a direct handle to the auction container instead of a raw numeric identifier.

As with other Aptos events, downstream consumers typically read these through the Indexer or transaction APIs.