Skip to content

feat(vault): add vault state and authenticated balance read APIs#26

Merged
robertocarlous merged 1 commit intoNeurowealth:mainfrom
Kaylahray:feat/vault-read-api
Mar 26, 2026
Merged

feat(vault): add vault state and authenticated balance read APIs#26
robertocarlous merged 1 commit intoNeurowealth:mainfrom
Kaylahray:feat/vault-read-api

Conversation

@Kaylahray
Copy link
Copy Markdown
Contributor

✅ Issue complete: Vault Read APIs shipped. closes #25

Hi team, I’ve completed this issue end-to-end.

What I delivered:

  • Added on-chain read integration for APY, active protocol, and user balance/shares
  • Added new endpoints:
    • GET /api/vault/state
    • GET /api/vault/balance (authenticated, uses the logged-in user wallet)
  • Added integration tests with mocked contract reads (no real RPC calls)
image

Result:

  • Response shapes match the spec
  • Auth flow is enforced for user balance
  • Tests and lint are passing

Ready for review 🚀

@robertocarlous robertocarlous merged commit 11689c3 into Neurowealth:main Mar 26, 2026
1 check passed
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.

Add Vault Read APIs

2 participants