Gets the index and mark prices of a given perp product.
See getPrices API reference for more details.
import { createVertexClient } from '@vertex-protocol/client'; const productId = 2 const vertexClient = await createVertexClient('testnet', ...); const res = await vertexClient.perp.getPrices(productId);
Last updated 2 days ago