OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Flashbots

Flashbots is an open-source Go library that implements RPC API bindings for the Flashbots relay and mev-geth for use with the w3 package. It exposes methods for submitting and simulating bundles, sending and cancelling private transactions, and retrieving V2 user and bundle statistics.

Independent OpenViST project profile, based on linked sources.

Flashbots — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Go application built around w3 needs the documented Flashbots relay or mev-geth RPC methods, rather than implementing those bindings itself.

Who it is for

  • Go developers integrating Flashbots relay or mev-geth RPC calls into Ethereum applications.
  • Teams building transaction services or utilities for bundle simulation, private transaction handling, or Flashbots statistics.

Documented uses

  • Submit a signed transaction bundle to the Flashbots relay.
  • Call bundle simulation and inspect its response.
  • Send or cancel a private transaction.
  • Retrieve user or bundle statistics through the V2 RPC methods.
Before you choose

Requirements & limits

The repository is public and identifies the project as MIT-licensed. Installation is documented with `go get`; relay requests use a private key for signing, while the README also shows connecting to an RPC endpoint that does not require signed requests.

  • The library is designed for use with the Go w3 package.
  • Relay connections use signed requests; other RPC endpoints can be connected without signed requests when they do not require them.
  • The relay does not support batched calls through a single Client.Call.
  • The README lists V2 user and bundle statistics methods and marks the older versions as deprecated.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install the Go package and connect to an RPC endpoint

Add the package to a Go project and follow the documented connection patterns for the Flashbots relay or an endpoint that does not require signed requests.

Before you start

  • A Go project
  • The w3 package used by the library
  • A private key for signing requests when connecting to the Flashbots relay

Steps

  1. Add the dependency with the command below.

    Documented command
    go get github.com/lmittmann/flashbots
  2. For the Flashbots relay, use flashbots.MustDial with the relay URL and a private key; the returned client adds the X-Flashbots-Signature header.

  3. For an RPC endpoint that does not require signed requests, use w3.MustDial with that endpoint.

Expected outcome

A Go client connection pattern for making Flashbots relay or unsigned-endpoint RPC calls.

Guide limitations

  • The Flashbots relay does not support batch requests; multiple calls in one Client.Call result in a server error.
  • This guide covers package installation and connection setup, not application execution or transaction outcomes.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
14 October 2026
Original website title
lmittmann/flashbots · Official homepage title · retained in its source language