MATEX: A Multi-Agent Framework for Explaining Ethereum Transactions
Zifan Peng, Jingyi Zheng, Yule Liu, Huaiyu Jia, Qiming Ye, Jingyu Liu, Xufeng Yang, Mingchen Li, Qingyuan Gong, Xuechao Wang, Xinlei He
TL;DR
The paper tackles the difficulty of understanding complex DeFi Ethereum transactions and the risk of blind signing. It introduces TxSum as a faithfulness-driven NLP task and TxExplain as a real-world dataset of 100 annotated transactions, both grounded strictly in on-chain evidence. It then presents MATEX, a multi-agent framework with a shared Evidence Board and four specialized agents (Profiler, Protocol Investigator, Synthesizer, Safety Auditor) to generate attributed, verifiable narratives and validate them adversarially. Across evaluations, MATEX outperforms baselines in accuracy, faithfulness, and risk identification, underscoring its practical potential for safer, clearer DeFi interactions.
Abstract
Understanding a complicated Ethereum transaction remains challenging: multi-hop token flows, nested contract calls, and opaque execution paths routinely lead users to blind signing. Based on interviews with everyday users, developers, and auditors, we identify the need for faithful, step-wise explanations grounded in both on-chain evidence and real-world protocol semantics. To meet this need, we introduce (matex, a cognitive multi-agent framework that models transaction understanding as a collaborative investigation-combining rapid hypothesis generation, dynamic off-chain knowledge retrieval, evidence-aware synthesis, and adversarial validation to produce faithful explanations.
