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 Name | Data Type | Description |
|---|---|---|
| TRANSACTION_HASH | TEXT | Hash of the transaction. |
| TRANSACTION_ID | NUMBER | The transaction identifier containing this operation. |
| CLOSED_AT | TIMESTAMP_NTZ | Timestamp when the ledger was closed and committed to the network. Ledgers are expected to close ~every 5 seconds. |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | A clone of closed_at for join convenience. |
| LEDGER_SEQUENCE | NUMBER | The sequence number of the ledger. |
| SUCCESSFUL | BOOLEAN | Whether the operation was successful. |
| IN_SUCCESSFUL_CONTRACT_CALL | BOOLEAN | A boolean value indicated if the event was in a successful contract call. |
| CONTRACT_ID | TEXT | Soroban contract identifier. |
| TYPE | NUMBER | The contract event type id |
| TYPE_STRING | TEXT | The contract event type value |
| TOPICS | VARIANT | The raw event topics |
| TOPICS_DECODED | VARIANT | The decoded event topics |
| DATA | VARIANT | The raw event data |
| DATA_DECODED | VARIANT | The decoded event data |
| CONTRACT_EVENT_XDR | TEXT | |
| FACT_CONTRACT_EVENTS_ID | TEXT | |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | Timestamp when this record was inserted. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | Timestamp when this record was last modified. |