Skip to content
Docs

Overview

Idempotency and retries

Which Cloud API calls are safe to retry and how to retry without duplicating work.

Overview

Read-only GETs are safe to retry on network blips. POSTs that move value (broadcast, prepare) are not automatically idempotent—use your own idempotency keys in application logic and avoid double-broadcasting the same signed payload.

Retryable errors

When error.retryable is true, backoff and retry with jitter. Permanent failures (invalid_argument, unauthorized) need a code or config change.

Timeouts

Multi-chain portfolio and batch price requests query several chains at once, so use generous client timeouts of 30 to 60 seconds. Portfolio multi accepts up to 20 chain IDs per request, and request bodies are limited to 256 KiB.