Get Latest Market Price

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.

Usage

import { createVertexClient } from '@vertex-protocol/client';

const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.market.getLatestMarketPrice(...);

Last updated