Sample interval. One of: 1m, 5m, 30m, 1h, 2h, 4h, 12h, 24h, raw.When set to raw, every recorded midprice point is returned without bucketing/sampling. Results are paginated via cursor.
Unix timestamp in seconds. Fetch records after this timestamp. Use the next_cursor value from a previous response to paginate. Only applicable when timeframe=raw.
Timestamp of the last record in the current page (Unix seconds). Use as the cursor param to fetch the next page. null when there are no more records. Only present when timeframe=raw.
Raw midprice value. This is the on-chain Q32-decoded midprice representing token_y per token_x in raw units. To get a human-readable price, multiply by 10^(decimals_x - decimals_y).