EIP-8072는 트랜잭션 포함 구독을 위한 JSON-RPC 인터페이스 표준을 제안하는 Interface Draft EIP입니다. 클라이언트가 특정 트랜잭션의 블록 포함 여부를 실시간으로 구독할 수 있는 메커니즘을 정의합니다.
Motivation
Currently, dApps and wallets must poll for transaction receipts to determine when a transaction has been included in a block. This polling approach is inefficient and creates unnecessary load on both clients and nodes. EIP-8072 proposes a subscription-based mechanism that pushes inclusion notifications to subscribers, reducing the need for polling.
Subscription Interface
The proposal defines a new JSON-RPC subscription type that clients can register to receive notifications when a specific transaction hash is included in a block. The subscription returns the block number, transaction index, and receipt information upon inclusion. The interface builds on the existing eth_subscribe mechanism introduced with WebSocket support.
Use Cases
Transaction inclusion subscriptions are valuable for wallets that need to update their UI immediately when a transaction is confirmed, for smart contract monitoring systems, and for automated workflows that trigger on transaction confirmation. They also benefit MEV bots and other time-sensitive applications that need fast inclusion notifications.
Draft Status
As a Draft, EIP-8072 is defining the exact subscription parameters, the format of inclusion notifications, and error handling for cases like transaction replacement (EIP-1559 fee bumps). The interaction with reorg handling — where a transaction may be un-included and re-included — requires careful specification. Client implementation feedback is being gathered.