{"repo":"lmittmann/flashbots","free":true,"listed":false,"github":"https://github.com/lmittmann/flashbots","clone":"git clone https://github.com/lmittmann/flashbots.git","description":"Package flashbots implements RPC API bindings for the Flashbots relay and mev-geth for use with the w3 package.","language":"Go","stars":35,"topics":["golang","ethereum","rpc","web3","flashbots","mev","w3"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"flashbots ⚡🤖 Package flashbots implements RPC API bindings for the Flashbots relay and mev-geth for use with the w3 package. Install Getting Started [!NOTE] Check out the examples! Connect to the Flashbots relay. The w3.Client returned by Dial uses the AuthTransport to add the X-Flashbots-Signature header to every request. Send a bundle to the Flashbots relay. [!WARNING] The Flashbots relay does not support batch requests. Thus, sending more than one call in Client.Call will result in a server error. RPC Methods List of supported RPC methods. Method Go Code :----------------------------- :------- eth sendBundle flashbots.SendBundle(r flashbots.SendBundleRequest).Returns(bundleHash common.Hash) eth callBundle flashbots.CallBundle(r flashbots.CallBundleRequest).Returns(resp flashbots.CallBundleResponse) eth sendPrivateTransaction flashbots.SendPrivateTx(r flashbots.SendPrivateTxRequest).Returns(txHash common.Hash) eth cancelPrivateTransaction flashbots.CancelPrivateTx(txHash common.Hash).Returns(success bool) flashbots getUserStats flashbots.UserStats(blockNumber big.Int).Returns(resp flashbots.UserStatsResponse) flashbots getBundleStats flashbots.BundleStats(bundleHash common.Hash, blockNumber big.Int).Returns(resp flashbots.BundleStatsResponse) flashbots getUserStatsV2 flashbots.UserStatsV2(blockNumber big.Int).Returns(resp flashbots.UserStatsV2Response) flashbots getBundleStatsV2 flashbots.BundleStatsV2(bundleHash common.Hash, blockNumber big.Int).Returns(resp flashbots.Bun","default_branch":null,"files":null,"tree":[],"storefront":"/r/lmittmann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lmittmann/flashbots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}