Flashbots utilities in Go: Blocks & Transactions API, and tools to spot bundle and block irregularities
Uses:
Related:
Good starting points:
cmd/api-test/main.go
cmd/block-watch/main.go
Reach out: twitter.com/metachris
Installation:
go get github.com/metachris/flashbots/api
Usage:
// 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)