> ## 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.

# Cap tables

> Current circulating holding accounts, their token and dollar balances, and their rank within a deployment.

One row per holding account per token deployment in `reports_asset_tokens.cap_tables_latest`, as of the latest approved day for that chain. `balance` and `balance_usd` describe the same circulating holding: positive balances with premint accounts excluded.

An account is a wallet on EVM chains and a token account on Solana. Several token accounts can share an `account_owner`; group by that field to read the owner's combined holding. An owner address can itself be a custodian or contract holding for others.

## Columns

<table>
  <thead>
    <tr><th width="230">Column</th><th width="130">Type</th><th>Description</th></tr>
  </thead>

  <tbody>
    <tr><td>`timestamp`</td><td>TIMESTAMP</td><td>Day the balance is as of: the latest approved day for the chain.</td></tr>
    <tr><td>`asset_token_id`</td><td>STRING</td><td>Asset deployment key and leading cluster key; joins `dimensions.asset_tokens`. An account is identified by this key together with `account_address`.</td></tr>
    <tr><td>`chain_id`</td><td>STRING</td><td>Chain the deployment sits on.</td></tr>
    <tr><td>`asset_id`</td><td>STRING</td><td>Asset the deployment belongs to; joins `dimensions.assets`.</td></tr>
    <tr><td>`token_id`</td><td>STRING</td><td>Key of the deployment, formatted `{token_address}-{chain_id}`.</td></tr>
    <tr><td>`token_address`</td><td>STRING</td><td>Contract address of the deployment.</td></tr>
    <tr><td>`account_address`</td><td>STRING</td><td>The chain's native holding account: a wallet on EVM chains, a token account on Solana.</td></tr>
    <tr><td>`account_owner`</td><td>STRING</td><td>The wallet behind the holding account, where the chain distinguishes them; otherwise equal to `account_address`.</td></tr>
    <tr><td>`balance`</td><td>BIGNUMERIC</td><td>End-of-day circulating balance in whole token units. Sum within one deployment, whose rows share the same token unit.</td></tr>
    <tr><td>`balance_usd`</td><td>FLOAT64</td><td>The holding in USD at the snapshot day's price; null where the deployment has no price that day.</td></tr>
    <tr><td>`balance_rank`</td><td>INT64</td><td>Account's position within the deployment, starting at 1, ordered by balance descending and account address ascending to break ties.</td></tr>
  </tbody>
</table>

The report includes every circulating account. A query's `limit` selects a page or a top list; its rows then represent that selection of the circulating balance. Each chain's rows have that chain's own snapshot day.

## Sample queries

> [tab] Largest accounts of one deployment
>
> The report is an unpartitioned current snapshot. Filter on `asset_token_id` to read one deployment; `timestamp` records its approved day. The stored rank gives a stable order for accounts with equal balances.
>
> ```sql theme={null}
> select
>     timestamp,
>     account_address,
>     account_owner,
>     balance,
>     balance_usd,
>     balance_rank
> from `reports_asset_tokens.cap_tables_latest`
> where asset_token_id = 'buidl-0x7712c34205737192402172409a8f7ccef8aa2aec-ethereum'
> order by balance_rank
> limit 25
> ```

> [tab] Largest owners of one deployment
>
> Sum the holding accounts of each owner before ranking owners. The account rank in the report describes individual accounts.
>
> ```sql theme={null}
> select
>     account_owner,
>     sum(balance) as balance,
>     sum(balance_usd) as balance_usd
> from `reports_asset_tokens.cap_tables_latest`
> where asset_token_id = 'buidl-0x7712c34205737192402172409a8f7ccef8aa2aec-ethereum'
> group by account_owner
> order by balance desc, account_owner
> limit 25
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.