canton.gov Table: fact_validator_activity Type: Incremental
Description
Tracks validator liveness and activity reporting events. Captures both super validator activity reports (ValidatorLicense_ReportActive) and regular validator liveness activity (ValidatorLicense_RecordValidatorLivenessActivity).Key Use Cases
- Monitoring validator liveness and activity
- Distinguishing between super validator and regular validator activity
- Tracking activity patterns and frequency
- Analyzing validator performance and participation
Important Relationships
- Links to validator onboarding tables via validator parties
- Activity data used for reward calculations
- Related to validator reward distribution
Commonly-used Fields
validator_type: ‘super_validator’ or ‘validator’round_number: Mining round when activity occurredvalidator_party: Party reporting activityeffective_at: When activity was reported
Columns
| Column Name | Data Type | Description |
|---|---|---|
| UPDATE_ID | TEXT | Unique identifier for the Canton update/transaction. An update contains one or more events and represents an atomic change to the blockchain state. |
| MIGRATION_ID | TEXT | Canton migration identifier. Used to track different phases or migrations in the Canton network’s evolution. |
| RECORD_TIME | TEXT | Timestamp when the update was recorded in the system. |
| EFFECTIVE_AT | TEXT | Timestamp when the event or update became effective on the blockchain. This is the canonical time for ordering and analyzing blockchain events. |
| EVENT_ID | TEXT | Unique identifier for the event within the Canton blockchain. |
| EVENT_INDEX | TEXT | Ordering index of events within an update. Events within the same update are sequentially numbered starting from 0. |
| CHOICE | TEXT | The choice/action/method being executed on a contract. Examples include ‘DsoRules_RequestVote’, ‘AmuletRules_Transfer’, ‘LockedAmulet_Unlock’, etc. |
| ACTING_PARTIES | TEXT | Array of party identifiers who are executing this action/choice. |
| VALIDATOR_TYPE | TEXT | Type of validator: ‘super_validator’ or ‘validator’. |
| ROUND_NUMBER | TEXT | Sequential number identifying a mining round in the Canton network. |
| VALIDATOR_PARTY | TEXT | Party identifier reporting activity |
| CONTRACT_ID | TEXT | Unique identifier for the contract being created or exercised in this event. |
| FACT_VALIDATOR_ACTIVITY_ID | TEXT | Surrogate key generated from event_id |
| INSERTED_TIMESTAMP | TEXT | Timestamp when the record was inserted into this table (Snowflake SYSDATE). |
| MODIFIED_TIMESTAMP | TEXT | Timestamp when the record was last modified in this table (Snowflake SYSDATE). |