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

# stellar.ttl

> Stellar contract data time-to-live records.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table description

The `stellar.ttl` table records time limits for smart contract data, enforcing storage expiry rules.

## Column Descriptions

| **Column**                   | **Description**                                                                 | **Type**                    |
| ---------------------------- | ------------------------------------------------------------------------------- | --------------------------- |
| **closed\_at\_date**         | The date when the TTL (Time-to-Live) entry was closed.                          | date                        |
| **key\_hash**                | The hash of the key used to identify the TTL entry, in binary format.           | varbinary                   |
| **live\_until\_ledger\_seq** | The ledger sequence number until which the TTL entry remains live.              | bigint                      |
| **last\_modified\_ledger**   | The ledger sequence number where the TTL entry was last modified.               | bigint                      |
| **ledger\_entry\_change**    | Indicates the type of change made to the ledger entry (insert, update, delete). | bigint                      |
| **deleted**                  | A boolean indicating whether the TTL entry has been deleted from the ledger.    | boolean                     |
| **closed\_at**               | The timestamp when the TTL entry was closed.                                    | timestamp(3) with time zone |
| **ledger\_sequence**         | The sequence number of the ledger in which the TTL entry is included.           | bigint                      |
| **updated\_at**              | The time when the TTL record was last updated.                                  | timestamp(3) with time zone |
| **ingested\_at**             | The time when the TTL data was ingested into the system.                        | timestamp(3) with time zone |

## Table Sample

<TableSample tableSchema="stellar" tableName="ttl" />
