interface CoinGeckoNodeParameters {
baseCurrencies?: unknown[];
baseCurrency?: string;
coinId?: string;
contractAddress?: string;
contractAddresses?: string;
date?: string;
days?:
| "1"
| "7"
| "14"
| "30"
| "90"
| "180"
| "365"
| "max";
limit?: number;
operation?: | "get"
| "getAll"
| "candlestick"
| "history"
| "market"
| "marketChart"
| "price"
| "ticker";
options?: | {
category?: "decentralized_finance_defi";
ids?: string;
order?: | "gecko_asc"
| "gecko_desc"
| "id_asc"
| "id_desc"
| "market_cap_asc"
| "market_cap_desc"
| "volume_asc"
| "volume_desc";
price_change_percentage?: (
| "1h"
| "24h"
| "7d"
| "14d"
| "30d"
| "200d"
| "1y"
)[];
sparkline?: boolean;
}
| {
include_24hr_change?: boolean;
include_24hr_vol?: boolean;
include_last_updated_at?: boolean;
include_market_cap?: boolean;
}
| {
exchange_ids?: unknown[];
include_exchange_logo?: boolean;
order?: | "volume_desc"
| "trust_score_desc"
| "trust_score_asc";
}
| { localization?: boolean }
| {
community_data?: boolean;
developer_data?: boolean;
localization?: boolean;
market_data?: boolean;
sparkline?: boolean;
tickers?: boolean;
}
| {
country_code?: string;
from_date?: string;
to_date?: string;
type?: string;
upcoming_events_only?: boolean;
};
platformId?: "ethereum";
quoteCurrencies?: unknown[];
quoteCurrency?: string;
resource?: "event"
| "coin";
returnAll?: boolean;
searchBy?: "coinId" | "contractAddress";
}
Properties§
Source§readonly base Currency?: string
readonly base Currency?: string
The first currency in the pair. For BTC:ETH this is BTC. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCoins"}
Source§readonly coin Id?: string
readonly coin Id?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getCoins"}
Source§readonly days?: "1" | "7" | "14" | "30" | "90" | "180" | "365" | "max"
readonly days?: "1" | "7" | "14" | "30" | "90" | "180" | "365" | "max"
Return data for this many days in the past from now
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}
Source§readonly operation?:
| "get"
| "getAll"
| "candlestick"
| "history"
| "market"
| "marketChart"
| "price"
| "ticker"
readonly operation?:
| "get"
| "getAll"
| "candlestick"
| "history"
| "market"
| "marketChart"
| "price"
| "ticker"
Default: "getAll"
Source§readonly options?:
| {
category?: "decentralized_finance_defi";
ids?: string;
order?: | "gecko_asc"
| "gecko_desc"
| "id_asc"
| "id_desc"
| "market_cap_asc"
| "market_cap_desc"
| "volume_asc"
| "volume_desc";
price_change_percentage?: (
| "1h"
| "24h"
| "7d"
| "14d"
| "30d"
| "200d"
| "1y"
)[];
sparkline?: boolean;
}
| {
include_24hr_change?: boolean;
include_24hr_vol?: boolean;
include_last_updated_at?: boolean;
include_market_cap?: boolean;
}
| {
exchange_ids?: unknown[];
include_exchange_logo?: boolean;
order?: | "volume_desc"
| "trust_score_desc"
| "trust_score_asc";
}
| { localization?: boolean }
| {
community_data?: boolean;
developer_data?: boolean;
localization?: boolean;
market_data?: boolean;
sparkline?: boolean;
tickers?: boolean;
}
| {
country_code?: string;
from_date?: string;
to_date?: string;
type?: string;
upcoming_events_only?: boolean;
}
readonly options?:
| {
category?: "decentralized_finance_defi";
ids?: string;
order?: | "gecko_asc"
| "gecko_desc"
| "id_asc"
| "id_desc"
| "market_cap_asc"
| "market_cap_desc"
| "volume_asc"
| "volume_desc";
price_change_percentage?: (
| "1h"
| "24h"
| "7d"
| "14d"
| "30d"
| "200d"
| "1y"
)[];
sparkline?: boolean;
}
| {
include_24hr_change?: boolean;
include_24hr_vol?: boolean;
include_last_updated_at?: boolean;
include_market_cap?: boolean;
}
| {
exchange_ids?: unknown[];
include_exchange_logo?: boolean;
order?: | "volume_desc"
| "trust_score_desc"
| "trust_score_asc";
}
| { localization?: boolean }
| {
community_data?: boolean;
developer_data?: boolean;
localization?: boolean;
market_data?: boolean;
sparkline?: boolean;
tickers?: boolean;
}
| {
country_code?: string;
from_date?: string;
to_date?: string;
type?: string;
upcoming_events_only?: boolean;
}
Default: {}
Source§readonly quote Currencies?: unknown[]
readonly quote Currencies?: unknown[]
The second currency in the pair. For BTC:ETH this is ETH. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getCurrencies"}
Source§readonly quote Currency?: string
readonly quote Currency?: string
The second currency in the pair. For BTC:ETH this is ETH. Choose from the list, or specify an ID using an expression. Type options: {"loadOptionsMethod":"getCurrencies"}
The first currency in the pair. For BTC:ETH this is BTC. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getCoins"}