-
Notifications
You must be signed in to change notification settings - Fork 542
token owners endpoint in insight playground #7184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
token owners endpoint in insight playground #7184
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThis change updates the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant InsightBlueprints
User->>InsightBlueprints: Request list of available endpoints
InsightBlueprints-->>User: Return endpoints including new "Get token owners by contract" and updated "Get NFTs"
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7184 +/- ##
=======================================
Coverage 55.68% 55.68%
=======================================
Files 904 904
Lines 58404 58404
Branches 4126 4126
=======================================
Hits 32522 32522
Misses 25776 25776
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
## [Dashboard] Feature: Update Token and NFT API Endpoints ## Notes for the reviewer This PR adds a new token endpoint and updates the name of an existing NFT endpoint: 1. Added a new endpoint for getting token owners by contract: `/v1/tokens/owners` 2. Renamed the "Get NFTs by owner" endpoint to simply "Get NFTs" to better reflect its functionality ## How to test Verify the updated endpoint names appear correctly in the Insight section of the playground. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a new API endpoint for retrieving token owners by contract. - **Refactor** - Renamed the "Get NFTs by owner" endpoint to "Get NFTs" for improved clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
d0e26a8
to
2fc083f
Compare
[Dashboard] Feature: Update Token and NFT API Endpoints
Notes for the reviewer
This PR adds a new token endpoint and updates the name of an existing NFT endpoint:
/v1/tokens/owners
How to test
Verify the updated endpoint names appear correctly in the Insight section of the playground.
Summary by CodeRabbit
New Features
Refactor
PR-Codex overview
This PR focuses on updating the
insightBlueprints
in theinsightBlueprints.ts
file by adding a new API endpoint for retrieving token owners and renaming an existing endpoint for NFTs.Detailed summary
Get token owners by contract
/v1/tokens/owners
false
Get NFTs by owner
Get NFTs
/v1/nfts
false