Indexer: Stargate total VTHO claimed
getStargateTotalVthoClaimedGet the total VTHO claimed from Stargate rewards, filter by block number or reward type (LEGACY/DELEGATED).
Instructions
Fetch the total VTHO that Stargate users have actually claimed from rewards generated by delegations. Returns a numeric value encoded as a JSON string. Optional: blockNumber for historical snapshots; rewardsType can filter by LEGACY (pre‑Hayabusa) or DELEGATED (post‑Hayabusa).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockNumber | No | Optional block number to query a historical snapshot. Defaults to latest. | |
| rewardsType | No | Type of rewards to include. If omitted, all Stargate rewards are counted. `LEGACY` refers to rewards claimed before the Hayabusa upgrade and is generally only useful for historical analysis. `DELEGATED` refers to rewards claimed after the Hayabusa upgrade and is the relevant type for current rewards. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | Total VTHO claimed by Stargate users represented as a JSON string (API returns plain string). | |
| error | No | ||
| network | Yes |