Skip to main content

Interface: DexFeesClient

The transport and backend a fee quote reads from.

Properties​

PropertyTypeDescription
dexBackendBaseUrlstringSwap backend origin, e.g. https://dex-backend-prod1.defi.gala.com.
httpRequestor?HttpRequestorDefaults to the global fetch.
requestTimeoutMs?numberPer-request timeout in milliseconds (default 30 000).
wire?WireOptionsRequest headers of the fee POST (userAgent, headers); see WireOptions. The SDK's Accept: application/json is a default that wire.headers may replace.