Skip to main content

Interface: DexApiReader

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / bridge / DexApiReader

Interface: DexApiReader

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1982

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>

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1983

Type Parameters​

T​

T

Parameters​

config​
method​

"GET"

params​

TokenListParams

url​

string

Returns​

Promise<T>