Skip to content

Feature: Add Wallet Status Balance and History API #151

Description

@3m1n3nc3

Description

Expose safe wallet status, public address, exact supported balances, and paginated history.

File Location

Wallet controller/routes/schemas/service, Stellar service, DTOs, and tests

Design Reference

API Roadmap Phase 1: Add Wallet Status Balance and History API.

Dependencies

Tasks

  • Add current-user wallet status/address endpoint
  • Add supported balance response with asset/issuer/exact amount/source time
  • Add stable paginated history with direction, status, amount, hash, ledger, and memo policy
  • Normalize Horizon timeout/unavailable/stale behavior
  • Prevent arbitrary address lookup
  • Test auth, precision, pagination, provider failure, and redaction

Acceptance Criteria

  • Only owner wallet is exposed
  • Amounts retain exact precision/asset identity
  • Pending/failed does not appear as zero balance
  • Pagination is stable
  • Tests/OpenAPI pass

Verification Evidence

  • Attach redacted endpoint examples and Horizon auth/precision/failure tests

Difficulty

Advanced

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions