Base
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Base
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
curl is the fastest way to test the Base JSON-RPC API without pulling in an SDK — handy for sanity-checking your endpoint, debugging a response, or scripting a quick health check in CI. Because Base is EVM-equivalent, the same eth_* methods you use on Ethereum work here against chain ID 8453. Every request is an HTTP POST carrying a JSON-RPC body, sent with the header Content-Type: application/json. Your API key lives in the URL path, so you send requests to https://base.therpc.io/YOUR_API_KEY.
By default your API key goes in the Base URL path (https://base.therpc.io/YOUR_API_KEY), but you can instead pass it as a Bearer token using the Authorization: Bearer YOUR_API_KEY header. Either way, all Base JSON-RPC requests must use POST with Content-Type: application/json.