<!-- tempo-docs-context -->
> Source: [/docs/earn/how-it-works](https://tempo.xyz/developers/docs/earn/how-it-works.md)
> Section: [Earn](https://tempo.xyz/developers/docs/earn.md). Choose a vault, deposit stablecoins, read positions, and withdraw. Earn is in beta; see the introduction for access.
> [Documentation index](https://tempo.xyz/developers/llms.txt) · [Docs skill](https://tempo.xyz/developers/SKILL.md)

> Tempo MCP: Use `search`, `find_pages`, `read_page`, and `code` at `https://mcp.tempo.xyz` for Tempo and related documentation.
> If an indexed page is missing or reflects an older site, read this site’s [documentation index](https://tempo.xyz/developers/llms.txt) and Markdown pages directly.

# How Earn works

When your application deposits stablecoins into a vault, the account receives shares representing its position. Use the shares' current asset value to display an earning balance, and the vault's withdrawal interface to return stablecoins to the account.

| Component | Role |
| --- | --- |
| **Vault** | Accepts deposits and accounts for positions. |
| **Vault shares** | Units representing an account's position in the vault. Check the selected vault's share token and contract interface. |
| **Engine** | Connects the vault to a lending market, managed strategy, or liquidity pool. |

A share is not necessarily worth one stablecoin. Its value changes with the underlying strategy's returns, losses, and fees. An account's **position value** is the asset value of all its shares; **earnings** are returns over a period, separate from deposits and withdrawals.

The [Earn API](https://tempo.xyz/developers/docs/api/earn) exposes the vault's engine, share token, accepted asset, accounting state, and supported operations.

## Keep value and liquidity separate

A position's value can change with returns, losses, and fees. It is not necessarily the amount that can be withdrawn immediately. Read the vault's supported withdrawal methods and current terms before showing funds as available to withdraw.

A vault's `verified` flag identifies a curated listing, not a guarantee of return or a description of the strategy's risk. [Choose a vault](https://tempo.xyz/developers/docs/earn/vaults) based on its accepted asset, access rules, strategy, and withdrawal behavior.

Continue with [Deposit](https://tempo.xyz/developers/docs/earn/integrate), then [show balances and earnings](https://tempo.xyz/developers/docs/earn/balances). If you operate a yield strategy, see [Connect a strategy](https://tempo.xyz/developers/docs/earn/providers).
