eigen-rewards

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

Agent 安装分布

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

Skill 文档

EigenLayer Rewards Skill

Query live rewards data from EigenLayer: operator rewards, staker rewards, AVS reward distributions, and find the best yield opportunities.

Data Source

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

When to use this skill

Use when the user asks about:

  • EigenLayer rewards (operator or staker rewards)
  • Best yield / highest APY operators
  • Best yield / highest APY AVS
  • Reward tokens and strategies for an operator
  • How much a staker is earning
  • AVS reward distributions
  • Comparing restaking yields

How to query

Get top operators by APY

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

Get top AVS by APY

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

Get rewards for a specific operator

curl -s "https://api.eigenexplorer.com/operators/0xOPERATOR_ADDRESS/rewards" -H "x-api-token: $EIGEN_API_KEY"

Get rewards for a specific staker

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

Get rewards distributed by a specific AVS

curl -s "https://api.eigenexplorer.com/avs/0xAVS_ADDRESS/rewards" -H "x-api-token: $EIGEN_API_KEY"

Get all rewards data

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

Response Format

Format results for the user with:

  • Bold operator/AVS names
  • APY as a percentage (e.g., “4.2% APY”)
  • Reward token names and amounts
  • TVL alongside APY for context (high APY + low TVL = be cautious)
  • Rank operators/AVS by APY when comparing yield
  • Use bullet points, never tables in chat

Programmatic Usage

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

const topOps = await api.getTopOperatorsByAPY(10);
const topAVS = await api.getTopAVSByAPY(10);
const opRewards = await api.getOperatorRewards('0x...');
const stakerRewards = await api.getStakerRewards('0x...');