skills/injective-trading-staking/SKILL.md
Query and manage Injective staking delegations, rewards, and validator info. Look up staker addresses, delegation amounts, unbonding status, and claimed rewards via Injective LCD/REST API.
npx skillsauth add injectivelabs/agent-skills injective-trading-stakingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query Injective staking data via LCD REST API. Covers delegations, rewards, validators, and unbonding. Useful for treasury dashboards, staker audits, and validator monitoring.
Sample prompts: ./references/sample-prompts.md
All endpoints use Injective LCD REST API:
https://lcd.injective.networkhttps://testnet.sentry.lcd.injective.network:443inj denom use 1e18 (like ETH wei)MsgWithdrawDelegatorReward.validator.tokens / validator.delegator_shares ratiosigning_infos for validator jail statusGET /cosmos/staking/v1beta1/delegations/{delegator_addr}
Returns all active delegations with validator address and shares.
GET /cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}
GET /cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations
GET /cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewards
Returns pending (unclaimed) rewards per validator and total.
GET /cosmos/staking/v1beta1/validators?status=BOND_STATUS_BONDED&pagination.limit=100
GET /cosmos/staking/v1beta1/validators/{validator_addr}
GET /cosmos/staking/v1beta1/params
Returns unbonding time, max validators, bond denom (inj).
GET "https://lcd.injective.network/cosmos/distribution/v1beta1/delegators/inj1.../rewards"
curl -s "https://lcd.injective.network/cosmos/staking/v1beta1/delegations/inj1..." | python3 -c "
import json, sys
data = json.load(sys.stdin)
total = sum(int(d['balance']['amount']) for d in data.get('delegation_responses', []))
print(f'{total / 1e18:.2f} INJ staked')
"
Use the archival node endpoints for historical queries:
https://tm.injective.network:443https://lcd.injective.networkgrpc.injective.network:443Query validators first. Then iterate delegations per validator. Note: Pagination required (default limit 100).
This uses the injective-py SDK.
from pyinjective.async_client import AsyncClient
from pyinjective.core.network import Network
async def get_delegations(address: str):
network = Network.mainnet()
client = AsyncClient(network)
delegations = await client.fetch_delegations(delegator_addr=address)
return delegations
None
curl installedpython installeddevelopment
Detect breaking changes in Injective core between two tagged releases. For use in developer documentation and release notes.
development
Integrate Injective RFQ taker flows into browser apps and operational quote monitors. Use this skill when building, reviewing, or debugging RFQ gateway autosign settlement, Web3Gateway AuthZ setup, manual TakerStream quote collection, RFQ open/close flows, conditional TP/SL intents, quote uptime probes, market-readiness checks, or mainnet RFQ frontend integrations. Covers mainnet parameters, canonical decimals, quote windows, signer slots, market discovery, quote-hit diagnostics, and production RFQ gotchas.
tools
Enables management of Linear issues, teams, projects, comments, or configuration via the `linear` CLI
tools
Mass create, derive, and manage Injective wallets. Generate wallets from mnemonics (BIP-44 HD derivation), create random wallets, convert between ETH/INJ addresses, and batch fund wallets with INJ or USDT. Supports bulk wallet generation and batch funding.