Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

dexStatus

Read whether the DEX is currently paused.

Signature

function dexStatus(
  client: Client,
  parameters?: { height?: number },
): Promise<boolean>

Example

import { createPublicClient, createTransport, testnet } from "@left-curve/sdk"
 
const client = createPublicClient({ chain: testnet, transport: createTransport() })
const paused = await client.dexStatus()

Parameters

heightnumber, optional. Block height. Default 0 (latest).

Returns

booleantrue if the DEX is paused.

See also