Avalanche
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Avalanche
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
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.