@tapline/client 0.2.22 → 0.2.23
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/dist/cjs/services/ponsfamily/client.d.ts +17 -17
- package/dist/cjs/services/ponsfamily/client.d.ts.map +1 -1
- package/dist/cjs/services/ponsfamily/client.js +20 -20
- package/dist/cjs/services/ponsfamily/client.js.map +1 -1
- package/dist/cjs/services/ponsfamily/types.d.ts +26 -88
- package/dist/cjs/services/ponsfamily/types.d.ts.map +1 -1
- package/dist/cjs/services/pumpfun/client.d.ts +3 -13
- package/dist/cjs/services/pumpfun/client.d.ts.map +1 -1
- package/dist/cjs/services/pumpfun/client.js +2 -26
- package/dist/cjs/services/pumpfun/client.js.map +1 -1
- package/dist/cjs/services/pumpfun/types.d.ts +3 -95
- package/dist/cjs/services/pumpfun/types.d.ts.map +1 -1
- package/dist/services/ponsfamily/client.d.ts +17 -17
- package/dist/services/ponsfamily/client.d.ts.map +1 -1
- package/dist/services/ponsfamily/client.js +20 -20
- package/dist/services/ponsfamily/client.js.map +1 -1
- package/dist/services/ponsfamily/types.d.ts +26 -88
- package/dist/services/ponsfamily/types.d.ts.map +1 -1
- package/dist/services/pumpfun/client.d.ts +3 -13
- package/dist/services/pumpfun/client.d.ts.map +1 -1
- package/dist/services/pumpfun/client.js +2 -26
- package/dist/services/pumpfun/client.js.map +1 -1
- package/dist/services/pumpfun/types.d.ts +3 -95
- package/dist/services/pumpfun/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseClient } from '../../base.js';
|
|
2
|
-
import type { CreatorHoldingsRequest, GetAnalyticsResponse, GetCreatorHoldingsResponse, GetDeveloperTradesParams, GetDeveloperTradesResponse, GetEthPriceResponse, GetFeeSharingParams, GetFeeSharingResponse, GetForumCommunityParams, GetForumCommunityResponse, GetForumHoldingParams, GetForumHoldingResponse, GetForumMarketResponse, GetForumPostCommentsParams, GetForumPostCommentsResponse, GetForumPostParams, GetForumPostResponse, GetMarketAthParams, GetMarketAthResponse, GetMarketBurnedParams, GetMarketBurnedResponse, GetMarketChartParams, GetMarketChartResponse, GetMarketHoldersParams, GetMarketHoldersResponse, GetMarketOrderDepthParams, GetMarketOrderDepthResponse, GetMarketParams, GetMarketResponse, GetMarketTipParams, GetMarketTipResponse, GetMarketTradesParams, GetPortfolioChartParams, GetPortfolioChartResponse, GetProfileParams, GetProfileResponse, GetTokenImagesParams, GetTokenImagesResponse, GetTokenParams, GetTokenResponse, GetV2CreatorFeesParams, GetV2CreatorFeesResponse, GetV2DistributorParams, GetV2DistributorResponse, GetV2MarketChartParams, GetV2MarketChartResponse, GetV2MarketHoldersParams, GetV2MarketHoldersResponse, GetV2MarketTradesParams, GetV2MarketTradesResponse, GetWalletIdentitiesParams, GetWalletIdentitiesResponse, GetWalletPositionsParams, GetWalletPositionsResponse,
|
|
2
|
+
import type { CreatorHoldingsRequest, GetAnalyticsResponse, GetCreatorHoldingsResponse, GetDeveloperTradesParams, GetDeveloperTradesResponse, GetEthPriceResponse, GetFeeSharingParams, GetFeeSharingResponse, GetForumCommunityParams, GetForumCommunityResponse, GetForumHoldingParams, GetForumHoldingResponse, GetForumMarketResponse, GetForumPostCommentsParams, GetForumPostCommentsResponse, GetForumPostParams, GetForumPostResponse, GetMarketAthParams, GetMarketAthResponse, GetMarketBurnedParams, GetMarketBurnedResponse, GetMarketChartParams, GetMarketChartResponse, GetMarketHoldersParams, GetMarketHoldersResponse, GetMarketOrderDepthParams, GetMarketOrderDepthResponse, GetMarketParams, GetMarketResponse, GetMarketTipParams, GetMarketTipResponse, GetMarketTradesParams, GetPortfolioChartParams, GetPortfolioChartResponse, GetProfileParams, GetProfileResponse, GetTokenImagesParams, GetTokenImagesResponse, GetTokenParams, GetTokenResponse, GetV2CreatorFeesParams, GetV2CreatorFeesResponse, GetV2DistributorParams, GetV2DistributorResponse, GetV2MarketChartParams, GetV2MarketChartResponse, GetV2MarketHoldersParams, GetV2MarketHoldersResponse, GetV2MarketTradesParams, GetV2MarketTradesResponse, GetWalletIdentitiesParams, GetWalletIdentitiesResponse, GetWalletPositionsParams, GetWalletPositionsResponse, ListCtoMigrationsResponse, ListForumCommunitiesParams, ListForumCommunitiesResponse, ListForumPostsParams, ListForumPostsResponse, ListGraduatedCatalogParams, ListGraduatedCatalogResponse, ListGraduationsParams, ListGraduationsResponse, ListLaunchesParams, ListLaunchesResponse, ListLiveMarketsParams, LiveMarket, MarketTrade, SearchLaunchesParams, SearchLaunchesResponse } from './types.js';
|
|
3
3
|
export declare class PonsfamilyClient {
|
|
4
4
|
private readonly base;
|
|
5
5
|
constructor(base: BaseClient);
|
|
@@ -23,33 +23,33 @@ export declare class PonsfamilyClient {
|
|
|
23
23
|
getForumPost(params: GetForumPostParams): Promise<GetForumPostResponse>;
|
|
24
24
|
/** The comment thread under a forum post. Costs 2 credits. */
|
|
25
25
|
getForumPostComments(params: GetForumPostCommentsParams): Promise<GetForumPostCommentsResponse>;
|
|
26
|
-
/** Returns the launchpad
|
|
26
|
+
/** Returns the launchpad board of tokens still on their bonding curve, 40 per page, paged by cursor. Totals, page sizes, an age filter and a volume ranking are no longer available; `volume` ranks by latest trade. Costs 2 credits. */
|
|
27
27
|
listLaunches(params: ListLaunchesParams): Promise<ListLaunchesResponse>;
|
|
28
|
-
/**
|
|
29
|
-
listGraduatedCatalog(): Promise<
|
|
30
|
-
/**
|
|
31
|
-
listGraduations(): Promise<
|
|
32
|
-
/** Live price and graduation-progress snapshot for
|
|
28
|
+
/** Graduated tokens as full launch records, 40 per page, largest market cap first, paged by cursor. Market caps move between calls, so a token can repeat or be skipped across pages. Costs 2 credits. */
|
|
29
|
+
listGraduatedCatalog(params: ListGraduatedCatalogParams): Promise<ListGraduatedCatalogResponse>;
|
|
30
|
+
/** Graduation times of graduated tokens, 40 per page, newest launch first, paged by cursor. Costs 2 credits. */
|
|
31
|
+
listGraduations(params: ListGraduationsParams): Promise<ListGraduationsResponse>;
|
|
32
|
+
/** Live price and graduation-progress snapshot for up to 8 given launches, or for the 40 that traded last. Costs 2 credits. */
|
|
33
33
|
listLiveMarkets(params: ListLiveMarketsParams): Promise<LiveMarket[]>;
|
|
34
|
-
/** Search launches by name, symbol, or contract address. Costs 2 credits. */
|
|
34
|
+
/** Search launches by name, symbol, or contract address; returns the 40 best matches, with no sorting, age filter or paging. Costs 2 credits. */
|
|
35
35
|
searchLaunches(params: SearchLaunchesParams): Promise<SearchLaunchesResponse>;
|
|
36
|
-
/** Price, market cap
|
|
36
|
+
/** Price, market cap and 24h pool volume for one token; trades, holders and liquidity are no longer part of the snapshot. Costs 2 credits. */
|
|
37
37
|
getMarket(params: GetMarketParams): Promise<GetMarketResponse>;
|
|
38
|
-
/** All-time-high price
|
|
38
|
+
/** All-time-high price of a v1 token in ETH, taken as its highest daily close. Costs 2 credits. */
|
|
39
39
|
getMarketAth(params: GetMarketAthParams): Promise<GetMarketAthResponse>;
|
|
40
40
|
/** Supply burned for a token, in wei. Costs 2 credits. */
|
|
41
41
|
getMarketBurned(params: GetMarketBurnedParams): Promise<GetMarketBurnedResponse>;
|
|
42
|
-
/**
|
|
42
|
+
/** Price and volume candles for a token in ETH, at the resolution the range implies; buckets without trades have no point. Costs 2 credits. */
|
|
43
43
|
getMarketChart(params: GetMarketChartParams): Promise<GetMarketChartResponse>;
|
|
44
|
-
/**
|
|
44
|
+
/** Tokens the deployer sent away, as moves and burns with totals; its buys and sells are no longer available. Costs 2 credits. */
|
|
45
45
|
getDeveloperTrades(params: GetDeveloperTradesParams): Promise<GetDeveloperTradesResponse>;
|
|
46
|
-
/**
|
|
46
|
+
/** The 50 largest holders of a token and the total holder count. Costs 2 credits. */
|
|
47
47
|
getMarketHolders(params: GetMarketHoldersParams): Promise<GetMarketHoldersResponse>;
|
|
48
48
|
/** Resting limit-order depth around the current price, bucketed into price bands. Costs 2 credits. */
|
|
49
49
|
getMarketOrderDepth(params: GetMarketOrderDepthParams): Promise<GetMarketOrderDepthResponse>;
|
|
50
50
|
/** The latest observed pool price, the cheap poll the launchpad UI uses. Costs 2 credits. */
|
|
51
51
|
getMarketTip(params: GetMarketTipParams): Promise<GetMarketTipResponse>;
|
|
52
|
-
/** The
|
|
52
|
+
/** The 50 latest buys and sells of a token, in ETH for v1 launches. Costs 2 credits. */
|
|
53
53
|
getMarketTrades(params: GetMarketTradesParams): Promise<MarketTrade[]>;
|
|
54
54
|
/** The share of supply each deployer still holds of the token it launched. Costs 2 credits. */
|
|
55
55
|
getCreatorHoldings(body: CreatorHoldingsRequest): Promise<GetCreatorHoldingsResponse>;
|
|
@@ -59,15 +59,15 @@ export declare class PonsfamilyClient {
|
|
|
59
59
|
getTokenImages(params: GetTokenImagesParams): Promise<GetTokenImagesResponse>;
|
|
60
60
|
/** Static token metadata: supply, socials, pool wiring and the deployer that launched it. Costs 2 credits. */
|
|
61
61
|
getToken(params: GetTokenParams): Promise<GetTokenResponse>;
|
|
62
|
-
/**
|
|
62
|
+
/** Price and volume candles for a v2 launch in its quote asset, at the resolution the range implies. Costs 2 credits. */
|
|
63
63
|
getV2MarketChart(params: GetV2MarketChartParams): Promise<GetV2MarketChartResponse>;
|
|
64
64
|
/** Creator-fee escrow for a v2 launch: recipient, quote asset and what has been earned so far. Costs 2 credits. */
|
|
65
65
|
getV2CreatorFees(params: GetV2CreatorFeesParams): Promise<GetV2CreatorFeesResponse>;
|
|
66
66
|
/** Holder fee-sharing distributor state for a v2 launch, including the latest payout epoch. Costs 2 credits. */
|
|
67
67
|
getV2Distributor(params: GetV2DistributorParams): Promise<GetV2DistributorResponse>;
|
|
68
|
-
/**
|
|
68
|
+
/** The 50 largest holders of a v2 launch and the total holder count. Costs 2 credits. */
|
|
69
69
|
getV2MarketHolders(params: GetV2MarketHoldersParams): Promise<GetV2MarketHoldersResponse>;
|
|
70
|
-
/**
|
|
70
|
+
/** The 50 latest trades against a v2 launch, in the launch's own quote asset. Costs 2 credits. */
|
|
71
71
|
getV2MarketTrades(params: GetV2MarketTradesParams): Promise<GetV2MarketTradesResponse>;
|
|
72
72
|
/** Returns profiles with username, avatar, and bio for the given wallets. Costs 2 credits. */
|
|
73
73
|
getWalletIdentities(params: GetWalletIdentitiesParams): Promise<GetWalletIdentitiesResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/services/ponsfamily/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,cAAc,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/services/ponsfamily/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU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;IAC1G,gBAAgB,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAKzF,yFAAyF;IACnF,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAK/F,kGAAkG;IAC5F,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAK5F,8FAA8F;IACxF,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAIlG,0GAA0G;IACpG,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAK5F,qHAAqH;IAC/G,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAK/F,sKAAsK;IAChK,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAIxE"}
|
|
@@ -48,32 +48,32 @@ export class PonsfamilyClient {
|
|
|
48
48
|
const { post_id, ...query } = params;
|
|
49
49
|
return this.base.get(`/v1/ponsfamily/forum/posts/${encodeURIComponent(post_id)}/comments`, query);
|
|
50
50
|
}
|
|
51
|
-
/** Returns the launchpad
|
|
51
|
+
/** Returns the launchpad board of tokens still on their bonding curve, 40 per page, paged by cursor. Totals, page sizes, an age filter and a volume ranking are no longer available; `volume` ranks by latest trade. Costs 2 credits. */
|
|
52
52
|
async listLaunches(params) {
|
|
53
53
|
return this.base.get('/v1/ponsfamily/launches', { ...params });
|
|
54
54
|
}
|
|
55
|
-
/**
|
|
56
|
-
async listGraduatedCatalog() {
|
|
57
|
-
return this.base.get('/v1/ponsfamily/launches/graduated');
|
|
55
|
+
/** Graduated tokens as full launch records, 40 per page, largest market cap first, paged by cursor. Market caps move between calls, so a token can repeat or be skipped across pages. Costs 2 credits. */
|
|
56
|
+
async listGraduatedCatalog(params) {
|
|
57
|
+
return this.base.get('/v1/ponsfamily/launches/graduated', { ...params });
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
async listGraduations() {
|
|
61
|
-
return this.base.get('/v1/ponsfamily/launches/graduations');
|
|
59
|
+
/** Graduation times of graduated tokens, 40 per page, newest launch first, paged by cursor. Costs 2 credits. */
|
|
60
|
+
async listGraduations(params) {
|
|
61
|
+
return this.base.get('/v1/ponsfamily/launches/graduations', { ...params });
|
|
62
62
|
}
|
|
63
|
-
/** Live price and graduation-progress snapshot for
|
|
63
|
+
/** Live price and graduation-progress snapshot for up to 8 given launches, or for the 40 that traded last. Costs 2 credits. */
|
|
64
64
|
async listLiveMarkets(params) {
|
|
65
65
|
return this.base.get('/v1/ponsfamily/launches/live-markets', { ...params });
|
|
66
66
|
}
|
|
67
|
-
/** Search launches by name, symbol, or contract address. Costs 2 credits. */
|
|
67
|
+
/** Search launches by name, symbol, or contract address; returns the 40 best matches, with no sorting, age filter or paging. Costs 2 credits. */
|
|
68
68
|
async searchLaunches(params) {
|
|
69
69
|
return this.base.get('/v1/ponsfamily/launches/search', { ...params });
|
|
70
70
|
}
|
|
71
|
-
/** Price, market cap
|
|
71
|
+
/** Price, market cap and 24h pool volume for one token; trades, holders and liquidity are no longer part of the snapshot. Costs 2 credits. */
|
|
72
72
|
async getMarket(params) {
|
|
73
|
-
const { token
|
|
74
|
-
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}
|
|
73
|
+
const { token } = params;
|
|
74
|
+
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}`);
|
|
75
75
|
}
|
|
76
|
-
/** All-time-high price
|
|
76
|
+
/** All-time-high price of a v1 token in ETH, taken as its highest daily close. Costs 2 credits. */
|
|
77
77
|
async getMarketAth(params) {
|
|
78
78
|
const { token } = params;
|
|
79
79
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/ath`);
|
|
@@ -83,17 +83,17 @@ export class PonsfamilyClient {
|
|
|
83
83
|
const { token } = params;
|
|
84
84
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/burned`);
|
|
85
85
|
}
|
|
86
|
-
/**
|
|
86
|
+
/** Price and volume candles for a token in ETH, at the resolution the range implies; buckets without trades have no point. Costs 2 credits. */
|
|
87
87
|
async getMarketChart(params) {
|
|
88
88
|
const { token, ...query } = params;
|
|
89
89
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/chart`, query);
|
|
90
90
|
}
|
|
91
|
-
/**
|
|
91
|
+
/** Tokens the deployer sent away, as moves and burns with totals; its buys and sells are no longer available. Costs 2 credits. */
|
|
92
92
|
async getDeveloperTrades(params) {
|
|
93
93
|
const { token, ...query } = params;
|
|
94
94
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/dev-trades`, query);
|
|
95
95
|
}
|
|
96
|
-
/**
|
|
96
|
+
/** The 50 largest holders of a token and the total holder count. Costs 2 credits. */
|
|
97
97
|
async getMarketHolders(params) {
|
|
98
98
|
const { token } = params;
|
|
99
99
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/holders`);
|
|
@@ -108,7 +108,7 @@ export class PonsfamilyClient {
|
|
|
108
108
|
const { token } = params;
|
|
109
109
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/tip`);
|
|
110
110
|
}
|
|
111
|
-
/** The
|
|
111
|
+
/** The 50 latest buys and sells of a token, in ETH for v1 launches. Costs 2 credits. */
|
|
112
112
|
async getMarketTrades(params) {
|
|
113
113
|
const { token } = params;
|
|
114
114
|
return this.base.get(`/v1/ponsfamily/markets/${encodeURIComponent(token)}/trades`);
|
|
@@ -130,7 +130,7 @@ export class PonsfamilyClient {
|
|
|
130
130
|
const { token } = params;
|
|
131
131
|
return this.base.get(`/v1/ponsfamily/tokens/${encodeURIComponent(token)}`);
|
|
132
132
|
}
|
|
133
|
-
/**
|
|
133
|
+
/** Price and volume candles for a v2 launch in its quote asset, at the resolution the range implies. Costs 2 credits. */
|
|
134
134
|
async getV2MarketChart(params) {
|
|
135
135
|
const { token, ...query } = params;
|
|
136
136
|
return this.base.get(`/v1/ponsfamily/v2-markets/${encodeURIComponent(token)}/chart`, query);
|
|
@@ -145,12 +145,12 @@ export class PonsfamilyClient {
|
|
|
145
145
|
const { token } = params;
|
|
146
146
|
return this.base.get(`/v1/ponsfamily/v2-markets/${encodeURIComponent(token)}/distributor`);
|
|
147
147
|
}
|
|
148
|
-
/**
|
|
148
|
+
/** The 50 largest holders of a v2 launch and the total holder count. Costs 2 credits. */
|
|
149
149
|
async getV2MarketHolders(params) {
|
|
150
150
|
const { token } = params;
|
|
151
151
|
return this.base.get(`/v1/ponsfamily/v2-markets/${encodeURIComponent(token)}/holders`);
|
|
152
152
|
}
|
|
153
|
-
/**
|
|
153
|
+
/** The 50 latest trades against a v2 launch, in the launch's own quote asset. Costs 2 credits. */
|
|
154
154
|
async getV2MarketTrades(params) {
|
|
155
155
|
const { token } = params;
|
|
156
156
|
return this.base.get(`/v1/ponsfamily/v2-markets/${encodeURIComponent(token)}/trades`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/services/ponsfamily/client.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAKpE,MAAM,OAAO,gBAAgB;IACE;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,2PAA2P;IAC3P,KAAK,CAAC,YAAY;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAuB,0BAA0B,CAAC,CAAC;IACzE,CAAC;IAED,wIAAwI;IACxI,KAAK,CAAC,iBAAiB;QACrB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA4B,+BAA+B,CAAC,CAAC;IACnF,CAAC;IAED,2EAA2E;IAC3E,KAAK,CAAC,WAAW;QACf,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAsB,0BAA0B,CAAC,C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IAED,sKAAsK;IACtK,KAAK,CAAC,UAAU,CAAC,MAAwB;QACvC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,0BAA0B,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC5G,CAAC;CACF"}
|
|
@@ -127,10 +127,8 @@ export interface DeveloperTradeEvent {
|
|
|
127
127
|
timestamp?: number | null;
|
|
128
128
|
blockNumber?: number | null;
|
|
129
129
|
transactionHash?: string | null;
|
|
130
|
-
priceUsd?: number | null;
|
|
131
130
|
tokenAmount?: string | null;
|
|
132
131
|
tokenAmountDecimal?: number | null;
|
|
133
|
-
valueUsd?: number | null;
|
|
134
132
|
toAddress?: string | null;
|
|
135
133
|
}
|
|
136
134
|
export interface DistributorEpoch {
|
|
@@ -305,16 +303,13 @@ export interface GetDeveloperTradesParams {
|
|
|
305
303
|
export interface GetDeveloperTradesResponse {
|
|
306
304
|
deployer?: string | null;
|
|
307
305
|
events?: DeveloperTradeEvent[] | null;
|
|
308
|
-
buyCount?: number | null;
|
|
309
|
-
sellCount?: number | null;
|
|
310
306
|
moveCount?: number | null;
|
|
311
307
|
burnCount?: number | null;
|
|
312
|
-
totalSoldUsd?: number | null;
|
|
313
308
|
totalMovedTokens?: number | null;
|
|
314
309
|
totalBurnedTokens?: number | null;
|
|
315
|
-
dumped?: boolean | null;
|
|
316
310
|
movedFunds?: boolean | null;
|
|
317
311
|
burned?: boolean | null;
|
|
312
|
+
complete?: boolean | null;
|
|
318
313
|
}
|
|
319
314
|
export interface GetEthPriceResponse {
|
|
320
315
|
usd?: number | null;
|
|
@@ -372,11 +367,7 @@ export interface GetMarketAthParams {
|
|
|
372
367
|
}
|
|
373
368
|
export interface GetMarketAthResponse {
|
|
374
369
|
token?: string | null;
|
|
375
|
-
pool?: string | null;
|
|
376
370
|
priceEth?: number | null;
|
|
377
|
-
blockNumber?: number | null;
|
|
378
|
-
timestamp?: string | null;
|
|
379
|
-
updatedAt?: number | null;
|
|
380
371
|
}
|
|
381
372
|
export interface GetMarketBurnedParams {
|
|
382
373
|
/** Token contract address on Robinhood Chain. */
|
|
@@ -397,8 +388,6 @@ export interface GetMarketChartResponse {
|
|
|
397
388
|
range?: string | null;
|
|
398
389
|
intervalSeconds?: number | null;
|
|
399
390
|
points?: MarketChartPoint[] | null;
|
|
400
|
-
updatedAt?: number | null;
|
|
401
|
-
source?: string | null;
|
|
402
391
|
}
|
|
403
392
|
export interface GetMarketHoldersParams {
|
|
404
393
|
/** Token contract address on Robinhood Chain. */
|
|
@@ -424,8 +413,6 @@ export interface GetMarketOrderDepthResponse {
|
|
|
424
413
|
export interface GetMarketParams {
|
|
425
414
|
/** Token contract address on Robinhood Chain. */
|
|
426
415
|
token: string;
|
|
427
|
-
/** Include the holder list in the snapshot. */
|
|
428
|
-
include_holders?: boolean;
|
|
429
416
|
}
|
|
430
417
|
export interface GetMarketResponse {
|
|
431
418
|
token?: string | null;
|
|
@@ -433,14 +420,7 @@ export interface GetMarketResponse {
|
|
|
433
420
|
priceEth?: number | null;
|
|
434
421
|
priceUsd?: number | null;
|
|
435
422
|
marketCapUsd?: number | null;
|
|
436
|
-
liquidityUsd?: number | null;
|
|
437
423
|
volume24hUsd?: number | null;
|
|
438
|
-
changePct?: number | null;
|
|
439
|
-
points?: MarketPricePoint[] | null;
|
|
440
|
-
trades?: MarketTrade[] | null;
|
|
441
|
-
holdersCount?: number | null;
|
|
442
|
-
holders?: MarketHolder[] | null;
|
|
443
|
-
updatedAt?: number | null;
|
|
444
424
|
}
|
|
445
425
|
export interface GetMarketTipParams {
|
|
446
426
|
/** Token contract address on Robinhood Chain. */
|
|
@@ -551,9 +531,6 @@ export interface GetV2MarketChartResponse {
|
|
|
551
531
|
range?: string | null;
|
|
552
532
|
intervalSeconds?: number | null;
|
|
553
533
|
points?: V2ChartPoint[] | null;
|
|
554
|
-
updatedAt?: number | null;
|
|
555
|
-
quoteSymbol?: string | null;
|
|
556
|
-
quoteUsd?: number | null;
|
|
557
534
|
}
|
|
558
535
|
export interface GetV2MarketHoldersParams {
|
|
559
536
|
/** Token contract address of a v2 (curve) launch. */
|
|
@@ -591,7 +568,6 @@ export interface GetWalletPositionsResponse {
|
|
|
591
568
|
export interface Graduation {
|
|
592
569
|
token?: string | null;
|
|
593
570
|
graduatedAt?: string | null;
|
|
594
|
-
observedBlockNumber?: number | null;
|
|
595
571
|
}
|
|
596
572
|
export interface Launch {
|
|
597
573
|
version?: string | null;
|
|
@@ -600,40 +576,28 @@ export interface Launch {
|
|
|
600
576
|
deployer?: string | null;
|
|
601
577
|
pool?: string | null;
|
|
602
578
|
pairToken?: string | null;
|
|
603
|
-
transactionHash?: string | null;
|
|
604
579
|
blockNumber?: number | null;
|
|
605
580
|
launchedAt?: string | null;
|
|
606
|
-
initialBuyWei?: string | null;
|
|
607
581
|
name?: string | null;
|
|
608
582
|
symbol?: string | null;
|
|
609
583
|
logo?: string | null;
|
|
610
584
|
description?: string | null;
|
|
611
585
|
priceUsd?: number | null;
|
|
612
586
|
marketCapUsd?: number | null;
|
|
613
|
-
liquidityUsd?: number | null;
|
|
614
587
|
volume24hUsd?: number | null;
|
|
615
588
|
graduated?: boolean | null;
|
|
616
589
|
graduatedAt?: string | null;
|
|
617
|
-
graduatedBlockNumber?: number | null;
|
|
618
590
|
graduationProgressPct?: number | null;
|
|
619
591
|
pairedPrincipalEth?: number | null;
|
|
620
592
|
graduationThresholdEth?: number | null;
|
|
621
|
-
latestBuyAt?: string | null;
|
|
622
|
-
latestBuyBlockNumber?: number | null;
|
|
623
593
|
realMcapUsd?: number | null;
|
|
624
594
|
burnedPct?: number | null;
|
|
625
595
|
quoteAsset?: QuoteAsset | null;
|
|
626
|
-
venue?: string | null;
|
|
627
|
-
isOriginal?: boolean | null;
|
|
628
596
|
}
|
|
629
|
-
export type LaunchAge = "all" | "24h" | "7d";
|
|
630
597
|
export interface LaunchPage {
|
|
631
598
|
items?: Launch[] | null;
|
|
632
|
-
|
|
633
|
-
pageSize?: number | null;
|
|
634
|
-
total?: number | null;
|
|
599
|
+
nextCursor?: string | null;
|
|
635
600
|
}
|
|
636
|
-
export type LaunchSearchSort = "relevance" | "marketCap" | "volume" | "newest" | "oldest";
|
|
637
601
|
export type LaunchSort = "recentBuys" | "newest" | "oldest" | "marketCap" | "volume";
|
|
638
602
|
export type LaunchVersion = "all" | "v1" | "v2";
|
|
639
603
|
export interface ListCtoMigrationsResponse {
|
|
@@ -657,42 +621,40 @@ export interface ListForumPostsParams {
|
|
|
657
621
|
export interface ListForumPostsResponse {
|
|
658
622
|
posts?: ForumPost[] | null;
|
|
659
623
|
}
|
|
624
|
+
export interface ListGraduatedCatalogParams {
|
|
625
|
+
/** `nextCursor` from the previous page. */
|
|
626
|
+
cursor?: string | null;
|
|
627
|
+
}
|
|
628
|
+
export interface ListGraduatedCatalogResponse {
|
|
629
|
+
items?: Launch[] | null;
|
|
630
|
+
nextCursor?: string | null;
|
|
631
|
+
}
|
|
632
|
+
export interface ListGraduationsParams {
|
|
633
|
+
/** `nextCursor` from the previous page. */
|
|
634
|
+
cursor?: string | null;
|
|
635
|
+
}
|
|
636
|
+
export interface ListGraduationsResponse {
|
|
637
|
+
items?: Graduation[] | null;
|
|
638
|
+
nextCursor?: string | null;
|
|
639
|
+
}
|
|
660
640
|
export interface ListLaunchesParams {
|
|
661
|
-
/** Ranking column for the
|
|
641
|
+
/** Ranking column for the board. */
|
|
662
642
|
sort?: LaunchSort;
|
|
663
|
-
/** Only include launches from this window. */
|
|
664
|
-
age?: LaunchAge;
|
|
665
643
|
/** Restrict to a launchpad version. */
|
|
666
644
|
version?: LaunchVersion;
|
|
667
|
-
/**
|
|
668
|
-
|
|
669
|
-
/** Active launches per page. */
|
|
670
|
-
page_size?: number;
|
|
671
|
-
/** Include the graduated block (counts only; pons sends no graduated items). */
|
|
672
|
-
include_graduated?: boolean;
|
|
673
|
-
/** Page number echoed in the graduated block. */
|
|
674
|
-
graduated_page?: number;
|
|
675
|
-
/** Page size echoed in the graduated block. */
|
|
676
|
-
graduated_page_size?: number;
|
|
645
|
+
/** `active.nextCursor` from the previous page, with the same `sort`. */
|
|
646
|
+
cursor?: string | null;
|
|
677
647
|
}
|
|
678
648
|
export interface ListLaunchesResponse {
|
|
679
|
-
generatedAt?: number | null;
|
|
680
649
|
active?: LaunchPage | null;
|
|
681
|
-
graduated?: LaunchPage | null;
|
|
682
|
-
activeTotal?: number | null;
|
|
683
|
-
graduatedTotal?: number | null;
|
|
684
|
-
launchTotal?: number | null;
|
|
685
650
|
}
|
|
686
651
|
export interface ListLiveMarketsParams {
|
|
687
|
-
/** Restrict the live-market snapshot to these token addresses, at most
|
|
652
|
+
/** Restrict the live-market snapshot to these token addresses, at most 8 per call. */
|
|
688
653
|
markets?: string[] | null;
|
|
689
654
|
}
|
|
690
655
|
export interface LiveMarket {
|
|
691
656
|
token?: string | null;
|
|
692
657
|
pool?: string | null;
|
|
693
|
-
latestBuyAt?: string | null;
|
|
694
|
-
latestBuyBlockNumber?: number | null;
|
|
695
|
-
latestMarketBlockNumber?: number | null;
|
|
696
658
|
priceUsd?: number | null;
|
|
697
659
|
marketCapUsd?: number | null;
|
|
698
660
|
graduated?: boolean | null;
|
|
@@ -703,7 +665,6 @@ export interface LiveMarket {
|
|
|
703
665
|
export interface MarketChartPoint {
|
|
704
666
|
t?: number | null;
|
|
705
667
|
priceEth?: number | null;
|
|
706
|
-
blockNumber?: number | null;
|
|
707
668
|
volumeEth?: number | null;
|
|
708
669
|
tradeCount?: number | null;
|
|
709
670
|
}
|
|
@@ -711,25 +672,14 @@ export interface MarketHolder {
|
|
|
711
672
|
address?: string | null;
|
|
712
673
|
balance?: string | null;
|
|
713
674
|
percentage?: number | null;
|
|
714
|
-
entryMcapUsd?: number | null;
|
|
715
|
-
pnlUsd?: number | null;
|
|
716
|
-
pnlPct?: number | null;
|
|
717
|
-
}
|
|
718
|
-
export interface MarketPricePoint {
|
|
719
|
-
t?: number | null;
|
|
720
|
-
priceUsd?: number | null;
|
|
721
|
-
blockNumber?: number | null;
|
|
722
675
|
}
|
|
723
676
|
export interface MarketTrade {
|
|
724
677
|
side?: string | null;
|
|
725
678
|
timestamp?: number | null;
|
|
726
|
-
blockNumber?: number | null;
|
|
727
679
|
transactionHash?: string | null;
|
|
728
680
|
recipient?: string | null;
|
|
729
|
-
tokenAmount?:
|
|
730
|
-
ethAmount?:
|
|
731
|
-
priceUsd?: number | null;
|
|
732
|
-
valueUsd?: number | null;
|
|
681
|
+
tokenAmount?: number | null;
|
|
682
|
+
ethAmount?: number | null;
|
|
733
683
|
}
|
|
734
684
|
export interface MigrationSchedule {
|
|
735
685
|
depositStart?: number | null;
|
|
@@ -782,7 +732,6 @@ export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extr
|
|
|
782
732
|
export interface QuoteAsset {
|
|
783
733
|
address?: string | null;
|
|
784
734
|
symbol?: string | null;
|
|
785
|
-
name?: string | null;
|
|
786
735
|
decimals?: number | null;
|
|
787
736
|
isNative?: boolean | null;
|
|
788
737
|
assetClass?: string | null;
|
|
@@ -790,18 +739,9 @@ export interface QuoteAsset {
|
|
|
790
739
|
export interface SearchLaunchesParams {
|
|
791
740
|
/** Free-text query matched against token name, symbol and address. */
|
|
792
741
|
q?: string;
|
|
793
|
-
/** Ranking column for the result set. */
|
|
794
|
-
sort?: LaunchSearchSort;
|
|
795
|
-
/** Only include launches from this window. */
|
|
796
|
-
age?: LaunchAge;
|
|
797
|
-
/** Result page. */
|
|
798
|
-
page?: number;
|
|
799
742
|
}
|
|
800
743
|
export interface SearchLaunchesResponse {
|
|
801
744
|
items?: Launch[] | null;
|
|
802
|
-
page?: number | null;
|
|
803
|
-
pageSize?: number | null;
|
|
804
|
-
total?: number | null;
|
|
805
745
|
}
|
|
806
746
|
export interface TokenSocials {
|
|
807
747
|
twitter?: string | null;
|
|
@@ -812,7 +752,6 @@ export interface TokenSocials {
|
|
|
812
752
|
export interface V2ChartPoint {
|
|
813
753
|
t?: number | null;
|
|
814
754
|
price?: number | null;
|
|
815
|
-
blockNumber?: number | null;
|
|
816
755
|
volumeQuote?: number | null;
|
|
817
756
|
tradeCount?: number | null;
|
|
818
757
|
}
|
|
@@ -825,11 +764,10 @@ export interface V2Trade {
|
|
|
825
764
|
id?: string | null;
|
|
826
765
|
venue?: string | null;
|
|
827
766
|
side?: string | null;
|
|
828
|
-
tokenAmount?:
|
|
829
|
-
quoteAmount?:
|
|
767
|
+
tokenAmount?: number | null;
|
|
768
|
+
quoteAmount?: number | null;
|
|
830
769
|
account?: string | null;
|
|
831
770
|
transactionHash?: string | null;
|
|
832
|
-
blockNumber?: number | null;
|
|
833
771
|
timestamp?: number | null;
|
|
834
772
|
}
|
|
835
773
|
export interface WalletActivity {
|