Skip to content

Remove unused API endpoints and dead code - #939

Merged
DRadmir merged 1 commit into
mainfrom
wt2/remove-dead-api-surface
Aug 21, 2026
Merged

Remove unused API endpoints and dead code#939
DRadmir merged 1 commit into
mainfrom
wt2/remove-dead-api-surface

Conversation

@DRadmir

@DRadmir DRadmir commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Removes client code that nothing calls.

Three device API endpoints were declared but never used: fetching a single transaction, fetching rewards events, and sending a support action. iOS and Android both had declarations for them, so both are removed together and the clients stay in sync. The backend still serves all three, so any of them can come back as a one line declaration when a feature needs it.

Also removes four unused Chain helpers, a duplicated QrScanField enum, and two unused models.

Nothing here was reachable, so behavior is unchanged.

Delete client declarations that no caller reaches on either platform:
the single transaction, rewards events and support action endpoints,
the Android only redemption option endpoint, four Chain extensions,
the duplicated QrScanField enum, and the EncodingType and
PricesResponse models.
@DRadmir DRadmir self-assigned this Aug 21, 2026
@DRadmir
DRadmir merged commit 95cac0e into main Aug 21, 2026
3 checks passed
@DRadmir
DRadmir deleted the wt2/remove-dead-api-surface branch August 21, 2026 07:35
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.

1 participant