> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Pendle Markets

> Core reference data for Pendle yield trading markets

The `ethereum.yields.pendle_markets` table serves as the foundational reference for all Pendle markets, providing essential metadata about markets and their associated tokens.

## Market Structure

Each Pendle market consists of several token components:

1. **Market (LP) Token**

   * `market`: Contract address of the liquidity pool
   * `market_name`: Human-readable market identifier
   * `market_decimals`: Decimal precision for LP token

2. **Standardized Yield Token (SY)**

   * `standardized_yield_token`: Contract address
   * `sy_name`: Token name
   * `sy_decimals`: Decimal precision

3. **Principal Token (PT)**

   * `principal_token`: Contract address
   * `pt_name`: Token name
   * `pt_decimals`: Decimal precision

4. **Yield Token (YT)**
   * `yield_token`: Contract address
   * `yt_name`: Token name
   * `yt_decimals`: Decimal precision

## Understanding Pendle Components

* **Standardized Yield (SY)**: Wrapped yield-bearing tokens standardized for use in Pendle
* **Principal Token (PT)**: Represents the right to the underlying asset at maturity
* **Yield Token (YT)**: Represents the yield-bearing portion of the asset
* **Market**: Liquidity pool where these tokens can be traded

## Usage Example

```sql theme={null}
SELECT
    market_name,
    standardized_yield_token,
    principal_token,
    yield_token
FROM ethereum.yields.pendle_markets
WHERE market_name LIKE '%stETH%'
```

This query retrieves all stETH-based Pendle markets and their associated tokens.

## Table Columns

| Column Name                | Description                                   |
| -------------------------- | --------------------------------------------- |
| market                     | Contract address of the liquidity pool        |
| market\_name               | Human-readable market identifier              |
| market\_decimals           | Decimal precision for LP token                |
| standardized\_yield\_token | Contract address of standardized yield token  |
| sy\_name                   | Name of standardized yield token              |
| sy\_decimals               | Decimal precision of standardized yield token |
| principal\_token           | Contract address of principal token           |
| pt\_name                   | Name of principal token                       |
| pt\_decimals               | Decimal precision of principal token          |
| yield\_token               | Contract address of yield token               |
| yt\_name                   | Name of yield token                           |
| yt\_decimals               | Decimal precision of yield token              |
