Validator Basket History
Fetch one validator's Root basket history and comparable returns (#12020): its hourly samples over thirty days and a tolerance, oldest first, and the 1d/7d/30d windows ending at its newest sample. Each window names its start and end blocks and both TWR marks, and serves the root staker's return (staker_twr_end / staker_twr_start - 1, the runtime's canonical TWR ratio) and the basket holder's display-price return as exact decimal strings, only where a sample within two hourly spacings of the window's start and the end share one stamped fund life; otherwise its status (insufficient_history, unstamped_fund_life, fund_life_changed, no_samples) says why and the returns are null. Fund lives are never stitched and a short history is never presented as a full window. Served live from the market store; a null capture with a null point_count is the decline. Returns 400 on an invalid ss58 hotkey.
Path Parameters
An SS58-encoded hotkey address identifying one validator identity.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/validators/5F4tQyWrhfGVcNhoqeiNsR6KjD4wMZ2kfhLj4oHYuyHbZAc3/basket/history"{ "data": { "capture": { "accepted_at": "2026-06-01T00:00:00.000Z", "decoder_version": "2026-06-29.1", "finalized_block": "example", "finalized_block_hash": "a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1", "runtime_spec_version": 1 }, "field_sources": { "example": { "kind": "measured", "storage": "example" } }, "hotkey": "example", "methodology": { "baseline_tolerance_blocks": 5000000, "return_decimals": 1, "span_blocks": 5000000, "version": 1 }, "point_count": 1, "points": [ { "block_number": "example", "deposited_rao": "example", "display_price_q64_bits": "example", "first_block": "example", "holdings_count": 1, "observed_at": "2026-06-01T00:00:00.000Z", "provisional": false, "realizable_nav_rao": "example", "redeemed_rao": "example", "shares_atomic": "example", "spot_nav_rao": "example", "stake_price_q64_bits": "example", "staker_twr_q64_bits": "example", "trading_frozen": false } ], "returns": [ { "display_price_end_q64_bits": "example", "display_price_return": "example", "display_price_start_q64_bits": "example", "end_block": "example", "end_observed_at": "2026-06-01T00:00:00.000Z", "fund_first_block": "example", "provisional": false, "staker_return": "example", "staker_twr_end_q64_bits": "example", "staker_twr_start_q64_bits": "example", "start_block": "example", "start_observed_at": "2026-06-01T00:00:00.000Z", "status": "served", "window": "1d", "window_blocks": 5000000 } ], "schema_version": 1 }, "meta": { "artifact_path": "example", "cache": "short", "catalog_paging": { "reason": "catalog_changed" }, "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "observed_through": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "snapshot": "v1.a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1", "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}