A promise that resolves with an array of chart logs within the specified interval.
import { getLatestChartLog, CHART_LOG_INTERVALS } from '@clober/v2-sdk'
const logs = await getChartLogs({
chainId: 421614,
quote: '0x00bfd44e79fb7f6dd5887a9426c8ef85a0cd23e0',
base: '0x0000000000000000000000000000000000000000',
intervalType: CHART_LOG_INTERVALS.oneDay,
from: 1687305600,
to: 1713312000,
})
Retrieves chart logs for a specific market within a specified time interval.