Get Candlesticks

Historical candlesticks from the indexer, use getLatestMarketPrice for the latest orderbook prices.

See getCandlesticks API reference for more details.

Makes a call to Indexer API > Candlesticks via the SDK.

Usage

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

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

Last updated