eigen-restaking

📁 zeeshan8281/eigen-skills 📅 6 days ago
2
总安装量
2
周安装量
#68452
全站排名
安装命令
npx skills add https://github.com/zeeshan8281/eigen-skills --skill eigen-restaking

Agent 安装分布

opencode 2
gemini-cli 2
antigravity 2
github-copilot 2
codex 2
kimi-cli 2

Skill 文档

EigenLayer Restaking Skill

Query live EigenLayer restaking data: operators, stakers, TVL, deposits, withdrawals, and ecosystem metrics.

Data Source

EigenExplorer API — https://api.eigenexplorer.com

When to use this skill

Use when the user asks about:

  • EigenLayer operators (who they are, how much TVL, how many stakers)
  • Restaking stats or metrics (total TVL, total stakers, total operators)
  • Individual staker positions (deposits, withdrawals, delegations)
  • Historical EigenLayer metrics
  • EigenLayer ecosystem overview

How to query

Use the exec tool to curl the EigenExplorer API. Always include your API key.

Get ecosystem metrics

curl -s "https://api.eigenexplorer.com/metrics" -H "x-api-token: $EIGEN_API_KEY"

Get top operators by TVL

curl -s "https://api.eigenexplorer.com/operators?withTvl=true&sortByTvl=desc&take=10" -H "x-api-token: $EIGEN_API_KEY"

Search operators by name

curl -s "https://api.eigenexplorer.com/operators?searchByText=p2p&withTvl=true" -H "x-api-token: $EIGEN_API_KEY"

Get a specific operator

curl -s "https://api.eigenexplorer.com/operators/0x09e6eb09213bdd3698bd8afb43ec3cb0ecff683a?withTvl=true" -H "x-api-token: $EIGEN_API_KEY"

Get staker info

curl -s "https://api.eigenexplorer.com/stakers/0xYOUR_STAKER_ADDRESS" -H "x-api-token: $EIGEN_API_KEY"

Get recent deposits

curl -s "https://api.eigenexplorer.com/deposits?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get recent withdrawals

curl -s "https://api.eigenexplorer.com/withdrawals?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get historical metrics

curl -s "https://api.eigenexplorer.com/metrics/historical" -H "x-api-token: $EIGEN_API_KEY"

Response Format

Format results for the user with:

  • Bold operator names and addresses (abbreviated)
  • TVL in human-readable form (e.g., “$1.2B” not “1200000000”)
  • Staker counts
  • APY where available
  • Use bullet points, never tables in chat

Programmatic Usage

const EigenAPI = require('eigen-agent-skills/skills/eigen-restaking/scripts/eigen-api');
const api = new EigenAPI('YOUR_API_KEY');

const metrics = await api.getMetrics();
const topOps = await api.getOperators({ sortByTvl: 'desc', take: 10 });
const operator = await api.getOperator('0x...');