import { APIResource } from "../../core/resource.js"; import * as ExchangesAPI from "./exchanges.js"; import { ExchangeGetIDParams, ExchangeGetIDResponse, ExchangeGetListResponse, ExchangeGetParams, ExchangeGetResponse, Exchanges } from "./exchanges.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Derivatives extends APIResource { exchanges: ExchangesAPI.Exchanges; /** * To query all the tickers from derivatives exchanges on CoinGecko */ get(options?: RequestOptions): APIPromise; } export type DerivativeGetResponse = Array; export declare namespace DerivativeGetResponse { interface DerivativeGetResponseItem { /** * Difference of derivative price and index price */ basis: number; /** * Derivative contract type */ contract_type: string; /** * Derivative expiry time in UNIX timestamp */ expired_at: number | null; /** * Derivative funding rate */ funding_rate: number; /** * Derivative underlying asset price */ index: number; /** * Derivative underlying asset */ index_id: string; /** * Derivative last traded time in UNIX timestamp */ last_traded_at: number; /** * Derivative market name */ market: string; /** * Derivative open interest */ open_interest: number; /** * Derivative ticker price */ price: string; /** * Derivative ticker price percentage change in 24 hours */ price_percentage_change_24h: number; /** * Derivative bid-ask spread */ spread: number; /** * Derivative ticker symbol */ symbol: string; /** * Derivative trading volume in 24 hours */ volume_24h: number; } } export declare namespace Derivatives { export { type DerivativeGetResponse as DerivativeGetResponse }; export { Exchanges as Exchanges, type ExchangeGetResponse as ExchangeGetResponse, type ExchangeGetIDResponse as ExchangeGetIDResponse, type ExchangeGetListResponse as ExchangeGetListResponse, type ExchangeGetParams as ExchangeGetParams, type ExchangeGetIDParams as ExchangeGetIDParams, }; } //# sourceMappingURL=derivatives.d.ts.map