Contract Events
Learn how to emit, ingest, and use events published from a Stellar smart contract.
Guides in this category:
Consume previously ingested events
Consume ingested events without querying the RPC again
Ingest events published from a contract
Use Stellar RPC's getEvents method for querying events, with a 7 day retention window
Publish events from a Rust contract
Publish events from a Rust contract
Replay a ledger to collect its LedgerCloseMeta
Use Stellar Core to replay a single ledger from the history archives and collect its LedgerCloseMeta, including the diagnostic events.