Skip to main content
Schema: stellar.core Table: fact_contract_events Type: Base Table This table contains all contract events, diagnostic events, and system events. Events cover a wide variety of information including token value movement, core metrics, and logging/debugging information. Learn more about Stellar smart contracts: https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures/contracts

Columns

Column NameData TypeDescription
TRANSACTION_HASHTEXTHash of the transaction.
TRANSACTION_IDNUMBERThe transaction identifier containing this operation.
CLOSED_ATTIMESTAMP_NTZTimestamp when the ledger was closed and committed to the network. Ledgers are expected to close ~every 5 seconds.
BLOCK_TIMESTAMPTIMESTAMP_NTZA clone of closed_at for join convenience.
LEDGER_SEQUENCENUMBERThe sequence number of the ledger.
SUCCESSFULBOOLEANWhether the operation was successful.
IN_SUCCESSFUL_CONTRACT_CALLBOOLEANA boolean value indicated if the event was in a successful contract call.
CONTRACT_IDTEXTSoroban contract identifier.
TYPENUMBERThe contract event type id
TYPE_STRINGTEXTThe contract event type value
TOPICSVARIANTThe raw event topics
TOPICS_DECODEDVARIANTThe decoded event topics
DATAVARIANTThe raw event data
DATA_DECODEDVARIANTThe decoded event data
CONTRACT_EVENT_XDRTEXT
FACT_CONTRACT_EVENTS_IDTEXT
INSERTED_TIMESTAMPTIMESTAMP_NTZTimestamp when this record was inserted.
MODIFIED_TIMESTAMPTIMESTAMP_NTZTimestamp when this record was last modified.