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 before this timestamp (newest first). Use the next_cursor value from a previous response to paginate backwards through history. Only applicable when timeframe=raw.
Timestamp of the oldest record in the current page (Unix seconds). Pass as cursor to fetch the next (older) 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).
Base58 transaction signature of the UpdateMidprice or UpdateMidpriceAndSpreadFactor instruction that produced this update. null for historical records ingested before signature tracking was added.