Go Integration
Connect to 256 Blocks using Go
256 Blocks provides full compatibility with Go applications through the official go-ethereum library, the most widely used Ethereum client implementation.
Available Libraries
| Library | Description |
|---|---|
| go-ethereum | Official Go implementation of the Ethereum protocol |
Authentication
All Go integrations use the X-API-Key header for authentication. Use your Endpoint Key from the endpoint settings screen. This is configured via a custom HTTP transport.
RPC Endpoint
Use the following endpoint format:
https://rpc.256blocks.com/{chain}
Supported chains include ethereum, base, arbitrum, optimism, polygon, and bsc.