You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add warnings field to token-info, collectibles, and defi-positions endpoints (#145)
Extends the unsupported chain ID warnings (introduced in #136 for balances)
to the remaining EVM endpoints. When users request data for unsupported
chain IDs, the API now returns a warnings array with:
- code: UNSUPPORTED_CHAIN_IDS
- message: Human-readable description
- chain_ids: List of unsupported chain IDs
- docs_url: Link to supported chains documentation
This provides consistent behavior across all EVM endpoints.
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
238
+
},
200
239
"next_offset": {
201
240
"type": "string",
202
241
"description": "Use this value as the `offset` in your next request to continue pagination. Not included when there are no more entries."
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
"description": "Array of token information across different chains"
220
252
},
253
+
"warnings": {
254
+
"type": "array",
255
+
"items": {
256
+
"$ref": "#/components/schemas/Warning"
257
+
},
258
+
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
259
+
},
221
260
"next_offset": {
222
261
"type": "string",
223
262
"description": "Pagination cursor for the next page of results"
0 commit comments