> For the complete documentation index, see [llms.txt](https://docs.yecho.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yecho.app/yecho-protocol/interactive-blocks/methodology.md). Agents can also search and read this documentation through its [MCP server](https://docs.yecho.app/~gitbook/mcp).

# Methodology

How Yecho turns daily on-chain snapshots into income figures.

### Daily snapshots

Once a day, around 21:00 UTC, Yecho reads the balance of every tracked position directly from the smart contracts, through view-only helper contracts and multicall. Each position is read in its own token.

### From balances to income

Daily income is the change in a position's token balance between two snapshots. On the first day a position appears, Yecho only records a baseline, so income starts the next day.

### Yield vs principal

A balance can move because of yield, a deposit or a withdrawal. A validation layer compares each position's daily change with the other positions in the same market and flags outliers, so deposits and withdrawals are not counted as income.

### Borrow costs

Debt positions are tracked like any other position. The growth of a debt is recorded as negative income, so adding up all rows gives your net earnings.

### Rewards

Merkl rewards are tracked as their own income stream, separate from the on-chain yield of the position that earns them.

### PT and fixed-rate positions

Pendle PTs are valued with the Pendle TWAP oracle and marked to market every day. Fixed-rate positions are valued at their present value until maturity.

### USD values

Each income entry is valued at the token price on the snapshot day (USD Snapshot), and can also be shown at today's price (USD Current). Prices come from several sources, with a fallback when one is missing.

### Why it can differ from a protocol's APY

Yecho shows realized income, not a projected APY. Reward emissions, compounding frequency and price moves can make the two differ. See Troubleshooting for common cases.
