canton.core Table: dim_labels Type: Base Table
What
Dimension table containing address labels and metadata for Canton blockchain. This table provides human-readable names, project associations, and categorization for Canton addresses (party IDs), including validators, dApps, and other entities. Key Use Cases:- Enriching transfer and balance tables with readable address names
- Identifying validator addresses and their associated entities
- Categorizing addresses by project, type, and subtype
- Filtering for specific entity types (e.g., validators, DSO members)
- Join to any table with party IDs/addresses using the
addressfield - Common joins:
core__fact_transfers,gov__fact_validator_onboarding_events
address: Canton party ID for joining with transaction/event tableslabel: Project name providing high-level identificationaddress_name: Specific name for the address/entitylabel_type/label_subtype: Hierarchical categorization
- Deleted labels are automatically removed via post-hook
- Incremental updates based on modified_timestamp
- Search optimized for address lookups
Columns
| Column Name | Data Type | Description |
|---|---|---|
| BLOCKCHAIN | TEXT | Blockchain identifier (always ‘canton’ for this model) |
| CREATOR | TEXT | Entity or system that created the label |
| ADDRESS | TEXT | Canton party ID/address being labeled |
| LABEL_TYPE | TEXT | High-level category of the label (e.g., validator, dapp, dso_member) |
| LABEL_SUBTYPE | TEXT | Subcategory providing more specific classification |
| LABEL | TEXT | Project name providing primary identification for the address |
| ADDRESS_NAME | TEXT | Human-readable name for the specific address |
| DIM_LABELS_ID | TEXT | Unique identifier for the label record |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | Timestamp when the label was first created |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | Timestamp when the label was last modified |