GetBdnBlockStream
Name: GetBdnBlockStream
The GetBdnBlockStream stream provides low-latency access to new blocks as they’re produced on the Base network. Note that there is a low chance that this stream may include blocks that will not be accepted on chain.
This is a real-time gRPC stream delivering full block headers and bodies (including transactions), intended for searchers, indexers, and other latency-sensitive applications.
Quickstart
Prerequisites
Go 1.24.1+
op-gethinstalled (pay attention to use it instread ofgo-ethereum)gRPC installed (
google.golang.org/grpc).protofile:streamer_api.proto
gRPC Endpoint
base.blxrbdn.com:443Authorization required via
authorizationheader
Authentication
Set your authorization header via environment variable:
export AUTH_HEADER="<your-auth-header>"In gRPC, this will be passed as:
Example: Test with grpcurl
This will return raw stream data — you can pretty-print it with jq.
GO Example: Listen for New Blocks on Base
🔗 You can get the .proto file here
🔗 You can access the Base streamer client here
Sample output:
Troubleshooting
Stream closes unexpectedly
Expired token, gRPC connection limits, network/firewall issues
Unmarshal errors
Mismatched Go or op-geth dependency
No output
Ensure proper env variables and endpoint configuration
Last updated