Skip to main content

Cancelling Bundles

In case original bundle contained replacementUuid you can cancel it using this endpoint. Note, cancelling a bundle via replacing it with incorrect bundle with the same replacementUuid is not guaranteeing that the original bundle will be cancelled.

Cancel bundle endpoint

{
jsonrpc: "2.0",
id: string | number,
method: "mev_cancelBundle",
params: [
{
replacemendUuid: string,
},
Array<string>, /* Array of builders, optional argument */
]
}

Example body

{"id":1,"jsonrpc":"2.0","method":"mev_cancelBundle","params":[{"replacementUuid":"123"},["beaverbuild.org","titan","rsync"]]}

Builders

It is encouraged to use the same set of builders as the original bundle. This is to ensure that the bundle is cancelled correctly. In case you omitted second argument, bundle will still be cancelled but underlying operation will be less performant. List of builders that support bundle cancellation can be found here