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
height — number, optional. Block height. Default 0 (latest).
Returns
boolean — true if the DEX is paused.