Skip to content

Add public Boltz balance endpoint#125

Merged
bernd2022 merged 4 commits intodevelopfrom
feature/boltz-balance-endpoint
Feb 4, 2026
Merged

Add public Boltz balance endpoint#125
bernd2022 merged 4 commits intodevelopfrom
feature/boltz-balance-endpoint

Conversation

@bernd2022
Copy link
Collaborator

Summary

  • Add public GET /v1/boltz-balance endpoint for wallet balance monitoring
  • Create new BoltzModule with controller, service, DTOs, entity and repository
  • Add asset_boltz table migration with environment-specific token addresses (DEV/PRD)
  • Support BTC onchain, Lightning (outgoing/incoming), and EVM token balances

Supported Assets

  • BTC: Bitcoin onchain, LND wallet
  • Lightning: Outgoing and incoming capacity
  • EVM: cBTC (Citrea native), USDC, USDT, WBTC (Ethereum), USDT (Polygon), JUSD, WBTCe (Citrea)

Test plan

  • Run migration on DEV
  • Verify endpoint returns correct balances
  • Compare with check-balance.ts script output
  • Run migration on PRD

- Add GET /v1/boltz-balance endpoint for public wallet balance monitoring
- Create BoltzModule with controller, service, DTOs, entity and repository
- Add asset_boltz table migration with environment-specific token addresses
- Support BTC, Lightning, and EVM token balances (USDC, USDT, WBTC, JUSD, WBTCe)
@bernd2022 bernd2022 requested a review from davidleomay February 3, 2026 20:42
- Rename endpoint from /boltz-balance to /boltz/balance
- Change response from structured object to flat BalanceDto array
- Rename config key from boltzBalance to boltz
- Update migration to schema-only (remove seed data)
- Add Direction enum for Lightning balance direction
@bernd2022 bernd2022 requested a review from davidleomay February 4, 2026 09:22
@bernd2022 bernd2022 requested a review from davidleomay February 4, 2026 09:58
@bernd2022 bernd2022 merged commit 0b74c75 into develop Feb 4, 2026
1 check passed
@bernd2022 bernd2022 deleted the feature/boltz-balance-endpoint branch February 4, 2026 10:05
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