import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class MarketChart extends APIResource { /** * To query historical market data of a NFT collection, including floor price, * market cap, and 24hr volume, by number of days away from now */ get(id: string, query: MarketChartGetParams, options?: RequestOptions): APIPromise; } export interface MarketChartGetResponse { /** * NFT collection floor price in native currency as [timestamp, price] pairs */ floor_price_native: Array>; /** * NFT collection floor price in USD as [timestamp, price] pairs */ floor_price_usd: Array>; /** * NFT collection 24h volume in native currency as [timestamp, volume] pairs */ h24_volume_native: Array>; /** * NFT collection 24h volume in USD as [timestamp, volume] pairs */ h24_volume_usd: Array>; /** * NFT collection market cap in native currency as [timestamp, market_cap] pairs */ market_cap_native: Array>; /** * NFT collection market cap in USD as [timestamp, market_cap] pairs */ market_cap_usd: Array>; } export interface MarketChartGetParams { /** * Data up to number of days ago. Valid values: any integer or `max` */ days: string; } export declare namespace MarketChart { export { type MarketChartGetResponse as MarketChartGetResponse, type MarketChartGetParams as MarketChartGetParams, }; } //# sourceMappingURL=market-chart.d.ts.map