MetaMask/snaps

Insights on any dialog

Opened this issue · 3 comments

As more and more Snaps are using the custom dialog for transaction requests / confirmations, we want to allow any snaps to populate insights on any arbitrary dialog / request.

We're imagining this as an additional surface for the snap to populate in addition to the surfaces we have today;

  • Header
  • Container
  • > Insights
  • Footer

The insights surface would consume the transaction payload / metadata, deliver it to installed insight snaps, which then (optionally) return their insights for the relevant transactions.

Top level surface ideas

generic-insights-top-level

Insight detail level ideas

generic-insights-details-level

Research can begin with Accounts