During the initial development of Blink, searchers will need to be onboarded for access. Searchers should reach out to or @YNBlink / @ciaranmcveigh on telegram or discord for access.
The V2 WebSocket is designed for ease of integration. It uses the MEVBlocker Schema meaning if you have integrated with MEVBlocker no code changes are required for you to search on Blink's order flow.
Connecting to Blink's WebSocket
You can connect to Blink's WebSocket via wss://ethauction.blinklabs.xyz/ws/v2/{$API_KEY}.
As soon as you connect to the WebSocket transactions will sent over that connection.
eth_subscribe
Unlike MEVBlocker you DO NOT need to write eth_subscribe to the WebSocket to begin receiving transactions. However, if you do the system is set up to handle that request.
Note there is an option for originators to obfuscate the "from" value.
eth_sendBundle
Bundles can be sent via the WebSocket or via HTTP. Both follow the same format where the target transaction is referenced by the 32-byte transaction hash.
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendBundle",
"params": [
{
"txs": [
"0xfec1700ef24c9ff6fd2e07584a16bbb2fec1700ef24c9ff6fd2e07584a16bbb2", // this is the 32-byte transaction hash of the target transaction
"0xabc123.." // this is your signed encoded transaction
],
"blockNumber": "0xb63dcd"
}
]
}
All optional fields are also accepted.
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendBundle",
"params": [
{
txs,
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
}
]
}
WebSocket Submission
WebSocket submission occurs on the wss://ethauction.blinklabs.xyz/ws/v2/{$API_KEY} endpoint. A JSON RPC response will be written back to the WebSocket with either the bundle hash or an error.
Blink currently sends bundles to builder who have bundle refund mechanisms in place, specifically the refundPercent & refundRecipient flags on their eth_sendBundle endpoint. These include,