createEscrow(params)— create a new escrowreleaseEscrow(id, signer)— release funds to beneficiarygetEscrow(id)— read escrow state from contractgetGigs(params)— fetch paginated gigs via backend API with automatic retries for transient failures (429,5xx, network)
Fluent builder: .setDepositor().setBeneficiary().setAmount().build()
.on(event, handler)— subscribe to escrow events.startPolling(intervalMs, fetchFn)— begin polling
.raiseDispute(params)— raise a dispute (automatic retry on transient backend failures).getDispute(escrowId)— get dispute status (automatic retry on transient backend failures)
requestChallenge(apiUrl, address, options?)— get signing challenge with retry-aware backend transportverifyAndGetToken(apiUrl, address, signature, options?)— exchange signature for JWT with retry-aware backend transport
- Backend API endpoints now use a shared Axios transport configured with
axios-retry. - Default retry policy: 3 retries, exponential backoff (250ms base, 2000ms max cap).
- Retry conditions: network errors, HTTP
429, and HTTP5xxresponses. - Non-transient
4xxresponses are returned without retry.