Skip to content

Improve Explorer tx page Inputs/Transactions section #288

Description

@begonaalvarezd

the Inputs and Transactions cards on the tx page don't provide much value today - inputs show a raw ref/value with no indication of how they're used, and every PTB command except MoveCall just dumps a flattened arg string instead of anything readable.

for inspiration, check @Thoralf-M's vibecoded explorer, lots of good ideas there we want to bring over (adapted to our design system, not a straight port): https://github.com/Thoralf-M/iotatools/blob/develop/apps/explorer/src/pages/TransactionDetail.tsx

  • proper rendering for every PTB command type, not just MoveCall - TransferObjects, SplitCoins, MergeCoins, Publish, Upgrade, MakeMoveVec currently fall back to a flattened arg string (Transaction.tsx + utils.ts in programmable-transaction-view/). object/address args should link out like MoveCall's do.
  • show input -> command usage and result chaining: which command(s) consume each input, and which commands consume another command's Result/NestedResult. right now it's just raw Input(n)/Result(n) indices with no context.
  • add object version + digest to InputsCard (currently just shows the object id)

follow-up issue will add a "pro mode" toggle on top of this for even more technical detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions