# flashbots-tx **Repository Path**: mirrors_metachris/flashbots-tx ## Basic Information - **Project Name**: flashbots-tx - **Description**: Flashbots utilities in Go: Blocks & Transactions API, and tools to spot bundle and block irregularities - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-03 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Utilities for [Flashbots](https://github.com/flashbots/pm) * Go API client for the [mev-blocks API](https://blocks.flashbots.net/) for information about Flashbots blocks and transactions * Detect bundle errors: (a) out of order, (b) lower gas fee than lowest non-fb tx * Detect failed Flashbots and other 0-gas transactions (can run over history or in 'watch' mode, webserver that serves recent detections) * Various related utilities Uses: * https://github.com/ethereum/go-ethereum * https://github.com/metachris/go-ethutils Related: * https://github.com/metachris/flashbots-rpc (callBundle, etc) Good starting points: * `cmd/api-test/main.go` * `cmd/block-watch/main.go` Reach out: [twitter.com/metachris](https://twitter.com/metachris) --- ## Flashbots Blocks & Transactions API https://blocks.flashbots.net/ Installation: ```bash go get github.com/metachris/flashbots/api ``` Usage: ```go // Blocks API: default block, err := api.GetBlocks(nil) // Blocks API: options opts := api.GetBlocksOptions{BlockNumber: 12527162} block, err := api.GetBlocks(&opts) // Transactions API: default txs, err := GetTransactions(nil) ```