Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [mev]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
4 views

relay for L2 chain such as Base chain

For ethereum mainnet, there is "relay" for sending bundle, e.g., flashbots relay. But is I cannot find such thing for L2 chain such as Base chain. Is there any relay for Base chain, or relay ...
walkerlala's user avatar
0 votes
1 answer
73 views

Is the code in the link a scam? It's for "Uniswap ETH Arbitrage Bot" [duplicate]

There is a video on youtube with over 30k views, and I'm sus it's a scam...is it the video: https://www.youtube.com/watch?v=4eLJZpGSHqk&t=20s&ab_channel=CryptoChemist%F0%9F%A6%87 the code: ...
Mephistopheles's user avatar
0 votes
0 answers
13 views

MEV bot on Github - does it look like a scam? [duplicate]

this one was recently added to Github, my first opinion is that it is probably a scam. Can anyone take a look and let me know if anything fishy is in the smart contract code? If so then I will report ...
DanijelB's user avatar
0 votes
0 answers
98 views

Timeout Error: eth_callBundle . Flashbot

Hi I am having an issue in flashbotsProvider.simulate() while pushing a transaction to the miners to be send to the block without sending it to the mempool. Below is my source code // 1. Import ...
hammad ali's user avatar
1 vote
0 answers
52 views

API to get MEV reward recipient from Beacon Chain

Is there any API which I can reliably use to get the MEV reward recipient and block reward for a particular block number as shown on the beacon chain page? I can use the flashbots relay API but this ...
Ramon912001's user avatar
3 votes
1 answer
510 views

What is the difference between sqrtPriceLimitX96 and amountOutMinimum for uniswap?

The sqrtPriceLimitX96 is just a price limit which cannot be exceeded by the trade. At the same time, the amountOutMinimum appears to do the same thing in that you can achieve maximum price by taking: ...
Nat's user avatar
  • 279
2 votes
0 answers
87 views

What are the MEV builder algorithms?

I am looking for a source that explains the algorithm on how the block builders select the transactions from the mempool. The only thing that looks close is this code from flashbots https://github.com/...
Panos's user avatar
  • 173
0 votes
2 answers
73 views

Calculate BPT price onchain

What's a safe way to calculate the onchain the price of a Balancer's BPT token? More specifically, from a Composable Stable Pool (if the clarification of the pool makes the calculation different). For ...
dNyrM's user avatar
  • 908
4 votes
3 answers
166 views

How does Tornado Cash protect against MEV?

As I understand it, when you send ETH into Tornado Cash, you have a piece of information that you can later submit from any address to retrieve your ETH. In this case, if I can retrieve it from ...
vrwim's user avatar
  • 198
1 vote
1 answer
67 views

Is there MEV in replacing referral code in calldata?

I've been reading AAVE document and saw that user can include a referral code inside deposit calldata, so that the referrer can receive some rewards(source: https://docs.aave.com/developers/v/1.0/...
johnhckuo's user avatar
  • 351
1 vote
2 answers
199 views

What are the things MEV bots can MEV?

Suppose I'm performing swaps form Uniswap, sushiswap etc Can they MEV my funds? What are the things MEV bots can do?
Saikat Karmakar's user avatar
1 vote
1 answer
716 views

Flashloan + flashbot

Can i use both flashloan and MEV builder in one transaction? Means borrowing from flashloan, then building my transaction in MEV builder (to prevent sandwich attack )? If it is possible, can anyone ...
Biruk Damte's user avatar
0 votes
1 answer
209 views

Help - MEV Contract [duplicate]

I created an deployed a MEV bot via remix.re — after deploying the contract — I noticed the internal transaction sent to an unknown address. Any help on seeing what happened here?? My Contract Address ...
Levi's user avatar
  • 1
3 votes
1 answer
1k views

Does arbitrum / optimism / other L2s have MEV?

Due to the fact that the sequencer is the "real" node that sequences transactions, I would imagine that is the true MEVer... But for example, could I run an Arbitrum node and MEV some ...
Patrick Collins's user avatar
1 vote
1 answer
64 views

Why do MEV bots sometimes not include input tokens?

I'm trying to understand some on chain MEV activity and am a bit stumped. (Edit) Here's the transaction: https://etherscan.io/tx/0x75f0ee27fe3361634e5a051874d877f5e533705cc84ece32529246dc64f2211f This ...
Ludo's user avatar
  • 117
0 votes
1 answer
672 views

Please let me know if this code is a crypto scam (I believe it is) [duplicate]

This MEV Solidity language code is linked through the YouTube channel: https://www.youtube.com/watch?v=xNbqUYrhzFE&ab_channel=GeorgeMevBotDeveloper (which only has the one video). If it is a ...
Heuristic Algorithm 's user avatar
1 vote
2 answers
456 views

Why do people deploy MEV bots on chain?

More specifically, is there any advantages to be had with having the bot trading logic on chain in a smart contract? Versus doing it all off chain, watching for events and submitting the transaction
hear har's user avatar
1 vote
0 answers
185 views

Why do flashbot transactions have gas fees?

From reading the docs it seemed to be that instead of setting a maximum gas fee on a transaction, we could use this function to tip the miner. However, looking at flaashbot transactions it seems like ...
boneyeye's user avatar
0 votes
1 answer
143 views

How to add Pulsechain (ChainID 369) with factory proxy Gnosis-Safe existing ETH vault

Last week I managed to create a Polygon Gnosis Safe for my existing vault by adding the factory proxy, given at github: https://github.com/safe-global/safe-deployments/blob/main/src/assets/v1.4.0/...
Gnosis Safe's user avatar
1 vote
1 answer
349 views

Prioritize Ethereum Transaction

What would be a good strategy to prioritize a transaction given the EIP-1559 definitions: Base Fee: minimum fee a transaction must pay to be a valid transaction. The Base Fee changes per block, ...
Kob3Bryant's user avatar
0 votes
2 answers
1k views

Decoding Pending Transaction Input Web3 Python

I am writing some code on Python utilising the Web3 library. I am accessing the mempool and I am trying to access the slippage on pending transactions on swaps made on the Binance Smart Chain with ...
Fusex's user avatar
  • 1
4 votes
4 answers
2k views

Can people do Sandwich Attack (MEV) on Polygon?

Can people do Sandwich Attack (MEV) on Polygon? I know that people use Flashbots to do MEV on ETH layer 1. But Flashbots is not available on L2 or other side chains. Can people actually do similar ...
Nick's user avatar
  • 75
0 votes
1 answer
119 views

Profit or just waste of time?

I have some questions that I hope will be answered here I posted this question on twitter as well but with no response, I am a newcomer in the world of crypto and decentralized exchanges and Flash-...
Said's user avatar
  • 31
0 votes
1 answer
205 views

How does transaction ordering works in polygon blocks

Hello I am trying to do some easy dex arbitration but my transactions despite having enough gasPrice (or maxPriorityFeePerGas, maxFeePerGas) keep going way back sequentially in the block. For example ...
Hristo Todorov's user avatar
1 vote
1 answer
750 views

Transaction order in the block and gas

I was wondering about how are transactions ordered in the block. I was checking three different transactions, two of them made by sniper bots and I don't know where lies the difference and why one is ...
Kacper's user avatar
  • 43
0 votes
2 answers
1k views

Flashbot bundle not included troubleshooting

I'm trying to send Flashbots bundles on Goerli. I for-loop 10 times to send bundles, every time the target block number increases by 1, in case the previous bundle fails (What I did in Flashbot bundle ...
Yuhua Wei's user avatar
  • 123
3 votes
4 answers
2k views

NEED help - MEV bots attacking our liquidity pools - how to counter or block the MEV bots?

Intro We have 2 tokens in our project and 3 liquidity pools ( "token1-ETH", "token2-ETH" & "token1-token2"). Token1 has ~5% of fees and includes reflection. Token2 ...
Ra Murd's user avatar
  • 53
1 vote
1 answer
1k views

How to send bundles directly to top MEV builders?

I can send my bundles to Flashbots builder successfully. However, there are only about 20% of blocks are built by Flashbots builders, other blocks are mainly built by builder0x69, beaverbuild, and ...
Yuhua Wei's user avatar
  • 123
3 votes
1 answer
856 views

How to explore the bundles on the blocks builded by the external builders?

As far as I know, the flashbots bundles can be found in flashbots explorer (https://flashbots-explorer.marto.lol/) when their block is built by Flashbots: Builder (you can find more mev-builder at ...
Yuhua Wei's user avatar
  • 123
4 votes
1 answer
759 views

Is there any other way to send transaction bundle to miners besides Flashbot?

I'm studying flash bot recently, and I found by chance that the first few transactions of this block(https://etherscan.io/txs?block=16655452&ps=100&p=2) seemed to be a flash bot bundle (...
Yuhua Wei's user avatar
  • 123
1 vote
1 answer
377 views

How to get all the bundles on a particular block?

I'm a beginner at flashbots. As stated in the document, we can use Flashbots Bundle Explorer (https://flashbots-explorer.marto.lol/) to inspect bundles and search by block numbers. How to obtain all ...
Yuhua Wei's user avatar
  • 123
1 vote
2 answers
508 views

Is mev-geth analougue to geth?

I was reading about ethereum node impementations and found something about mev-geth, wich is a fork of geth made by flashbots. If i want run a node just to propagate my own transactions and query the ...
Rafael's user avatar
  • 348
0 votes
0 answers
82 views

Slight MEV ETH transaction

Thorswap integrates 0x as a liquidity provider on Ethereum. A user reports getting much less than anticipated on this transaction: https://etherscan.io/tx/...
Oleg Petrov's user avatar
0 votes
2 answers
681 views

Flashbots Inclusion of a Mempool Signed Transaction

Hello i'm trying to understand how flashbots Bundles are working. So far i can send a flashbots Bundle with several transactions that i made. But in the official docs it is stated that we can include ...
GolGotS's user avatar
  • 11
1 vote
1 answer
102 views

Does sandwich attack work if there are TWO attackers?

In this scenerio, could both attackers turn a profit from this attack? I imagine it would work, but I want to be certain. Tx No. Description Tx0 Attacker 1 trades A for B Tx1 Attacker 2 trades A ...
Dani's user avatar
  • 11
2 votes
2 answers
171 views

What is this MEV tx trying to achieve?

For this TX: https://etherscan.io/tx/0x8b0351a83e453e30a8b4ada8adc1ce42dac73c05bc2ba87304906f1eed8a77a2 Seems PunkOTC sent 7 ETH to mev bot and mev bot sent this 7ETH to (Lido: Execution Layer ...
Nick's user avatar
  • 75
1 vote
1 answer
723 views

What is the difference between Miner Tip and maxPriorityFeePerGas

Yesterday I noticed 2 arbitrage transactions on Uniswap V3 in the same block and pools: 1)https://etherscan.io/tx/0x1933479aad430fc3b0acfb9394d138e62d19d1a15437a52a807ca4af9bad7591 2)https://etherscan....
Viktor Cortez's user avatar
1 vote
1 answer
770 views

What is the difference between Relay and Builder post Merge in Ethereum?

I was listening to an episode of Bankeless where they were talking about things coming up, post merge. In that episode they mentioned block builders and relayers. The context they mention it was ...
Finlay Weber's user avatar
1 vote
1 answer
55 views

Why doesn't ethereum enforce a transaction ordering to prevent MEV?

Why not just enforce ordering by priority fee? Just say a block is invalid if the transactions are out-of-order with respect to their priority fees. That way smart contracts can limit priority fees to ...
Jonah's user avatar
  • 655
2 votes
0 answers
30 views

Should contracts enforce waiting 32 slots (1 epoch) between MEV-able functions, now that we're using Proof of Stake?

Context: When Ethereum's consensus used proof of work, a miner of block B would have no guarantees that they would also be a miner of block B + 1. This property is important when considering the ...
almel's user avatar
  • 816
2 votes
1 answer
95 views

What would be implications of Ethereum's merge for MEV searchers?

Within a few days, Ethereum will eventually be transmitted from PoW to PoS. The question is will MEV searchers (who use MEV relay API) need to do any update on their code? (i.e. change relay API ...
Ehsan Khodarahmi's user avatar
4 votes
1 answer
567 views

PBS - How & where do block builders submit their blocks?

With the merge and the change to PoS, there will also be a shift towards PBS. As far as i have researched, any block builder can build blocks with transactions from the mempool. How are these blocks ...
Plus Ultra's user avatar
1 vote
2 answers
1k views

Bundle of Transactions

I have been studying some articles about MEVs on the Ethereum network and met FlashBots which provides security for MEV Bots That is a bundle propagation service which receives bundles from searchers ...
Kraune Texas's user avatar
0 votes
0 answers
28 views

How to add time-sensitive data to governance proposals?

Many governance contracts use low level calls. In order to allow governance to call any contract, OpenZeppelin's governance bravo executes proposals through targets[i].call{value: values[i]}(calldatas[...
Meriadoc's user avatar
  • 427
1 vote
1 answer
285 views

Why miners are not picking my arbitrage trading bot transaction on ethereum.?

Miners not picking my arbitrage trading bot transaction that is sent to miners directly using relay.flashbot.net rpc. And we are also giving reward through block.coinbase.transfer() function and also ...
Masnan's user avatar
  • 11
0 votes
1 answer
738 views

MEV bots contract addresses [duplicate]

how so many MEV bots contract addresses start with many zeros? I understand they do so to use less gas but how they manage to create contracts with such addresses?
John's user avatar
  • 13
1 vote
1 answer
113 views

Could front-running be mitigated by placing the transaction fee data in the signed bytes?

I'm very much learning. I've just discovered front-running and MEV (not the hard way, luckily). My understanding is that the transactions are reordered based on cloning the transaction and sending it ...
Luke Puplett's user avatar
3 votes
4 answers
2k views

Is MEV possible on bitcoin?

Miner Extractable Value (MEV) is a big topic in the life of ethereum users, and it creates an additional revenue source for the miners. Is MEV possible on the bitcoin blockchain as well? And if yes/no,...
curiousTrader's user avatar
0 votes
1 answer
304 views

can i smiulate 2 transactions using .call in web3 or in anyother way?

i want to be able to simulate 2 transactions using .call in web3.js. To see if 1 tx affects the other. I cant find a way to do so. .call only works for 1 at a time and a custome node takes a lot of ...
Tenta music's user avatar
0 votes
2 answers
286 views

What is the best way to check if the contract has experienced sandwich attacks

I am searching for a convenient way or tool to see if the contract was exploited by frontrunners. I have several smart contracts that expose functions that are suspect to these so-called sandwich ...
EtherPaul's user avatar
  • 256