@lelantos-org/sdk / index / HttpOptions
Interface: HttpOptions
Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:159
Transport options forwarded to the relayer, FMD and quoter clients.
Properties
fetch?
optional fetch?: (input, init?) => Promise<Response>;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:160
Parameters
| Parameter | Type |
|---|---|
input | RequestInfo | URL |
init? | RequestInit |
Returns
Promise<Response>
headers?
optional headers?: Readonly<Record<string, string>>;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:170
Added to every request, e.g. an API gateway key.
onRetry?
optional onRetry?: (info) => void;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:168
Must not throw; a throw is logged and swallowed.
Parameters
| Parameter | Type |
|---|---|
info | RetryInfo |
Returns
void
retries?
optional retries?: number;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:166
Additional attempts after the first. Submits retry only on no response, 429 and 503.
submitTimeoutMs?
optional submitTimeoutMs?: number;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:164
Per-attempt deadline for spend submits. Overrides preset.submitTimeoutMs.
timeoutMs?
optional timeoutMs?: number;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:162
Per-attempt deadline for reads and estimates.