API referenceAccounts
Account Baskets
Fetch one account's Root basket and beta positions at the finalized head, live from BetaBasketRuntimeApi: get_root_basket_portfolio, get_beta_portfolio, get_root_basket_claim_previews (what claiming each basket would do now) and get_root_basket_owed, each amount the runtime's u64 as a decimal string and each U64F64 its exact decimal. All four calls answer at one block or none is served: a failed read is the decline, block_number null and every value null. Returns 400 on an invalid ss58.
Path Parameters
ss58*string
An SS58-encoded account address -- a hotkey or coldkey.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/accounts/5F4tQyWrhfGVcNhoqeiNsR6KjD4wMZ2kfhLj4oHYuyHbZAc3/baskets"{ "data": { "beta_positions": [ { "beta": "example", "display_beta": "example", "display_price": "example", "hotkey": "example", "provisional": false, "spot_value_tao": "example", "value_tao": "example" } ], "block_hash": "a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1", "block_number": 5000000, "claim_previews": [ { "accrued_tao": "example", "dust_rows": 1, "flushed_credits": 1, "forfeited_tao_est": "example", "hotkey": "example", "owed_shares": "example", "redeemable_tao": "example", "rows": 1, "rows_to_sell": 1, "swept": 1 } ], "owed_tao": "example", "positions": [ { "beta": "example", "beta_total": "example", "hotkey": "example", "nav_tao": "example", "spot_value_tao": "example", "value_tao": "example" } ], "queried_at": "2026-06-01T00:00:00.000Z", "schema_version": 1, "ss58": "5G9hfkx9wGB1CLMT9WXkpHSAiYzjZb5o1Boyq4KAdDhjwrc5" }, "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}