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