Skip to main content
Errors from the Provider expose code, message, retryable, and optional retryAfter in seconds. Check code rather than relying on instanceof across scripts. Local utilities and cancellation may throw ordinary errors. SDK 0.1.0 exports isArksatProviderError(error), a structural guard that also accepts valid errors from other bundles, realms and structured-clone transports. It checks the known code, message and retryable fields without requiring instanceof.

Retry policy

Only retry reads explicitly marked retryable, using bounded backoff. The SDK does not remove upstream HTTP 429 limits. Do not automatically retry payments, asset mutations, or signatures. A timeout may occur after submission.