Dokumentation
Berachain
Berachain JSON-RPC API documentation on TheRPC — methods, guides, and SDK examples.
Getting started
Quick StartGet a TheRPC API key and make your first Berachain JSON-RPC call with curl, JavaScript, and Python in minutes — plus web3 library setup.
AuthenticationHow to obtain, use, and secure a TheRPC API key for Berachain requests, including Bearer header placement, environment variable setup, and error handling.
Rate LimitsHow TheRPC rate-limits Berachain API requests, what the error looks like, and how to handle it with retries, batching, caching, and WebSocket subscriptions.
API OverviewTechnical overview of TheRPC's Berachain JSON-RPC 2.0 API: HTTP and WebSocket endpoints, request and response formats, authentication, and method categories.
FAQBerachain API FAQ on TheRPC — authentication, rate limits, error codes, transaction tracking, finality, performance tuning, and switching networks.
Basic OperationsCommon Berachain operations on TheRPC: check BERA balances, query transactions and receipts, read blocks, call contracts, and fetch gas price and nonce.
All MethodsFull reference of every supported Berachain JSON-RPC method on TheRPC across the eth_, debug_, trace_, net_, txpool_, and web3_ namespaces with CU costs.