@coingecko/coingecko-typescript 1.14.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +6 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -3
- package/client.d.ts.map +1 -1
- package/client.js +6 -3
- package/client.js.map +1 -1
- package/client.mjs +6 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/coins/circulating-supply-chart.d.mts +7 -5
- package/resources/coins/circulating-supply-chart.d.mts.map +1 -1
- package/resources/coins/circulating-supply-chart.d.ts +7 -5
- package/resources/coins/circulating-supply-chart.d.ts.map +1 -1
- package/resources/coins/circulating-supply-chart.js +1 -1
- package/resources/coins/circulating-supply-chart.mjs +1 -1
- package/resources/coins/contract/market-chart.d.mts +13 -5
- package/resources/coins/contract/market-chart.d.mts.map +1 -1
- package/resources/coins/contract/market-chart.d.ts +13 -5
- package/resources/coins/contract/market-chart.d.ts.map +1 -1
- package/resources/coins/contract/market-chart.js +6 -1
- package/resources/coins/contract/market-chart.js.map +1 -1
- package/resources/coins/contract/market-chart.mjs +6 -1
- package/resources/coins/contract/market-chart.mjs.map +1 -1
- package/resources/coins/history.d.mts +2 -2
- package/resources/coins/history.d.ts +2 -2
- package/resources/coins/history.js +1 -1
- package/resources/coins/history.mjs +1 -1
- package/resources/coins/market-chart.d.mts +7 -5
- package/resources/coins/market-chart.d.mts.map +1 -1
- package/resources/coins/market-chart.d.ts +7 -5
- package/resources/coins/market-chart.d.ts.map +1 -1
- package/resources/coins/market-chart.js +1 -1
- package/resources/coins/market-chart.mjs +1 -1
- package/resources/coins/markets.d.mts +1 -1
- package/resources/coins/markets.d.ts +1 -1
- package/resources/coins/ohlc.d.mts +12 -5
- package/resources/coins/ohlc.d.mts.map +1 -1
- package/resources/coins/ohlc.d.ts +12 -5
- package/resources/coins/ohlc.d.ts.map +1 -1
- package/resources/coins/ohlc.js +6 -1
- package/resources/coins/ohlc.js.map +1 -1
- package/resources/coins/ohlc.mjs +6 -1
- package/resources/coins/ohlc.mjs.map +1 -1
- package/resources/coins/top-gainers-losers.d.mts +95 -5
- package/resources/coins/top-gainers-losers.d.mts.map +1 -1
- package/resources/coins/top-gainers-losers.d.ts +95 -5
- package/resources/coins/top-gainers-losers.d.ts.map +1 -1
- package/resources/coins/top-gainers-losers.js +1 -1
- package/resources/coins/top-gainers-losers.mjs +1 -1
- package/resources/coins/total-supply-chart.d.mts +8 -6
- package/resources/coins/total-supply-chart.d.mts.map +1 -1
- package/resources/coins/total-supply-chart.d.ts +8 -6
- package/resources/coins/total-supply-chart.d.ts.map +1 -1
- package/resources/coins/total-supply-chart.js +2 -2
- package/resources/coins/total-supply-chart.mjs +2 -2
- package/resources/derivatives/exchanges.d.mts +2 -2
- package/resources/derivatives/exchanges.d.ts +2 -2
- package/resources/derivatives/exchanges.js +2 -2
- package/resources/derivatives/exchanges.mjs +2 -2
- package/resources/entities.d.mts +54 -0
- package/resources/entities.d.mts.map +1 -0
- package/resources/entities.d.ts +54 -0
- package/resources/entities.d.ts.map +1 -0
- package/resources/entities.js +21 -0
- package/resources/entities.js.map +1 -0
- package/resources/entities.mjs +17 -0
- package/resources/entities.mjs.map +1 -0
- package/resources/exchanges/exchanges.d.mts +3 -3
- package/resources/exchanges/exchanges.d.ts +3 -3
- package/resources/exchanges/exchanges.js +3 -3
- package/resources/exchanges/exchanges.mjs +3 -3
- package/resources/exchanges/tickers.d.mts +2 -2
- package/resources/exchanges/tickers.d.mts.map +1 -1
- package/resources/exchanges/tickers.d.ts +2 -2
- package/resources/exchanges/tickers.d.ts.map +1 -1
- package/resources/exchanges/tickers.js +1 -1
- package/resources/exchanges/tickers.mjs +1 -1
- package/resources/exchanges/volume-chart.d.mts +2 -2
- package/resources/exchanges/volume-chart.d.ts +2 -2
- package/resources/exchanges/volume-chart.js +2 -2
- package/resources/exchanges/volume-chart.mjs +2 -2
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/onchain/networks/pools/info.d.mts +72 -48
- package/resources/onchain/networks/pools/info.d.mts.map +1 -1
- package/resources/onchain/networks/pools/info.d.ts +72 -48
- package/resources/onchain/networks/pools/info.d.ts.map +1 -1
- package/resources/onchain/networks/pools/info.js +5 -2
- package/resources/onchain/networks/pools/info.js.map +1 -1
- package/resources/onchain/networks/pools/info.mjs +5 -2
- package/resources/onchain/networks/pools/info.mjs.map +1 -1
- package/resources/onchain/networks/pools/multi.d.mts +35 -0
- package/resources/onchain/networks/pools/multi.d.mts.map +1 -1
- package/resources/onchain/networks/pools/multi.d.ts +35 -0
- package/resources/onchain/networks/pools/multi.d.ts.map +1 -1
- package/resources/onchain/networks/pools/ohlcv.d.mts +2 -2
- package/resources/onchain/networks/pools/ohlcv.d.mts.map +1 -1
- package/resources/onchain/networks/pools/ohlcv.d.ts +2 -2
- package/resources/onchain/networks/pools/ohlcv.d.ts.map +1 -1
- package/resources/onchain/networks/pools/ohlcv.js.map +1 -1
- package/resources/onchain/networks/pools/ohlcv.mjs.map +1 -1
- package/resources/onchain/networks/pools/pools.d.mts +35 -0
- package/resources/onchain/networks/pools/pools.d.mts.map +1 -1
- package/resources/onchain/networks/pools/pools.d.ts +35 -0
- package/resources/onchain/networks/pools/pools.d.ts.map +1 -1
- package/resources/onchain/networks/pools/pools.js.map +1 -1
- package/resources/onchain/networks/pools/pools.mjs.map +1 -1
- package/resources/onchain/networks/tokens/info.d.mts +1 -1
- package/resources/onchain/networks/tokens/info.d.mts.map +1 -1
- package/resources/onchain/networks/tokens/info.d.ts +1 -1
- package/resources/onchain/networks/tokens/info.d.ts.map +1 -1
- package/resources/onchain/networks/tokens/multi.d.mts +132 -0
- package/resources/onchain/networks/tokens/multi.d.mts.map +1 -1
- package/resources/onchain/networks/tokens/multi.d.ts +132 -0
- package/resources/onchain/networks/tokens/multi.d.ts.map +1 -1
- package/resources/onchain/networks/tokens/ohlcv.d.mts +2 -2
- package/resources/onchain/networks/tokens/ohlcv.d.mts.map +1 -1
- package/resources/onchain/networks/tokens/ohlcv.d.ts +2 -2
- package/resources/onchain/networks/tokens/ohlcv.d.ts.map +1 -1
- package/resources/onchain/networks/tokens/ohlcv.js.map +1 -1
- package/resources/onchain/networks/tokens/ohlcv.mjs.map +1 -1
- package/resources/onchain/networks/tokens/tokens.d.mts +15 -0
- package/resources/onchain/networks/tokens/tokens.d.mts.map +1 -1
- package/resources/onchain/networks/tokens/tokens.d.ts +15 -0
- package/resources/onchain/networks/tokens/tokens.d.ts.map +1 -1
- package/resources/onchain/networks/tokens/tokens.js.map +1 -1
- package/resources/onchain/networks/tokens/tokens.mjs.map +1 -1
- package/resources/onchain/pools/megafilter.d.mts +1 -1
- package/resources/onchain/pools/megafilter.d.mts.map +1 -1
- package/resources/onchain/pools/megafilter.d.ts +1 -1
- package/resources/onchain/pools/megafilter.d.ts.map +1 -1
- package/resources/public-treasury.d.mts +137 -0
- package/resources/public-treasury.d.mts.map +1 -0
- package/resources/public-treasury.d.ts +137 -0
- package/resources/public-treasury.d.ts.map +1 -0
- package/resources/public-treasury.js +40 -0
- package/resources/public-treasury.js.map +1 -0
- package/resources/public-treasury.mjs +36 -0
- package/resources/public-treasury.mjs.map +1 -0
- package/resources/simple/price.d.mts +2 -2
- package/resources/simple/price.d.ts +2 -2
- package/src/client.ts +24 -5
- package/src/resources/coins/circulating-supply-chart.ts +7 -5
- package/src/resources/coins/contract/market-chart.ts +13 -5
- package/src/resources/coins/history.ts +2 -2
- package/src/resources/coins/market-chart.ts +7 -5
- package/src/resources/coins/markets.ts +1 -1
- package/src/resources/coins/ohlc.ts +12 -5
- package/src/resources/coins/top-gainers-losers.ts +117 -5
- package/src/resources/coins/total-supply-chart.ts +8 -6
- package/src/resources/derivatives/exchanges.ts +2 -2
- package/src/resources/entities.ts +73 -0
- package/src/resources/exchanges/exchanges.ts +3 -3
- package/src/resources/exchanges/tickers.ts +9 -2
- package/src/resources/exchanges/volume-chart.ts +2 -2
- package/src/resources/index.ts +7 -1
- package/src/resources/onchain/networks/pools/info.ts +92 -54
- package/src/resources/onchain/networks/pools/multi.ts +61 -0
- package/src/resources/onchain/networks/pools/ohlcv.ts +2 -2
- package/src/resources/onchain/networks/pools/pools.ts +61 -0
- package/src/resources/onchain/networks/tokens/info.ts +1 -1
- package/src/resources/onchain/networks/tokens/multi.ts +211 -0
- package/src/resources/onchain/networks/tokens/ohlcv.ts +2 -2
- package/src/resources/onchain/networks/tokens/tokens.ts +25 -0
- package/src/resources/onchain/pools/megafilter.ts +7 -0
- package/src/resources/public-treasury.ts +178 -0
- package/src/resources/simple/price.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/companies/companies.d.mts +0 -10
- package/resources/companies/companies.d.mts.map +0 -1
- package/resources/companies/companies.d.ts +0 -10
- package/resources/companies/companies.d.ts.map +0 -1
- package/resources/companies/companies.js +0 -17
- package/resources/companies/companies.js.map +0 -1
- package/resources/companies/companies.mjs +0 -12
- package/resources/companies/companies.mjs.map +0 -1
- package/resources/companies/index.d.mts +0 -3
- package/resources/companies/index.d.mts.map +0 -1
- package/resources/companies/index.d.ts +0 -3
- package/resources/companies/index.d.ts.map +0 -1
- package/resources/companies/index.js +0 -9
- package/resources/companies/index.js.map +0 -1
- package/resources/companies/index.mjs +0 -4
- package/resources/companies/index.mjs.map +0 -1
- package/resources/companies/public-treasury.d.mts +0 -69
- package/resources/companies/public-treasury.d.mts.map +0 -1
- package/resources/companies/public-treasury.d.ts +0 -69
- package/resources/companies/public-treasury.d.ts.map +0 -1
- package/resources/companies/public-treasury.js +0 -25
- package/resources/companies/public-treasury.js.map +0 -1
- package/resources/companies/public-treasury.mjs +0 -21
- package/resources/companies/public-treasury.mjs.map +0 -1
- package/resources/companies.d.mts +0 -2
- package/resources/companies.d.mts.map +0 -1
- package/resources/companies.d.ts +0 -2
- package/resources/companies.d.ts.map +0 -1
- package/resources/companies.js +0 -6
- package/resources/companies.js.map +0 -1
- package/resources/companies.mjs +0 -3
- package/resources/companies.mjs.map +0 -1
- package/src/resources/companies/companies.ts +0 -18
- package/src/resources/companies/index.ts +0 -4
- package/src/resources/companies/public-treasury.ts +0 -89
- package/src/resources/companies.ts +0 -3
|
@@ -3,7 +3,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
4
|
export class Tickers extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* This endpoint allows you to **query exchange's tickers based on exchange
|
|
6
|
+
* This endpoint allows you to **query exchange's tickers based on exchange's ID**
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
|
@@ -4,7 +4,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
4
4
|
export declare class VolumeChart extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* This endpoint allows you to **query the historical volume chart data with time
|
|
7
|
-
* in UNIX and trading volume data in BTC based on exchange
|
|
7
|
+
* in UNIX and trading volume data in BTC based on exchange's ID**
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
@@ -17,7 +17,7 @@ export declare class VolumeChart extends APIResource {
|
|
|
17
17
|
get(id: string, query: VolumeChartGetParams, options?: RequestOptions): APIPromise<VolumeChartGetResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* This endpoint allows you to **query the historical volume chart data in BTC by
|
|
20
|
-
* specifying date range in UNIX based on exchange
|
|
20
|
+
* specifying date range in UNIX based on exchange's ID**
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
@@ -4,7 +4,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
4
4
|
export declare class VolumeChart extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* This endpoint allows you to **query the historical volume chart data with time
|
|
7
|
-
* in UNIX and trading volume data in BTC based on exchange
|
|
7
|
+
* in UNIX and trading volume data in BTC based on exchange's ID**
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
@@ -17,7 +17,7 @@ export declare class VolumeChart extends APIResource {
|
|
|
17
17
|
get(id: string, query: VolumeChartGetParams, options?: RequestOptions): APIPromise<VolumeChartGetResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* This endpoint allows you to **query the historical volume chart data in BTC by
|
|
20
|
-
* specifying date range in UNIX based on exchange
|
|
20
|
+
* specifying date range in UNIX based on exchange's ID**
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
@@ -7,7 +7,7 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
7
7
|
class VolumeChart extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* This endpoint allows you to **query the historical volume chart data with time
|
|
10
|
-
* in UNIX and trading volume data in BTC based on exchange
|
|
10
|
+
* in UNIX and trading volume data in BTC based on exchange's ID**
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
@@ -22,7 +22,7 @@ class VolumeChart extends resource_1.APIResource {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* This endpoint allows you to **query the historical volume chart data in BTC by
|
|
25
|
-
* specifying date range in UNIX based on exchange
|
|
25
|
+
* specifying date range in UNIX based on exchange's ID**
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* ```ts
|
|
@@ -4,7 +4,7 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
4
4
|
export class VolumeChart extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* This endpoint allows you to **query the historical volume chart data with time
|
|
7
|
-
* in UNIX and trading volume data in BTC based on exchange
|
|
7
|
+
* in UNIX and trading volume data in BTC based on exchange's ID**
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```ts
|
|
@@ -19,7 +19,7 @@ export class VolumeChart extends APIResource {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* This endpoint allows you to **query the historical volume chart data in BTC by
|
|
22
|
-
* specifying date range in UNIX based on exchange
|
|
22
|
+
* specifying date range in UNIX based on exchange's ID**
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
package/resources/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AssetPlatforms, type AssetPlatformGetResponse, type AssetPlatformGetParams, } from "./asset-platforms.mjs";
|
|
2
2
|
export { Coins, type CoinGetIDResponse, type CoinGetIDParams } from "./coins/coins.mjs";
|
|
3
|
-
export { Companies } from "./companies/companies.mjs";
|
|
4
3
|
export { Derivatives, type DerivativeGetResponse } from "./derivatives/derivatives.mjs";
|
|
4
|
+
export { Entities, type EntityGetListResponse, type EntityGetListParams } from "./entities.mjs";
|
|
5
5
|
export { ExchangeRates, type ExchangeRateGetResponse } from "./exchange-rates.mjs";
|
|
6
6
|
export { Exchanges, type ExchangeGetResponse, type ExchangeGetIDResponse, type ExchangeGetListResponse, type ExchangeGetParams, type ExchangeGetIDParams, type ExchangeGetListParams, } from "./exchanges/exchanges.mjs";
|
|
7
7
|
export { Global, type GlobalGetResponse } from "./global/global.mjs";
|
|
@@ -9,6 +9,7 @@ export { Key, type KeyGetResponse } from "./key.mjs";
|
|
|
9
9
|
export { NFTs, type NFTGetIDResponse, type NFTGetListResponse, type NFTGetMarketsResponse, type NFTGetListParams, type NFTGetMarketsParams, } from "./nfts/nfts.mjs";
|
|
10
10
|
export { Onchain } from "./onchain/onchain.mjs";
|
|
11
11
|
export { Ping, type PingGetResponse } from "./ping.mjs";
|
|
12
|
+
export { PublicTreasury, type PublicTreasuryGetCoinIDResponse, type PublicTreasuryGetEntityIDResponse, type PublicTreasuryGetCoinIDParams, } from "./public-treasury.mjs";
|
|
12
13
|
export { Search, type SearchGetResponse, type SearchGetParams } from "./search/search.mjs";
|
|
13
14
|
export { Simple } from "./simple/simple.mjs";
|
|
14
15
|
export { TokenLists, type TokenListGetAllJsonResponse } from "./token-lists.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACvD,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACvD,EAAE,WAAW,EAAE,KAAK,qBAAqB,EAAE;OAC3C,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAClE,EAAE,aAAa,EAAE,KAAK,uBAAuB,EAAE;OAC/C,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B;OACM,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE;OAClC,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE;OAC5B,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE;OAC9B,EACL,cAAc,EACd,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,GACnC;OACM,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE,KAAK,2BAA2B,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AssetPlatforms, type AssetPlatformGetResponse, type AssetPlatformGetParams, } from "./asset-platforms.js";
|
|
2
2
|
export { Coins, type CoinGetIDResponse, type CoinGetIDParams } from "./coins/coins.js";
|
|
3
|
-
export { Companies } from "./companies/companies.js";
|
|
4
3
|
export { Derivatives, type DerivativeGetResponse } from "./derivatives/derivatives.js";
|
|
4
|
+
export { Entities, type EntityGetListResponse, type EntityGetListParams } from "./entities.js";
|
|
5
5
|
export { ExchangeRates, type ExchangeRateGetResponse } from "./exchange-rates.js";
|
|
6
6
|
export { Exchanges, type ExchangeGetResponse, type ExchangeGetIDResponse, type ExchangeGetListResponse, type ExchangeGetParams, type ExchangeGetIDParams, type ExchangeGetListParams, } from "./exchanges/exchanges.js";
|
|
7
7
|
export { Global, type GlobalGetResponse } from "./global/global.js";
|
|
@@ -9,6 +9,7 @@ export { Key, type KeyGetResponse } from "./key.js";
|
|
|
9
9
|
export { NFTs, type NFTGetIDResponse, type NFTGetListResponse, type NFTGetMarketsResponse, type NFTGetListParams, type NFTGetMarketsParams, } from "./nfts/nfts.js";
|
|
10
10
|
export { Onchain } from "./onchain/onchain.js";
|
|
11
11
|
export { Ping, type PingGetResponse } from "./ping.js";
|
|
12
|
+
export { PublicTreasury, type PublicTreasuryGetCoinIDResponse, type PublicTreasuryGetEntityIDResponse, type PublicTreasuryGetCoinIDParams, } from "./public-treasury.js";
|
|
12
13
|
export { Search, type SearchGetResponse, type SearchGetParams } from "./search/search.js";
|
|
13
14
|
export { Simple } from "./simple/simple.js";
|
|
14
15
|
export { TokenLists, type TokenListGetAllJsonResponse } from "./token-lists.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACvD,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,cAAc,EACd,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,GAC5B;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACvD,EAAE,WAAW,EAAE,KAAK,qBAAqB,EAAE;OAC3C,EAAE,QAAQ,EAAE,KAAK,qBAAqB,EAAE,KAAK,mBAAmB,EAAE;OAClE,EAAE,aAAa,EAAE,KAAK,uBAAuB,EAAE;OAC/C,EACL,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B;OACM,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE;OAClC,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE;OAC5B,EACL,IAAI,EACJ,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE;OAC9B,EACL,cAAc,EACd,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,GACnC;OACM,EAAE,MAAM,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE;OACxD,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE,KAAK,2BAA2B,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.TokenLists = exports.Simple = exports.Search = exports.Ping = exports.Onchain = exports.NFTs = exports.Key = exports.Global = exports.Exchanges = exports.ExchangeRates = exports.
|
|
4
|
+
exports.TokenLists = exports.Simple = exports.Search = exports.PublicTreasury = exports.Ping = exports.Onchain = exports.NFTs = exports.Key = exports.Global = exports.Exchanges = exports.ExchangeRates = exports.Entities = exports.Derivatives = exports.Coins = exports.AssetPlatforms = void 0;
|
|
5
5
|
var asset_platforms_1 = require("./asset-platforms.js");
|
|
6
6
|
Object.defineProperty(exports, "AssetPlatforms", { enumerable: true, get: function () { return asset_platforms_1.AssetPlatforms; } });
|
|
7
7
|
var coins_1 = require("./coins/coins.js");
|
|
8
8
|
Object.defineProperty(exports, "Coins", { enumerable: true, get: function () { return coins_1.Coins; } });
|
|
9
|
-
var companies_1 = require("./companies/companies.js");
|
|
10
|
-
Object.defineProperty(exports, "Companies", { enumerable: true, get: function () { return companies_1.Companies; } });
|
|
11
9
|
var derivatives_1 = require("./derivatives/derivatives.js");
|
|
12
10
|
Object.defineProperty(exports, "Derivatives", { enumerable: true, get: function () { return derivatives_1.Derivatives; } });
|
|
11
|
+
var entities_1 = require("./entities.js");
|
|
12
|
+
Object.defineProperty(exports, "Entities", { enumerable: true, get: function () { return entities_1.Entities; } });
|
|
13
13
|
var exchange_rates_1 = require("./exchange-rates.js");
|
|
14
14
|
Object.defineProperty(exports, "ExchangeRates", { enumerable: true, get: function () { return exchange_rates_1.ExchangeRates; } });
|
|
15
15
|
var exchanges_1 = require("./exchanges/exchanges.js");
|
|
@@ -24,6 +24,8 @@ var onchain_1 = require("./onchain/onchain.js");
|
|
|
24
24
|
Object.defineProperty(exports, "Onchain", { enumerable: true, get: function () { return onchain_1.Onchain; } });
|
|
25
25
|
var ping_1 = require("./ping.js");
|
|
26
26
|
Object.defineProperty(exports, "Ping", { enumerable: true, get: function () { return ping_1.Ping; } });
|
|
27
|
+
var public_treasury_1 = require("./public-treasury.js");
|
|
28
|
+
Object.defineProperty(exports, "PublicTreasury", { enumerable: true, get: function () { return public_treasury_1.PublicTreasury; } });
|
|
27
29
|
var search_1 = require("./search/search.js");
|
|
28
30
|
Object.defineProperty(exports, "Search", { enumerable: true, get: function () { return search_1.Search; } });
|
|
29
31
|
var simple_1 = require("./simple/simple.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAI2B;AAHzB,iHAAA,cAAc,OAAA;AAIhB,0CAAoF;AAA3E,8FAAA,KAAK,OAAA;AACd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAI2B;AAHzB,iHAAA,cAAc,OAAA;AAIhB,0CAAoF;AAA3E,8FAAA,KAAK,OAAA;AACd,4DAAoF;AAA3E,0GAAA,WAAW,OAAA;AACpB,0CAA4F;AAAnF,oGAAA,QAAQ,OAAA;AACjB,sDAA+E;AAAtE,+GAAA,aAAa,OAAA;AACtB,sDAQ+B;AAP7B,sGAAA,SAAS,OAAA;AAQX,6CAAiE;AAAxD,gGAAA,MAAM,OAAA;AACf,gCAAiD;AAAxC,0FAAA,GAAG,OAAA;AACZ,uCAOqB;AANnB,4FAAA,IAAI,OAAA;AAON,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,kCAAoD;AAA3C,4FAAA,IAAI,OAAA;AACb,wDAK2B;AAJzB,iHAAA,cAAc,OAAA;AAKhB,6CAAuF;AAA9E,gGAAA,MAAM,OAAA;AACf,6CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,gDAA6E;AAApE,yGAAA,UAAU,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { AssetPlatforms, } from "./asset-platforms.mjs";
|
|
3
3
|
export { Coins } from "./coins/coins.mjs";
|
|
4
|
-
export { Companies } from "./companies/companies.mjs";
|
|
5
4
|
export { Derivatives } from "./derivatives/derivatives.mjs";
|
|
5
|
+
export { Entities } from "./entities.mjs";
|
|
6
6
|
export { ExchangeRates } from "./exchange-rates.mjs";
|
|
7
7
|
export { Exchanges, } from "./exchanges/exchanges.mjs";
|
|
8
8
|
export { Global } from "./global/global.mjs";
|
|
@@ -10,6 +10,7 @@ export { Key } from "./key.mjs";
|
|
|
10
10
|
export { NFTs, } from "./nfts/nfts.mjs";
|
|
11
11
|
export { Onchain } from "./onchain/onchain.mjs";
|
|
12
12
|
export { Ping } from "./ping.mjs";
|
|
13
|
+
export { PublicTreasury, } from "./public-treasury.mjs";
|
|
13
14
|
export { Search } from "./search/search.mjs";
|
|
14
15
|
export { Simple } from "./simple/simple.mjs";
|
|
15
16
|
export { TokenLists } from "./token-lists.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,cAAc,GAGf;OACM,EAAE,KAAK,EAAgD;OACvD,EAAE,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,cAAc,GAGf;OACM,EAAE,KAAK,EAAgD;OACvD,EAAE,WAAW,EAA8B;OAC3C,EAAE,QAAQ,EAAwD;OAClE,EAAE,aAAa,EAAgC;OAC/C,EACL,SAAS,GAOV;OACM,EAAE,MAAM,EAA0B;OAClC,EAAE,GAAG,EAAuB;OAC5B,EACL,IAAI,GAML;OACM,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAwB;OAC9B,EACL,cAAc,GAIf;OACM,EAAE,MAAM,EAAgD;OACxD,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAoC"}
|
|
@@ -18,70 +18,94 @@ export declare class Info extends APIResource {
|
|
|
18
18
|
get(poolAddress: string, params: InfoGetParams, options?: RequestOptions): APIPromise<InfoGetResponse>;
|
|
19
19
|
}
|
|
20
20
|
export interface InfoGetResponse {
|
|
21
|
-
data?: InfoGetResponse.Data
|
|
21
|
+
data?: Array<InfoGetResponse.Data>;
|
|
22
|
+
included?: Array<InfoGetResponse.Included>;
|
|
22
23
|
}
|
|
23
24
|
export declare namespace InfoGetResponse {
|
|
24
25
|
interface Data {
|
|
25
|
-
|
|
26
|
-
attributes?: Data.Attributes;
|
|
27
|
-
type?: string;
|
|
26
|
+
data?: Data.Data;
|
|
28
27
|
}
|
|
29
28
|
namespace Data {
|
|
30
|
-
interface
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
description?: string;
|
|
35
|
-
discord_url?: string;
|
|
36
|
-
freeze_authority?: string;
|
|
37
|
-
gt_categories_id?: Array<string>;
|
|
38
|
-
gt_score?: number;
|
|
39
|
-
gt_score_details?: Attributes.GtScoreDetails;
|
|
40
|
-
holders?: Attributes.Holders;
|
|
41
|
-
image?: Attributes.Image;
|
|
42
|
-
image_url?: string;
|
|
43
|
-
is_honeypot?: boolean;
|
|
44
|
-
mint_authority?: string;
|
|
45
|
-
name?: string;
|
|
46
|
-
symbol?: string;
|
|
47
|
-
telegram_handle?: string;
|
|
48
|
-
twitter_handle?: string;
|
|
49
|
-
websites?: Array<string>;
|
|
29
|
+
interface Data {
|
|
30
|
+
id?: string;
|
|
31
|
+
attributes?: Data.Attributes;
|
|
32
|
+
type?: string;
|
|
50
33
|
}
|
|
51
|
-
namespace
|
|
52
|
-
interface
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
34
|
+
namespace Data {
|
|
35
|
+
interface Attributes {
|
|
36
|
+
address?: string;
|
|
37
|
+
categories?: Array<string>;
|
|
38
|
+
coingecko_coin_id?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
discord_url?: string;
|
|
41
|
+
freeze_authority?: string;
|
|
42
|
+
gt_categories_id?: Array<string>;
|
|
43
|
+
gt_score?: number;
|
|
44
|
+
gt_score_details?: Attributes.GtScoreDetails;
|
|
45
|
+
holders?: Attributes.Holders;
|
|
46
|
+
image?: Attributes.Image;
|
|
47
|
+
image_url?: string;
|
|
48
|
+
is_honeypot?: boolean | string;
|
|
49
|
+
mint_authority?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
symbol?: string;
|
|
52
|
+
telegram_handle?: string;
|
|
53
|
+
twitter_handle?: string;
|
|
54
|
+
websites?: Array<string>;
|
|
63
55
|
}
|
|
64
|
-
namespace
|
|
65
|
-
interface
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
namespace Attributes {
|
|
57
|
+
interface GtScoreDetails {
|
|
58
|
+
creation?: number;
|
|
59
|
+
holders?: number;
|
|
60
|
+
info?: number;
|
|
61
|
+
pool?: number;
|
|
62
|
+
transaction?: number;
|
|
63
|
+
}
|
|
64
|
+
interface Holders {
|
|
65
|
+
count?: number;
|
|
66
|
+
distribution_percentage?: Holders.DistributionPercentage;
|
|
67
|
+
last_updated?: string;
|
|
68
|
+
}
|
|
69
|
+
namespace Holders {
|
|
70
|
+
interface DistributionPercentage {
|
|
71
|
+
'11_30'?: number;
|
|
72
|
+
'31_50'?: number;
|
|
73
|
+
rest?: number;
|
|
74
|
+
top_10?: number;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
interface Image {
|
|
78
|
+
large?: string;
|
|
79
|
+
small?: string;
|
|
80
|
+
thumb?: string;
|
|
70
81
|
}
|
|
71
|
-
}
|
|
72
|
-
interface Image {
|
|
73
|
-
large?: string;
|
|
74
|
-
small?: string;
|
|
75
|
-
thumb?: string;
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
}
|
|
85
|
+
interface Included {
|
|
86
|
+
id?: string;
|
|
87
|
+
attributes?: Included.Attributes;
|
|
88
|
+
type?: string;
|
|
89
|
+
}
|
|
90
|
+
namespace Included {
|
|
91
|
+
interface Attributes {
|
|
92
|
+
base_token_address?: string;
|
|
93
|
+
community_sus_report?: number;
|
|
94
|
+
quote_token_address?: string;
|
|
95
|
+
sentiment_vote_negative_percentage?: number;
|
|
96
|
+
sentiment_vote_positive_percentage?: number;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
79
99
|
}
|
|
80
100
|
export interface InfoGetParams {
|
|
81
101
|
/**
|
|
82
|
-
* network ID \*refers to [/networks](/reference/networks-list)
|
|
102
|
+
* Path param: network ID \*refers to [/networks](/reference/networks-list)
|
|
83
103
|
*/
|
|
84
104
|
network: string;
|
|
105
|
+
/**
|
|
106
|
+
* Query param: attributes to include
|
|
107
|
+
*/
|
|
108
|
+
include?: 'pool';
|
|
85
109
|
}
|
|
86
110
|
export declare namespace Info {
|
|
87
111
|
export { type InfoGetResponse as InfoGetResponse, type InfoGetParams as InfoGetParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.mts","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;
|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AE,CAAC,EAAE,MAAM,CAAC;QAEZ,UAAU,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC;QAEjC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,QAAQ,CAAC;QACxB,UAAiB,UAAU;YACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;YAE5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;YAE7B,kCAAkC,CAAC,EAAE,MAAM,CAAC;YAE5C,kCAAkC,CAAC,EAAE,MAAM,CAAC;SAC7C;KACF;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;CACzF"}
|
|
@@ -18,70 +18,94 @@ export declare class Info extends APIResource {
|
|
|
18
18
|
get(poolAddress: string, params: InfoGetParams, options?: RequestOptions): APIPromise<InfoGetResponse>;
|
|
19
19
|
}
|
|
20
20
|
export interface InfoGetResponse {
|
|
21
|
-
data?: InfoGetResponse.Data
|
|
21
|
+
data?: Array<InfoGetResponse.Data>;
|
|
22
|
+
included?: Array<InfoGetResponse.Included>;
|
|
22
23
|
}
|
|
23
24
|
export declare namespace InfoGetResponse {
|
|
24
25
|
interface Data {
|
|
25
|
-
|
|
26
|
-
attributes?: Data.Attributes;
|
|
27
|
-
type?: string;
|
|
26
|
+
data?: Data.Data;
|
|
28
27
|
}
|
|
29
28
|
namespace Data {
|
|
30
|
-
interface
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
description?: string;
|
|
35
|
-
discord_url?: string;
|
|
36
|
-
freeze_authority?: string;
|
|
37
|
-
gt_categories_id?: Array<string>;
|
|
38
|
-
gt_score?: number;
|
|
39
|
-
gt_score_details?: Attributes.GtScoreDetails;
|
|
40
|
-
holders?: Attributes.Holders;
|
|
41
|
-
image?: Attributes.Image;
|
|
42
|
-
image_url?: string;
|
|
43
|
-
is_honeypot?: boolean;
|
|
44
|
-
mint_authority?: string;
|
|
45
|
-
name?: string;
|
|
46
|
-
symbol?: string;
|
|
47
|
-
telegram_handle?: string;
|
|
48
|
-
twitter_handle?: string;
|
|
49
|
-
websites?: Array<string>;
|
|
29
|
+
interface Data {
|
|
30
|
+
id?: string;
|
|
31
|
+
attributes?: Data.Attributes;
|
|
32
|
+
type?: string;
|
|
50
33
|
}
|
|
51
|
-
namespace
|
|
52
|
-
interface
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
34
|
+
namespace Data {
|
|
35
|
+
interface Attributes {
|
|
36
|
+
address?: string;
|
|
37
|
+
categories?: Array<string>;
|
|
38
|
+
coingecko_coin_id?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
discord_url?: string;
|
|
41
|
+
freeze_authority?: string;
|
|
42
|
+
gt_categories_id?: Array<string>;
|
|
43
|
+
gt_score?: number;
|
|
44
|
+
gt_score_details?: Attributes.GtScoreDetails;
|
|
45
|
+
holders?: Attributes.Holders;
|
|
46
|
+
image?: Attributes.Image;
|
|
47
|
+
image_url?: string;
|
|
48
|
+
is_honeypot?: boolean | string;
|
|
49
|
+
mint_authority?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
symbol?: string;
|
|
52
|
+
telegram_handle?: string;
|
|
53
|
+
twitter_handle?: string;
|
|
54
|
+
websites?: Array<string>;
|
|
63
55
|
}
|
|
64
|
-
namespace
|
|
65
|
-
interface
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
namespace Attributes {
|
|
57
|
+
interface GtScoreDetails {
|
|
58
|
+
creation?: number;
|
|
59
|
+
holders?: number;
|
|
60
|
+
info?: number;
|
|
61
|
+
pool?: number;
|
|
62
|
+
transaction?: number;
|
|
63
|
+
}
|
|
64
|
+
interface Holders {
|
|
65
|
+
count?: number;
|
|
66
|
+
distribution_percentage?: Holders.DistributionPercentage;
|
|
67
|
+
last_updated?: string;
|
|
68
|
+
}
|
|
69
|
+
namespace Holders {
|
|
70
|
+
interface DistributionPercentage {
|
|
71
|
+
'11_30'?: number;
|
|
72
|
+
'31_50'?: number;
|
|
73
|
+
rest?: number;
|
|
74
|
+
top_10?: number;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
interface Image {
|
|
78
|
+
large?: string;
|
|
79
|
+
small?: string;
|
|
80
|
+
thumb?: string;
|
|
70
81
|
}
|
|
71
|
-
}
|
|
72
|
-
interface Image {
|
|
73
|
-
large?: string;
|
|
74
|
-
small?: string;
|
|
75
|
-
thumb?: string;
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
}
|
|
85
|
+
interface Included {
|
|
86
|
+
id?: string;
|
|
87
|
+
attributes?: Included.Attributes;
|
|
88
|
+
type?: string;
|
|
89
|
+
}
|
|
90
|
+
namespace Included {
|
|
91
|
+
interface Attributes {
|
|
92
|
+
base_token_address?: string;
|
|
93
|
+
community_sus_report?: number;
|
|
94
|
+
quote_token_address?: string;
|
|
95
|
+
sentiment_vote_negative_percentage?: number;
|
|
96
|
+
sentiment_vote_positive_percentage?: number;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
79
99
|
}
|
|
80
100
|
export interface InfoGetParams {
|
|
81
101
|
/**
|
|
82
|
-
* network ID \*refers to [/networks](/reference/networks-list)
|
|
102
|
+
* Path param: network ID \*refers to [/networks](/reference/networks-list)
|
|
83
103
|
*/
|
|
84
104
|
network: string;
|
|
105
|
+
/**
|
|
106
|
+
* Query param: attributes to include
|
|
107
|
+
*/
|
|
108
|
+
include?: 'pool';
|
|
85
109
|
}
|
|
86
110
|
export declare namespace Info {
|
|
87
111
|
export { type InfoGetResponse as InfoGetResponse, type InfoGetParams as InfoGetParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;CAOvG;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAEnC,QAAQ,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;CAC5C;AAED,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,IAAI;QACnB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;KAClB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,IAAI;YACnB,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC;YAE7B,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;QAED,UAAiB,IAAI,CAAC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,CAAC,EAAE,MAAM,CAAC;iBACvB;gBAED,UAAiB,OAAO,CAAC;oBACvB,UAAiB,sBAAsB;wBACrC,OAAO,CAAC,EAAE,MAAM,CAAC;wBAEjB,OAAO,CAAC,EAAE,MAAM,CAAC;wBAEjB,IAAI,CAAC,EAAE,MAAM,CAAC;wBAEd,MAAM,CAAC,EAAE,MAAM,CAAC;qBACjB;iBACF;gBAED,UAAiB,KAAK;oBACpB,KAAK,CAAC,EAAE,MAAM,CAAC;oBAEf,KAAK,CAAC,EAAE,MAAM,CAAC;oBAEf,KAAK,CAAC,EAAE,MAAM,CAAC;iBAChB;aACF;SACF;KACF;IAED,UAAiB,QAAQ;QACvB,EAAE,CAAC,EAAE,MAAM,CAAC;QAEZ,UAAU,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC;QAEjC,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,QAAQ,CAAC;QACxB,UAAiB,UAAU;YACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;YAE5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;YAE9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;YAE7B,kCAAkC,CAAC,EAAE,MAAM,CAAC;YAE5C,kCAAkC,CAAC,EAAE,MAAM,CAAC;SAC7C;KACF;CACF;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,CAAC;CACzF"}
|
|
@@ -19,8 +19,11 @@ class Info extends resource_1.APIResource {
|
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
21
|
get(poolAddress, params, options) {
|
|
22
|
-
const { network } = params;
|
|
23
|
-
return this._client.get((0, path_1.path) `/onchain/networks/${network}/pools/${poolAddress}/info`,
|
|
22
|
+
const { network, ...query } = params;
|
|
23
|
+
return this._client.get((0, path_1.path) `/onchain/networks/${network}/pools/${poolAddress}/info`, {
|
|
24
|
+
query,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
24
27
|
}
|
|
25
28
|
}
|
|
26
29
|
exports.Info = Info;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAGxD,6DAAuD;AAEvD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAmB,EAAE,MAAqB,EAAE,OAAwB;QACtE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAGxD,6DAAuD;AAEvD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAmB,EAAE,MAAqB,EAAE,OAAwB;QACtE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,OAAO,UAAU,WAAW,OAAO,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AArBD,oBAqBC"}
|
|
@@ -16,8 +16,11 @@ export class Info extends APIResource {
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
get(poolAddress, params, options) {
|
|
19
|
-
const { network } = params;
|
|
20
|
-
return this._client.get(path `/onchain/networks/${network}/pools/${poolAddress}/info`,
|
|
19
|
+
const { network, ...query } = params;
|
|
20
|
+
return this._client.get(path `/onchain/networks/${network}/pools/${poolAddress}/info`, {
|
|
21
|
+
query,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
21
24
|
}
|
|
22
25
|
}
|
|
23
26
|
//# sourceMappingURL=info.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.mjs","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAmB,EAAE,MAAqB,EAAE,OAAwB;QACtE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"info.mjs","sourceRoot":"","sources":["../../../../src/resources/onchain/networks/pools/info.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,WAAmB,EAAE,MAAqB,EAAE,OAAwB;QACtE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,OAAO,UAAU,WAAW,OAAO,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -31,25 +31,48 @@ export declare namespace MultiGetAddressesResponse {
|
|
|
31
31
|
namespace Data {
|
|
32
32
|
interface Attributes {
|
|
33
33
|
address?: string;
|
|
34
|
+
base_token_balance?: string;
|
|
35
|
+
base_token_liquidity_usd?: string;
|
|
34
36
|
base_token_price_native_currency?: string;
|
|
35
37
|
base_token_price_quote_token?: string;
|
|
36
38
|
base_token_price_usd?: string;
|
|
39
|
+
buy_volume_usd?: Attributes.BuyVolumeUsd;
|
|
37
40
|
fdv_usd?: string;
|
|
38
41
|
locked_liquidity_percentage?: string;
|
|
39
42
|
market_cap_usd?: string;
|
|
40
43
|
name?: string;
|
|
44
|
+
net_buy_volume_usd?: Attributes.NetBuyVolumeUsd;
|
|
41
45
|
pool_created_at?: string;
|
|
42
46
|
pool_fee_percentage?: string;
|
|
43
47
|
pool_name?: string;
|
|
44
48
|
price_change_percentage?: Attributes.PriceChangePercentage;
|
|
49
|
+
quote_token_balance?: string;
|
|
50
|
+
quote_token_liquidity_usd?: string;
|
|
45
51
|
quote_token_price_base_token?: string;
|
|
46
52
|
quote_token_price_native_currency?: string;
|
|
47
53
|
quote_token_price_usd?: string;
|
|
48
54
|
reserve_in_usd?: string;
|
|
55
|
+
sell_volume_usd?: Attributes.SellVolumeUsd;
|
|
49
56
|
transactions?: Attributes.Transactions;
|
|
50
57
|
volume_usd?: Attributes.VolumeUsd;
|
|
51
58
|
}
|
|
52
59
|
namespace Attributes {
|
|
60
|
+
interface BuyVolumeUsd {
|
|
61
|
+
h1?: string;
|
|
62
|
+
h24?: string;
|
|
63
|
+
h6?: string;
|
|
64
|
+
m15?: string;
|
|
65
|
+
m30?: string;
|
|
66
|
+
m5?: string;
|
|
67
|
+
}
|
|
68
|
+
interface NetBuyVolumeUsd {
|
|
69
|
+
h1?: string;
|
|
70
|
+
h24?: string;
|
|
71
|
+
h6?: string;
|
|
72
|
+
m15?: string;
|
|
73
|
+
m30?: string;
|
|
74
|
+
m5?: string;
|
|
75
|
+
}
|
|
53
76
|
interface PriceChangePercentage {
|
|
54
77
|
h1?: string;
|
|
55
78
|
h24?: string;
|
|
@@ -58,6 +81,14 @@ export declare namespace MultiGetAddressesResponse {
|
|
|
58
81
|
m30?: string;
|
|
59
82
|
m5?: string;
|
|
60
83
|
}
|
|
84
|
+
interface SellVolumeUsd {
|
|
85
|
+
h1?: string;
|
|
86
|
+
h24?: string;
|
|
87
|
+
h6?: string;
|
|
88
|
+
m15?: string;
|
|
89
|
+
m30?: string;
|
|
90
|
+
m5?: string;
|
|
91
|
+
}
|
|
61
92
|
interface Transactions {
|
|
62
93
|
h1?: Transactions.H1;
|
|
63
94
|
h24?: Transactions.H24;
|
|
@@ -174,6 +205,10 @@ export interface MultiGetAddressesParams {
|
|
|
174
205
|
* Available values: `base_token`, `quote_token`, `dex`
|
|
175
206
|
*/
|
|
176
207
|
include?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Query param: include pool composition, default: false
|
|
210
|
+
*/
|
|
211
|
+
include_composition?: boolean;
|
|
177
212
|
/**
|
|
178
213
|
* Query param: include volume breakdown, default: false
|
|
179
214
|
*/
|