Get Market Liquidity
Retrieves liquidity per price tick from the engine. The engine will skip price levels that have no liquidity, so it is not guaranteed that the bids/asks are evenly spaced.
Makes a call to REST API > Queries > Market Liquidity via the SDK.
Usage
import { createVertexClient } from '@vertex-protocol/client';
const vertexClient = await createVertexClient('arbitrumTestnet', ...);
const res = await vertexClient.market.getMarketLiquidity(...);
Last updated