Skip to content

info endpoint delegatorRewards type does not attribute reward to a specific validator #162

Description

@karen-cb

Summary

This is a feature request for the [delegatorRewards type under the /info API endpoint](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-a-users-staking-rewards).

delegatorRewards returns one entry per reward credit: {time, source, totalAmount}. source is "delegation" or "commission", but there is no validator field.

For a delegator staking to more than one validator, there is no way to determine which validator a given reward is attributed to. Since HYPE auto-compounds — reward amounts are added directly into the delegated balance, this means the exact, reward-inclusive per-validator staked balance cannot be reconstructed for any delegator that staked to multiple validator from any available field.

Reproduction

curl -s -X POST https://api.hyperliquid.xyz/info -H "Content-Type: application/json" \
  -d '{"type":"delegatorRewards","user":"0x393d0b87ed38fc779fd9611144ae649ba6082109"}'

Real response shape, from a real 14-validator delegator:

[{"time":1735560015000,"source":"delegation","totalAmount":"0.59429787"}, ...]

No validator key in the entry — confirmed against this real multi-validator address and a simpler single-validator address.

Why this matters

We have a reporting need for per-delegation staked balances for a multi-validator delegator (not just an account-wide aggregate).

Ask

  • Add a validator field to each delegatorRewards entry, so the true per-validator amount is directly reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions