Retrieves the latest off-chain orderbook price from the engine.
See getLatestMarketPrice API reference for more details.
Makes a call to REST API > Queries > Market Price via the SDK.
import { createVertexClient } from '@vertex-protocol/client'; const vertexClient = await createVertexClient('arbitrumTestnet', ...); const res = await vertexClient.market.getLatestMarketPrice(...);
Last updated 3 months ago