Skip to content

Add SDK payment preview helper #242

Description

@El-swaggerito

Description

Difficulty: Expert

Type: Feature

Summary

Add a payment preview helper for mobile and web confirmation screens.

Current Behaviour

Apps need a safe preview of payment details before signing or submission.

Expected Behaviour

The SDK should return a typed preview including source, destination, amount, asset, memo, network, and estimated fee where available.

Suggested Implementation

Implement or design a preview helper that does not sign or submit transactions.

Files or Areas Likely Affected

src/payments/
src/transactions/
src/types/
tests/
docs/

Acceptance Criteria

  • Payment preview helper is added.
  • Preview includes key payment details.
  • Helper does not sign or submit.
  • Tests cover native payment preview.
  • Documentation includes UI usage example.

Additional Notes

This aligns with mobile transaction review work.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labelexpertExpert difficultyfeatureFeature workpaymentsPayment flow related worksdkSDK related workwalletWallet related work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions