Saltar al contenido principal

Restored Key

Table Metadata​

PropertyConfiguration
Natural Key(s)ledger_key_hash, closed_at
Partition Field(s)closed_at (MONTH partition)
Clustered Field(s)last_modified_ledger, ledger_key_hash
Documentationdbt docs

Column Details​

NameDescriptionData TypeDomain ValuesRequired?Notes
ledger_key_hashEither contract_id or contract_code_hashstringYes
ledger_entry_typeThe type ledger entry for data stored such as contract data or liquidity poolsstringYes
last_modified_ledgerThe ledger sequence number when the ledger entry (this unique signer for the account) was modified. Deletions do not count as a modification and will report the prior modification sequence numberintegerYes
batch_idString representation of the run id for a given DAG in Airflow. Takes the form of "scheduled__<batch_end_date>-<dag_alias>". Batch ids are unique to the batch and help with monitoring and rerun capabilitiesstringYes
batch_run_dateThe start date for the batch interval. When taken with the date in the batch_id, the date represents the interval of ledgers processed. The batch run date can be seen as a proxy of closed_at for a ledger.datetimeYes
batch_insert_tsThe timestamp in UTC when a batch of records was inserted into the database. This field can help identify if a batch executed in real time or as part of a backfilltimestampYes
closed_atTimestamp in UTC when this ledger closed and committed to the network. Ledgers are expected to close ~every 5 secondstimestampYes
ledger_sequenceThe sequence number of this ledger. It represents the order of the ledger within the Stellar blockchain. Each ledger has a unique sequence number that increments with every new ledger, ensuring that ledgers are processed in the correct order.integerYes