Commit bc25e44
Add getHistoricalTokenScore endpoint and fix config generation bugs
- configs/generate.ts: Fix translateSchemaReference to recursively
resolve $ref in object properties instead of spreading raw schemas
(fixes missing nested fields like metrics in getTokenScore response).
Handle inline object items in arrays by converting properties to
fields format. Extract enum and default from inline parameter schemas
(fixes missing enum values like timeframe options).
- configs/api-reference/configs.json: Regenerated with fixes above.
Adds getHistoricalTokenScore endpoint. Fixes response schemas for
getTokenScore (full metrics breakdown) and other endpoints with
nested $ref or inline object arrays. Adds enum/default values to
inline parameter schemas.
- docs/.../09-Get Token Score/get-historical-token-score.mdx: New API
reference page for the historical token score endpoint.
- docs/.../token-api/token-api.md: Add Get Token Score section with
both getTokenScore and getHistoricalTokenScore entries.
- docs/.../reference/reference.mdx: Add getHistoricalTokenScore row
to the Token Score table in the EVM API overview.
- blog/2026-02-04-historical-token-scores.md: Changelog entry for
the new Historical Token Scores endpoint.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent ad90960 commit bc25e44
File tree
6 files changed
+6320
-4018
lines changed- blog
- configs
- api-reference
- docs/01-web3-data-api/evm/reference
- token-api
- 09-Get Token Score
6 files changed
+6320
-4018
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments