This tutorial is for searchers who are already biding on MEVBlocker auctions and would like to bid on Merkle auctions as well.
In order to make the transition easier, we have a MEVBlocker-style websocket that searchers can use:
wss://mempool.merkle.io/stream/rpc
The data format of the websocket is identical to MEVBlocker.
{
"jsonrpc": "2.0",
"method": "eth_subscription",
"params": {
"result": {
"accessList": [],
"chainId": "0x1",
"data": "be9a6555",
"from": "0x90bacaaA622a1810cfafe60812dD4CaB98cb2C4D",
"gas": "0x16734",
"hash": "0xef4acec843ebb56a9ace1086f204e5bbf1208b2b25157a1e17acfa6ca9d6d18b",
"maxFeePerGas": "0x0",
"maxPriorityFeePerGas": "0x0",
"nonce": "0x3",
"to": "0x0526269FB16e9bD48846ba5363D872038887Bf6B",
"type": "0x2",
"value": "0x0",
"logs": [
{
"address": "0x0319000133d3AdA02600f0875d2cf03D442C3367",
"data": "0x",
"topics": [
"0x5f6ebb64ba012a851c6f014e6cad458ddf213d1512049b31cd06365c2b059257",
"0x000000000000000000000000c5017be80b4446988e8686168396289a9a62668e",
"0x0000000000000000000000000f0a35351b1c5512e50c1c7410c59d5bc52bfe37"
]
}
]
},
"subscription": "0x00000000000000000000000000000000"
}
}
Bundle can be submitted as usual, either through the websocket or through our relay https://mempool.merkle.io/relay
.