Skip to content

Show fee estimate in the transaction confirmation dialog #458

Description

@cupicmarko

Follow-up from PR #436 discussion.

The confirmation dialog now shows the number of required transactions (via session.estimate(amount)txCount), but not the fee. Fees are computed inside the SDK during simulation/assembly (sdk/stellar/src/tx_prepare.rs, sdk/stellar/src/tx_assemble.rs) and are only visible in the wallet signing prompt.

Proposed work:

  • Extend the SDK's Estimate (sdk/client/src/types.rs) with a fee estimate — e.g. a simulate-without-submitting path that returns classic fee + Soroban resource fee.
  • Expose it through the WASM binding (sdk/web/src/client/pool.rs).
  • Display it as a row in the confirmation dialog (app/js/ui/transactions.js, txCountRow helper).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions