Links

Bundle Submission with Gateway

Using the Gateway to propagate bundles

REQUEST

Method: blxr_submit_bundle
Submit a Flashbots bundle to a Gateway. The bundle will be propagated to the MEV relays (MEV builders) using the BDN. The gateway must be configured to run using flashbots mode. Refer to Gateway modes for instructions. This endpoint provides speed improvements compared to the same endpoint in Cloud-API.

Parameters

Please refer to Bundle Submission Parameters section for more information. When sending bundle to gateway, traders need to have Enterprise-Elite plan or higher in order to submit bundles to bloXroute builder; Professional plan or higher is required to submit bundles to Flashbots builder.

Example

Gateway
wscat -c ws://127.0.0.1:28333/ws --header "Authorization: <YOUR-AUTHORIZATION-HEADER>"
> {
"jsonrpc": "2.0",
"id": "1",
"method": "blxr_submit_bundle",
"params": {
"transaction": ["ab..ab", "cd..cd"],
"block_number": "0xba10d0",
"min_timestamp": 1616511391,
"max_timestamp": 1617806320,
"reverting_hashes": ["0xd8..ce", "0x50..d3"],
"mev_builders": {
"bloxroute": "",
"flashbots": "<signature>",
"all": ""
}
}
}

RESPONSE

Example

Gateway
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"status": "ok"
}
}