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

> ## Agent Instructions
> To query the Token Terminal data catalog, read https://tokenterminal.com/docs/catalog/agents-manual.md first. It is the whole catalog as one page: table naming grammar, key columns, partition and cluster rules, units, additivity, and the tables that are documented but not served yet.
> Never query a catalog table on a time bound alone. Also filter its cluster key, which you read from INFORMATION_SCHEMA.COLUMNS; an empty result means the object is a view, whose pruning contract is on its page. Compute is billed to the caller's own Google Cloud project.

# Starknet

> The standardized Starknet tables.

The `starknet` dataset holds the standardized Starknet tables. History starts 2021-11.

## Tables

<table>
  <thead>
    <tr>
      <th width="260">Table</th>
      <th width="110">Since</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td><code>blocks</code></td>
      <td>2021-11</td>
    </tr>

    <tr>
      <td><code>events</code></td>
      <td>2022-01</td>
    </tr>

    <tr>
      <td><code>traces</code></td>
      <td>2021-11</td>
    </tr>

    <tr>
      <td><code>traces\_summary</code></td>
      <td>2021-11</td>
    </tr>

    <tr>
      <td><code>transactions</code></td>
      <td>2021-11</td>
    </tr>
  </tbody>
</table>

## Sample queries

<Warning>
  The tables split by day on `block_timestamp` (`blocks` on `timestamp`). Bound that column in every query; without a bound the query reads the whole table.
</Warning>

<Tabs>
  <Tab title="Daily transactions">
    **Count daily transactions over one week.**

    ```sql theme={null}
    select
        timestamp_trunc(block_timestamp, day) as day,
        count(*) as transactions
    from `starknet.transactions`
    where block_timestamp >= timestamp('2026-08-16')
      and block_timestamp < timestamp('2026-08-23')
    group by day
    order by day
    ```
  </Tab>
</Tabs>
