Documentation for eth_defi.provider.mev_blocker Python module.

MEV blocking RPC provider functionality.

Malicious Extractable Value (MEV) is a problem for all trading activity on EVM-based blockchains.

It can be mitigated by using a special JSON-RPC node that provides a private mempool.

This module provides methods to create special web3.Web3 instances that

  • Use MEV blocking JSON-RPC endpoint for all transactions

  • Normal JSON-RPC node for reading data from the blockchain

Module Attributes


List of RPC methods that execution transactions



Routes methods that execute transaction through a special MEV proof endpoint.