Skip to content

Add GET /account/:id/claimable-balances endpoint#385

Merged
Sulex45 merged 2 commits into
stellarkit-lab-devtools:mainfrom
Bhenzdizma:Endpoint
Jun 28, 2026
Merged

Add GET /account/:id/claimable-balances endpoint#385
Sulex45 merged 2 commits into
stellarkit-lab-devtools:mainfrom
Bhenzdizma:Endpoint

Conversation

@Bhenzdizma

Copy link
Copy Markdown
Contributor
  1. Error Handler (/src/utils/errors.js): Added makeClaimableBalanceNotFoundError() for handling claimable balance not found scenarios.
  2. GET /account/:id/claimable-balances (/src/routes/account.js): Returns all claimable balances where the account is a claimant. Supports pagination with limit and cursor query parameters.
  3. GET /account/:id/data (/src/routes/account.js): Returns all data entries stored on the account, formatted as key-value pairs.
    4 Add validation for claimable balance ID format

Both endpoints:

  • Validate the account ID
  • Handle 404 errors gracefully via the existing handleAccountNotFound utility
  • Follow the existing response format using the success() utility

closes #375
closes #376
closes #370
closes #369

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Bhenzdizma Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Sulex45

Sulex45 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Kindly resolve conflicts

@Sulex45 Sulex45 merged commit 3716554 into stellarkit-lab-devtools:main Jun 28, 2026
0 of 3 checks 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

2 participants