Monitor signing requests to Metamask from another extension

I want to run some real-time analysis on signing requests coming to my Metamask account. I’ve read a few other threads which eventually led me to the Metamask extension provider on Github (can’t link!). However, that extension provider is for sending signing requests to Metamask from another extension, not for monitoring what Metamask receives.

Is there a way to monitor what’s being sent to Metamask? As far as I’m aware, extensions run in their own scope so trying to read ``````window.ethereum` changes from another Chrome extension would not be possible. Perhaps I could have my Chrome extension as a middle layer that then calls Metamask using the extension-provider?

Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.