Skip to content

Add SDK signing payload inspection utility #163

Description

@El-swaggerito

Description

Difficulty: Expert

Type: Feature

Summary

Add a utility that allows consumers to inspect a transaction signing payload before signing.

Current Behaviour

Consumers may need to show users what they are about to sign before the signing action occurs.

Expected Behaviour

The SDK should provide a safe typed summary of the signing payload without exposing unnecessary raw internals.

Suggested Implementation

Create a helper that accepts a prepared transaction or signing request and returns a typed summary including source, operations, memo, network, and fee where available.

Files or Areas Likely Affected

src/transactions/
src/wallet/
src/types/
tests/
docs/

Acceptance Criteria

  • A signing payload inspection utility is added.
  • The summary includes source, operations, memo, network, and fee where available.
  • The utility does not sign or submit transactions.
  • Tests cover supported and unsupported payloads.
  • Documentation includes a user-confirmation example.

Additional Notes

This supports safer review-before-signing flows.

Activity

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

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 worksdkSDK related worktransactionsTransaction related workwalletWallet related work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions