Default request timeout in milliseconds (default 30000).
Send an HTTP request to the given URL, with automatic retries on transport errors.
Request configuration (URL, method, timeout, headers, etc.).
Optionaldata: string | objectRequest body, serialized to JSON via JSON.stringify.
The parsed JSON response (or raw text when json: false).
HttpResponseError when the server returns HTTP status >= 400.
HttpTimeoutError when the request exceeds the configured timeout.
HttpRequestFailed for transport-level failures (network, DNS, socket, etc.).
ProtectedserializeSerialize an object into a URL query string (including the leading ?).
Optionalobj: ObjectType
HTTP client used by Taquito to communicate with Tezos RPC nodes.
Uses
globalThis.fetch(Node.js >= 22 built-in or browser native). Retries retriable transport errors (socket resets, DNS, timeouts) with exponential backoff and jitter. Configure via environment variables:TAQUITO_HTTP_RETRY_COUNT- max retries (default1)TAQUITO_HTTP_RETRY_BASE_MS- base delay in ms (default100)TAQUITO_HTTP_TRACE- emit JSON request logs whentrueor1