Integrations
Connect to 256 Blocks using popular SDKs and AI agents
256 Blocks provides a standard JSON-RPC interface that works with any Ethereum-compatible library. This section covers integration guides for popular SDKs across different programming languages, as well as AI agent platforms.
Authentication
All integrations use the same authentication method. Include your Endpoint Key (found in the endpoint settings screen) in the X-API-Key header:
X-API-Key: your-endpoint-key
The RPC endpoint URL format is:
https://rpc.256blocks.com/{chain}
For example, to connect to Ethereum mainnet:
https://rpc.256blocks.com/ethereum
SDK Integrations
Choose your preferred programming language:
| Language | Libraries |
|---|---|
| JavaScript | ethers.js, viem, web3.js |
| .NET | Nethereum |
| Go | go-ethereum |
| Rust | Alloy, ethers-rs |
AI Agent Integrations
Connect 256 Blocks to AI platforms for automated blockchain interactions: