Lumon builds a continuous balance timeseries from ERC20 transfer events across all indexed chains. This timeseries powers portfolio views, TVL computation, and commission calculations. Attributed deposits flow through a settlement pipeline on top of this data layer before appearing in your API queries.Documentation Index
Fetch the complete documentation index at: https://docs.turtle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Balance Timeseries
Lumon indexes every ERC20Transfer event on supported chains and maintains an append-only balance timeseries keyed on (user, token, block).
(txHash, log_index) references that contributed to it.
This model means:
- Latest balances are simply the most recent data point in the timeseries — no separate job needed
- Historical balances are reconstructable at any block by reading the snapshot at or before that block
- TVL at time
tis computed aserc20_balance(t) * price_usd(t)— the price timeseries is maintained by a separate service
GET /erc20_stats endpoint shows the latest processed block per chain.
Attribution Settlement
When a deposit confirms on-chain, the Lumon collector detects the tracking signature and records the attribution. The deposit then flows through a settlement pipeline before appearing in API queries.Latency
| Stage | Typical Latency |
|---|---|
| On-chain confirmation → Lumon detection | Minutes (varies by chain finality) |
| Detection → queryable via API | Near-instant |
| End-to-end: deposit → API-queryable | Minutes |
There is no formal SLA on attribution latency. In practice, deposits are queryable within minutes of on-chain confirmation. If a deposit does not appear after 30 minutes, verify the transaction contains a valid tracking signature using the verify endpoint.
Reconciliation Endpoints
Two endpoints provide different views of attributed deposits:Distributor Activity
GET /v1/deposit/{distributor_id} — all deposits attributed to your integration.
limit (max 2000) and offset. Use this for reconciling all deposits flowing through your integration.
Wallet Activity
GET /v1/wallets/activity — deposits and withdrawals for specific wallet addresses, across all distributors.
deposits[] and withdrawals[] arrays with opportunity details, token info, amounts, USD values, chain, and timestamps. Page-based pagination via page/limit.
When to Use Which
| Use case | Endpoint |
|---|---|
| ”Show me all deposits attributed to my integration” | Distributor Activity (/v1/deposit/{id}) |
| “Show me what this wallet has done across all distributors” | Wallet Activity (/v1/wallets/activity) |
| “Verify a specific transaction’s attribution” | Verify (/v1/actions/verify) |
Supported Chains
Lumon indexes all chains supported by the Earn API. Two ways to check the current chain list:- Token Indexing API —
GET /erc20_statsreturns the latest processed block number per chain, showing which chains are actively indexed - Macrodata API —
GET https://macrodata.turtle.xyz/api/query/chainsreturns all configured chains with current indexing status, block head, and checkpoint progress
Related
Token Indexing API
Query the balance timeseries via portfolio, balance, and snapshot endpoints.
Independent Verification
Verification workflows for audits and reconciliation.
Distributor Activity
Full API reference for the distributor deposit activity endpoint.
Wallet Activity
Full API reference for the wallet activity endpoint.

