Skip to content

feat: add typed transaction summary mapper#203

Merged
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Timothy2025-20:feature/transaction-summary-mapper
Jul 22, 2026
Merged

feat: add typed transaction summary mapper#203
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Timothy2025-20:feature/transaction-summary-mapper

Conversation

@Timothy2025-20

Copy link
Copy Markdown
Contributor

gh pr create
--title "feat: add typed transaction summary mapper"
--body "## Description
This PR adds a typed transaction summary mapper for mobile UI consumption.

Changes

  • Created TransactionSummary type with UI-friendly fields
  • Implemented mapTransactionToSummary for single transactions
  • Implemented mapTransactionsToSummaries for batch processing
  • Handles incoming and outgoing payments
  • Includes direction, amount, asset, counterparty, memo, status
  • Added comprehensive tests covering edge cases
  • Documented API usage

Acceptance Criteria Met

  • Transaction summary type exists
  • Mapper handles incoming payments
  • Mapper handles outgoing payments
  • Mapper includes transaction hash
  • Mapper includes amount and asset information
  • Tests cover representative raw records

Closes #109

- Create TransactionSummary type with UI-friendly fields
- Implement mapTransactionToSummary for single transactions
- Implement mapTransactionsToSummaries for batch processing
- Handle incoming and outgoing payments
- Include direction, amount, asset, counterparty, memo, status
- Add comprehensive tests covering edge cases
- Document API usage

Closes Axionvera#109
@El-swaggerito
El-swaggerito merged commit 48253d3 into Axionvera:main Jul 22, 2026
1 check passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jul 22, 2026
6 tasks
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 typed transaction summary mapper

2 participants