npm package: @junct/pendle
Description: pendle tools for AI agents — 34 tools, MCP + OpenAI compatible. Generated by Junct.
Author: Junct
Latest version: 0.1.0

# @junct/pendle

> pendle tools for AI agents — 34 tools

Generated by [Junct](https://junct.dev). dex domain.

## Install

```bash
npm install @junct/pendle
```

## Usage — OpenAI

```typescript
import { tools } from '@junct/pendle';
import OpenAI from 'openai';

const client = new OpenAI();
const response = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: 'Query pendle' }],
  tools,
});
```

## Usage — MCP (Claude Desktop / Cursor)

Add to your MCP config:

```json
{
  "mcpServers": {
    "pendle": {
      "url": "https://pendle.mcp.junct.dev/mcp",
      "transport": "streamable-http"
    }
  }
}
```

## Usage — Direct Call

```typescript
import { callTool } from '@junct/pendle';

const result = await callTool('limit_orders_controller_get_all_limit_orders', {});
console.log(result);
```

## Tools (34)

- `limit_orders_controller_get_all_limit_orders` — Get all limit orders for analytics — This endpoint is for analytics purpose, if 
- `limit_orders_controller_get_all_archived_limit_orders` — Get all archived limit orders for analytics — This have the same interface and u
- `limit_orders_controller_get_maker_limit_order` — Get user limit orders in market — Returns the active and historical limit orders
- `limit_orders_controller_create_order` — Create limit order — Submit a signed limit order to the Pendle order book. Once 
- `limit_orders_controller_generate_limit_order_data` — Generate limit order data for signing — Generate the EIP-712 typed data payload 
- `limit_orders_controller_generate_scaled_limit_order_data` — Generate list of limit orders (scaled) for signing — Generate a batch of limit o
- `limit_orders_controller_get_taker_limit_orders` — Get limit orders to match by YT address — Returns the best-matching active limit
- `limit_orders_controller_get_limit_order_book_v2` — Get order book v2 — Returns the consolidated order book for a market, aggregatin
- `prices_cross_chain_controller_get_all_asset_prices_by_addresses_cross_chains` — Get asset prices (cross-chain) — Returns USD prices for Pendle-supported tokens 
- `prices_controller_ohlcv_v4` — Get PT / YT / LP historical price by address — Historical price data for PT / YT
- `assets_cross_chain_controller_get_pendle_assets_metadata` — Get all assets (cross-chain) — Returns the flat list of all PT, YT, LP, and SY t
- `markets_cross_chain_controller_get_all_markets` — Get all markets (cross-chain) — Returns the complete list of whitelisted Pendle 
- `markets_cross_chain_controller_get_points_markets` — Get points markets — Returns all active markets that have a points reward progra
- `markets_controller_market_data_v2` — Get latest/historical market data by address — Returns the latest or historical 
- `markets_controller_market_historical_data_v2` — Get market time-series data by address — Returns the time-series data for a give
- ... and 19 more

## Links

- Server: https://pendle.mcp.junct.dev/mcp
- Dashboard: https://junct.dev/servers/pendle
- All servers: https://junct.dev/servers