Introduction to MEV:
Miner Extractable Value (MEV) is a measure of the profit a miner (or validator in Proof of Stake systems) can make through their ability to arbitrarily include, exclude, or re-order transactions within the blocks they produce. In Ethereum, miners have the ability to choose the order of transactions within a block, and this can be exploited for profit. For example, a miner could front-run a large market order on a decentralized exchange by inserting their own transaction ahead of it.
Block Builders, Relays, and Validators:
In the context of Ethereum, a block builder is an entity that creates blocks by selecting and ordering transactions. A relay is a network that propagates these blocks to the rest of the Ethereum network. A validator is a node in the network that verifies the blocks and adds them to the blockchain.
The data flow in this system starts with transactions being broadcasted by users. Block builders collect these transactions, choose which ones to include in a block, and decide the order of the transactions. The block is then propagated through the relay network to the validators, who verify the block and add it to the blockchain.
Calculating Profit:
We calculated the profit made by block builders by taking the total revenue (gas payments and value transferred to the coinbase) minus the total payment and the gas cost. The script assumes that the last transaction in each block is the payment to the block builder, which may not always be the case but we are making this assumption for now.
Titanbuild vs Beaverbuild:
According to our results, Titanbuild has a lower success rate but higher profitability than Beaverbuild, despite Beaverbuild having the highest success rate of transactions. This could be due to a number of factors:
Transaction Selection: Titanbuild may be more selective in the transactions it includes in a block, focusing on transactions with higher gas prices. This would result in higher revenue per block, and therefore higher profitability, despite a lower success rate. Block Size: Titanbuild may be creating larger blocks, which can include more transactions and therefore generate more revenue. MEV Strategies: Titanbuild may be using more advanced MEV strategies, such as sandwich attacks or backrunning, to increase its profits.
We will continue to explore these 2 projects and we truly admire their work! to Quote the beaverbuild,
_ be mergin be splurgin and by god be searchin _

Assumptions made The script assumes that the last transaction in each block is the payment to the block builder, which may not always be the case.
The script does not take into account other factors that could influence the inclusion of a block in the blockchain, such as network latency, block size, or the presence of uncle blocks. The script also does not take into account the financial value of the payments to the block builders, only the presence or absence of a payment.
The financial value of the payments could be a significant factor in the profitability and therefore the success of a block builder strategy.