Interface: OnramperOptions
gSwap SDK 2.0.0-rc.4 / OnramperOptions
Interface: OnramperOptions
Defined in: packages/gswap-sdk/dist/index.d.ts:2307
Options of createOnramper.
Properties
dexBackendBaseUrl
dexBackendBaseUrl:
string
Defined in: packages/gswap-sdk/dist/index.d.ts:2309
The swap backend's base URL (no trailing slash needed).
httpRequestor?
optionalhttpRequestor?:HttpRequestor
Defined in: packages/gswap-sdk/dist/index.d.ts:2311
Your own HTTP requestor instead of fetch.
timeoutMs?
optionaltimeoutMs?:number
Defined in: packages/gswap-sdk/dist/index.d.ts:2313
Request timeout in milliseconds (default 30 000).
wire?
optionalwire?:WireOptions
Defined in: packages/gswap-sdk/dist/index.d.ts:2315
Query encoding and User-Agent of the requests.