Skip to main content

bridge/interfaces/DexApiReader.md

Sends a DEX API GET and resolves with its parsed JSON body: a GalaConnectClient, or any client with this request (launchpad-sdk's HttpClient). A failure that is not a GalaSDKError is read for an HTTP status (status or statusCode) to say what it was.

Methods​

request()​

request<T>(config): Promise<T>

Type Parameters​

Type Parameter
T

Parameters​

ParameterType
config{ method: "GET"; params: TokenListParams; url: string; }
config.method"GET"
config.paramsTokenListParams
config.urlstring

Returns​

Promise<T>