stats

package
v0.0.0-...-6c2a5d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package stats demonstrates how to send a bundle to Flashbots.

This follows the example provided in the Flashbots documentation (linked below). [Flashbots Documentation]: https://docs.flashbots.net/flashbots-auction/searchers/quick-start

When you send bundles to Flashbots they must be signed with a private key so that flashbots can establish identity and reputation for searchers. This private key does not store funds and is not the primary private key you use for executing transactions. Again, it is only used for identity, and it can be any private key.

Second, you'll need a way to interact with Flashbots. The Flashbots builder receives bundles at relay.flashbots.net. To send transactions, Flashbots provides specific RPC endpoints. For example, below we demonstrate using the glashbots_getUserStats rpc endpoint to fetch the searcher's statistics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL