Avalanche
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Avalanche
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
curl is the fastest way to poke at the Avalanche C-Chain without pulling in an SDK — ideal for testing an endpoint, debugging a malformed payload, or wiring an RPC call into a shell script or CI job. Every C-Chain JSON-RPC request is an HTTP POST with the header Content-Type: application/json, carrying a JSON body that names the method and params. Your API key goes in the URL path: https://avalanche.therpc.io/YOUR_API_KEY.
You can authenticate to the C-Chain endpoint two ways: place the key directly in the URL path (https://avalanche.therpc.io/YOUR_API_KEY), or send it as a Bearer token in the Authorization: Bearer YOUR_API_KEY header. Either way, the request must be a POST with Content-Type: application/json — Avalanche JSON-RPC does not accept GET requests.