Batch request

A batch request is a single JSON-RPC message containing an array of call objects, which the node answers with an array of results, letting a client send many methods in one round-trip.

Instead of one HTTP call per method, JSON-RPC lets you send an array of calls and receive an array of matching results keyed by id. This slashes network overhead when fetching, say, balances for many addresses or receipts for many hashes. You still respect rate limits and each call meters as its own request, so batching saves latency, not credits. Our archive RPC accepts standard JSON-RPC batches, so existing batching code works unchanged against our endpoint.

Términos relacionados

Convierte el concepto en una llamada a la API

Cada término aquí se traduce en una primitiva que ya puedes llamar — recarga créditos y publica.

Obtener clave API