@tapline/client 0.2.2 → 0.2.4
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/README.md +40 -2
- package/dist/cjs/client.d.ts +4 -0
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +6 -0
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/airbnb/client.js +6 -6
- package/dist/cjs/services/airbnb/client.js.map +1 -1
- package/dist/cjs/services/airbnb/types.d.ts +1 -1
- package/dist/cjs/services/airbnb/types.d.ts.map +1 -1
- package/dist/cjs/services/geckoterminal/client.d.ts +1 -1
- package/dist/cjs/services/geckoterminal/client.d.ts.map +1 -1
- package/dist/cjs/services/geckoterminal/client.js +29 -29
- package/dist/cjs/services/geckoterminal/client.js.map +1 -1
- package/dist/cjs/services/geckoterminal/types.d.ts +2 -1
- package/dist/cjs/services/geckoterminal/types.d.ts.map +1 -1
- package/dist/cjs/services/gmgn/client.js +61 -61
- package/dist/cjs/services/gmgn/client.js.map +1 -1
- package/dist/cjs/services/gmgn/types.d.ts +1 -0
- package/dist/cjs/services/gmgn/types.d.ts.map +1 -1
- package/dist/cjs/services/goplus/client.d.ts +13 -0
- package/dist/cjs/services/goplus/client.d.ts.map +1 -0
- package/dist/cjs/services/goplus/client.js +27 -0
- package/dist/cjs/services/goplus/client.js.map +1 -0
- package/dist/cjs/services/goplus/index.d.ts +3 -0
- package/dist/cjs/services/goplus/index.d.ts.map +1 -0
- package/dist/cjs/services/goplus/index.js +22 -0
- package/dist/cjs/services/goplus/index.js.map +1 -0
- package/dist/cjs/services/goplus/types.d.ts +208 -0
- package/dist/cjs/services/goplus/types.d.ts.map +1 -0
- package/dist/cjs/services/goplus/types.js +4 -0
- package/dist/cjs/services/goplus/types.js.map +1 -0
- package/dist/cjs/services/ponsfamily/client.d.ts +81 -0
- package/dist/cjs/services/ponsfamily/client.d.ts.map +1 -0
- package/dist/cjs/services/ponsfamily/client.js +182 -0
- package/dist/cjs/services/ponsfamily/client.js.map +1 -0
- package/dist/cjs/services/ponsfamily/index.d.ts +3 -0
- package/dist/cjs/services/ponsfamily/index.d.ts.map +1 -0
- package/dist/cjs/services/ponsfamily/index.js +22 -0
- package/dist/cjs/services/ponsfamily/index.js.map +1 -0
- package/dist/cjs/services/ponsfamily/types.d.ts +827 -0
- package/dist/cjs/services/ponsfamily/types.d.ts.map +1 -0
- package/dist/cjs/services/ponsfamily/types.js +4 -0
- package/dist/cjs/services/ponsfamily/types.js.map +1 -0
- package/dist/cjs/services/youtube/client.js +11 -11
- package/dist/cjs/services/youtube/client.js.map +1 -1
- package/dist/cjs/services/youtube/types.d.ts +1 -0
- package/dist/cjs/services/youtube/types.d.ts.map +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/services/airbnb/client.js +6 -6
- package/dist/services/airbnb/client.js.map +1 -1
- package/dist/services/airbnb/types.d.ts +1 -1
- package/dist/services/airbnb/types.d.ts.map +1 -1
- package/dist/services/geckoterminal/client.d.ts +1 -1
- package/dist/services/geckoterminal/client.d.ts.map +1 -1
- package/dist/services/geckoterminal/client.js +29 -29
- package/dist/services/geckoterminal/client.js.map +1 -1
- package/dist/services/geckoterminal/types.d.ts +2 -1
- package/dist/services/geckoterminal/types.d.ts.map +1 -1
- package/dist/services/gmgn/client.js +61 -61
- package/dist/services/gmgn/client.js.map +1 -1
- package/dist/services/gmgn/types.d.ts +1 -0
- package/dist/services/gmgn/types.d.ts.map +1 -1
- package/dist/services/goplus/client.d.ts +13 -0
- package/dist/services/goplus/client.d.ts.map +1 -0
- package/dist/services/goplus/client.js +23 -0
- package/dist/services/goplus/client.js.map +1 -0
- package/dist/services/goplus/index.d.ts +3 -0
- package/dist/services/goplus/index.d.ts.map +1 -0
- package/dist/services/goplus/index.js +4 -0
- package/dist/services/goplus/index.js.map +1 -0
- package/dist/services/goplus/types.d.ts +208 -0
- package/dist/services/goplus/types.d.ts.map +1 -0
- package/dist/services/goplus/types.js +3 -0
- package/dist/services/goplus/types.js.map +1 -0
- package/dist/services/ponsfamily/client.d.ts +81 -0
- package/dist/services/ponsfamily/client.d.ts.map +1 -0
- package/dist/services/ponsfamily/client.js +178 -0
- package/dist/services/ponsfamily/client.js.map +1 -0
- package/dist/services/ponsfamily/index.d.ts +3 -0
- package/dist/services/ponsfamily/index.d.ts.map +1 -0
- package/dist/services/ponsfamily/index.js +4 -0
- package/dist/services/ponsfamily/index.js.map +1 -0
- package/dist/services/ponsfamily/types.d.ts +827 -0
- package/dist/services/ponsfamily/types.d.ts.map +1 -0
- package/dist/services/ponsfamily/types.js +3 -0
- package/dist/services/ponsfamily/types.js.map +1 -0
- package/dist/services/youtube/client.js +11 -11
- package/dist/services/youtube/client.js.map +1 -1
- package/dist/services/youtube/types.d.ts +1 -0
- package/dist/services/youtube/types.d.ts.map +1 -1
- package/package.json +6 -2
|
@@ -0,0 +1,827 @@
|
|
|
1
|
+
export interface AnalyticsDay {
|
|
2
|
+
launches?: number | null;
|
|
3
|
+
timestamp?: number | null;
|
|
4
|
+
trades?: number | null;
|
|
5
|
+
volumeUsd?: number | null;
|
|
6
|
+
}
|
|
7
|
+
export interface AnalyticsTotals {
|
|
8
|
+
creatorEarningsUsd?: number | null;
|
|
9
|
+
launches24h?: number | null;
|
|
10
|
+
launchesAllTime?: number | null;
|
|
11
|
+
protocolRevenueUsd?: number | null;
|
|
12
|
+
trades24h?: number | null;
|
|
13
|
+
tradesAllTime?: number | null;
|
|
14
|
+
uniqueDevelopers?: number | null;
|
|
15
|
+
volumeUsd24h?: number | null;
|
|
16
|
+
volumeUsdAllTime?: number | null;
|
|
17
|
+
}
|
|
18
|
+
export type ChartRange = "5m" | "1h" | "6h" | "1d" | "all";
|
|
19
|
+
export interface CommunityMarketCap {
|
|
20
|
+
quote?: number | null;
|
|
21
|
+
quoteSymbol?: string | null;
|
|
22
|
+
usd?: number | null;
|
|
23
|
+
}
|
|
24
|
+
export type CommunityRank = "marketCap" | "burnPct" | "realMcap";
|
|
25
|
+
export interface CreatorHolding {
|
|
26
|
+
deployer?: string | null;
|
|
27
|
+
fraction?: number | null;
|
|
28
|
+
token?: string | null;
|
|
29
|
+
}
|
|
30
|
+
export interface CreatorHoldingPair {
|
|
31
|
+
/** Deployer wallet that launched the token. */
|
|
32
|
+
deployer: string;
|
|
33
|
+
/** Token contract address. */
|
|
34
|
+
token: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CreatorHoldingsRequest {
|
|
37
|
+
/** Token/deployer pairs to resolve, at most 100 per call. */
|
|
38
|
+
pairs: CreatorHoldingPair[];
|
|
39
|
+
}
|
|
40
|
+
export interface CtoMigration {
|
|
41
|
+
creditPot?: string | null;
|
|
42
|
+
decimals?: number | null;
|
|
43
|
+
epochCaps?: string[] | null;
|
|
44
|
+
epochDeposits?: string[] | null;
|
|
45
|
+
feeDestination?: string | null;
|
|
46
|
+
fillOrTime?: boolean | null;
|
|
47
|
+
logoUrl?: string | null;
|
|
48
|
+
migrator?: string | null;
|
|
49
|
+
name?: string | null;
|
|
50
|
+
newToken?: string | null;
|
|
51
|
+
official?: boolean | null;
|
|
52
|
+
oldToken?: string | null;
|
|
53
|
+
recoveredQuote?: string | null;
|
|
54
|
+
schedule?: MigrationSchedule | null;
|
|
55
|
+
seeded?: boolean | null;
|
|
56
|
+
seededAt?: number | null;
|
|
57
|
+
soldOldTokens?: string | null;
|
|
58
|
+
surplusQuote?: string | null;
|
|
59
|
+
symbol?: string | null;
|
|
60
|
+
totalCredits?: string | null;
|
|
61
|
+
totalDeposits?: string | null;
|
|
62
|
+
windowClosedAt?: number | null;
|
|
63
|
+
}
|
|
64
|
+
export interface DeveloperTradeEvent {
|
|
65
|
+
blockNumber?: number | null;
|
|
66
|
+
priceUsd?: number | null;
|
|
67
|
+
timestamp?: number | null;
|
|
68
|
+
toAddress?: string | null;
|
|
69
|
+
tokenAmount?: string | null;
|
|
70
|
+
tokenAmountDecimal?: number | null;
|
|
71
|
+
transactionHash?: string | null;
|
|
72
|
+
type?: string | null;
|
|
73
|
+
valueUsd?: number | null;
|
|
74
|
+
}
|
|
75
|
+
export interface DistributorEpoch {
|
|
76
|
+
coinClaimed?: string | null;
|
|
77
|
+
coinTotal?: string | null;
|
|
78
|
+
expiresAt?: number | null;
|
|
79
|
+
id?: number | null;
|
|
80
|
+
quoteClaimed?: string | null;
|
|
81
|
+
quoteTotal?: string | null;
|
|
82
|
+
rolledOver?: boolean | null;
|
|
83
|
+
}
|
|
84
|
+
export interface ErrorDetail {
|
|
85
|
+
ctx?: Record<string, unknown> | null;
|
|
86
|
+
input?: unknown | null;
|
|
87
|
+
loc?: (string | number)[] | null;
|
|
88
|
+
msg?: string | null;
|
|
89
|
+
type?: string | null;
|
|
90
|
+
}
|
|
91
|
+
export interface ErrorResponse {
|
|
92
|
+
code: PublicError;
|
|
93
|
+
details?: ErrorDetail[] | null;
|
|
94
|
+
domain?: string | null;
|
|
95
|
+
message: string;
|
|
96
|
+
request_id: string;
|
|
97
|
+
upgrade_url?: string | null;
|
|
98
|
+
}
|
|
99
|
+
export interface FeeSharingEntry {
|
|
100
|
+
active?: boolean | null;
|
|
101
|
+
token?: string | null;
|
|
102
|
+
}
|
|
103
|
+
export interface ForumBoardRow {
|
|
104
|
+
communityId?: string | null;
|
|
105
|
+
logo?: string | null;
|
|
106
|
+
marketCap?: CommunityMarketCap | null;
|
|
107
|
+
move?: number | null;
|
|
108
|
+
name?: string | null;
|
|
109
|
+
symbol?: string | null;
|
|
110
|
+
tag?: string | null;
|
|
111
|
+
token?: string | null;
|
|
112
|
+
}
|
|
113
|
+
export interface ForumComment {
|
|
114
|
+
body?: string | null;
|
|
115
|
+
createdAtMs?: number | null;
|
|
116
|
+
depth?: number | null;
|
|
117
|
+
downvotes?: number | null;
|
|
118
|
+
editedAtMs?: number | null;
|
|
119
|
+
id?: string | null;
|
|
120
|
+
parentId?: string | null;
|
|
121
|
+
postId?: string | null;
|
|
122
|
+
removed?: boolean | null;
|
|
123
|
+
replies?: ForumComment[] | null;
|
|
124
|
+
score?: number | null;
|
|
125
|
+
upvotes?: number | null;
|
|
126
|
+
viewerVote?: number | null;
|
|
127
|
+
wallet?: string | null;
|
|
128
|
+
}
|
|
129
|
+
export interface ForumCommunity {
|
|
130
|
+
bannerKey?: string | null;
|
|
131
|
+
burnedSupply?: string | null;
|
|
132
|
+
buybackLockedSupply?: string | null;
|
|
133
|
+
createdAtMs?: number | null;
|
|
134
|
+
description?: string | null;
|
|
135
|
+
graduated?: boolean | null;
|
|
136
|
+
id?: string | null;
|
|
137
|
+
kind?: string | null;
|
|
138
|
+
latestBuyAt?: number | null;
|
|
139
|
+
latestBuyBlock?: number | null;
|
|
140
|
+
launchVersion?: string | null;
|
|
141
|
+
logo?: string | null;
|
|
142
|
+
marketCap?: CommunityMarketCap | null;
|
|
143
|
+
modWallet?: string | null;
|
|
144
|
+
pairToken?: string | null;
|
|
145
|
+
postCount?: number | null;
|
|
146
|
+
realMcapUsd?: number | null;
|
|
147
|
+
symbol?: string | null;
|
|
148
|
+
title?: string | null;
|
|
149
|
+
tokenAddress?: string | null;
|
|
150
|
+
tokenDecimals?: number | null;
|
|
151
|
+
totalSupply?: string | null;
|
|
152
|
+
volume24hUsd?: number | null;
|
|
153
|
+
}
|
|
154
|
+
export interface ForumEquity {
|
|
155
|
+
address?: string | null;
|
|
156
|
+
assetClass?: string | null;
|
|
157
|
+
logo?: string | null;
|
|
158
|
+
move?: number | null;
|
|
159
|
+
name?: string | null;
|
|
160
|
+
priceUsd?: number | null;
|
|
161
|
+
symbol?: string | null;
|
|
162
|
+
}
|
|
163
|
+
export interface ForumHolding {
|
|
164
|
+
balance?: string | null;
|
|
165
|
+
decimals?: number | null;
|
|
166
|
+
supplyShare?: number | null;
|
|
167
|
+
tier?: string | null;
|
|
168
|
+
token?: string | null;
|
|
169
|
+
totalSupply?: string | null;
|
|
170
|
+
wallet?: string | null;
|
|
171
|
+
}
|
|
172
|
+
export interface ForumPosition {
|
|
173
|
+
balance?: string | null;
|
|
174
|
+
capturedAtMs?: number | null;
|
|
175
|
+
decimals?: number | null;
|
|
176
|
+
entryPriceQuote?: number | null;
|
|
177
|
+
quoteToken?: string | null;
|
|
178
|
+
symbol?: string | null;
|
|
179
|
+
token?: string | null;
|
|
180
|
+
}
|
|
181
|
+
export interface ForumPost {
|
|
182
|
+
body?: string | null;
|
|
183
|
+
commentCount?: number | null;
|
|
184
|
+
communityId?: string | null;
|
|
185
|
+
communityLogo?: string | null;
|
|
186
|
+
communitySymbol?: string | null;
|
|
187
|
+
communityToken?: string | null;
|
|
188
|
+
communityTokenDecimals?: number | null;
|
|
189
|
+
createdAtMs?: number | null;
|
|
190
|
+
downvotes?: number | null;
|
|
191
|
+
editedAtMs?: number | null;
|
|
192
|
+
id?: string | null;
|
|
193
|
+
imageKey?: string | null;
|
|
194
|
+
kind?: string | null;
|
|
195
|
+
locked?: boolean | null;
|
|
196
|
+
pinned?: boolean | null;
|
|
197
|
+
position?: ForumPosition | null;
|
|
198
|
+
removed?: boolean | null;
|
|
199
|
+
score?: number | null;
|
|
200
|
+
title?: string | null;
|
|
201
|
+
upvotes?: number | null;
|
|
202
|
+
viewerVote?: number | null;
|
|
203
|
+
wallet?: string | null;
|
|
204
|
+
}
|
|
205
|
+
export interface ForumSession {
|
|
206
|
+
closeAtMs?: number | null;
|
|
207
|
+
isEarlyClose?: boolean | null;
|
|
208
|
+
isTradingDay?: boolean | null;
|
|
209
|
+
nextTransitionAtMs?: number | null;
|
|
210
|
+
openAtMs?: number | null;
|
|
211
|
+
phase?: string | null;
|
|
212
|
+
sessionDayKey?: string | null;
|
|
213
|
+
}
|
|
214
|
+
export interface GetAnalyticsResponse {
|
|
215
|
+
generatedAt?: number | null;
|
|
216
|
+
latestDay?: number | null;
|
|
217
|
+
series?: AnalyticsDay[] | null;
|
|
218
|
+
sourceUrl?: string | null;
|
|
219
|
+
totals?: AnalyticsTotals | null;
|
|
220
|
+
}
|
|
221
|
+
export interface GetCreatorHoldingsResponse {
|
|
222
|
+
holdings?: CreatorHolding[] | null;
|
|
223
|
+
}
|
|
224
|
+
export interface GetDeveloperTradesParams {
|
|
225
|
+
/** Deployer wallet that launched the token. */
|
|
226
|
+
deployer: string;
|
|
227
|
+
/** Token contract address on Robinhood Chain. */
|
|
228
|
+
token: string;
|
|
229
|
+
}
|
|
230
|
+
export interface GetDeveloperTradesResponse {
|
|
231
|
+
burnCount?: number | null;
|
|
232
|
+
burned?: boolean | null;
|
|
233
|
+
buyCount?: number | null;
|
|
234
|
+
deployer?: string | null;
|
|
235
|
+
dumped?: boolean | null;
|
|
236
|
+
events?: DeveloperTradeEvent[] | null;
|
|
237
|
+
moveCount?: number | null;
|
|
238
|
+
movedFunds?: boolean | null;
|
|
239
|
+
sellCount?: number | null;
|
|
240
|
+
totalBurnedTokens?: number | null;
|
|
241
|
+
totalMovedTokens?: number | null;
|
|
242
|
+
totalSoldUsd?: number | null;
|
|
243
|
+
}
|
|
244
|
+
export interface GetEthPriceResponse {
|
|
245
|
+
updatedAt?: number | null;
|
|
246
|
+
usd?: number | null;
|
|
247
|
+
}
|
|
248
|
+
export interface GetFeeSharingParams {
|
|
249
|
+
/** Token contract addresses to resolve, at most 100 per call. */
|
|
250
|
+
tokens: string[];
|
|
251
|
+
}
|
|
252
|
+
export interface GetFeeSharingResponse {
|
|
253
|
+
sharing?: FeeSharingEntry[] | null;
|
|
254
|
+
}
|
|
255
|
+
export interface GetForumCommunityParams {
|
|
256
|
+
/** Forum community slug. */
|
|
257
|
+
slug: string;
|
|
258
|
+
}
|
|
259
|
+
export interface GetForumCommunityResponse {
|
|
260
|
+
community?: ForumCommunity | null;
|
|
261
|
+
}
|
|
262
|
+
export interface GetForumHoldingParams {
|
|
263
|
+
/** Token contract address on Robinhood Chain. */
|
|
264
|
+
token: string;
|
|
265
|
+
/** Wallet address. */
|
|
266
|
+
wallet: string;
|
|
267
|
+
}
|
|
268
|
+
export interface GetForumHoldingResponse {
|
|
269
|
+
holding?: ForumHolding | null;
|
|
270
|
+
priceQuote?: number | null;
|
|
271
|
+
}
|
|
272
|
+
export interface GetForumMarketResponse {
|
|
273
|
+
bell?: string | null;
|
|
274
|
+
markets?: ForumEquity[] | null;
|
|
275
|
+
rows?: ForumBoardRow[] | null;
|
|
276
|
+
session?: ForumSession | null;
|
|
277
|
+
}
|
|
278
|
+
export interface GetForumPostCommentsParams {
|
|
279
|
+
/** Forum post UUID. */
|
|
280
|
+
post_id: string;
|
|
281
|
+
/** Comment ranking. */
|
|
282
|
+
sort?: PostSort;
|
|
283
|
+
}
|
|
284
|
+
export interface GetForumPostCommentsResponse {
|
|
285
|
+
comments?: ForumComment[] | null;
|
|
286
|
+
}
|
|
287
|
+
export interface GetForumPostParams {
|
|
288
|
+
/** Forum post UUID. */
|
|
289
|
+
post_id: string;
|
|
290
|
+
}
|
|
291
|
+
export interface GetForumPostResponse {
|
|
292
|
+
post?: ForumPost | null;
|
|
293
|
+
}
|
|
294
|
+
export interface GetMarketAthParams {
|
|
295
|
+
/** Token contract address on Robinhood Chain. */
|
|
296
|
+
token: string;
|
|
297
|
+
}
|
|
298
|
+
export interface GetMarketAthResponse {
|
|
299
|
+
blockNumber?: number | null;
|
|
300
|
+
pool?: string | null;
|
|
301
|
+
priceEth?: number | null;
|
|
302
|
+
timestamp?: string | null;
|
|
303
|
+
token?: string | null;
|
|
304
|
+
updatedAt?: number | null;
|
|
305
|
+
}
|
|
306
|
+
export interface GetMarketBurnedParams {
|
|
307
|
+
/** Token contract address on Robinhood Chain. */
|
|
308
|
+
token: string;
|
|
309
|
+
}
|
|
310
|
+
export interface GetMarketBurnedResponse {
|
|
311
|
+
burnedWei?: string | null;
|
|
312
|
+
token?: string | null;
|
|
313
|
+
}
|
|
314
|
+
export interface GetMarketChartParams {
|
|
315
|
+
/** Chart window. */
|
|
316
|
+
range?: ChartRange;
|
|
317
|
+
/** Token contract address on Robinhood Chain. */
|
|
318
|
+
token: string;
|
|
319
|
+
}
|
|
320
|
+
export interface GetMarketChartResponse {
|
|
321
|
+
intervalSeconds?: number | null;
|
|
322
|
+
points?: MarketChartPoint[] | null;
|
|
323
|
+
range?: string | null;
|
|
324
|
+
source?: string | null;
|
|
325
|
+
token?: string | null;
|
|
326
|
+
updatedAt?: number | null;
|
|
327
|
+
}
|
|
328
|
+
export interface GetMarketHoldersParams {
|
|
329
|
+
/** Token contract address on Robinhood Chain. */
|
|
330
|
+
token: string;
|
|
331
|
+
}
|
|
332
|
+
export interface GetMarketHoldersResponse {
|
|
333
|
+
holders?: MarketHolder[] | null;
|
|
334
|
+
holdersCount?: number | null;
|
|
335
|
+
}
|
|
336
|
+
export interface GetMarketOrderDepthParams {
|
|
337
|
+
/** Token contract address on Robinhood Chain. */
|
|
338
|
+
token: string;
|
|
339
|
+
}
|
|
340
|
+
export interface GetMarketOrderDepthResponse {
|
|
341
|
+
activeOrderCount?: number | null;
|
|
342
|
+
bands?: OrderDepthBand[] | null;
|
|
343
|
+
currentPriceEth?: number | null;
|
|
344
|
+
generatedAt?: number | null;
|
|
345
|
+
observedBlockNumber?: number | null;
|
|
346
|
+
pool?: string | null;
|
|
347
|
+
token?: string | null;
|
|
348
|
+
}
|
|
349
|
+
export interface GetMarketParams {
|
|
350
|
+
/** Include the holder list in the snapshot. */
|
|
351
|
+
include_holders?: boolean;
|
|
352
|
+
/** Token contract address on Robinhood Chain. */
|
|
353
|
+
token: string;
|
|
354
|
+
}
|
|
355
|
+
export interface GetMarketResponse {
|
|
356
|
+
changePct?: number | null;
|
|
357
|
+
holders?: MarketHolder[] | null;
|
|
358
|
+
holdersCount?: number | null;
|
|
359
|
+
liquidityUsd?: number | null;
|
|
360
|
+
marketCapUsd?: number | null;
|
|
361
|
+
points?: MarketPricePoint[] | null;
|
|
362
|
+
pool?: string | null;
|
|
363
|
+
priceEth?: number | null;
|
|
364
|
+
priceUsd?: number | null;
|
|
365
|
+
token?: string | null;
|
|
366
|
+
trades?: MarketTrade[] | null;
|
|
367
|
+
updatedAt?: number | null;
|
|
368
|
+
volume24hUsd?: number | null;
|
|
369
|
+
}
|
|
370
|
+
export interface GetMarketTipParams {
|
|
371
|
+
/** Token contract address on Robinhood Chain. */
|
|
372
|
+
token: string;
|
|
373
|
+
}
|
|
374
|
+
export interface GetMarketTipResponse {
|
|
375
|
+
pool?: string | null;
|
|
376
|
+
priceEth?: number | null;
|
|
377
|
+
token?: string | null;
|
|
378
|
+
updatedAt?: number | null;
|
|
379
|
+
}
|
|
380
|
+
export interface GetMarketTradesParams {
|
|
381
|
+
/** Token contract address on Robinhood Chain. */
|
|
382
|
+
token: string;
|
|
383
|
+
}
|
|
384
|
+
export interface GetPortfolioChartParams {
|
|
385
|
+
/** Wallet address. */
|
|
386
|
+
address: string;
|
|
387
|
+
/** Chart window. */
|
|
388
|
+
range?: PortfolioRange;
|
|
389
|
+
}
|
|
390
|
+
export interface GetPortfolioChartResponse {
|
|
391
|
+
address?: string | null;
|
|
392
|
+
changePct?: number | null;
|
|
393
|
+
changeUsd?: number | null;
|
|
394
|
+
currentValueUsd?: number | null;
|
|
395
|
+
points?: PortfolioChartPoint[] | null;
|
|
396
|
+
range?: string | null;
|
|
397
|
+
tokenCount?: number | null;
|
|
398
|
+
updatedAt?: number | null;
|
|
399
|
+
}
|
|
400
|
+
export interface GetProfileParams {
|
|
401
|
+
/** Wallet address. */
|
|
402
|
+
address: string;
|
|
403
|
+
}
|
|
404
|
+
export interface GetProfileResponse {
|
|
405
|
+
ethUsd?: number | null;
|
|
406
|
+
launches?: ProfileLaunch[] | null;
|
|
407
|
+
}
|
|
408
|
+
export interface GetTokenImagesParams {
|
|
409
|
+
/** Token contract addresses to resolve, at most 100 per call. */
|
|
410
|
+
tokens: string[];
|
|
411
|
+
}
|
|
412
|
+
/** Logo URL keyed by lower-cased token address. */
|
|
413
|
+
export type GetTokenImagesResponse = Record<string, string>;
|
|
414
|
+
export interface GetTokenParams {
|
|
415
|
+
/** Token contract address on Robinhood Chain. */
|
|
416
|
+
token: string;
|
|
417
|
+
}
|
|
418
|
+
export interface GetTokenResponse {
|
|
419
|
+
deployer?: string | null;
|
|
420
|
+
description?: string | null;
|
|
421
|
+
initialBuyWei?: string | null;
|
|
422
|
+
isToken0?: boolean | null;
|
|
423
|
+
locker?: string | null;
|
|
424
|
+
logo?: string | null;
|
|
425
|
+
name?: string | null;
|
|
426
|
+
pairToken?: string | null;
|
|
427
|
+
pool?: string | null;
|
|
428
|
+
poolFee?: number | null;
|
|
429
|
+
positionId?: string | null;
|
|
430
|
+
positionManager?: string | null;
|
|
431
|
+
restrictionEndBlock?: string | null;
|
|
432
|
+
router?: string | null;
|
|
433
|
+
routerRequiresDeadline?: boolean | null;
|
|
434
|
+
socials?: TokenSocials | null;
|
|
435
|
+
symbol?: string | null;
|
|
436
|
+
tickSpacing?: number | null;
|
|
437
|
+
token?: string | null;
|
|
438
|
+
totalSupplyWei?: string | null;
|
|
439
|
+
}
|
|
440
|
+
export interface GetV2CreatorFeesParams {
|
|
441
|
+
/** Token contract address of a v2 (curve) launch. */
|
|
442
|
+
token: string;
|
|
443
|
+
}
|
|
444
|
+
export interface GetV2CreatorFeesResponse {
|
|
445
|
+
claimableForWallet?: string | null;
|
|
446
|
+
earnedForToken?: string | null;
|
|
447
|
+
feeEscrow?: string | null;
|
|
448
|
+
nothingToClaim?: boolean | null;
|
|
449
|
+
quoteAsset?: QuoteAsset | null;
|
|
450
|
+
recipient?: string | null;
|
|
451
|
+
sweepCount?: number | null;
|
|
452
|
+
token?: string | null;
|
|
453
|
+
}
|
|
454
|
+
export interface GetV2DistributorParams {
|
|
455
|
+
/** Token contract address of a v2 (curve) launch. */
|
|
456
|
+
token: string;
|
|
457
|
+
}
|
|
458
|
+
export interface GetV2DistributorResponse {
|
|
459
|
+
distributedCoin?: string | null;
|
|
460
|
+
distributedQuote?: string | null;
|
|
461
|
+
distributor?: string | null;
|
|
462
|
+
epochCount?: number | null;
|
|
463
|
+
latestEpoch?: DistributorEpoch | null;
|
|
464
|
+
state?: string | null;
|
|
465
|
+
unallocatedCoin?: string | null;
|
|
466
|
+
unallocatedQuote?: string | null;
|
|
467
|
+
}
|
|
468
|
+
export interface GetV2MarketChartParams {
|
|
469
|
+
/** Chart window. */
|
|
470
|
+
range?: ChartRange;
|
|
471
|
+
/** Token contract address of a v2 (curve) launch. */
|
|
472
|
+
token: string;
|
|
473
|
+
}
|
|
474
|
+
export interface GetV2MarketChartResponse {
|
|
475
|
+
intervalSeconds?: number | null;
|
|
476
|
+
points?: V2ChartPoint[] | null;
|
|
477
|
+
quoteSymbol?: string | null;
|
|
478
|
+
quoteUsd?: number | null;
|
|
479
|
+
range?: string | null;
|
|
480
|
+
token?: string | null;
|
|
481
|
+
updatedAt?: number | null;
|
|
482
|
+
}
|
|
483
|
+
export interface GetV2MarketHoldersParams {
|
|
484
|
+
/** Token contract address of a v2 (curve) launch. */
|
|
485
|
+
token: string;
|
|
486
|
+
}
|
|
487
|
+
export interface GetV2MarketHoldersResponse {
|
|
488
|
+
holders?: V2Holder[] | null;
|
|
489
|
+
holdersCount?: number | null;
|
|
490
|
+
}
|
|
491
|
+
export interface GetV2MarketTradesParams {
|
|
492
|
+
/** Token contract address of a v2 (curve) launch. */
|
|
493
|
+
token: string;
|
|
494
|
+
}
|
|
495
|
+
export interface GetV2MarketTradesResponse {
|
|
496
|
+
trades?: V2Trade[] | null;
|
|
497
|
+
}
|
|
498
|
+
export interface GetWalletIdentitiesParams {
|
|
499
|
+
/** Wallet addresses to resolve, at most 100 per call. */
|
|
500
|
+
addresses: string[];
|
|
501
|
+
}
|
|
502
|
+
export interface GetWalletIdentitiesResponse {
|
|
503
|
+
identities?: WalletIdentity[] | null;
|
|
504
|
+
}
|
|
505
|
+
export interface GetWalletPositionsParams {
|
|
506
|
+
/** Wallet address. */
|
|
507
|
+
address: string;
|
|
508
|
+
}
|
|
509
|
+
export interface GetWalletPositionsResponse {
|
|
510
|
+
activity?: WalletActivity[] | null;
|
|
511
|
+
address?: string | null;
|
|
512
|
+
positions?: WalletPosition[] | null;
|
|
513
|
+
totals?: WalletTotals | null;
|
|
514
|
+
updatedAt?: number | null;
|
|
515
|
+
}
|
|
516
|
+
export interface Graduation {
|
|
517
|
+
graduatedAt?: string | null;
|
|
518
|
+
observedBlockNumber?: number | null;
|
|
519
|
+
token?: string | null;
|
|
520
|
+
}
|
|
521
|
+
export interface Launch {
|
|
522
|
+
blockNumber?: number | null;
|
|
523
|
+
burnedPct?: number | null;
|
|
524
|
+
deployer?: string | null;
|
|
525
|
+
description?: string | null;
|
|
526
|
+
factory?: string | null;
|
|
527
|
+
graduated?: boolean | null;
|
|
528
|
+
graduatedAt?: string | null;
|
|
529
|
+
graduatedBlockNumber?: number | null;
|
|
530
|
+
graduationProgressPct?: number | null;
|
|
531
|
+
graduationThresholdEth?: number | null;
|
|
532
|
+
initialBuyWei?: string | null;
|
|
533
|
+
isOriginal?: boolean | null;
|
|
534
|
+
latestBuyAt?: string | null;
|
|
535
|
+
latestBuyBlockNumber?: number | null;
|
|
536
|
+
launchedAt?: string | null;
|
|
537
|
+
liquidityUsd?: number | null;
|
|
538
|
+
logo?: string | null;
|
|
539
|
+
marketCapUsd?: number | null;
|
|
540
|
+
name?: string | null;
|
|
541
|
+
pairToken?: string | null;
|
|
542
|
+
pairedPrincipalEth?: number | null;
|
|
543
|
+
pool?: string | null;
|
|
544
|
+
priceUsd?: number | null;
|
|
545
|
+
quoteAsset?: QuoteAsset | null;
|
|
546
|
+
realMcapUsd?: number | null;
|
|
547
|
+
symbol?: string | null;
|
|
548
|
+
token?: string | null;
|
|
549
|
+
transactionHash?: string | null;
|
|
550
|
+
venue?: string | null;
|
|
551
|
+
version?: string | null;
|
|
552
|
+
volume24hUsd?: number | null;
|
|
553
|
+
}
|
|
554
|
+
export type LaunchAge = "all" | "24h" | "7d";
|
|
555
|
+
export interface LaunchPage {
|
|
556
|
+
items?: Launch[] | null;
|
|
557
|
+
page?: number | null;
|
|
558
|
+
pageSize?: number | null;
|
|
559
|
+
total?: number | null;
|
|
560
|
+
}
|
|
561
|
+
export type LaunchSearchSort = "relevance" | "marketCap" | "volume" | "newest" | "oldest";
|
|
562
|
+
export type LaunchSort = "recentBuys" | "newest" | "oldest" | "marketCap" | "volume";
|
|
563
|
+
export type LaunchVersion = "all" | "v1" | "v2";
|
|
564
|
+
export interface ListCtoMigrationsResponse {
|
|
565
|
+
migrations?: CtoMigration[] | null;
|
|
566
|
+
}
|
|
567
|
+
export interface ListForumCommunitiesParams {
|
|
568
|
+
/** Number of communities to return. */
|
|
569
|
+
limit?: number;
|
|
570
|
+
/** Ranking column. */
|
|
571
|
+
rank?: CommunityRank;
|
|
572
|
+
}
|
|
573
|
+
export interface ListForumCommunitiesResponse {
|
|
574
|
+
communities?: ForumCommunity[] | null;
|
|
575
|
+
}
|
|
576
|
+
export interface ListForumPostsParams {
|
|
577
|
+
/** Restrict the feed to one community slug. */
|
|
578
|
+
community?: string | null;
|
|
579
|
+
/** Feed ranking. */
|
|
580
|
+
sort?: PostSort;
|
|
581
|
+
}
|
|
582
|
+
export interface ListForumPostsResponse {
|
|
583
|
+
posts?: ForumPost[] | null;
|
|
584
|
+
}
|
|
585
|
+
export interface ListLaunchesParams {
|
|
586
|
+
/** Only include launches from this window. */
|
|
587
|
+
age?: LaunchAge;
|
|
588
|
+
/** Page of graduated launches. */
|
|
589
|
+
graduated_page?: number;
|
|
590
|
+
/** Graduated launches per page. */
|
|
591
|
+
graduated_page_size?: number;
|
|
592
|
+
/** Include the graduated board in the response. */
|
|
593
|
+
include_graduated?: boolean;
|
|
594
|
+
/** Page of active launches. */
|
|
595
|
+
page?: number;
|
|
596
|
+
/** Active launches per page. */
|
|
597
|
+
page_size?: number;
|
|
598
|
+
/** Ranking column for the active board. */
|
|
599
|
+
sort?: LaunchSort;
|
|
600
|
+
/** Restrict to a launchpad version. */
|
|
601
|
+
version?: LaunchVersion;
|
|
602
|
+
}
|
|
603
|
+
export interface ListLaunchesResponse {
|
|
604
|
+
active?: LaunchPage | null;
|
|
605
|
+
activeTotal?: number | null;
|
|
606
|
+
generatedAt?: number | null;
|
|
607
|
+
graduated?: LaunchPage | null;
|
|
608
|
+
graduatedTotal?: number | null;
|
|
609
|
+
launchTotal?: number | null;
|
|
610
|
+
}
|
|
611
|
+
export interface ListLiveMarketsParams {
|
|
612
|
+
/** Restrict the live-market snapshot to these token addresses, at most 100 per call. */
|
|
613
|
+
markets?: string[] | null;
|
|
614
|
+
}
|
|
615
|
+
export interface LiveMarket {
|
|
616
|
+
graduated?: boolean | null;
|
|
617
|
+
graduationProgressPct?: number | null;
|
|
618
|
+
graduationThresholdEth?: number | null;
|
|
619
|
+
latestBuyAt?: string | null;
|
|
620
|
+
latestBuyBlockNumber?: number | null;
|
|
621
|
+
latestMarketBlockNumber?: number | null;
|
|
622
|
+
marketCapUsd?: number | null;
|
|
623
|
+
pairedPrincipalEth?: number | null;
|
|
624
|
+
pool?: string | null;
|
|
625
|
+
priceUsd?: number | null;
|
|
626
|
+
token?: string | null;
|
|
627
|
+
}
|
|
628
|
+
export interface MarketChartPoint {
|
|
629
|
+
blockNumber?: number | null;
|
|
630
|
+
priceEth?: number | null;
|
|
631
|
+
t?: number | null;
|
|
632
|
+
tradeCount?: number | null;
|
|
633
|
+
volumeEth?: number | null;
|
|
634
|
+
}
|
|
635
|
+
export interface MarketHolder {
|
|
636
|
+
address?: string | null;
|
|
637
|
+
balance?: string | null;
|
|
638
|
+
entryMcapUsd?: number | null;
|
|
639
|
+
percentage?: number | null;
|
|
640
|
+
pnlPct?: number | null;
|
|
641
|
+
pnlUsd?: number | null;
|
|
642
|
+
}
|
|
643
|
+
export interface MarketPricePoint {
|
|
644
|
+
blockNumber?: number | null;
|
|
645
|
+
priceUsd?: number | null;
|
|
646
|
+
t?: number | null;
|
|
647
|
+
}
|
|
648
|
+
export interface MarketTrade {
|
|
649
|
+
blockNumber?: number | null;
|
|
650
|
+
ethAmount?: string | null;
|
|
651
|
+
priceUsd?: number | null;
|
|
652
|
+
recipient?: string | null;
|
|
653
|
+
side?: string | null;
|
|
654
|
+
timestamp?: number | null;
|
|
655
|
+
tokenAmount?: string | null;
|
|
656
|
+
transactionHash?: string | null;
|
|
657
|
+
valueUsd?: number | null;
|
|
658
|
+
}
|
|
659
|
+
export interface MigrationSchedule {
|
|
660
|
+
claimEnd?: number | null;
|
|
661
|
+
claimStart?: number | null;
|
|
662
|
+
claimVest?: number | null;
|
|
663
|
+
decayStepBps?: number | null;
|
|
664
|
+
depositEnd?: number | null;
|
|
665
|
+
depositStart?: number | null;
|
|
666
|
+
epochCount?: number | null;
|
|
667
|
+
epochCursor?: number | null;
|
|
668
|
+
epochDuration?: number | null;
|
|
669
|
+
epochOpenedAt?: number | null;
|
|
670
|
+
launchAt?: number | null;
|
|
671
|
+
minDeposits?: string | null;
|
|
672
|
+
seedDeadline?: number | null;
|
|
673
|
+
sellEnd?: number | null;
|
|
674
|
+
sellStart?: number | null;
|
|
675
|
+
settleAt?: number | null;
|
|
676
|
+
windowSeconds?: number | null;
|
|
677
|
+
}
|
|
678
|
+
export interface OrderDepthBand {
|
|
679
|
+
depthUsd?: number | null;
|
|
680
|
+
inputRemaining?: string | null;
|
|
681
|
+
orderCount?: number | null;
|
|
682
|
+
priceEth?: number | null;
|
|
683
|
+
side?: string | null;
|
|
684
|
+
targetTick?: number | null;
|
|
685
|
+
}
|
|
686
|
+
export interface PortfolioChartPoint {
|
|
687
|
+
t?: number | null;
|
|
688
|
+
valueUsd?: number | null;
|
|
689
|
+
}
|
|
690
|
+
export type PortfolioRange = "1d" | "7d" | "30d";
|
|
691
|
+
export type PostSort = "hot" | "new" | "top";
|
|
692
|
+
export interface ProfileLaunch {
|
|
693
|
+
claimable?: boolean | null;
|
|
694
|
+
claimableTokenWei?: string | null;
|
|
695
|
+
claimableWethWei?: string | null;
|
|
696
|
+
claimedTokenWei?: string | null;
|
|
697
|
+
claimedWethWei?: string | null;
|
|
698
|
+
isDeployer?: boolean | null;
|
|
699
|
+
isFeeRecipient?: boolean | null;
|
|
700
|
+
locker?: string | null;
|
|
701
|
+
logo?: string | null;
|
|
702
|
+
name?: string | null;
|
|
703
|
+
symbol?: string | null;
|
|
704
|
+
token?: string | null;
|
|
705
|
+
}
|
|
706
|
+
export type PublicError = "blocked" | "concurrency_exceeded" | "timeout" | "extraction_failed" | "upstream_blocked" | "upstream_unavailable" | "upstream_response_invalid" | "invalid_url_scheme" | "invalid_url_host" | "unauthenticated" | "forbidden" | "resource_forbidden" | "not_found" | "rate_limited" | "invalid_request" | "invalid_cursor" | "insufficient_credits" | "internal_error";
|
|
707
|
+
export interface QuoteAsset {
|
|
708
|
+
address?: string | null;
|
|
709
|
+
assetClass?: string | null;
|
|
710
|
+
decimals?: number | null;
|
|
711
|
+
isNative?: boolean | null;
|
|
712
|
+
name?: string | null;
|
|
713
|
+
symbol?: string | null;
|
|
714
|
+
}
|
|
715
|
+
export interface SearchLaunchesParams {
|
|
716
|
+
/** Only include launches from this window. */
|
|
717
|
+
age?: LaunchAge;
|
|
718
|
+
/** Result page. */
|
|
719
|
+
page?: number;
|
|
720
|
+
/** Free-text query matched against token name, symbol and address. */
|
|
721
|
+
q?: string;
|
|
722
|
+
/** Ranking column for the result set. */
|
|
723
|
+
sort?: LaunchSearchSort;
|
|
724
|
+
}
|
|
725
|
+
export interface SearchLaunchesResponse {
|
|
726
|
+
items?: Launch[] | null;
|
|
727
|
+
page?: number | null;
|
|
728
|
+
pageSize?: number | null;
|
|
729
|
+
total?: number | null;
|
|
730
|
+
}
|
|
731
|
+
export interface TokenSocials {
|
|
732
|
+
discord?: string | null;
|
|
733
|
+
farcaster?: string | null;
|
|
734
|
+
telegram?: string | null;
|
|
735
|
+
twitter?: string | null;
|
|
736
|
+
}
|
|
737
|
+
export interface V2ChartPoint {
|
|
738
|
+
blockNumber?: number | null;
|
|
739
|
+
price?: number | null;
|
|
740
|
+
t?: number | null;
|
|
741
|
+
tradeCount?: number | null;
|
|
742
|
+
volumeQuote?: number | null;
|
|
743
|
+
}
|
|
744
|
+
export interface V2Holder {
|
|
745
|
+
address?: string | null;
|
|
746
|
+
balance?: string | null;
|
|
747
|
+
percentage?: number | null;
|
|
748
|
+
}
|
|
749
|
+
export interface V2Trade {
|
|
750
|
+
account?: string | null;
|
|
751
|
+
blockNumber?: number | null;
|
|
752
|
+
id?: string | null;
|
|
753
|
+
quoteAmount?: string | null;
|
|
754
|
+
side?: string | null;
|
|
755
|
+
timestamp?: number | null;
|
|
756
|
+
tokenAmount?: string | null;
|
|
757
|
+
transactionHash?: string | null;
|
|
758
|
+
venue?: string | null;
|
|
759
|
+
}
|
|
760
|
+
export interface WalletActivity {
|
|
761
|
+
blockNumber?: number | null;
|
|
762
|
+
ethAmount?: string | null;
|
|
763
|
+
logo?: string | null;
|
|
764
|
+
name?: string | null;
|
|
765
|
+
priceUsd?: number | null;
|
|
766
|
+
side?: string | null;
|
|
767
|
+
symbol?: string | null;
|
|
768
|
+
timestamp?: number | null;
|
|
769
|
+
token?: string | null;
|
|
770
|
+
tokenAmount?: string | null;
|
|
771
|
+
transactionHash?: string | null;
|
|
772
|
+
valueUsd?: number | null;
|
|
773
|
+
}
|
|
774
|
+
export interface WalletIdentity {
|
|
775
|
+
avatarKey?: string | null;
|
|
776
|
+
avatarUrl?: string | null;
|
|
777
|
+
bannerKey?: string | null;
|
|
778
|
+
bannerUrl?: string | null;
|
|
779
|
+
createdAtMs?: number | null;
|
|
780
|
+
description?: string | null;
|
|
781
|
+
displayName?: string | null;
|
|
782
|
+
joinedAtMs?: number | null;
|
|
783
|
+
updatedAtMs?: number | null;
|
|
784
|
+
username?: string | null;
|
|
785
|
+
wallet?: string | null;
|
|
786
|
+
}
|
|
787
|
+
export interface WalletPosition {
|
|
788
|
+
amountTokens?: number | null;
|
|
789
|
+
balance?: string | null;
|
|
790
|
+
buys?: number | null;
|
|
791
|
+
currentMcapUsd?: number | null;
|
|
792
|
+
currentPriceUsd?: number | null;
|
|
793
|
+
decimals?: number | null;
|
|
794
|
+
entryMcapUsd?: number | null;
|
|
795
|
+
entryPriceUsd?: number | null;
|
|
796
|
+
firstTradeAt?: number | null;
|
|
797
|
+
investedUsd?: number | null;
|
|
798
|
+
lastTradeAt?: number | null;
|
|
799
|
+
logo?: string | null;
|
|
800
|
+
name?: string | null;
|
|
801
|
+
pnlReliable?: boolean | null;
|
|
802
|
+
pool?: string | null;
|
|
803
|
+
realizedPnlUsd?: number | null;
|
|
804
|
+
sells?: number | null;
|
|
805
|
+
state?: string | null;
|
|
806
|
+
supplyTokens?: number | null;
|
|
807
|
+
symbol?: string | null;
|
|
808
|
+
token?: string | null;
|
|
809
|
+
totalPnlPct?: number | null;
|
|
810
|
+
totalPnlUsd?: number | null;
|
|
811
|
+
unrealizedPnlUsd?: number | null;
|
|
812
|
+
valueUsd?: number | null;
|
|
813
|
+
version?: string | null;
|
|
814
|
+
}
|
|
815
|
+
export interface WalletTotals {
|
|
816
|
+
investedUsd?: number | null;
|
|
817
|
+
openPositions?: number | null;
|
|
818
|
+
pnlTrackedPositions?: number | null;
|
|
819
|
+
portfolioValueUsd?: number | null;
|
|
820
|
+
realizedPnlUsd?: number | null;
|
|
821
|
+
tokensTraded?: number | null;
|
|
822
|
+
totalPnlPct?: number | null;
|
|
823
|
+
totalPnlUsd?: number | null;
|
|
824
|
+
unrealizedPnlUsd?: number | null;
|
|
825
|
+
winRate?: number | null;
|
|
826
|
+
}
|
|
827
|
+
//# sourceMappingURL=types.d.ts.map
|