Most of the catalog is queryable for Optimism, from the blocks themselves to the daily activity of the projects that run on it.
The chainβs own record sits in the optimism dataset: one row per block, transaction, log and internal call. Everything above that sits in the catalog, where the Optimism rows are selected with chain_id = 'optimism'.
The section mirrors the catalog itself: the core entities, then the market verticals with data on Optimism.
| Layer | Since | What it holds |
|---|
| Raw | 2021-11 | Blocks, transactions, logs and internal calls. |
| Projects | 2021-11 | Daily Fees and Revenue for each tracked project, broken out to Optimism. |
| Apps | 2021-11 | Daily Trading volume, TVL, Fees and Revenue for each tracked app, broken out to Optimism. |
| Assets | 2021-11 | Every curated asset issued on Optimism, with daily supply, holders and transfer activity. |
| Tokens | In progress | Every ERC-20 transfer, both sides of every balance move, holder balances at query time, and daily prices. |
| Accounts | In progress | Wallets and contracts labeled with the projects that own them. |
| Stablecoins | 2021-11 | Every stablecoin issued on Optimism: supply, holders and transfers. |
| Tokenized assets | 2022-04 | Tokenized stocks, funds and commodities issued on Optimism, tracked against their underlying instruments. |
| DEX | 2021-11 | Trading pools, their daily volume, value locked and fees. |
| Lending | In progress | The lending markets deployed on Optimism, the asset each one lends, and the lending facts. |
| Bridges | 2022-10 | Cross-chain transfers that left Optimism or arrived on it, matched leg to leg. |
Filtering
chain_id reads optimism wherever a catalog table carries a chain, so the same filter selects Optimism everywhere. Some shapes ask for something else. The asset tables key on the asset or its deployment, so the chain comes from dimensions.asset_tokens, as the query below does. Project and app totals span every chain a project runs on, so one chainβs share reads from metrics_project_chains and metrics_app_chains. A bridge transfer has a chain on each end and carries source_chain_id and destination_chain_id.
Every table splits by day: the raw and event tables on block_timestamp, the daily tables on timestamp. Bound that column in every query; without a bound the query reads the whole table.