Skip to content

feat: add GET /balance/pdf/blockchains endpoint#3306

Merged
TaprootFreak merged 1 commit intodevelopfrom
feat/expose-supported-pdf-blockchains
Mar 4, 2026
Merged

feat: add GET /balance/pdf/blockchains endpoint#3306
TaprootFreak merged 1 commit intodevelopfrom
feat/expose-supported-pdf-blockchains

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Add getSupportedBlockchains() method to BalancePdfService exposing the existing SUPPORTED_BLOCKCHAINS constant
  • Add public GET /balance/pdf/blockchains endpoint (no auth required) returning the supported blockchain list
  • Placed before GET /pdf route to avoid route matching conflicts

Context

The frontend hardcoded a duplicate of the supported blockchains list, causing sync issues. This endpoint lets the frontend fetch the list dynamically.

Test plan

  • Call GET /balance/pdf/blockchains — should return the blockchain array
  • Existing GET /balance/pdf endpoint still works as before

Expose the supported blockchains list via a public endpoint
so the frontend can fetch it dynamically instead of maintaining
a hardcoded duplicate.
@TaprootFreak TaprootFreak merged commit 3fef921 into develop Mar 4, 2026
8 checks passed
@TaprootFreak TaprootFreak deleted the feat/expose-supported-pdf-blockchains branch March 4, 2026 07:43
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.

2 participants