Skip to content

Conversation

@Prithpal-Sooriya
Copy link
Contributor

@Prithpal-Sooriya Prithpal-Sooriya commented Jan 6, 2026

Explanation

Adds support for RWA tokens from the trending and search endpoints.

References

https://consensyssoftware.atlassian.net/browse/ASSETS-2205

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Introduces optional Real World Assets (RWA) data in token discovery APIs.

  • Token service: adds includeRwaData option to searchTokens and getTrendingTokens; URL builders accept includeRwaData
  • New types: TokenRwaData, TokenSearchItem (search items can include rwaData); TrendingAsset now supports optional rwaData
  • API/typing updates: searchTokens returns { count, data: TokenSearchItem[] }; fetchTokenMetadata uses generic TReturn; stricter return types for URL helpers; safer boolean check for Linea filter; request headers set via RequestInit.headers
  • Exports: re-exports SortTrendingBy, TrendingAsset, TokenSearchItem, TokenRwaData from index.ts
  • Changelog: documents RWA support additions

Written by Cursor Bugbot for commit f1436ff. This will update automatically on new commits. Configure here.

@Prithpal-Sooriya Prithpal-Sooriya requested a review from a team as a code owner January 6, 2026 13:18
@Prithpal-Sooriya Prithpal-Sooriya requested a review from a team as a code owner January 6, 2026 13:22
@Prithpal-Sooriya Prithpal-Sooriya changed the title feat: token service RWA support feat: token service - trending + search RWA support Jan 6, 2026
"count": 1
}
},
"packages/assets-controllers/src/token-service.ts": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small cleanup

sahar-fehri
sahar-fehri previously approved these changes Jan 6, 2026
@Prithpal-Sooriya Prithpal-Sooriya added this pull request to the merge queue Jan 6, 2026
Merged via the queue into main with commit ecea39c Jan 6, 2026
286 checks passed
@Prithpal-Sooriya Prithpal-Sooriya deleted the ASSETS-2205/add-rwa-data-to-trending-apis branch January 6, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants