feat: proxy /accounts/{stake_address}/utxos and /addresses/{address} to data node#591
Merged
Conversation
…s}` to data node Un-stub both handlers (which were returning 404), add the corresponding data-node client methods, and enable them in the `blockfrost-tests` allowlist. As reported by: @mchappell from Lace.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
Author
|
Huh, Mainnet is failing with: @vladimirvolek any ideas? :o |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR un-stubs two previously-404’d Platform API handlers by proxying them to the data-node, and updates the integration-test endpoint allowlist accordingly.
Changes:
- Implement
/addresses/{address}handler by validating the address and forwarding todata_node.addresses().address(...). - Implement
/accounts/{stake_address}/utxoshandler by validating the stake address + pagination and forwarding todata_node.accounts().utxos(...). - Add corresponding data-node client methods and allowlist the two endpoints in integration tests data.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/platform/src/api/addresses/address/root.rs | Replace 404 stub with data-node proxy for address details. |
| crates/platform/src/api/accounts/stake_address/utxos.rs | Replace 404 stub with data-node proxy for stake-address UTXOs (paginated). |
| crates/integration_tests/tests/data/supported_endpoints.json | Allowlist the two newly-supported endpoints for integration validation tooling. |
| crates/data_node/src/api/addresses.rs | Add DataNodeAddresses::address() client method. |
| crates/data_node/src/api/accounts.rs | Add DataNodeAccounts::utxos() client method. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Deploying blockfrost-platform with
|
| Latest commit: |
11dc77f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8b457518.blockfrost-platform.pages.dev |
| Branch Preview URL: | https://fix-missing-lace-endpoints.blockfrost-platform.pages.dev |
michalrus
commented
Jun 18, 2026
michalrus
left a comment
Member
Author
There was a problem hiding this comment.
✅ LGTM, but I can’t approve it as the original author
vladimirvolek
approved these changes
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Un-stub both handlers (which were returning 404), add the corresponding data-node client methods, and enable them in the
blockfrost-testsallowlist.As reported by: @mchappell from Lace (Slack thread).