Get prices

Gets the index and mark prices of a given perp product.

See getPrices API reference for more details.

Usage

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

const productId = 2
const vertexClient = await createVertexClient('testnet', ...);
const res = await vertexClient.perp.getPrices(productId);

Last updated