Skip to content

Add Pendle market discovery to Fixed Earn examples#92

Merged
ElisabethDuijnstee merged 1 commit intomainfrom
update-pendle-examples-with-market-discovery
Jan 13, 2026
Merged

Add Pendle market discovery to Fixed Earn examples#92
ElisabethDuijnstee merged 1 commit intomainfrom
update-pendle-examples-with-market-discovery

Conversation

@PietDuijnstee
Copy link
Contributor

Updated both Python and TypeScript examples to include snippet 2 that demonstrates how to discover active Pendle markets using the earnPendleMarkets endpoint.

Changes:

  • Added earnPendleMarkets API call to find markets on Base
  • Filter results by underlying symbol (USDC) and order by TVL
  • Filter out expired markets by checking expiry timestamp
  • Display active markets before depositing

This matches the "Discover Fixed Earn Opportunities" section in the docs.

Updated both Python and TypeScript examples to include snippet 2 that demonstrates how to discover active Pendle markets using the earnPendleMarkets endpoint.

Changes:
- Added earnPendleMarkets API call to find markets on Base
- Filter results by underlying symbol (USDC) and order by TVL
- Filter out expired markets by checking expiry timestamp
- Display active markets before depositing

This matches the "Discover Fixed Earn Opportunities" section in the docs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@ElisabethDuijnstee ElisabethDuijnstee merged commit df3421e into main Jan 13, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants