> ## Documentation Index
> Fetch the complete documentation index at: https://developers.stellar.org/llms.txt
> Use this file to discover all available pages before exploring further.

# TTL

> Reference documentation for the Ttl table in Hubble's Bronze data dictionary.

## Table Metadata

| Property | Configuration |
| - | - |
| Natural Key(s) | key\_hash, closed\_at |
| Partition Field(s) | closed\_at (MONTH partition) |
| Clustered Field(s) | last\_modified\_ledger, key\_hash |
| Documentation | [dbt docs](http://www.stellar-dbt-docs.com/#!/source/source.stellar_dbt_public.crypto_stellar.ttl) |

## Column Details

| Name | Description | Data Type | Domain Values | Required? | Notes |
| - | - | - | - | - | - |
| key\_hash | Ledger key hash used to identify expiring contract data or contract code ledger entries | string | | Yes | |
| live\_until\_ledger\_seq | Ledger sequence the contract or wasm will live until | integer | | Yes | |
| last\_modified\_ledger | The ledger sequence number when the ledger entry (this unique signer for the account) was modified | integer | | Yes | |
| ledger\_entry\_change | Code that describes the ledger entry change type that was applied to the ledger entry | integer | | Yes | |
| deleted | Indicates whether the ledger entry (balance id) has been deleted or not. Once an entry is deleted, it cannot be recovered | boolean | | Yes | |
| batch\_id | String representation of the run id for a given DAG in Airflow | string | | Yes | |
| batch\_run\_date | The start date for the batch interval. When taken with the date in the batch\_id, the date represents the interval of ledgers processed | datetime | | Yes | |
| batch\_insert\_ts | The timestamp in UTC when a batch of records was inserted into the database | timestamp | | Yes | |
| closed\_at | The UNIX timestamp of the sequence number's age | timestamp | | Yes | |
| ledger\_sequence | The unsigned 32-bit ledger number of the sequence number's age | integer | | Yes | |
