📋 Euler Data

This skill helps you query vault data, lenses, subgraphs, and ABIs for Euler Finance V2, enabling dashboards and analytics.

QUICK INSTALL
npx playbooks add skill euler-xyz/agent-skills --skill euler-data

Euler Data instructions

Euler Lens & Data Agent Skill

Developer tools and data access guide for Euler Finance V2. Covers SDK/Data V3 routing, Lens contracts, subgraphs, interfaces, and deployment tools. Prefer the euler-sdk companion skill for TypeScript application integrations.

When to Apply

Reference these guidelines when:

  • Querying account positions and health using AccountLens
  • Querying vault data using Lens contracts (VaultLens, OracleLens, IRMLens, UtilsLens)
  • Tracking active accounts via Euler subgraph
  • Looking up contract addresses and ABIs
  • Building dashboards or analytics for Euler
  • Integrating with Euler from frontends or bots

Rule Categories

| Rule | Impact | Description |
|------|--------|-------------|
| tools-lens | MEDIUM | Query vault, account, and oracle data via Lens contracts |
| tools-subgraphs | MEDIUM | Track active accounts and vault factories via subgraph |
| tools-interfaces | MEDIUM | Contract addresses and ABI references |

Quick Reference

Lens Contracts

  • AccountLens - Query account positions, liquidity, health factor, time to liquidation (TTL)
  • VaultLens - Query vault state, configuration, LTVs, IRM info
  • OracleLens - Check oracle configuration and prices
  • IRMLens - Interest rate model details and calculations
  • UtilsLens - Utility functions: APY calculations, token balances, allowances
  • EulerEarnVaultLens - Query EulerEarn vault data and strategies

Subgraphs

The subgraph is intentionally minimal - use Lens contracts for detailed data:

  • Vault - Track which factory created each vault
  • TrackingActiveAccount - Active accounts indexed by address prefix (first 19 bytes)
  • TrackingVaultBalance - Per-account vault balances and debt (at the time of the last update)

Companion Skills

  • euler-vaults - Core vault operations, EVC, risk management
  • euler-irm-oracles - Oracle adapters and interest rate models
  • euler-earn - Yield aggregation vaults
  • euler-advanced - Hooks, flash loans, fee flow

How to Use

Read individual rule files for detailed explanations and code examples:

rules/tools-lens.md
rules/tools-subgraphs.md
rules/tools-interfaces.md

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.