Open
Description
Component
Anvil
Describe the feature you would like
eth_sendBundle
has become a very used primitive for MEV-aware application such as Private Mempool, block builders, snipers, etc.
Being able to test this feature using Anvil would close the loop on a bunch of our integration tests.
Specs: https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendBundle",
"params": [
{
txs, // Array[String], A list of signed transactions to execute in an atomic bundle
blockNumber, // String, a hex encoded block number for which this bundle is valid on
minTimestamp, // (Optional) Number, the minimum timestamp for which this bundle is valid, in seconds since the unix epoch
maxTimestamp, // (Optional) Number, the maximum timestamp for which this bundle is valid, in seconds since the unix epoch
revertingTxHashes, // (Optional) Array[String], A list of tx hashes that are allowed to revert
replacementUuid, // (Optional) String, UUID that can be used to cancel/replace this bundle
}
]
}
Additional context
https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint