Skip to main content

Interface: OnramperOptions

Options of createOnramper.

Properties​

PropertyTypeDescription
dexBackendBaseUrlstringThe swap backend's base URL (no trailing slash needed).
httpRequestor?HttpRequestorYour own HTTP requestor instead of fetch.
timeoutMs?numberRequest timeout in milliseconds (default 30 000).
wire?WireOptionsQuery encoding and User-Agent of the requests.