@tapline/client 0.2.7 → 0.2.8
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 +6 -2
- package/dist/cjs/client.d.ts +6 -0
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js +9 -0
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.d.ts +6 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +10 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/services/instagram/client.d.ts +31 -0
- package/dist/cjs/services/instagram/client.d.ts.map +1 -0
- package/dist/cjs/services/instagram/client.js +60 -0
- package/dist/cjs/services/instagram/client.js.map +1 -0
- package/dist/cjs/services/instagram/index.d.ts +3 -0
- package/dist/cjs/services/instagram/index.d.ts.map +1 -0
- package/dist/cjs/services/instagram/index.js +22 -0
- package/dist/cjs/services/instagram/index.js.map +1 -0
- package/dist/cjs/services/instagram/types.d.ts +2420 -0
- package/dist/cjs/services/instagram/types.d.ts.map +1 -0
- package/dist/cjs/services/instagram/types.js +4 -0
- package/dist/cjs/services/instagram/types.js.map +1 -0
- package/dist/cjs/services/pinterest/client.d.ts +2 -2
- package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
- package/dist/cjs/services/pinterest/client.js +2 -2
- package/dist/cjs/services/pinterest/client.js.map +1 -1
- package/dist/cjs/services/pinterest/types.d.ts +0 -12
- package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
- package/dist/cjs/services/pumpfun/client.d.ts +285 -0
- package/dist/cjs/services/pumpfun/client.d.ts.map +1 -0
- package/dist/cjs/services/pumpfun/client.js +649 -0
- package/dist/cjs/services/pumpfun/client.js.map +1 -0
- package/dist/cjs/services/pumpfun/index.d.ts +3 -0
- package/dist/cjs/services/pumpfun/index.d.ts.map +1 -0
- package/dist/cjs/services/pumpfun/index.js +22 -0
- package/dist/cjs/services/pumpfun/index.js.map +1 -0
- package/dist/cjs/services/pumpfun/types.d.ts +4853 -0
- package/dist/cjs/services/pumpfun/types.d.ts.map +1 -0
- package/dist/cjs/services/pumpfun/types.js +4 -0
- package/dist/cjs/services/pumpfun/types.js.map +1 -0
- package/dist/cjs/services/tiktok/client.d.ts +35 -0
- package/dist/cjs/services/tiktok/client.d.ts.map +1 -0
- package/dist/cjs/services/tiktok/client.js +68 -0
- package/dist/cjs/services/tiktok/client.js.map +1 -0
- package/dist/cjs/services/tiktok/index.d.ts +3 -0
- package/dist/cjs/services/tiktok/index.d.ts.map +1 -0
- package/dist/cjs/services/tiktok/index.js +22 -0
- package/dist/cjs/services/tiktok/index.js.map +1 -0
- package/dist/cjs/services/tiktok/types.d.ts +2427 -0
- package/dist/cjs/services/tiktok/types.d.ts.map +1 -0
- package/dist/cjs/services/tiktok/types.js +4 -0
- package/dist/cjs/services/tiktok/types.js.map +1 -0
- package/dist/cjs/services/twitter/client.d.ts +5 -5
- package/dist/cjs/services/twitter/client.d.ts.map +1 -1
- package/dist/cjs/services/twitter/client.js +5 -5
- package/dist/cjs/services/twitter/client.js.map +1 -1
- package/dist/cjs/services/twitter/types.d.ts +0 -15
- package/dist/cjs/services/twitter/types.d.ts.map +1 -1
- package/dist/client.d.ts +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +9 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/services/instagram/client.d.ts +31 -0
- package/dist/services/instagram/client.d.ts.map +1 -0
- package/dist/services/instagram/client.js +56 -0
- package/dist/services/instagram/client.js.map +1 -0
- package/dist/services/instagram/index.d.ts +3 -0
- package/dist/services/instagram/index.d.ts.map +1 -0
- package/dist/services/instagram/index.js +4 -0
- package/dist/services/instagram/index.js.map +1 -0
- package/dist/services/instagram/types.d.ts +2420 -0
- package/dist/services/instagram/types.d.ts.map +1 -0
- package/dist/services/instagram/types.js +3 -0
- package/dist/services/instagram/types.js.map +1 -0
- package/dist/services/pinterest/client.d.ts +2 -2
- package/dist/services/pinterest/client.d.ts.map +1 -1
- package/dist/services/pinterest/client.js +2 -2
- package/dist/services/pinterest/client.js.map +1 -1
- package/dist/services/pinterest/types.d.ts +0 -12
- package/dist/services/pinterest/types.d.ts.map +1 -1
- package/dist/services/pumpfun/client.d.ts +285 -0
- package/dist/services/pumpfun/client.d.ts.map +1 -0
- package/dist/services/pumpfun/client.js +645 -0
- package/dist/services/pumpfun/client.js.map +1 -0
- package/dist/services/pumpfun/index.d.ts +3 -0
- package/dist/services/pumpfun/index.d.ts.map +1 -0
- package/dist/services/pumpfun/index.js +4 -0
- package/dist/services/pumpfun/index.js.map +1 -0
- package/dist/services/pumpfun/types.d.ts +4853 -0
- package/dist/services/pumpfun/types.d.ts.map +1 -0
- package/dist/services/pumpfun/types.js +3 -0
- package/dist/services/pumpfun/types.js.map +1 -0
- package/dist/services/tiktok/client.d.ts +35 -0
- package/dist/services/tiktok/client.d.ts.map +1 -0
- package/dist/services/tiktok/client.js +64 -0
- package/dist/services/tiktok/client.js.map +1 -0
- package/dist/services/tiktok/index.d.ts +3 -0
- package/dist/services/tiktok/index.d.ts.map +1 -0
- package/dist/services/tiktok/index.js +4 -0
- package/dist/services/tiktok/index.js.map +1 -0
- package/dist/services/tiktok/types.d.ts +2427 -0
- package/dist/services/tiktok/types.d.ts.map +1 -0
- package/dist/services/tiktok/types.js +3 -0
- package/dist/services/tiktok/types.js.map +1 -0
- package/dist/services/twitter/client.d.ts +5 -5
- package/dist/services/twitter/client.d.ts.map +1 -1
- package/dist/services/twitter/client.js +5 -5
- package/dist/services/twitter/client.js.map +1 -1
- package/dist/services/twitter/types.d.ts +0 -15
- package/dist/services/twitter/types.d.ts.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,4853 @@
|
|
|
1
|
+
export interface Accrued {
|
|
2
|
+
firstTradeAt: string | null;
|
|
3
|
+
lastTradeAt: string | null;
|
|
4
|
+
numTrades: number;
|
|
5
|
+
quote: string | null;
|
|
6
|
+
quoteMintAddress: string;
|
|
7
|
+
usdAtTrade: string | null;
|
|
8
|
+
usdNow: string | null;
|
|
9
|
+
}
|
|
10
|
+
export interface Achievement {
|
|
11
|
+
description: string;
|
|
12
|
+
family: string;
|
|
13
|
+
hiddenUntilEarned: boolean;
|
|
14
|
+
id: string;
|
|
15
|
+
imageUrl: string;
|
|
16
|
+
metric: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
sortOrder: number;
|
|
19
|
+
threshold: number | null;
|
|
20
|
+
tier: number;
|
|
21
|
+
}
|
|
22
|
+
export interface Agentvolumeusd {
|
|
23
|
+
"24h": number;
|
|
24
|
+
"7d": number;
|
|
25
|
+
}
|
|
26
|
+
export interface Aggregate {
|
|
27
|
+
asOf: string | null;
|
|
28
|
+
buyVolumeUsd: string;
|
|
29
|
+
buys: number;
|
|
30
|
+
netBase: Baseamount | null;
|
|
31
|
+
sellVolumeUsd: string;
|
|
32
|
+
sells: number;
|
|
33
|
+
}
|
|
34
|
+
export interface ApprovedCreatorParams {
|
|
35
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
36
|
+
mint: string;
|
|
37
|
+
}
|
|
38
|
+
export interface AthBatchRequest {
|
|
39
|
+
/** Coin addresses (Solana mints or EVM tokens), 1 to 100. */
|
|
40
|
+
mints: string[];
|
|
41
|
+
}
|
|
42
|
+
export type AthCurrency = "USD" | "SOL" | "BASE" | "QUOTE";
|
|
43
|
+
export interface AthParams {
|
|
44
|
+
/** Chain of the coin. Omit for a Solana pump.fun coin, the original behaviour; set it for an EVM token or to pin a coin to one chain. */
|
|
45
|
+
chain?: TokenChain | null;
|
|
46
|
+
/** Quote currency. */
|
|
47
|
+
currency?: AthCurrency;
|
|
48
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
49
|
+
mint: string;
|
|
50
|
+
}
|
|
51
|
+
export interface Attachment {
|
|
52
|
+
contentType: string;
|
|
53
|
+
filename: string;
|
|
54
|
+
key: string;
|
|
55
|
+
kind: string;
|
|
56
|
+
size: number;
|
|
57
|
+
url: string;
|
|
58
|
+
}
|
|
59
|
+
export type BalanceChain = "all" | "solana" | "ethereum" | "base" | "bsc" | "robinhood" | "hype" | "ink" | "arc";
|
|
60
|
+
export interface BanStatusParams {
|
|
61
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
62
|
+
address: string;
|
|
63
|
+
}
|
|
64
|
+
export interface Baninfo {
|
|
65
|
+
reason: string;
|
|
66
|
+
timestamp: string;
|
|
67
|
+
}
|
|
68
|
+
export interface Baseamount {
|
|
69
|
+
decimals: number;
|
|
70
|
+
raw: string;
|
|
71
|
+
}
|
|
72
|
+
export interface Bestcallout {
|
|
73
|
+
calloutTimestamp: number;
|
|
74
|
+
coinMint: string;
|
|
75
|
+
multiple: number;
|
|
76
|
+
}
|
|
77
|
+
export interface Bestrank {
|
|
78
|
+
periodLabel: string;
|
|
79
|
+
periodType: number;
|
|
80
|
+
rank: number;
|
|
81
|
+
}
|
|
82
|
+
export type BoostMode = "NONE" | "IN_PROGRESS" | "COMPLETED";
|
|
83
|
+
export interface Bounty {
|
|
84
|
+
attachments?: Attachment[];
|
|
85
|
+
banInfo?: Baninfo;
|
|
86
|
+
bodyMarkdown: string;
|
|
87
|
+
chainConfigSnapshot: Chainconfigsnapshot;
|
|
88
|
+
coinAddress?: string;
|
|
89
|
+
contributors: Contributor[];
|
|
90
|
+
counts: Count;
|
|
91
|
+
createdAt: string;
|
|
92
|
+
creatorAddress: string;
|
|
93
|
+
criteria: Criteria[];
|
|
94
|
+
expiresAt: string;
|
|
95
|
+
fundedAt: string;
|
|
96
|
+
latestDisputePublishedAt?: string;
|
|
97
|
+
likeCount: number;
|
|
98
|
+
onChainBountyId: string;
|
|
99
|
+
publishedAt: string;
|
|
100
|
+
pumpBountiesProgramId: string;
|
|
101
|
+
resolution?: BountyResolution;
|
|
102
|
+
resolutionHistory?: BountyResolutionHistory[];
|
|
103
|
+
rewardDistribution: Rewarddistribution;
|
|
104
|
+
rewardLegs: Rewardleg[];
|
|
105
|
+
rewardLegsUsd: Rewardlegsusd[];
|
|
106
|
+
rewardPricedAt: string;
|
|
107
|
+
rewardTotalUsd: number;
|
|
108
|
+
status: string;
|
|
109
|
+
submissionVisibility: string;
|
|
110
|
+
taskId: string;
|
|
111
|
+
title: string;
|
|
112
|
+
unbanInfo?: Baninfo;
|
|
113
|
+
unbanRequest?: Unbanrequest;
|
|
114
|
+
verification?: Verification;
|
|
115
|
+
}
|
|
116
|
+
export interface BountyFeedRecentParams {
|
|
117
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
118
|
+
cursor?: string | null;
|
|
119
|
+
/** Maximum feed entries to return. */
|
|
120
|
+
limit?: number;
|
|
121
|
+
}
|
|
122
|
+
export interface BountyFeedTrendingParams {
|
|
123
|
+
/** Maximum feed entries to return. */
|
|
124
|
+
limit?: number;
|
|
125
|
+
}
|
|
126
|
+
export type BountyPhase = "OPEN" | "PENDING_RESOLUTION" | "IN_DISPUTE_PERIOD" | "CLOSED";
|
|
127
|
+
export interface BountyRecentPayoutsParams {
|
|
128
|
+
/** Maximum payouts to return. */
|
|
129
|
+
limit?: number;
|
|
130
|
+
}
|
|
131
|
+
export interface BountyResolution {
|
|
132
|
+
decisionVersion: number;
|
|
133
|
+
disputeEndsAt: string;
|
|
134
|
+
firstPublishAt?: string;
|
|
135
|
+
outcomeType: string;
|
|
136
|
+
payedOutAt?: string;
|
|
137
|
+
recordedAt: string;
|
|
138
|
+
winnerCount: number;
|
|
139
|
+
winners: Winner[];
|
|
140
|
+
}
|
|
141
|
+
export interface BountyResolutionHistory {
|
|
142
|
+
decisionVersion: number;
|
|
143
|
+
disputeEndsAt: string;
|
|
144
|
+
outcomeType: string;
|
|
145
|
+
recordedAt: string;
|
|
146
|
+
winnerCount: number;
|
|
147
|
+
winners: BountyResolutionHistoryWinner[];
|
|
148
|
+
}
|
|
149
|
+
export interface BountyResolutionHistoryWinner {
|
|
150
|
+
address: string;
|
|
151
|
+
amountToPayAtomic: string;
|
|
152
|
+
mintAddress: string;
|
|
153
|
+
submissionId: string;
|
|
154
|
+
}
|
|
155
|
+
export type BountySort = "createdAt" | "publishedAt" | "expiresAt" | "rewardTotalUsd" | "likeCount" | "submissionCount" | "creatorXFollowerCount" | "distance";
|
|
156
|
+
export interface BountySubmissionsParams {
|
|
157
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
158
|
+
cursor?: string | null;
|
|
159
|
+
/** Maximum submissions to return. */
|
|
160
|
+
limit?: number;
|
|
161
|
+
/** Solana wallet that made the submissions. */
|
|
162
|
+
requester_address: string;
|
|
163
|
+
}
|
|
164
|
+
export interface BountyTasksParams {
|
|
165
|
+
/** Restrict to bounties on one Solana coin. */
|
|
166
|
+
coin_address?: string | null;
|
|
167
|
+
/** Bounties posted by this Solana wallet. */
|
|
168
|
+
creator_address?: string | null;
|
|
169
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
170
|
+
cursor?: string | null;
|
|
171
|
+
/** Expiring at or after this ISO 8601 date or time, such as `2026-11-01T00:00:00Z`. */
|
|
172
|
+
expires_at_gte?: string | null;
|
|
173
|
+
/** Expiring at or before this ISO 8601 date or time, such as `2026-11-01`. */
|
|
174
|
+
expires_at_lte?: string | null;
|
|
175
|
+
/** Include aggregate facet counts alongside the tasks. */
|
|
176
|
+
facets?: boolean;
|
|
177
|
+
/** Include moderated tasks. */
|
|
178
|
+
include_banned?: boolean | null;
|
|
179
|
+
/** Latitude for a distance search. */
|
|
180
|
+
lat?: number | null;
|
|
181
|
+
/** Minimum likes. */
|
|
182
|
+
like_count_gte?: number | null;
|
|
183
|
+
/** Maximum tasks to return. */
|
|
184
|
+
limit?: number;
|
|
185
|
+
/** Longitude for a distance search. */
|
|
186
|
+
lng?: number | null;
|
|
187
|
+
/** Sort direction. */
|
|
188
|
+
order?: OrderDirection;
|
|
189
|
+
/** Lifecycle phases to return. Repeat for several. A phase is pump.fun's grouping of task states, not the task's `status`: an `OPEN` task can carry status `PENDING_RESOLUTION`. Tasks carry no `phase` field. */
|
|
190
|
+
phase?: BountyPhase[];
|
|
191
|
+
/** Free-text search. */
|
|
192
|
+
q?: string | null;
|
|
193
|
+
/** Radius in km for a distance search. */
|
|
194
|
+
radius_km?: number | null;
|
|
195
|
+
/** Bounties paying in these Solana token mints. Repeat for several. */
|
|
196
|
+
reward_mints?: string[] | null;
|
|
197
|
+
/** Minimum reward in USD. */
|
|
198
|
+
reward_total_usd_gte?: number | null;
|
|
199
|
+
/** Maximum reward in USD. */
|
|
200
|
+
reward_total_usd_lte?: number | null;
|
|
201
|
+
/** Ranking column. */
|
|
202
|
+
sort?: BountySort;
|
|
203
|
+
/** Minimum submissions. */
|
|
204
|
+
submission_count_gte?: number | null;
|
|
205
|
+
}
|
|
206
|
+
export interface BountyTopCoinsParams {
|
|
207
|
+
/** Maximum coins to return. */
|
|
208
|
+
limit?: number;
|
|
209
|
+
}
|
|
210
|
+
export interface BountyTopEarnersParams {
|
|
211
|
+
/** Maximum wallets to return. */
|
|
212
|
+
limit?: number;
|
|
213
|
+
}
|
|
214
|
+
export interface BountyTopSpendersParams {
|
|
215
|
+
/** Maximum wallets to return. */
|
|
216
|
+
limit?: number;
|
|
217
|
+
}
|
|
218
|
+
export interface Byquote {
|
|
219
|
+
accrued: string;
|
|
220
|
+
accruedUsdAtTrade: string;
|
|
221
|
+
coinCount: number;
|
|
222
|
+
paid: string;
|
|
223
|
+
payingCount: number;
|
|
224
|
+
quoteMintAddress: string;
|
|
225
|
+
}
|
|
226
|
+
export interface Callout {
|
|
227
|
+
accountKind?: string;
|
|
228
|
+
calloutId: string;
|
|
229
|
+
calloutPrice: number;
|
|
230
|
+
calloutPriceUsd: number;
|
|
231
|
+
chain?: string | null;
|
|
232
|
+
coinMint: string;
|
|
233
|
+
commentCount: number;
|
|
234
|
+
createdAt: number;
|
|
235
|
+
hasLiked: null;
|
|
236
|
+
hasReposted: null;
|
|
237
|
+
isVerified: boolean;
|
|
238
|
+
likes: number;
|
|
239
|
+
marketCap: number;
|
|
240
|
+
maxMultiplier: number;
|
|
241
|
+
maxMultiplierAt: string;
|
|
242
|
+
maxPriceSol: number;
|
|
243
|
+
maxPriceUsd: number;
|
|
244
|
+
mediaUrl: string | null;
|
|
245
|
+
multiple: number;
|
|
246
|
+
perp?: null;
|
|
247
|
+
profileImage: string;
|
|
248
|
+
quoteCount: number;
|
|
249
|
+
quotedCallout: null;
|
|
250
|
+
quotedCalloutId: null;
|
|
251
|
+
replyCount: number;
|
|
252
|
+
repostCount: number;
|
|
253
|
+
thesis: string;
|
|
254
|
+
updateCount: number;
|
|
255
|
+
updates: unknown[];
|
|
256
|
+
userId: string;
|
|
257
|
+
userName: string;
|
|
258
|
+
user_uuid: string;
|
|
259
|
+
verifiedBadgeVisible?: boolean;
|
|
260
|
+
viewCount: number;
|
|
261
|
+
xFollowerCount: number;
|
|
262
|
+
xUsername: string | null;
|
|
263
|
+
}
|
|
264
|
+
export interface CalloutLeaderboardStatsParams {
|
|
265
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
266
|
+
address: string;
|
|
267
|
+
}
|
|
268
|
+
export interface CalloutLikersParams {
|
|
269
|
+
/** Callout UUID. */
|
|
270
|
+
callout_id: string;
|
|
271
|
+
/** Maximum profiles to return. */
|
|
272
|
+
limit?: number;
|
|
273
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
274
|
+
offset?: number;
|
|
275
|
+
}
|
|
276
|
+
export interface CalloutParams {
|
|
277
|
+
/** Callout UUID. */
|
|
278
|
+
callout_id: string;
|
|
279
|
+
}
|
|
280
|
+
export interface CalloutQuotesParams {
|
|
281
|
+
/** Callout UUID. */
|
|
282
|
+
callout_id: string;
|
|
283
|
+
/** Maximum quotes to return. */
|
|
284
|
+
limit?: number;
|
|
285
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
286
|
+
offset?: number;
|
|
287
|
+
}
|
|
288
|
+
export interface CalloutRepliesParams {
|
|
289
|
+
/** Replies older than this reply id. Recency order only, so not with `sort=POSITION` or `PNL`. */
|
|
290
|
+
before_id?: string | null;
|
|
291
|
+
/** Callout UUID. */
|
|
292
|
+
callout_id: string;
|
|
293
|
+
/** Restrict to a reply audience. */
|
|
294
|
+
filter?: ReplyFilter;
|
|
295
|
+
/** Maximum replies to return. */
|
|
296
|
+
limit?: number;
|
|
297
|
+
/** Newest child replies to inline per reply. */
|
|
298
|
+
nested_limit?: number | null;
|
|
299
|
+
/** Page number for `sort=POSITION`. */
|
|
300
|
+
page?: number | null;
|
|
301
|
+
/** List this reply's direct children instead of top-level replies. */
|
|
302
|
+
parent_reply_id?: string | null;
|
|
303
|
+
/** Reply order. */
|
|
304
|
+
sort?: ReplySort | null;
|
|
305
|
+
}
|
|
306
|
+
export interface CalloutRepostersParams {
|
|
307
|
+
/** Callout UUID. */
|
|
308
|
+
callout_id: string;
|
|
309
|
+
/** Maximum profiles to return. */
|
|
310
|
+
limit?: number;
|
|
311
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
312
|
+
offset?: number;
|
|
313
|
+
}
|
|
314
|
+
export type CalloutSort = "TIMESTAMP" | "MULTIPLE";
|
|
315
|
+
export interface CalloutStatsParams {
|
|
316
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
317
|
+
address: string;
|
|
318
|
+
}
|
|
319
|
+
export type CalloutWindow = "daily" | "weekly" | "monthly" | "alltime";
|
|
320
|
+
export interface Candle {
|
|
321
|
+
close: string;
|
|
322
|
+
high: string;
|
|
323
|
+
low: string;
|
|
324
|
+
open: string;
|
|
325
|
+
timestamp: number;
|
|
326
|
+
volume: string;
|
|
327
|
+
}
|
|
328
|
+
export type CandleInterval = "1s" | "15s" | "30s" | "1m" | "5m" | "15m" | "30m" | "1h" | "4h" | "6h" | "12h" | "24h";
|
|
329
|
+
export type CandleResolution = "1s" | "15s" | "30s" | "1m" | "5m" | "15m" | "1h" | "4h" | "1d";
|
|
330
|
+
export interface CandlesParams {
|
|
331
|
+
/** Chain of the coin. Omit for a Solana pump.fun coin, the original behaviour; set it for an EVM token or to pin a coin to one chain. */
|
|
332
|
+
chain?: TokenChain | null;
|
|
333
|
+
/** Coin creation timestamp in milliseconds, as returned by the coin endpoints. pump.fun does not use it to pick the window: any value returns the same series. */
|
|
334
|
+
created_ts: number;
|
|
335
|
+
/** Quote currency for the candle values. */
|
|
336
|
+
currency?: AthCurrency;
|
|
337
|
+
/** Candle width. */
|
|
338
|
+
interval?: CandleInterval;
|
|
339
|
+
/** Maximum candles to return. */
|
|
340
|
+
limit?: number;
|
|
341
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
342
|
+
mint: string;
|
|
343
|
+
}
|
|
344
|
+
export interface ChainCandlesParams {
|
|
345
|
+
/** Coin address on the chosen chain: a base58 mint on Solana, a 0x token on an EVM chain, or the coin name (such as BTC) on hypercore. */
|
|
346
|
+
address: string;
|
|
347
|
+
/** Chain the coin trades on; `hypercore` for HyperCore perps. */
|
|
348
|
+
chain: MarketChain;
|
|
349
|
+
/** Bars ending at `to`. */
|
|
350
|
+
count?: number;
|
|
351
|
+
/** What each bar measures. `market_cap_usd` multiplies the USD price by the current circulating supply. */
|
|
352
|
+
measure?: PriceMeasure;
|
|
353
|
+
/** One pool of the coin. Omit to stitch curve and AMM bars together. */
|
|
354
|
+
pool?: string | null;
|
|
355
|
+
/** Bar width. */
|
|
356
|
+
resolution: CandleResolution;
|
|
357
|
+
/** Unix time in milliseconds of the newest bar. Omit for now, forming bar included. */
|
|
358
|
+
to?: number | null;
|
|
359
|
+
}
|
|
360
|
+
export interface ChainPriceLineParams {
|
|
361
|
+
/** Coin address on the chosen chain: a base58 mint on Solana, a 0x token on an EVM chain, or the coin name (such as BTC) on hypercore. */
|
|
362
|
+
address: string;
|
|
363
|
+
/** Chain the coin trades on; `hypercore` for HyperCore perps. */
|
|
364
|
+
chain: MarketChain;
|
|
365
|
+
/** Bars ending at `to`. */
|
|
366
|
+
count?: number;
|
|
367
|
+
/** Most points returned; at or above `count` keeps every bar. */
|
|
368
|
+
max_points?: number;
|
|
369
|
+
/** What each bar measures. `market_cap_usd` multiplies the USD price by the current circulating supply. */
|
|
370
|
+
measure?: PriceMeasure;
|
|
371
|
+
/** Bar width. */
|
|
372
|
+
resolution: CandleResolution;
|
|
373
|
+
/** Unix time in milliseconds of the newest bar. Omit for now, forming bar included. */
|
|
374
|
+
to?: number | null;
|
|
375
|
+
}
|
|
376
|
+
export interface ChainTopHoldersParams {
|
|
377
|
+
/** Coin address on the chosen chain: a base58 mint on Solana, a 0x token on an EVM chain. */
|
|
378
|
+
address: string;
|
|
379
|
+
/** Chain the coin lives on. */
|
|
380
|
+
chain: TokenChain;
|
|
381
|
+
}
|
|
382
|
+
export interface ChainTradesParams {
|
|
383
|
+
/** Coin address on the chosen chain: a base58 mint on Solana, a 0x token on an EVM chain, or the coin name (such as BTC) on hypercore. */
|
|
384
|
+
address: string;
|
|
385
|
+
/** Trades newer than this `ordinalKey`. */
|
|
386
|
+
after?: string | null;
|
|
387
|
+
/** Trades older than this `ordinalKey`. */
|
|
388
|
+
before?: string | null;
|
|
389
|
+
/** Chain the coin trades on; `hypercore` for HyperCore perps. */
|
|
390
|
+
chain: MarketChain;
|
|
391
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
392
|
+
cursor?: string | null;
|
|
393
|
+
/** Trade kinds to keep. HyperCore coins default to `perp_fill`. */
|
|
394
|
+
kinds?: TradeKind[] | null;
|
|
395
|
+
/** Maximum trades to return. */
|
|
396
|
+
limit?: number;
|
|
397
|
+
/** Drop trades smaller than this in USD. */
|
|
398
|
+
min_usd?: number | null;
|
|
399
|
+
/** Keep trades in this pool only. */
|
|
400
|
+
pool?: string | null;
|
|
401
|
+
/** `pump` keeps trades made through a pump.fun surface. */
|
|
402
|
+
venue?: TradeVenue;
|
|
403
|
+
}
|
|
404
|
+
export interface Chainconfigsnapshot {
|
|
405
|
+
disputeFeeLamports: string;
|
|
406
|
+
disputeSlashBps: number;
|
|
407
|
+
disputeWindowSeconds: string;
|
|
408
|
+
publishFeeLamports: string;
|
|
409
|
+
submissionFeeLamports: string;
|
|
410
|
+
}
|
|
411
|
+
export type ChartTimeframe = "1m" | "5m" | "15m" | "30m" | "1h" | "6h" | "12h" | "24h" | "1w" | "1mo" | "3mo" | "1y";
|
|
412
|
+
export interface ClipCountsParams {
|
|
413
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
414
|
+
mint: string;
|
|
415
|
+
}
|
|
416
|
+
export interface ClipReferenceRequest {
|
|
417
|
+
/** Clip identifier, returned as `vodId` by `/clips/top` for the same room. */
|
|
418
|
+
clip_id: string;
|
|
419
|
+
/** Livestream room, which is the coin mint (`roomName` on `/clips/top`). */
|
|
420
|
+
room_name: string;
|
|
421
|
+
}
|
|
422
|
+
export type ClipType = "COMPLETE" | "HIGHLIGHT" | "PREVIEW";
|
|
423
|
+
export interface ClipsBatchRequest {
|
|
424
|
+
/** Clips to resolve, 1 to 100, each addressed by room and clip id. */
|
|
425
|
+
clips: ClipReferenceRequest[];
|
|
426
|
+
}
|
|
427
|
+
export interface ClipsById {
|
|
428
|
+
clipId: string;
|
|
429
|
+
clipType: string;
|
|
430
|
+
createdAt: string;
|
|
431
|
+
deletionStatus: string;
|
|
432
|
+
duration: number;
|
|
433
|
+
endTime: string;
|
|
434
|
+
hidden: boolean;
|
|
435
|
+
highlightCreatorAddress: string;
|
|
436
|
+
mp4CreatedAt: string;
|
|
437
|
+
mp4S3Key: string;
|
|
438
|
+
mp4SizeBytes: number;
|
|
439
|
+
mp4Url?: string;
|
|
440
|
+
playlistS3Key: string;
|
|
441
|
+
playlistUrl?: string;
|
|
442
|
+
roomName: string;
|
|
443
|
+
sessionId: string;
|
|
444
|
+
startTime: string;
|
|
445
|
+
thumbnailS3Key: string;
|
|
446
|
+
thumbnailUrl: string;
|
|
447
|
+
title?: string;
|
|
448
|
+
viewCount: number;
|
|
449
|
+
}
|
|
450
|
+
export interface Coin {
|
|
451
|
+
associated_bonding_curve?: string;
|
|
452
|
+
ath_market_cap?: number;
|
|
453
|
+
ath_market_cap_timestamp?: number;
|
|
454
|
+
banner_uri?: string;
|
|
455
|
+
base_decimals: number;
|
|
456
|
+
bonding_curve?: string;
|
|
457
|
+
boost_mode?: string;
|
|
458
|
+
canonical_pool_liquidity_usd?: number;
|
|
459
|
+
chain_id: string;
|
|
460
|
+
circulating_supply_str?: string;
|
|
461
|
+
complete: boolean;
|
|
462
|
+
created_timestamp: number;
|
|
463
|
+
creator: string;
|
|
464
|
+
cto_address?: string;
|
|
465
|
+
depth?: number;
|
|
466
|
+
description?: string;
|
|
467
|
+
graduated_pool?: string;
|
|
468
|
+
hidden?: boolean;
|
|
469
|
+
hide_banner: boolean;
|
|
470
|
+
image_uri?: string;
|
|
471
|
+
indexed_by_pump?: boolean;
|
|
472
|
+
initialized: boolean;
|
|
473
|
+
inverted?: boolean;
|
|
474
|
+
is_backfill?: boolean;
|
|
475
|
+
is_banned: boolean;
|
|
476
|
+
is_cashback_enabled?: boolean;
|
|
477
|
+
is_charity?: boolean;
|
|
478
|
+
is_currently_live: boolean;
|
|
479
|
+
is_holder_reward: boolean;
|
|
480
|
+
king_of_the_hill_timestamp?: number;
|
|
481
|
+
last_reply?: number;
|
|
482
|
+
last_trade_timestamp?: number;
|
|
483
|
+
livestream_ban_expiry: number;
|
|
484
|
+
market_cap: number;
|
|
485
|
+
market_cap_quote?: number;
|
|
486
|
+
market_cap_usd: number;
|
|
487
|
+
mayhem?: Mayhem;
|
|
488
|
+
mayhem_state?: string;
|
|
489
|
+
metadata_uri?: string;
|
|
490
|
+
mint: string;
|
|
491
|
+
multichain_family: number;
|
|
492
|
+
name: string;
|
|
493
|
+
nsfw: boolean;
|
|
494
|
+
num_participants?: number;
|
|
495
|
+
platform?: string;
|
|
496
|
+
pool_address: string;
|
|
497
|
+
program?: string;
|
|
498
|
+
protocol: string;
|
|
499
|
+
pump_swap_pool?: string;
|
|
500
|
+
quote_decimals: number;
|
|
501
|
+
quote_mint?: string;
|
|
502
|
+
quote_token_program?: string;
|
|
503
|
+
real_quote_reserves?: number;
|
|
504
|
+
real_sol_reserves?: number;
|
|
505
|
+
real_token_reserves?: number;
|
|
506
|
+
reply_count: number;
|
|
507
|
+
security_verdict?: SecurityVerdict;
|
|
508
|
+
show_name: boolean;
|
|
509
|
+
symbol: string;
|
|
510
|
+
telegram?: string;
|
|
511
|
+
thumbnail?: string;
|
|
512
|
+
thumbnail_updated_at?: number;
|
|
513
|
+
token_program?: string;
|
|
514
|
+
total_supply?: number | string;
|
|
515
|
+
total_supply_str: string;
|
|
516
|
+
transfer_fee_bps?: number;
|
|
517
|
+
transfer_hook_program?: string;
|
|
518
|
+
twitter?: string;
|
|
519
|
+
updated_at: number;
|
|
520
|
+
usd_market_cap: number;
|
|
521
|
+
verified: boolean;
|
|
522
|
+
video_uri?: string;
|
|
523
|
+
virtual_quote_reserves?: number;
|
|
524
|
+
virtual_sol_reserves?: number;
|
|
525
|
+
virtual_token_reserves?: number;
|
|
526
|
+
volume_1h_usd?: number;
|
|
527
|
+
website?: string;
|
|
528
|
+
}
|
|
529
|
+
export type CoinBoard = "new" | "graduating" | "graduated" | "movers" | "charity";
|
|
530
|
+
export interface CoinBoardParams {
|
|
531
|
+
/** Which ranked board to read. */
|
|
532
|
+
board: CoinBoard;
|
|
533
|
+
/** Keep only coins on these chains, at most 8: pump.fun refuses all nine at once. Repeat the parameter for several; omit it for every chain. */
|
|
534
|
+
chains?: TokenChain[] | null;
|
|
535
|
+
/** Maximum coins to return. */
|
|
536
|
+
limit?: number;
|
|
537
|
+
/** Rows to skip. */
|
|
538
|
+
offset?: number;
|
|
539
|
+
}
|
|
540
|
+
export interface CoinClipsParams {
|
|
541
|
+
/** Clip category as pump.fun labels it: `COMPLETE`, `HIGHLIGHT` or `PREVIEW`. Any other value answers an empty list. */
|
|
542
|
+
clip_type?: string;
|
|
543
|
+
/** `lastEvaluatedKey` from the previous page, with the same `clip_type`; omit for the first page. */
|
|
544
|
+
cursor?: string | null;
|
|
545
|
+
/** Maximum clips to return. */
|
|
546
|
+
limit?: number;
|
|
547
|
+
/** Token mint address. */
|
|
548
|
+
mint: string;
|
|
549
|
+
}
|
|
550
|
+
export interface CoinFeeEventsParams {
|
|
551
|
+
/** Coin address on the chosen chain: a base58 mint on Solana, a 0x token on an EVM chain. */
|
|
552
|
+
address: string;
|
|
553
|
+
/** Chain the coin lives on. */
|
|
554
|
+
chain: TokenChain;
|
|
555
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
556
|
+
cursor?: string | null;
|
|
557
|
+
}
|
|
558
|
+
export interface CoinHolderPnlParams {
|
|
559
|
+
/** Solana mint address. pump.fun refuses EVM tokens here. */
|
|
560
|
+
mint: string;
|
|
561
|
+
}
|
|
562
|
+
export interface CoinMayhemState {
|
|
563
|
+
complete_reason?: string;
|
|
564
|
+
mint: string;
|
|
565
|
+
mode: string;
|
|
566
|
+
multiplayer?: boolean;
|
|
567
|
+
pause_reason?: string;
|
|
568
|
+
state: string;
|
|
569
|
+
}
|
|
570
|
+
export interface CoinMayhemStateParams {
|
|
571
|
+
/** Token mint address. */
|
|
572
|
+
mint: string;
|
|
573
|
+
}
|
|
574
|
+
export interface CoinNarrativesParams {
|
|
575
|
+
/** `cursor` from the previous answer; omit for the first page. */
|
|
576
|
+
cursor?: string | null;
|
|
577
|
+
/** Maximum narratives to return. */
|
|
578
|
+
limit?: number;
|
|
579
|
+
/** Language, such as `en`. */
|
|
580
|
+
locale?: string | null;
|
|
581
|
+
/** Board the narratives cover. */
|
|
582
|
+
source?: NarrativeSource | null;
|
|
583
|
+
}
|
|
584
|
+
export interface CoinParams {
|
|
585
|
+
/** Pin an EVM address that exists on several chains to one of them. A coin that is not on this chain answers 404. Omit to let pump.fun pick. */
|
|
586
|
+
chain?: TokenChain | null;
|
|
587
|
+
/** Attach livestream metadata when the coin is streaming. */
|
|
588
|
+
include_livestream_info?: boolean;
|
|
589
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
590
|
+
mint: string;
|
|
591
|
+
}
|
|
592
|
+
export interface CoinPosition {
|
|
593
|
+
accountKind?: string;
|
|
594
|
+
amountBought: number;
|
|
595
|
+
amountBoughtUsd: number;
|
|
596
|
+
amountHeld: number;
|
|
597
|
+
callout: PositionCallout;
|
|
598
|
+
contentKind: string;
|
|
599
|
+
costBasisAmount: number;
|
|
600
|
+
costBasisUsd: number | string | null;
|
|
601
|
+
isVerified: boolean;
|
|
602
|
+
pnlPercentage: number | string | null;
|
|
603
|
+
pnlUsd: number;
|
|
604
|
+
profileImage: string;
|
|
605
|
+
quote: PositionQuote | null;
|
|
606
|
+
realizedPnlUsd: number;
|
|
607
|
+
tokenPriceUsd: number | null;
|
|
608
|
+
totalCallouts: number;
|
|
609
|
+
userId: string;
|
|
610
|
+
userName: string;
|
|
611
|
+
valueUsd: number | null;
|
|
612
|
+
verifiedBadgeVisible?: boolean;
|
|
613
|
+
walletAddress: string;
|
|
614
|
+
xProfileImage: string | null;
|
|
615
|
+
xUsername: string | null;
|
|
616
|
+
}
|
|
617
|
+
export interface CoinSocial {
|
|
618
|
+
telegram: string | null;
|
|
619
|
+
twitter: string | null;
|
|
620
|
+
website: string | null;
|
|
621
|
+
}
|
|
622
|
+
export type CoinSort = "created_timestamp" | "market_cap" | "ath_market_cap" | "reply_count" | "last_reply" | "last_trade_timestamp";
|
|
623
|
+
export type CoinSortDirection = "ASC" | "DESC";
|
|
624
|
+
export interface CoinTimelineParams {
|
|
625
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
626
|
+
cursor?: string | null;
|
|
627
|
+
/** Maximum timeline events to return. */
|
|
628
|
+
limit?: number;
|
|
629
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
630
|
+
mint: string;
|
|
631
|
+
}
|
|
632
|
+
export interface CoinTopCalloutsParams {
|
|
633
|
+
/** Chain of the coin, to pin an EVM token. */
|
|
634
|
+
chain?: TokenChain | null;
|
|
635
|
+
/** Maximum callouts to return. */
|
|
636
|
+
limit?: number;
|
|
637
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
638
|
+
mint: string;
|
|
639
|
+
}
|
|
640
|
+
export interface CoinsBatch {
|
|
641
|
+
associated_bonding_curve: string;
|
|
642
|
+
ath_market_cap: number;
|
|
643
|
+
ath_market_cap_timestamp: number;
|
|
644
|
+
base_decimals: number;
|
|
645
|
+
bonding_curve: string;
|
|
646
|
+
boost_mode: string;
|
|
647
|
+
canonical_pool_liquidity_usd?: number;
|
|
648
|
+
chain_id: string;
|
|
649
|
+
circulating_supply_str?: string;
|
|
650
|
+
complete: boolean;
|
|
651
|
+
created_timestamp: number;
|
|
652
|
+
creator: string;
|
|
653
|
+
depth?: number;
|
|
654
|
+
description?: string;
|
|
655
|
+
hide_banner: boolean;
|
|
656
|
+
image_uri: string;
|
|
657
|
+
initialized: boolean;
|
|
658
|
+
inverted: boolean;
|
|
659
|
+
is_banned: boolean;
|
|
660
|
+
is_cashback_enabled: boolean;
|
|
661
|
+
is_currently_live: boolean;
|
|
662
|
+
is_holder_reward?: boolean;
|
|
663
|
+
last_trade_timestamp?: number;
|
|
664
|
+
livestream_ban_expiry: number;
|
|
665
|
+
market_cap: number;
|
|
666
|
+
market_cap_quote: number;
|
|
667
|
+
market_cap_usd: number;
|
|
668
|
+
metadata_uri: string;
|
|
669
|
+
mint: string;
|
|
670
|
+
multichain_family: number;
|
|
671
|
+
name: string;
|
|
672
|
+
nsfw: boolean;
|
|
673
|
+
pool_address: string;
|
|
674
|
+
program: string;
|
|
675
|
+
protocol: string;
|
|
676
|
+
pump_swap_pool: string;
|
|
677
|
+
quote_decimals: number;
|
|
678
|
+
quote_mint: string;
|
|
679
|
+
quote_token_program?: string;
|
|
680
|
+
real_quote_reserves: number;
|
|
681
|
+
real_sol_reserves: number;
|
|
682
|
+
real_token_reserves: number;
|
|
683
|
+
reply_count: number;
|
|
684
|
+
security_verdict?: SecurityVerdict;
|
|
685
|
+
show_name: boolean;
|
|
686
|
+
symbol: string;
|
|
687
|
+
telegram?: string;
|
|
688
|
+
token_program: string;
|
|
689
|
+
total_supply: number;
|
|
690
|
+
total_supply_str: string;
|
|
691
|
+
transfer_fee_bps?: number;
|
|
692
|
+
transfer_hook_program?: string;
|
|
693
|
+
twitter: string;
|
|
694
|
+
updated_at: number;
|
|
695
|
+
usd_market_cap?: number;
|
|
696
|
+
verified: boolean;
|
|
697
|
+
virtual_quote_reserves: number;
|
|
698
|
+
virtual_sol_reserves: number;
|
|
699
|
+
virtual_token_reserves: number;
|
|
700
|
+
volume_1h_usd?: number;
|
|
701
|
+
website: string;
|
|
702
|
+
}
|
|
703
|
+
export interface CoinsBatchRequest {
|
|
704
|
+
/** Has no effect: pump.fun returns flagged coins on this read either way. */
|
|
705
|
+
include_nsfw?: boolean;
|
|
706
|
+
/** Coin addresses (Solana mints or EVM tokens), at most 500. */
|
|
707
|
+
mints: string[];
|
|
708
|
+
}
|
|
709
|
+
export interface CoinsCreatedByMode {
|
|
710
|
+
auto: Agentvolumeusd;
|
|
711
|
+
manual: Agentvolumeusd;
|
|
712
|
+
party?: Agentvolumeusd;
|
|
713
|
+
}
|
|
714
|
+
export interface CoinsParams {
|
|
715
|
+
/** Keep coins in these boost states. Repeat the parameter for several. */
|
|
716
|
+
boost_modes?: BoostMode[] | null;
|
|
717
|
+
/** `true` keeps graduated coins only, `false` bonding-curve coins only. */
|
|
718
|
+
complete?: boolean | null;
|
|
719
|
+
/** Only coins launched by this wallet, Solana or EVM (0x). */
|
|
720
|
+
creator?: string | null;
|
|
721
|
+
/** Include coins flagged not-safe-for-work. */
|
|
722
|
+
include_nsfw?: boolean;
|
|
723
|
+
/** Maximum coins to return. pump.fun serves 70 at most. */
|
|
724
|
+
limit?: number;
|
|
725
|
+
/** Rows to skip. */
|
|
726
|
+
offset?: number;
|
|
727
|
+
/** Sort direction. */
|
|
728
|
+
order?: CoinSortDirection;
|
|
729
|
+
/** Ranking column. */
|
|
730
|
+
sort?: CoinSort;
|
|
731
|
+
}
|
|
732
|
+
export interface Competition {
|
|
733
|
+
description: string;
|
|
734
|
+
endsAt: string;
|
|
735
|
+
entriesCount: number;
|
|
736
|
+
id: string;
|
|
737
|
+
imageUrl: string;
|
|
738
|
+
isFinal: boolean;
|
|
739
|
+
joinable: boolean;
|
|
740
|
+
kind: string;
|
|
741
|
+
maxEntries: number;
|
|
742
|
+
maxMembers: number;
|
|
743
|
+
minMembers: number;
|
|
744
|
+
participants: number;
|
|
745
|
+
phase: string;
|
|
746
|
+
prizeCopy: string;
|
|
747
|
+
prizes: Prize[];
|
|
748
|
+
registrationClosesAt: string;
|
|
749
|
+
registrationOpensAt: string;
|
|
750
|
+
slug: string;
|
|
751
|
+
startsAt: string;
|
|
752
|
+
title: string;
|
|
753
|
+
top: Top[];
|
|
754
|
+
winners: CompetitionWinner[];
|
|
755
|
+
}
|
|
756
|
+
export interface CompetitionEntryHighlightsParams {
|
|
757
|
+
/** Competition UUID. Slugs work on `/competitions/{competition}` only. */
|
|
758
|
+
competition_id: string;
|
|
759
|
+
/** Competition entry UUID. */
|
|
760
|
+
entry_id: string;
|
|
761
|
+
/** Maximum tokens to return. */
|
|
762
|
+
limit?: number;
|
|
763
|
+
}
|
|
764
|
+
export interface CompetitionEntryParams {
|
|
765
|
+
/** Competition UUID. Slugs work on `/competitions/{competition}` only. */
|
|
766
|
+
competition_id: string;
|
|
767
|
+
/** Competition entry UUID. */
|
|
768
|
+
entry_id: string;
|
|
769
|
+
}
|
|
770
|
+
export interface CompetitionHighlightsParams {
|
|
771
|
+
/** Competition UUID. Slugs work on `/competitions/{competition}` only. */
|
|
772
|
+
competition_id: string;
|
|
773
|
+
/** Maximum rows to return. */
|
|
774
|
+
limit?: number;
|
|
775
|
+
/** Rows per trader. */
|
|
776
|
+
per_member_limit?: number;
|
|
777
|
+
}
|
|
778
|
+
export interface CompetitionParams {
|
|
779
|
+
/** Competition UUID or slug. */
|
|
780
|
+
competition: string;
|
|
781
|
+
/** Leaderboard rows to return. */
|
|
782
|
+
limit?: number;
|
|
783
|
+
/** Top positions shown per row; 0 returns the count only. */
|
|
784
|
+
positions_limit?: number;
|
|
785
|
+
}
|
|
786
|
+
export interface CompetitionWinner {
|
|
787
|
+
buySpendSol: number;
|
|
788
|
+
entryId: string;
|
|
789
|
+
isVerified: boolean;
|
|
790
|
+
kind: string;
|
|
791
|
+
lastRefreshedAtMs: number;
|
|
792
|
+
memberCount: number;
|
|
793
|
+
membersFresh: number;
|
|
794
|
+
participantId: string;
|
|
795
|
+
pnlUsd: number;
|
|
796
|
+
positionsCount: number;
|
|
797
|
+
prize: string;
|
|
798
|
+
profileImageUrl: string | null;
|
|
799
|
+
rank: number;
|
|
800
|
+
realizedPnlUsd: number;
|
|
801
|
+
struck: boolean;
|
|
802
|
+
topPositions: unknown[];
|
|
803
|
+
unrealizedPnlUsd: number;
|
|
804
|
+
username: string | null;
|
|
805
|
+
verifiedBadgeVisible: boolean;
|
|
806
|
+
walletAddress: string | null;
|
|
807
|
+
}
|
|
808
|
+
export interface Contributor {
|
|
809
|
+
depositorAddress: string;
|
|
810
|
+
firstContributedAt: string;
|
|
811
|
+
legsByMint: Legsbymint[];
|
|
812
|
+
}
|
|
813
|
+
export interface CostBasis {
|
|
814
|
+
sol: number | null;
|
|
815
|
+
usd: number | null;
|
|
816
|
+
}
|
|
817
|
+
export interface Count {
|
|
818
|
+
disputeCount: number;
|
|
819
|
+
submissionCount: number;
|
|
820
|
+
}
|
|
821
|
+
export type CreatorFeeInterval = "5m" | "30m" | "1d";
|
|
822
|
+
export interface CreatorFeesParams {
|
|
823
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
824
|
+
address: string;
|
|
825
|
+
/** Bucket width. pump.fun's `5m` series has answered 503 (not charged) for every creator tried since 2026-10-08. */
|
|
826
|
+
interval?: CreatorFeeInterval;
|
|
827
|
+
/** Narrow the earnings to one Solana coin. A Solana creator only. */
|
|
828
|
+
mint?: string | null;
|
|
829
|
+
/** Window ending now. Omit for the widest window `interval` allows. */
|
|
830
|
+
period?: FeePeriod | null;
|
|
831
|
+
}
|
|
832
|
+
export interface CreatorFeesTotalParams {
|
|
833
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
834
|
+
address: string;
|
|
835
|
+
}
|
|
836
|
+
export interface Criteria {
|
|
837
|
+
id: string;
|
|
838
|
+
order: number;
|
|
839
|
+
required: boolean;
|
|
840
|
+
text: string;
|
|
841
|
+
}
|
|
842
|
+
export interface Daily {
|
|
843
|
+
averageMultiple: number;
|
|
844
|
+
averageTimeToPeakMs: number | null;
|
|
845
|
+
calloutsWithMultiple: number;
|
|
846
|
+
distribution: Distribution[];
|
|
847
|
+
medianMultiple: number;
|
|
848
|
+
onePointFiveXPercent: number;
|
|
849
|
+
onePointTwoXPercent: number;
|
|
850
|
+
totalCallouts: number;
|
|
851
|
+
twoXPercent: number;
|
|
852
|
+
}
|
|
853
|
+
export interface Data {
|
|
854
|
+
fee: CostBasis;
|
|
855
|
+
fee_detail: FeeDetail;
|
|
856
|
+
has_transfers: boolean;
|
|
857
|
+
has_untrusted_basis: boolean;
|
|
858
|
+
has_untrusted_sol_basis?: boolean;
|
|
859
|
+
has_untrusted_usd_basis?: boolean;
|
|
860
|
+
last_slot_index_id: string | null;
|
|
861
|
+
mint: string;
|
|
862
|
+
realized: Realized | null;
|
|
863
|
+
total_buy_amount: number | null;
|
|
864
|
+
total_buy_spend: CostBasis;
|
|
865
|
+
unrealized: Unrealized | null;
|
|
866
|
+
wallet: string;
|
|
867
|
+
}
|
|
868
|
+
export interface DataToken {
|
|
869
|
+
balance: number;
|
|
870
|
+
chain: string;
|
|
871
|
+
decimals: number;
|
|
872
|
+
dust_floor_filtered: boolean;
|
|
873
|
+
likely_lost?: boolean;
|
|
874
|
+
network_id: number | string;
|
|
875
|
+
priceSol?: number;
|
|
876
|
+
program: string | null;
|
|
877
|
+
tokenPnL: Tokenpnl;
|
|
878
|
+
token_image: string | null;
|
|
879
|
+
token_mint: string;
|
|
880
|
+
token_name: string;
|
|
881
|
+
token_price: number;
|
|
882
|
+
token_symbol: string;
|
|
883
|
+
value: number;
|
|
884
|
+
}
|
|
885
|
+
export interface Distributed {
|
|
886
|
+
amount?: Baseamount;
|
|
887
|
+
quote: Pool;
|
|
888
|
+
}
|
|
889
|
+
export interface Distribution {
|
|
890
|
+
count: number;
|
|
891
|
+
max: number | null;
|
|
892
|
+
min: number;
|
|
893
|
+
}
|
|
894
|
+
export interface Earned {
|
|
895
|
+
amount?: Baseamount;
|
|
896
|
+
quote: Pool;
|
|
897
|
+
usd?: string;
|
|
898
|
+
}
|
|
899
|
+
export interface Entry {
|
|
900
|
+
buySpendSol: number;
|
|
901
|
+
isVerified: boolean;
|
|
902
|
+
lastRefreshedAtMs: number;
|
|
903
|
+
pnlPercent: number;
|
|
904
|
+
pnlSol: number;
|
|
905
|
+
pnlUsd: number;
|
|
906
|
+
positionsCount?: number;
|
|
907
|
+
profileImage: string;
|
|
908
|
+
rank: number;
|
|
909
|
+
realizedPnlSol: number;
|
|
910
|
+
realizedPnlUsd: number;
|
|
911
|
+
topPositions?: Topposition[];
|
|
912
|
+
unrealizedPnlSol: number;
|
|
913
|
+
unrealizedPnlUsd: number;
|
|
914
|
+
userId?: string;
|
|
915
|
+
username: string;
|
|
916
|
+
verifiedBadgeVisible?: boolean;
|
|
917
|
+
walletAddress: string;
|
|
918
|
+
xUsername: string | null;
|
|
919
|
+
}
|
|
920
|
+
export interface ErrorDetail {
|
|
921
|
+
ctx?: Record<string, unknown> | null;
|
|
922
|
+
input?: unknown | null;
|
|
923
|
+
loc?: (string | number)[] | null;
|
|
924
|
+
msg?: string | null;
|
|
925
|
+
type?: string | null;
|
|
926
|
+
}
|
|
927
|
+
export interface ErrorResponse {
|
|
928
|
+
code: PublicError;
|
|
929
|
+
details?: ErrorDetail[] | null;
|
|
930
|
+
domain?: string | null;
|
|
931
|
+
message: string;
|
|
932
|
+
request_id: string;
|
|
933
|
+
upgrade_url?: string | null;
|
|
934
|
+
}
|
|
935
|
+
export interface Event {
|
|
936
|
+
blockTime: number;
|
|
937
|
+
distributed?: Distributed;
|
|
938
|
+
kind: string;
|
|
939
|
+
newAdmin?: string;
|
|
940
|
+
ordinal?: string;
|
|
941
|
+
recipients?: Recipient[];
|
|
942
|
+
shareholders?: Shareholder[];
|
|
943
|
+
txId: string;
|
|
944
|
+
}
|
|
945
|
+
export interface Evidence {
|
|
946
|
+
callout: EvidenceCallout | null;
|
|
947
|
+
kind: string;
|
|
948
|
+
leaderboard: EvidenceLeaderboard | null;
|
|
949
|
+
}
|
|
950
|
+
export interface EvidenceCallout {
|
|
951
|
+
calledOutAt: string;
|
|
952
|
+
calloutId: string;
|
|
953
|
+
mint: string;
|
|
954
|
+
multiple: number;
|
|
955
|
+
peakedAt: string;
|
|
956
|
+
}
|
|
957
|
+
export interface EvidenceLeaderboard {
|
|
958
|
+
finishes: Finishe[];
|
|
959
|
+
}
|
|
960
|
+
export interface Facet {
|
|
961
|
+
phase: Status[];
|
|
962
|
+
rewardMints: Status[];
|
|
963
|
+
status: Status[];
|
|
964
|
+
}
|
|
965
|
+
export interface FeeDetail {
|
|
966
|
+
ata_rent: CostBasis;
|
|
967
|
+
base: CostBasis;
|
|
968
|
+
cashback: CostBasis;
|
|
969
|
+
priority: CostBasis;
|
|
970
|
+
protocol: CostBasis;
|
|
971
|
+
tip: CostBasis;
|
|
972
|
+
ui: CostBasis;
|
|
973
|
+
}
|
|
974
|
+
export type FeePeriod = "1d" | "7d" | "30d";
|
|
975
|
+
export interface FeeSharingSharesParams {
|
|
976
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
977
|
+
address: string;
|
|
978
|
+
/** Cursor from a previous page. */
|
|
979
|
+
cursor?: string;
|
|
980
|
+
/** Maximum shares to return. */
|
|
981
|
+
limit?: number;
|
|
982
|
+
}
|
|
983
|
+
export interface FeeSharingTotalsParams {
|
|
984
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
985
|
+
address: string;
|
|
986
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
987
|
+
cursor?: string | null;
|
|
988
|
+
}
|
|
989
|
+
export type FeedChain = "all" | "solana" | "ethereum" | "base" | "bsc" | "robinhood" | "hyperevm" | "ink" | "arc";
|
|
990
|
+
export interface Finishe {
|
|
991
|
+
periodLabel: string;
|
|
992
|
+
periodStart: string;
|
|
993
|
+
periodType: string;
|
|
994
|
+
rank: number;
|
|
995
|
+
}
|
|
996
|
+
export interface FirstTradeParams {
|
|
997
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
998
|
+
mint: string;
|
|
999
|
+
}
|
|
1000
|
+
export interface Firstappearance {
|
|
1001
|
+
periodLabel: string;
|
|
1002
|
+
periodType: number;
|
|
1003
|
+
}
|
|
1004
|
+
export type FollowSort = "followers" | "recent";
|
|
1005
|
+
export interface FollowSuggestionsParams {
|
|
1006
|
+
/** Maximum traders to return. */
|
|
1007
|
+
limit?: number;
|
|
1008
|
+
}
|
|
1009
|
+
export interface Follower {
|
|
1010
|
+
address: string;
|
|
1011
|
+
followers: number;
|
|
1012
|
+
kind?: string;
|
|
1013
|
+
profile_image: string;
|
|
1014
|
+
timestamp: number | string | null;
|
|
1015
|
+
userId?: string;
|
|
1016
|
+
user_id?: string;
|
|
1017
|
+
username: string;
|
|
1018
|
+
}
|
|
1019
|
+
export interface FollowersCountParams {
|
|
1020
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
1021
|
+
address: string;
|
|
1022
|
+
}
|
|
1023
|
+
export interface FollowersParams {
|
|
1024
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
1025
|
+
address: string;
|
|
1026
|
+
/** Page size, up to 1000. Set it, `offset` or `sort` to page past the legacy list's 50 rows. */
|
|
1027
|
+
limit?: number | null;
|
|
1028
|
+
/** Rows to skip. */
|
|
1029
|
+
offset?: number | null;
|
|
1030
|
+
/** `followers` puts the most-followed profiles first; `recent` the newest follows. */
|
|
1031
|
+
sort?: FollowSort | null;
|
|
1032
|
+
}
|
|
1033
|
+
export interface FollowingCountParams {
|
|
1034
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
1035
|
+
address: string;
|
|
1036
|
+
}
|
|
1037
|
+
export interface FollowingParams {
|
|
1038
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
1039
|
+
address: string;
|
|
1040
|
+
/** Page size, up to 1000. Set it, `offset` or `sort` to page past the legacy list's 50 rows. */
|
|
1041
|
+
limit?: number | null;
|
|
1042
|
+
/** Rows to skip. */
|
|
1043
|
+
offset?: number | null;
|
|
1044
|
+
/** `followers` puts the most-followed profiles first; `recent` the newest follows. */
|
|
1045
|
+
sort?: FollowSort | null;
|
|
1046
|
+
}
|
|
1047
|
+
export interface Fundingsource {
|
|
1048
|
+
amount: number;
|
|
1049
|
+
funder: string;
|
|
1050
|
+
funderName: string | null;
|
|
1051
|
+
funderType: string | null;
|
|
1052
|
+
signature: string;
|
|
1053
|
+
timestamp: number | string;
|
|
1054
|
+
}
|
|
1055
|
+
export interface Generatedmedia {
|
|
1056
|
+
pnlLoop: Pnlloop;
|
|
1057
|
+
replayIntro: Replayintro;
|
|
1058
|
+
}
|
|
1059
|
+
export interface Geofence {
|
|
1060
|
+
enabled: boolean;
|
|
1061
|
+
}
|
|
1062
|
+
export interface GetAchievementCatalogResponse {
|
|
1063
|
+
achievements: Achievement[];
|
|
1064
|
+
catalogVersion: string;
|
|
1065
|
+
}
|
|
1066
|
+
export interface GetApprovedCreatorResponse {
|
|
1067
|
+
isApprovedCreator: boolean;
|
|
1068
|
+
}
|
|
1069
|
+
export type GetAthBatchResponse = Record<string, GetAthResponse>;
|
|
1070
|
+
export interface GetAthResponse {
|
|
1071
|
+
athMarketCap: number | string;
|
|
1072
|
+
}
|
|
1073
|
+
export type GetBanStatusResponse = Record<string, unknown> | null;
|
|
1074
|
+
export interface GetBountyFeedRecentResponse {
|
|
1075
|
+
items: Item[];
|
|
1076
|
+
nextCursor?: string;
|
|
1077
|
+
refreshedAt: string | null;
|
|
1078
|
+
}
|
|
1079
|
+
export interface GetBountyFeedTrendingResponse {
|
|
1080
|
+
items: GetBountyFeedTrendingResponseItem[];
|
|
1081
|
+
refreshedAt: string;
|
|
1082
|
+
}
|
|
1083
|
+
export interface GetBountyFeedTrendingResponseItem {
|
|
1084
|
+
bounty?: Bounty;
|
|
1085
|
+
parentBounty?: Parentbounty;
|
|
1086
|
+
parentTaskId?: string;
|
|
1087
|
+
pool: string;
|
|
1088
|
+
score: number;
|
|
1089
|
+
submission?: ItemSubmission;
|
|
1090
|
+
type: string;
|
|
1091
|
+
}
|
|
1092
|
+
export interface GetBountyRecentPayoutsResponse {
|
|
1093
|
+
computedAt: string;
|
|
1094
|
+
items: GetBountyRecentPayoutsResponseItem[];
|
|
1095
|
+
}
|
|
1096
|
+
export interface GetBountyRecentPayoutsResponseItem {
|
|
1097
|
+
address: string;
|
|
1098
|
+
amountUsd: number;
|
|
1099
|
+
mintAddress: string;
|
|
1100
|
+
payedOutAt: string;
|
|
1101
|
+
taskId: string;
|
|
1102
|
+
}
|
|
1103
|
+
export interface GetBountyStatsResponse {
|
|
1104
|
+
liveCount: number;
|
|
1105
|
+
paidOutTotalUsd: number;
|
|
1106
|
+
submissionCount: number;
|
|
1107
|
+
unclaimedRewardTotalUsd: number;
|
|
1108
|
+
}
|
|
1109
|
+
export interface GetBountySubmissionCountResponse {
|
|
1110
|
+
count: number;
|
|
1111
|
+
}
|
|
1112
|
+
export interface GetBountySubmissionsResponse {
|
|
1113
|
+
items: Item[];
|
|
1114
|
+
nextCursor?: string;
|
|
1115
|
+
refreshedAt: string | null;
|
|
1116
|
+
}
|
|
1117
|
+
export interface GetBountyTasksResponse {
|
|
1118
|
+
facets?: Facet;
|
|
1119
|
+
items: GetBountyTasksResponseItem[];
|
|
1120
|
+
nextCursor?: string;
|
|
1121
|
+
}
|
|
1122
|
+
export interface GetBountyTasksResponseItem {
|
|
1123
|
+
attachments?: SubmissionAttachment[];
|
|
1124
|
+
banInfo?: SubmissionBaninfo;
|
|
1125
|
+
bodyMarkdown: string;
|
|
1126
|
+
chainConfigSnapshot: Chainconfigsnapshot;
|
|
1127
|
+
coinAddress?: string;
|
|
1128
|
+
counts: Count;
|
|
1129
|
+
createdAt: string;
|
|
1130
|
+
creatorAddress: string;
|
|
1131
|
+
creatorXFollowerCount: number;
|
|
1132
|
+
creatorXVerified?: boolean;
|
|
1133
|
+
criteria: Criteria[];
|
|
1134
|
+
expiresAt?: string;
|
|
1135
|
+
fundedAt: string;
|
|
1136
|
+
isNsfw: boolean;
|
|
1137
|
+
latestDisputePublishedAt?: string;
|
|
1138
|
+
likeCount: number;
|
|
1139
|
+
location?: Location;
|
|
1140
|
+
onChainBountyId: string;
|
|
1141
|
+
payoutMode?: string;
|
|
1142
|
+
publishedAt: string;
|
|
1143
|
+
pumpBountiesProgramId: string;
|
|
1144
|
+
resolution?: ItemResolution;
|
|
1145
|
+
resolutionHistory?: ItemResolutionhistory[];
|
|
1146
|
+
rewardLegs: Rewardleg[];
|
|
1147
|
+
rewardLegsUsd: Rewardlegsusd[];
|
|
1148
|
+
rewardPricedAt: string;
|
|
1149
|
+
rewardTotalUsd: number;
|
|
1150
|
+
status: string;
|
|
1151
|
+
submissionVisibility: string;
|
|
1152
|
+
taskId: string;
|
|
1153
|
+
title: string;
|
|
1154
|
+
unbanInfo?: SubmissionBaninfo;
|
|
1155
|
+
verification?: ItemVerification;
|
|
1156
|
+
}
|
|
1157
|
+
export interface GetBountyTopCoinsResponse {
|
|
1158
|
+
computedAt: string;
|
|
1159
|
+
items: GetBountyTopCoinsResponseItem[];
|
|
1160
|
+
windowDays: number;
|
|
1161
|
+
}
|
|
1162
|
+
export interface GetBountyTopCoinsResponseItem {
|
|
1163
|
+
bountyCount: number;
|
|
1164
|
+
coinAddress: string;
|
|
1165
|
+
totalRewardUsd: number;
|
|
1166
|
+
}
|
|
1167
|
+
export interface GetBountyTopEarnersResponse {
|
|
1168
|
+
computedAt: string;
|
|
1169
|
+
items: GetBountyTopEarnersResponseItem[];
|
|
1170
|
+
windowDays: number;
|
|
1171
|
+
}
|
|
1172
|
+
export interface GetBountyTopEarnersResponseItem {
|
|
1173
|
+
address: string;
|
|
1174
|
+
lastPayedOutAt: string;
|
|
1175
|
+
payoutCount: number;
|
|
1176
|
+
totalEarnedUsd: number;
|
|
1177
|
+
}
|
|
1178
|
+
export interface GetBountyTopSpendersResponse {
|
|
1179
|
+
computedAt: string;
|
|
1180
|
+
items: GetBountyTopSpendersResponseItem[];
|
|
1181
|
+
windowDays: number;
|
|
1182
|
+
}
|
|
1183
|
+
export interface GetBountyTopSpendersResponseItem {
|
|
1184
|
+
address: string;
|
|
1185
|
+
lastPayedOutAt: string;
|
|
1186
|
+
payoutCount: number;
|
|
1187
|
+
totalSpentUsd: number;
|
|
1188
|
+
}
|
|
1189
|
+
export interface GetCalloutLeaderboardStatsResponse {
|
|
1190
|
+
bestCallout: Bestcallout;
|
|
1191
|
+
bestRank?: Bestrank;
|
|
1192
|
+
firstAppearance?: Firstappearance;
|
|
1193
|
+
monthly: Weekly;
|
|
1194
|
+
snapshotAt: number;
|
|
1195
|
+
userId: string;
|
|
1196
|
+
user_uuid: string;
|
|
1197
|
+
weekly: Weekly;
|
|
1198
|
+
}
|
|
1199
|
+
export interface GetCalloutLikersResponse {
|
|
1200
|
+
hasMore: boolean;
|
|
1201
|
+
likers: Liker[];
|
|
1202
|
+
}
|
|
1203
|
+
export interface GetCalloutQuotesResponse {
|
|
1204
|
+
hasMore: boolean;
|
|
1205
|
+
items: GetCalloutQuotesResponseItem[];
|
|
1206
|
+
quotes: Quote[];
|
|
1207
|
+
}
|
|
1208
|
+
export interface GetCalloutQuotesResponseItem {
|
|
1209
|
+
kind: string;
|
|
1210
|
+
reply: Quote;
|
|
1211
|
+
}
|
|
1212
|
+
export interface GetCalloutRepliesResponse {
|
|
1213
|
+
replies: Reply[];
|
|
1214
|
+
}
|
|
1215
|
+
export interface GetCalloutRepostersResponse {
|
|
1216
|
+
hasMore: boolean;
|
|
1217
|
+
reposters: Reposter[];
|
|
1218
|
+
}
|
|
1219
|
+
export interface GetCalloutResponse {
|
|
1220
|
+
callout: Callout;
|
|
1221
|
+
}
|
|
1222
|
+
export interface GetCalloutStatsResponse {
|
|
1223
|
+
allTime: Daily;
|
|
1224
|
+
computedAt: string;
|
|
1225
|
+
daily: Daily;
|
|
1226
|
+
monthly: Daily;
|
|
1227
|
+
weekly: Daily;
|
|
1228
|
+
}
|
|
1229
|
+
export interface GetChainCandlesResponse {
|
|
1230
|
+
candles: GetChainCandlesResponseCandle[];
|
|
1231
|
+
hasOlder: boolean;
|
|
1232
|
+
served: Served;
|
|
1233
|
+
source: string;
|
|
1234
|
+
supplyUsed?: string;
|
|
1235
|
+
}
|
|
1236
|
+
export interface GetChainCandlesResponseCandle {
|
|
1237
|
+
close: string;
|
|
1238
|
+
final: boolean;
|
|
1239
|
+
high: string;
|
|
1240
|
+
isCorrection: boolean;
|
|
1241
|
+
low: string;
|
|
1242
|
+
open: string;
|
|
1243
|
+
openTimeMs: number;
|
|
1244
|
+
pool?: Pool;
|
|
1245
|
+
trades: number;
|
|
1246
|
+
volumeUsd: string;
|
|
1247
|
+
}
|
|
1248
|
+
export interface GetChainPriceLineResponse {
|
|
1249
|
+
points: Point[];
|
|
1250
|
+
served: Served;
|
|
1251
|
+
source: string;
|
|
1252
|
+
}
|
|
1253
|
+
export interface GetChainTopHoldersResponse {
|
|
1254
|
+
topHolders: Topholder[];
|
|
1255
|
+
totalHolders: number;
|
|
1256
|
+
}
|
|
1257
|
+
export interface GetChainTradesResponse {
|
|
1258
|
+
aggregates: Aggregate;
|
|
1259
|
+
cursor: string | null;
|
|
1260
|
+
source: string;
|
|
1261
|
+
trades: Trade[];
|
|
1262
|
+
}
|
|
1263
|
+
export interface GetClipCountsResponse {
|
|
1264
|
+
clips: number;
|
|
1265
|
+
hidden: number;
|
|
1266
|
+
softDeleted: number;
|
|
1267
|
+
total: number;
|
|
1268
|
+
visible: number;
|
|
1269
|
+
}
|
|
1270
|
+
export interface GetCoinBoardResponse {
|
|
1271
|
+
as_of_ms: number;
|
|
1272
|
+
board: string;
|
|
1273
|
+
coins: Coin[];
|
|
1274
|
+
version: string;
|
|
1275
|
+
}
|
|
1276
|
+
export interface GetCoinClipsResponse {
|
|
1277
|
+
clips: ClipsById[];
|
|
1278
|
+
hasMore: boolean;
|
|
1279
|
+
lastEvaluatedKey?: string;
|
|
1280
|
+
}
|
|
1281
|
+
export interface GetCoinFeeEventsResponse {
|
|
1282
|
+
coin: Pool;
|
|
1283
|
+
events: Event[];
|
|
1284
|
+
sharing?: Sharing;
|
|
1285
|
+
}
|
|
1286
|
+
export interface GetCoinHolderPnlResponse {
|
|
1287
|
+
data: Data[];
|
|
1288
|
+
errors: unknown[];
|
|
1289
|
+
success: boolean;
|
|
1290
|
+
}
|
|
1291
|
+
export type GetCoinMayhemStateResponse = CoinMayhemState | null;
|
|
1292
|
+
export interface GetCoinNarrativesResponse {
|
|
1293
|
+
cursor: string;
|
|
1294
|
+
hasMore: boolean;
|
|
1295
|
+
narratives: unknown[];
|
|
1296
|
+
}
|
|
1297
|
+
export interface GetCoinResponse {
|
|
1298
|
+
associated_bonding_curve?: string;
|
|
1299
|
+
ath_market_cap: number;
|
|
1300
|
+
ath_market_cap_timestamp: number;
|
|
1301
|
+
base_decimals: number;
|
|
1302
|
+
bonding_curve?: string;
|
|
1303
|
+
boost_mode?: string;
|
|
1304
|
+
canonical_pool_liquidity_usd?: number;
|
|
1305
|
+
chain_id: string;
|
|
1306
|
+
circulating_supply_str?: string;
|
|
1307
|
+
complete?: boolean;
|
|
1308
|
+
created_timestamp: number;
|
|
1309
|
+
creator?: string;
|
|
1310
|
+
depth?: number;
|
|
1311
|
+
description?: string;
|
|
1312
|
+
hidden?: boolean;
|
|
1313
|
+
hide_banner: boolean;
|
|
1314
|
+
image_uri: string;
|
|
1315
|
+
initialized: boolean;
|
|
1316
|
+
inverted?: boolean;
|
|
1317
|
+
is_backfill?: boolean;
|
|
1318
|
+
is_banned: boolean;
|
|
1319
|
+
is_cashback_enabled?: boolean;
|
|
1320
|
+
is_currently_live: boolean;
|
|
1321
|
+
is_holder_reward?: boolean;
|
|
1322
|
+
last_trade_timestamp?: number;
|
|
1323
|
+
livestream_ban_expiry: number;
|
|
1324
|
+
market_cap: number;
|
|
1325
|
+
market_cap_quote?: number;
|
|
1326
|
+
market_cap_usd: number;
|
|
1327
|
+
metadata_uri?: string;
|
|
1328
|
+
mint: string;
|
|
1329
|
+
multichain_family: number;
|
|
1330
|
+
name: string;
|
|
1331
|
+
nsfw: boolean;
|
|
1332
|
+
platform?: string;
|
|
1333
|
+
pool_address: string;
|
|
1334
|
+
program?: string;
|
|
1335
|
+
protocol: string;
|
|
1336
|
+
pump_swap_pool?: string;
|
|
1337
|
+
quote_decimals: number;
|
|
1338
|
+
quote_mint: string;
|
|
1339
|
+
quote_token_program?: string;
|
|
1340
|
+
real_quote_reserves?: number;
|
|
1341
|
+
real_sol_reserves?: number;
|
|
1342
|
+
real_token_reserves?: number;
|
|
1343
|
+
reply_count: number;
|
|
1344
|
+
security_verdict?: SecurityVerdict;
|
|
1345
|
+
show_name: boolean;
|
|
1346
|
+
symbol: string;
|
|
1347
|
+
telegram?: string;
|
|
1348
|
+
token_program?: string;
|
|
1349
|
+
total_supply?: number;
|
|
1350
|
+
total_supply_str: string;
|
|
1351
|
+
transfer_fee_bps?: number;
|
|
1352
|
+
transfer_hook_program?: string;
|
|
1353
|
+
twitter?: string;
|
|
1354
|
+
updated_at: number;
|
|
1355
|
+
usd_market_cap: number;
|
|
1356
|
+
verified: boolean;
|
|
1357
|
+
virtual_quote_reserves?: number;
|
|
1358
|
+
virtual_sol_reserves?: number;
|
|
1359
|
+
virtual_token_reserves?: number;
|
|
1360
|
+
volume_1h_usd?: number;
|
|
1361
|
+
website?: string;
|
|
1362
|
+
}
|
|
1363
|
+
export interface GetCoinTimelineResponse {
|
|
1364
|
+
items: GetCoinTimelineResponseItem[];
|
|
1365
|
+
pagination: PageCursor;
|
|
1366
|
+
}
|
|
1367
|
+
export interface GetCoinTimelineResponseItem {
|
|
1368
|
+
creator?: string;
|
|
1369
|
+
eventType: string;
|
|
1370
|
+
recipients?: ItemRecipient[];
|
|
1371
|
+
shareholders?: ItemShareholder[];
|
|
1372
|
+
timestamp: string;
|
|
1373
|
+
totalDistributed?: string;
|
|
1374
|
+
tx?: string;
|
|
1375
|
+
}
|
|
1376
|
+
export interface GetCoinTopCalloutsResponse {
|
|
1377
|
+
callouts: GetCoinTopCalloutsResponseCallout[];
|
|
1378
|
+
}
|
|
1379
|
+
export interface GetCoinTopCalloutsResponseCallout {
|
|
1380
|
+
calloutId: string;
|
|
1381
|
+
calloutPrice: number;
|
|
1382
|
+
calloutPriceUsd?: number;
|
|
1383
|
+
chain?: string | null;
|
|
1384
|
+
coinMint: string;
|
|
1385
|
+
commentCount?: number;
|
|
1386
|
+
createdAt: number;
|
|
1387
|
+
hasLiked?: null;
|
|
1388
|
+
hasReposted?: null;
|
|
1389
|
+
isVerified?: boolean;
|
|
1390
|
+
likes?: number;
|
|
1391
|
+
marketCap: number;
|
|
1392
|
+
maxMultiplier?: number;
|
|
1393
|
+
maxMultiplierAt?: string;
|
|
1394
|
+
maxPriceSol: number;
|
|
1395
|
+
maxPriceUsd?: number;
|
|
1396
|
+
mediaUrl?: string | null;
|
|
1397
|
+
multiple: number;
|
|
1398
|
+
peakTimestamp?: number;
|
|
1399
|
+
perp?: null;
|
|
1400
|
+
profileImage?: string;
|
|
1401
|
+
quoteCount?: number;
|
|
1402
|
+
quotedCallout?: null;
|
|
1403
|
+
quotedCalloutId?: null;
|
|
1404
|
+
replyCount?: number;
|
|
1405
|
+
repostCount?: number;
|
|
1406
|
+
thesis: string;
|
|
1407
|
+
updateCount?: number;
|
|
1408
|
+
updates?: unknown[];
|
|
1409
|
+
userId: string;
|
|
1410
|
+
user_uuid: string;
|
|
1411
|
+
username?: string;
|
|
1412
|
+
xUsername?: string | null;
|
|
1413
|
+
}
|
|
1414
|
+
export interface GetCompetitionEntryHighlightsResponse {
|
|
1415
|
+
entryId: string;
|
|
1416
|
+
tokens: Token[];
|
|
1417
|
+
}
|
|
1418
|
+
export interface GetCompetitionEntryResponse {
|
|
1419
|
+
entry: Top;
|
|
1420
|
+
members: Member[];
|
|
1421
|
+
}
|
|
1422
|
+
export interface GetCompetitionHighlightsResponse {
|
|
1423
|
+
builtAtMs: number;
|
|
1424
|
+
competitionId: string;
|
|
1425
|
+
isFinal: boolean;
|
|
1426
|
+
rows: Row[];
|
|
1427
|
+
}
|
|
1428
|
+
export interface GetCompetitionResponse {
|
|
1429
|
+
competition: Competition;
|
|
1430
|
+
leaderboard: Leaderboard;
|
|
1431
|
+
}
|
|
1432
|
+
export interface GetCreatorFeesResponse {
|
|
1433
|
+
claimable?: SeriesEarned;
|
|
1434
|
+
creator: string;
|
|
1435
|
+
earned: Earned[];
|
|
1436
|
+
interval: string;
|
|
1437
|
+
isClaimable: boolean;
|
|
1438
|
+
period: string;
|
|
1439
|
+
series: Series[];
|
|
1440
|
+
}
|
|
1441
|
+
export interface GetFeeSharingSharesResponse {
|
|
1442
|
+
items: GetFeeSharingSharesResponseItem[];
|
|
1443
|
+
pagination: PageCursor;
|
|
1444
|
+
}
|
|
1445
|
+
export interface GetFeeSharingSharesResponseItem {
|
|
1446
|
+
bps: number;
|
|
1447
|
+
isAdmin: boolean;
|
|
1448
|
+
mint: string;
|
|
1449
|
+
poolAddress: string | null;
|
|
1450
|
+
sharingConfig: string;
|
|
1451
|
+
}
|
|
1452
|
+
export interface GetFirstTradeResponse {
|
|
1453
|
+
amountSol: string;
|
|
1454
|
+
amountUsd: string;
|
|
1455
|
+
baseAmount: string;
|
|
1456
|
+
fillPriceSol: string;
|
|
1457
|
+
fillPriceUsd: string;
|
|
1458
|
+
isDevBuy: boolean;
|
|
1459
|
+
priceSol: string;
|
|
1460
|
+
priceUsd: string;
|
|
1461
|
+
program: string;
|
|
1462
|
+
quoteAmount: string;
|
|
1463
|
+
slotIndexId: string;
|
|
1464
|
+
timestamp: string;
|
|
1465
|
+
tx: string;
|
|
1466
|
+
type: string;
|
|
1467
|
+
userAddress: string;
|
|
1468
|
+
}
|
|
1469
|
+
export interface GetFollowSuggestionsResponse {
|
|
1470
|
+
entries: Entry[];
|
|
1471
|
+
periodLabel: string;
|
|
1472
|
+
windowStartSec: number;
|
|
1473
|
+
}
|
|
1474
|
+
export interface GetFollowersCountResponse {
|
|
1475
|
+
count: number;
|
|
1476
|
+
}
|
|
1477
|
+
export interface GetFollowingCountResponse {
|
|
1478
|
+
count: number;
|
|
1479
|
+
}
|
|
1480
|
+
export interface GetGlobalParamsResponse {
|
|
1481
|
+
fee_basis_points: number;
|
|
1482
|
+
initial_real_token_reserves: number;
|
|
1483
|
+
initial_virtual_quote_reserves: number;
|
|
1484
|
+
initial_virtual_sol_reserves: number;
|
|
1485
|
+
initial_virtual_token_reserves: number;
|
|
1486
|
+
signature: string;
|
|
1487
|
+
slot: number;
|
|
1488
|
+
timestamp: number;
|
|
1489
|
+
token_total_supply: number;
|
|
1490
|
+
}
|
|
1491
|
+
export interface GetGroupMembersPnlResponse {
|
|
1492
|
+
builtAtMs: number;
|
|
1493
|
+
period: string;
|
|
1494
|
+
rows: GetGroupMembersPnlResponseRow[];
|
|
1495
|
+
windowStartSec: number;
|
|
1496
|
+
}
|
|
1497
|
+
export interface GetGroupMembersPnlResponseRow {
|
|
1498
|
+
pnlUsd: number;
|
|
1499
|
+
userId: string;
|
|
1500
|
+
walletAddress: string;
|
|
1501
|
+
}
|
|
1502
|
+
export interface GetGroupMembersResponse {
|
|
1503
|
+
hasMore: boolean;
|
|
1504
|
+
members: GetGroupMembersResponseMember[];
|
|
1505
|
+
}
|
|
1506
|
+
export interface GetGroupMembersResponseMember {
|
|
1507
|
+
createdAt: string;
|
|
1508
|
+
invitedBy: string;
|
|
1509
|
+
profile: Liker;
|
|
1510
|
+
role: string;
|
|
1511
|
+
status: string;
|
|
1512
|
+
}
|
|
1513
|
+
export interface GetGroupPnlLeaderboardResponse {
|
|
1514
|
+
entries: GetGroupPnlLeaderboardResponseEntry[];
|
|
1515
|
+
periodLabel: string;
|
|
1516
|
+
periodType: number;
|
|
1517
|
+
totalRanked: number;
|
|
1518
|
+
windowStartSec: number;
|
|
1519
|
+
}
|
|
1520
|
+
export interface GetGroupPnlLeaderboardResponseEntry {
|
|
1521
|
+
buySpendSol: number;
|
|
1522
|
+
groupId: string;
|
|
1523
|
+
isVerified: boolean;
|
|
1524
|
+
lastRefreshedAtMs: number;
|
|
1525
|
+
memberCount: number;
|
|
1526
|
+
membersCounted: number;
|
|
1527
|
+
pnlPercent: number;
|
|
1528
|
+
pnlSol: number;
|
|
1529
|
+
pnlUsd: number;
|
|
1530
|
+
positionsCount: number;
|
|
1531
|
+
profileImageUrl: string;
|
|
1532
|
+
rank: number;
|
|
1533
|
+
realizedPnlSol: number;
|
|
1534
|
+
realizedPnlUsd: number;
|
|
1535
|
+
topPositions: Topposition[];
|
|
1536
|
+
unrealizedPnlSol: number;
|
|
1537
|
+
unrealizedPnlUsd: number;
|
|
1538
|
+
username: string;
|
|
1539
|
+
verifiedBadgeVisible: boolean;
|
|
1540
|
+
}
|
|
1541
|
+
export interface GetHolderRewardsResponse {
|
|
1542
|
+
byQuote: Byquote[];
|
|
1543
|
+
coins: GetHolderRewardsResponseCoin[];
|
|
1544
|
+
generatedAt: string;
|
|
1545
|
+
matchingCount: number;
|
|
1546
|
+
next: null;
|
|
1547
|
+
offset: number;
|
|
1548
|
+
quotes: Record<string, QuoteEntry>;
|
|
1549
|
+
totals: Total;
|
|
1550
|
+
}
|
|
1551
|
+
export interface GetHolderRewardsResponseCoin {
|
|
1552
|
+
accrued: Accrued;
|
|
1553
|
+
athMarketCapUsd: number | null;
|
|
1554
|
+
createdAt: string;
|
|
1555
|
+
holderRewardsPda: string;
|
|
1556
|
+
imageUri: string;
|
|
1557
|
+
isGraduated: boolean;
|
|
1558
|
+
isLive: boolean;
|
|
1559
|
+
isNsfw: boolean;
|
|
1560
|
+
lastTradeAt: string | null;
|
|
1561
|
+
marketCapUsd: number | null;
|
|
1562
|
+
mint: string;
|
|
1563
|
+
name: string;
|
|
1564
|
+
payouts: Payout | null;
|
|
1565
|
+
quoteMintAddress: string;
|
|
1566
|
+
socials: CoinSocial;
|
|
1567
|
+
symbol: string;
|
|
1568
|
+
}
|
|
1569
|
+
export interface GetHolderStatsResponse {
|
|
1570
|
+
asOf: number;
|
|
1571
|
+
bundlersHoldingsPercent: number;
|
|
1572
|
+
devHoldingsPercent: number | null;
|
|
1573
|
+
mint: string;
|
|
1574
|
+
snipersHoldingsPercent: number;
|
|
1575
|
+
top10HoldersPercent: number;
|
|
1576
|
+
totalFeesSol: number;
|
|
1577
|
+
totalHolders: number;
|
|
1578
|
+
}
|
|
1579
|
+
export interface GetHomeFeedResponse {
|
|
1580
|
+
coins: GetHomeFeedResponseCoin[];
|
|
1581
|
+
}
|
|
1582
|
+
export interface GetHomeFeedResponseCoin {
|
|
1583
|
+
chain: string;
|
|
1584
|
+
coinDescription: null;
|
|
1585
|
+
coinImage: string | null;
|
|
1586
|
+
coinMint: string;
|
|
1587
|
+
coinName: string;
|
|
1588
|
+
followedHolders: null;
|
|
1589
|
+
marketCap: number;
|
|
1590
|
+
narrative: null;
|
|
1591
|
+
platform?: string | null;
|
|
1592
|
+
position: CoinPosition;
|
|
1593
|
+
positions?: HomeFeedLegacyPosition[];
|
|
1594
|
+
program?: string | null;
|
|
1595
|
+
protocol?: string;
|
|
1596
|
+
recommendationId: string;
|
|
1597
|
+
recommendationRank: number;
|
|
1598
|
+
symbol: string;
|
|
1599
|
+
}
|
|
1600
|
+
export interface GetHotCoinResponse {
|
|
1601
|
+
hotCoin: null;
|
|
1602
|
+
}
|
|
1603
|
+
export interface GetInMemoryCoinResponse {
|
|
1604
|
+
_dirtyBoards?: number;
|
|
1605
|
+
_lastLruTouchTs?: number;
|
|
1606
|
+
_lastTradeTs?: number;
|
|
1607
|
+
_lastUpdated?: number;
|
|
1608
|
+
athMarketCapUsd: number;
|
|
1609
|
+
builderTipSol: number;
|
|
1610
|
+
builderTipSolV2: number;
|
|
1611
|
+
builderTipUsd: number;
|
|
1612
|
+
builderTipUsdV2: number;
|
|
1613
|
+
bundlerOwnedPercentageV2: number;
|
|
1614
|
+
buyCount: number;
|
|
1615
|
+
chain: string;
|
|
1616
|
+
coinCreatedSupply: number;
|
|
1617
|
+
creationTime: number;
|
|
1618
|
+
currentMarketPrice: number;
|
|
1619
|
+
description: string;
|
|
1620
|
+
dev: string;
|
|
1621
|
+
devHoldingsPercent: number;
|
|
1622
|
+
feeSeedSol: number;
|
|
1623
|
+
feeSeedUsd: number;
|
|
1624
|
+
graduationDate: number;
|
|
1625
|
+
hasSocial: boolean;
|
|
1626
|
+
hasTelegram: boolean;
|
|
1627
|
+
hasTwitter: boolean;
|
|
1628
|
+
hasWebsite: boolean;
|
|
1629
|
+
imageUrl: string;
|
|
1630
|
+
isBanned: boolean;
|
|
1631
|
+
isCashbackEnabled: boolean;
|
|
1632
|
+
isCharity: boolean;
|
|
1633
|
+
isCurrentlyLive: boolean;
|
|
1634
|
+
isHolderReward?: boolean;
|
|
1635
|
+
isMayhemMode: boolean;
|
|
1636
|
+
isMultiplayer?: boolean;
|
|
1637
|
+
isNsfw: boolean;
|
|
1638
|
+
lastRecommendedAt: number;
|
|
1639
|
+
marketCapUsd: number;
|
|
1640
|
+
mayhemBotCoinSupplied: number;
|
|
1641
|
+
mayhemMode: null;
|
|
1642
|
+
mayhemState: null;
|
|
1643
|
+
mint: string;
|
|
1644
|
+
name: string;
|
|
1645
|
+
numHolders: number;
|
|
1646
|
+
numKolsTraded: number;
|
|
1647
|
+
numLiveParticipants: number;
|
|
1648
|
+
pair: string;
|
|
1649
|
+
platform: string;
|
|
1650
|
+
priorityFeeSol: number;
|
|
1651
|
+
priorityFeeUsd: number;
|
|
1652
|
+
program: string;
|
|
1653
|
+
progress: number;
|
|
1654
|
+
quoteMint?: string;
|
|
1655
|
+
sellCount: number;
|
|
1656
|
+
sniperCount: number;
|
|
1657
|
+
snipersOwnedPercent: number;
|
|
1658
|
+
telegramReuseCount: number;
|
|
1659
|
+
ticker: string;
|
|
1660
|
+
top10HoldersPercent: number;
|
|
1661
|
+
totalFees: number;
|
|
1662
|
+
totalFeesUSD: number;
|
|
1663
|
+
tradingAppFeeSol: number;
|
|
1664
|
+
tradingAppFeeSolV2: number;
|
|
1665
|
+
tradingAppFeeUsd: number;
|
|
1666
|
+
tradingAppFeeUsdV2: number;
|
|
1667
|
+
twitterReuseCount: number;
|
|
1668
|
+
txCount: number;
|
|
1669
|
+
txFeeSolV2: number;
|
|
1670
|
+
txFeeUsdV2: number;
|
|
1671
|
+
videoUri: string;
|
|
1672
|
+
volumeSol: number;
|
|
1673
|
+
volumeUsd: number;
|
|
1674
|
+
websiteReuseCount: number;
|
|
1675
|
+
}
|
|
1676
|
+
export interface GetLivestreamHistoryResponse {
|
|
1677
|
+
items: GetLivestreamHistoryResponseItem[];
|
|
1678
|
+
total: number;
|
|
1679
|
+
}
|
|
1680
|
+
export interface GetLivestreamHistoryResponseItem {
|
|
1681
|
+
id: number;
|
|
1682
|
+
streamEndTimestamp: number;
|
|
1683
|
+
streamStartTimestamp: number;
|
|
1684
|
+
title: string;
|
|
1685
|
+
}
|
|
1686
|
+
export type GetLivestreamResponse = Livestream | null;
|
|
1687
|
+
export type GetMarketActivityBatchResponse = Record<string, MarketActivityBatchEntry>;
|
|
1688
|
+
export interface GetMarketActivityResponse {
|
|
1689
|
+
"1h": GetMarketActivityResponse5m | null;
|
|
1690
|
+
"24h": GetMarketActivityResponse5m | null;
|
|
1691
|
+
"5m": GetMarketActivityResponse5m | null;
|
|
1692
|
+
"6h": GetMarketActivityResponse5m | null;
|
|
1693
|
+
}
|
|
1694
|
+
export interface GetMarketActivityResponse5m {
|
|
1695
|
+
buyVolumeUSD: number;
|
|
1696
|
+
numBuyers: number;
|
|
1697
|
+
numBuys: number;
|
|
1698
|
+
numSellers: number;
|
|
1699
|
+
numSells: number;
|
|
1700
|
+
numTxs: number;
|
|
1701
|
+
numUsers: number;
|
|
1702
|
+
priceChangePercent: number;
|
|
1703
|
+
sellVolumeUSD: number;
|
|
1704
|
+
volumeUSD: number;
|
|
1705
|
+
}
|
|
1706
|
+
export interface GetMayhemCoinTopTradersResponse {
|
|
1707
|
+
mint: string;
|
|
1708
|
+
traders: GetMayhemCoinTopTradersResponseTrader[];
|
|
1709
|
+
updatedAt: number;
|
|
1710
|
+
}
|
|
1711
|
+
export interface GetMayhemCoinTopTradersResponseTrader {
|
|
1712
|
+
address: string;
|
|
1713
|
+
averageEntryMarketCapUsd: number | null;
|
|
1714
|
+
averageExitMarketCapUsd: number | null;
|
|
1715
|
+
buyTransactionCount: number;
|
|
1716
|
+
lastActivityAt: number;
|
|
1717
|
+
profileImage: string | null;
|
|
1718
|
+
rank: number;
|
|
1719
|
+
realisedPnlUsd: number;
|
|
1720
|
+
sellTransactionCount: number;
|
|
1721
|
+
tokenAmountBought: number;
|
|
1722
|
+
tokenAmountSold: number;
|
|
1723
|
+
tokenBalance: string;
|
|
1724
|
+
totalBoughtUsd: number;
|
|
1725
|
+
totalSoldUsd: number;
|
|
1726
|
+
username: string | null;
|
|
1727
|
+
}
|
|
1728
|
+
export interface GetMayhemOverviewResponse {
|
|
1729
|
+
activeCoins: number;
|
|
1730
|
+
agentVolumeUsd: Agentvolumeusd;
|
|
1731
|
+
coinsCreated: Agentvolumeusd;
|
|
1732
|
+
coinsCreatedByMode: CoinsCreatedByMode;
|
|
1733
|
+
distinctTraders: Agentvolumeusd;
|
|
1734
|
+
updatedAt: number;
|
|
1735
|
+
}
|
|
1736
|
+
export interface GetMayhemStatsResponse {
|
|
1737
|
+
buyCount: number;
|
|
1738
|
+
netSolDeployed: string;
|
|
1739
|
+
sellCount: number;
|
|
1740
|
+
totalBuyVolumeSol: string;
|
|
1741
|
+
totalSellVolumeSol: string;
|
|
1742
|
+
}
|
|
1743
|
+
export interface GetMayhemTopCoinsResponse {
|
|
1744
|
+
items: GetMayhemTopCoinsResponseItem[];
|
|
1745
|
+
updatedAt: number;
|
|
1746
|
+
window: string;
|
|
1747
|
+
}
|
|
1748
|
+
export interface GetMayhemTopCoinsResponseItem {
|
|
1749
|
+
mint: string;
|
|
1750
|
+
netUsdDeployed: number;
|
|
1751
|
+
rank: number;
|
|
1752
|
+
}
|
|
1753
|
+
export interface GetMayhemTopTradersResponse {
|
|
1754
|
+
items: GetMayhemTopTradersResponseItem[];
|
|
1755
|
+
updatedAt: number;
|
|
1756
|
+
window: string;
|
|
1757
|
+
}
|
|
1758
|
+
export interface GetMayhemTopTradersResponseItem {
|
|
1759
|
+
address: string;
|
|
1760
|
+
rank: number;
|
|
1761
|
+
realisedPnlUsd: number;
|
|
1762
|
+
tradeCount: number;
|
|
1763
|
+
volumeUsd: number;
|
|
1764
|
+
winRate: number;
|
|
1765
|
+
}
|
|
1766
|
+
export interface GetMintPositionsResponse {
|
|
1767
|
+
hasMore?: boolean;
|
|
1768
|
+
positions: GetMintPositionsResponsePosition[];
|
|
1769
|
+
totalCount: number;
|
|
1770
|
+
}
|
|
1771
|
+
export interface GetMintPositionsResponsePosition {
|
|
1772
|
+
accountKind?: string;
|
|
1773
|
+
amountBought: number;
|
|
1774
|
+
amountBoughtUsd: number;
|
|
1775
|
+
amountHeld: number;
|
|
1776
|
+
callout: PositionCallout | null;
|
|
1777
|
+
chainId: number;
|
|
1778
|
+
coinMint: string;
|
|
1779
|
+
costBasisAmount: number;
|
|
1780
|
+
costBasisUsd: number;
|
|
1781
|
+
isVerified: boolean;
|
|
1782
|
+
lowQuality?: boolean;
|
|
1783
|
+
pnlPercentage: number;
|
|
1784
|
+
pnlUsd: number;
|
|
1785
|
+
profile?: Liker;
|
|
1786
|
+
profileImage: string | null;
|
|
1787
|
+
realizedPnlUsd: number;
|
|
1788
|
+
recommendationId?: string;
|
|
1789
|
+
recommendationRank?: number;
|
|
1790
|
+
userId: string;
|
|
1791
|
+
userName: string;
|
|
1792
|
+
verifiedBadgeVisible?: boolean;
|
|
1793
|
+
walletAddress: string;
|
|
1794
|
+
xUsername: string | null;
|
|
1795
|
+
}
|
|
1796
|
+
export interface GetMoversBoardResponse {
|
|
1797
|
+
board: string;
|
|
1798
|
+
entries: GetMoversBoardResponseEntry[];
|
|
1799
|
+
serverTs: number;
|
|
1800
|
+
version: number;
|
|
1801
|
+
}
|
|
1802
|
+
export interface GetMoversBoardResponseEntry {
|
|
1803
|
+
age: number;
|
|
1804
|
+
ath: number;
|
|
1805
|
+
bc: number;
|
|
1806
|
+
bo?: number;
|
|
1807
|
+
c: string;
|
|
1808
|
+
cb: boolean;
|
|
1809
|
+
desc?: string;
|
|
1810
|
+
dh: number;
|
|
1811
|
+
dw: string;
|
|
1812
|
+
gd: number;
|
|
1813
|
+
hr?: boolean;
|
|
1814
|
+
hs: boolean;
|
|
1815
|
+
i: string;
|
|
1816
|
+
ic: boolean;
|
|
1817
|
+
ih: boolean;
|
|
1818
|
+
kol: number;
|
|
1819
|
+
lp?: string;
|
|
1820
|
+
lv: boolean;
|
|
1821
|
+
m: string;
|
|
1822
|
+
mc: number;
|
|
1823
|
+
mh: boolean;
|
|
1824
|
+
n: string;
|
|
1825
|
+
nh: number;
|
|
1826
|
+
np: number;
|
|
1827
|
+
p: number;
|
|
1828
|
+
pa?: string;
|
|
1829
|
+
pg: string;
|
|
1830
|
+
pl: string;
|
|
1831
|
+
rid?: string;
|
|
1832
|
+
sc: number;
|
|
1833
|
+
sn: number;
|
|
1834
|
+
so?: number;
|
|
1835
|
+
t: string;
|
|
1836
|
+
t10: number;
|
|
1837
|
+
tf?: number;
|
|
1838
|
+
tfUsd?: number;
|
|
1839
|
+
tg: boolean;
|
|
1840
|
+
tw: boolean;
|
|
1841
|
+
tx5: number;
|
|
1842
|
+
txc: number;
|
|
1843
|
+
v: number;
|
|
1844
|
+
v15: number;
|
|
1845
|
+
v1h: number;
|
|
1846
|
+
v24h: number;
|
|
1847
|
+
v5: number;
|
|
1848
|
+
vUsd: number;
|
|
1849
|
+
vUsd15: number;
|
|
1850
|
+
vUsd1h: number;
|
|
1851
|
+
vUsd24h: number;
|
|
1852
|
+
vUsd5: number;
|
|
1853
|
+
ws: boolean;
|
|
1854
|
+
}
|
|
1855
|
+
export interface GetNewCalloutsCountResponse {
|
|
1856
|
+
capped: boolean;
|
|
1857
|
+
headToken: string;
|
|
1858
|
+
newCount: number;
|
|
1859
|
+
}
|
|
1860
|
+
export interface GetNewCalloutsFeedResponse {
|
|
1861
|
+
coins: GetNewCalloutsFeedResponseCoin[];
|
|
1862
|
+
headToken: string | null;
|
|
1863
|
+
liveSubject: string;
|
|
1864
|
+
nextPageToken?: string;
|
|
1865
|
+
}
|
|
1866
|
+
export interface GetNewCalloutsFeedResponseCoin {
|
|
1867
|
+
chain: string;
|
|
1868
|
+
coinDescription: null;
|
|
1869
|
+
coinImage: string | null;
|
|
1870
|
+
coinMint: string;
|
|
1871
|
+
coinName: string | null;
|
|
1872
|
+
followedHolders: null;
|
|
1873
|
+
marketCap: number | null;
|
|
1874
|
+
narrative: null;
|
|
1875
|
+
platform: string | null;
|
|
1876
|
+
position: CoinPosition;
|
|
1877
|
+
program: string | null;
|
|
1878
|
+
protocol: string | null;
|
|
1879
|
+
symbol: string | null;
|
|
1880
|
+
}
|
|
1881
|
+
export interface GetOnboardingSuggestionsResponse {
|
|
1882
|
+
entries: GetOnboardingSuggestionsResponseEntry[];
|
|
1883
|
+
}
|
|
1884
|
+
export interface GetOnboardingSuggestionsResponseEntry {
|
|
1885
|
+
followers: number;
|
|
1886
|
+
isVerified: boolean;
|
|
1887
|
+
pnlUsd: number;
|
|
1888
|
+
profileImage: string;
|
|
1889
|
+
userId: string;
|
|
1890
|
+
username: string;
|
|
1891
|
+
verifiedBadgeVisible: boolean;
|
|
1892
|
+
walletAddress: string;
|
|
1893
|
+
}
|
|
1894
|
+
export interface GetPayoutsLeaderboardResponse {
|
|
1895
|
+
entries: GetPayoutsLeaderboardResponseEntry[];
|
|
1896
|
+
generatedAt: string;
|
|
1897
|
+
totalEarners: number;
|
|
1898
|
+
}
|
|
1899
|
+
export interface GetPayoutsLeaderboardResponseEntry {
|
|
1900
|
+
isVerified: boolean;
|
|
1901
|
+
lastPaidAt: string;
|
|
1902
|
+
payoutCount: number;
|
|
1903
|
+
profileImageUrl: string;
|
|
1904
|
+
rank: number;
|
|
1905
|
+
totalPaidUsdc: number;
|
|
1906
|
+
twitterId: string | null;
|
|
1907
|
+
twitterUrl: string | null;
|
|
1908
|
+
userId: string;
|
|
1909
|
+
username: string;
|
|
1910
|
+
verifiedBadgeVisible?: boolean;
|
|
1911
|
+
walletAddress?: string;
|
|
1912
|
+
wallets: string[];
|
|
1913
|
+
}
|
|
1914
|
+
export interface GetPerpOrdersResponse {
|
|
1915
|
+
orders: unknown[];
|
|
1916
|
+
stateAsOf: null;
|
|
1917
|
+
}
|
|
1918
|
+
export interface GetPerpTradesResponse {
|
|
1919
|
+
aggregates: Aggregate;
|
|
1920
|
+
cursor: string | null;
|
|
1921
|
+
source: string;
|
|
1922
|
+
trades: GetPerpTradesResponseTrade[];
|
|
1923
|
+
}
|
|
1924
|
+
export interface GetPerpTradesResponseTrade {
|
|
1925
|
+
baseAmount: Baseamount | null;
|
|
1926
|
+
blockId: string;
|
|
1927
|
+
blockTimeMs: number;
|
|
1928
|
+
coin: Pool;
|
|
1929
|
+
eventIndex: number;
|
|
1930
|
+
isBackfill: boolean;
|
|
1931
|
+
kind: string;
|
|
1932
|
+
late: boolean;
|
|
1933
|
+
legIndex: number;
|
|
1934
|
+
ordinalKey: string;
|
|
1935
|
+
perp?: Perp;
|
|
1936
|
+
pool: null;
|
|
1937
|
+
priceQuote: string | null;
|
|
1938
|
+
priceUsd: string | null;
|
|
1939
|
+
quote: TradeQuote | null;
|
|
1940
|
+
quoteAmount: Baseamount | null;
|
|
1941
|
+
quotePriceUsd: string | null;
|
|
1942
|
+
side: string | null;
|
|
1943
|
+
trader: Trader;
|
|
1944
|
+
txId: string;
|
|
1945
|
+
txIndex: number;
|
|
1946
|
+
valueNative: string | null;
|
|
1947
|
+
valueUsd: string;
|
|
1948
|
+
venue: string;
|
|
1949
|
+
}
|
|
1950
|
+
export interface GetPlaylistMapResponse {
|
|
1951
|
+
map: Record<string, MapEntry>;
|
|
1952
|
+
}
|
|
1953
|
+
export interface GetPnlLeaderboardPositionsResponse {
|
|
1954
|
+
entries: GetPnlLeaderboardPositionsResponseEntry[];
|
|
1955
|
+
periodLabel: string;
|
|
1956
|
+
totalRanked: number;
|
|
1957
|
+
windowStartSec: number;
|
|
1958
|
+
}
|
|
1959
|
+
export interface GetPnlLeaderboardPositionsResponseEntry {
|
|
1960
|
+
amountBought: number;
|
|
1961
|
+
amountBoughtUsd: number;
|
|
1962
|
+
amountHeld: number;
|
|
1963
|
+
avgEntryMcapUsd: number | null;
|
|
1964
|
+
callout: PositionCallout;
|
|
1965
|
+
coinMint: string;
|
|
1966
|
+
costBasisAmount: number;
|
|
1967
|
+
costBasisUsd: number;
|
|
1968
|
+
heldValueSol: number;
|
|
1969
|
+
isExited: boolean;
|
|
1970
|
+
isVerified: boolean;
|
|
1971
|
+
lastRefreshedAtMs: number;
|
|
1972
|
+
leaderboardPnlUsd: number;
|
|
1973
|
+
pnlPercentage: number;
|
|
1974
|
+
pnlUsd: number;
|
|
1975
|
+
profileImage: string;
|
|
1976
|
+
rank: number;
|
|
1977
|
+
realizedPnlUsd: number;
|
|
1978
|
+
userId?: string;
|
|
1979
|
+
username: string;
|
|
1980
|
+
valueUsd: number;
|
|
1981
|
+
verifiedBadgeVisible?: boolean;
|
|
1982
|
+
walletAddress: string;
|
|
1983
|
+
xUsername: string | null;
|
|
1984
|
+
}
|
|
1985
|
+
export interface GetPnlLeaderboardResponse {
|
|
1986
|
+
entries: Entry[];
|
|
1987
|
+
periodLabel: string;
|
|
1988
|
+
periodType: number;
|
|
1989
|
+
windowStartSec: number;
|
|
1990
|
+
}
|
|
1991
|
+
export interface GetPortfolioSummaryResponse {
|
|
1992
|
+
equityAtWindowStart: CostBasis;
|
|
1993
|
+
from: number;
|
|
1994
|
+
heldOpenValue: CostBasis;
|
|
1995
|
+
maxCapitalDeployed: CostBasis;
|
|
1996
|
+
missingPriceMints: string[];
|
|
1997
|
+
nativeBalanceSol?: number;
|
|
1998
|
+
percentage: CostBasis;
|
|
1999
|
+
pnl: CostBasis;
|
|
2000
|
+
realizedPnl: CostBasis;
|
|
2001
|
+
solPriceUsd?: number;
|
|
2002
|
+
to: number;
|
|
2003
|
+
tokenCount: number;
|
|
2004
|
+
totalBuySpend: CostBasis;
|
|
2005
|
+
totalValueUsd: number;
|
|
2006
|
+
tradePercentage: CostBasis;
|
|
2007
|
+
unrealizedPnl: CostBasis;
|
|
2008
|
+
wallet: string;
|
|
2009
|
+
}
|
|
2010
|
+
export interface GetPortfolioValueChartResponse {
|
|
2011
|
+
currency: string;
|
|
2012
|
+
equityFrom: number;
|
|
2013
|
+
meta: Meta;
|
|
2014
|
+
period: string;
|
|
2015
|
+
points: GetPortfolioValueChartResponsePoint[];
|
|
2016
|
+
range: string;
|
|
2017
|
+
resolutionSec: number;
|
|
2018
|
+
valueNow: number;
|
|
2019
|
+
}
|
|
2020
|
+
export interface GetPortfolioValueChartResponsePoint {
|
|
2021
|
+
time: number;
|
|
2022
|
+
value: number;
|
|
2023
|
+
}
|
|
2024
|
+
export interface GetReplyLikersResponse {
|
|
2025
|
+
hasMore: boolean;
|
|
2026
|
+
likers: Liker[];
|
|
2027
|
+
}
|
|
2028
|
+
export interface GetReplyRepostersResponse {
|
|
2029
|
+
hasMore: boolean;
|
|
2030
|
+
reposters: Reposter[];
|
|
2031
|
+
}
|
|
2032
|
+
export interface GetReplyThreadResponse {
|
|
2033
|
+
ancestors: Reply[];
|
|
2034
|
+
callout: GetReplyThreadResponseCallout;
|
|
2035
|
+
reply: Reply;
|
|
2036
|
+
}
|
|
2037
|
+
export interface GetReplyThreadResponseCallout {
|
|
2038
|
+
accountKind: string;
|
|
2039
|
+
callout: PositionCallout;
|
|
2040
|
+
coinMint: string;
|
|
2041
|
+
isVerified: boolean;
|
|
2042
|
+
mediaUrl: string | null;
|
|
2043
|
+
profileImage: string;
|
|
2044
|
+
userId: string;
|
|
2045
|
+
userName: string;
|
|
2046
|
+
verifiedBadgeVisible: boolean;
|
|
2047
|
+
walletAddress: string;
|
|
2048
|
+
xFollowerCount: number;
|
|
2049
|
+
xUsername: string;
|
|
2050
|
+
}
|
|
2051
|
+
export interface GetSearchQuoteFacetsResponse {
|
|
2052
|
+
otherCount: number;
|
|
2053
|
+
quoteFacets: Quotefacet[];
|
|
2054
|
+
}
|
|
2055
|
+
export interface GetShareholderFeesResponse {
|
|
2056
|
+
coins: GetShareholderFeesResponseCoin[];
|
|
2057
|
+
nextCursor?: string;
|
|
2058
|
+
totals: GetShareholderFeesResponseTotal;
|
|
2059
|
+
}
|
|
2060
|
+
export interface GetShareholderFeesResponseCoin {
|
|
2061
|
+
coin: Pool;
|
|
2062
|
+
configAddress: string;
|
|
2063
|
+
shareBps: number;
|
|
2064
|
+
shareholderClaimed: Distributed[];
|
|
2065
|
+
shareholderEarned: Distributed[];
|
|
2066
|
+
shareholderUnclaimed: Distributed[];
|
|
2067
|
+
totalClaimed: Distributed[];
|
|
2068
|
+
totalEarned: Earned[];
|
|
2069
|
+
totalUnclaimed: Distributed[];
|
|
2070
|
+
}
|
|
2071
|
+
export interface GetShareholderFeesResponseTotal {
|
|
2072
|
+
claimed: Distributed[];
|
|
2073
|
+
earned: Distributed[];
|
|
2074
|
+
unclaimed: Distributed[];
|
|
2075
|
+
}
|
|
2076
|
+
export interface GetSolPriceResponse {
|
|
2077
|
+
asOfTimestamp: number;
|
|
2078
|
+
solPrice: number;
|
|
2079
|
+
stale: boolean;
|
|
2080
|
+
}
|
|
2081
|
+
export interface GetTokenHolderCountResponse {
|
|
2082
|
+
chain: string;
|
|
2083
|
+
holderCount: number;
|
|
2084
|
+
mint: string;
|
|
2085
|
+
networkId: number;
|
|
2086
|
+
}
|
|
2087
|
+
export interface GetTopHoldersResponse {
|
|
2088
|
+
topHolders: GetTopHoldersResponseTopholder[];
|
|
2089
|
+
totalHolders: number;
|
|
2090
|
+
}
|
|
2091
|
+
export interface GetTopHoldersResponseTopholder {
|
|
2092
|
+
address: string;
|
|
2093
|
+
amount: number;
|
|
2094
|
+
enteredAt: number | null;
|
|
2095
|
+
fundingSource: Fundingsource | null;
|
|
2096
|
+
isBundler: boolean;
|
|
2097
|
+
isDev: boolean;
|
|
2098
|
+
isSniper: boolean;
|
|
2099
|
+
}
|
|
2100
|
+
export interface GetTopTokenMintChainsResponse {
|
|
2101
|
+
chains: Record<string, string[]>;
|
|
2102
|
+
mints: string[];
|
|
2103
|
+
}
|
|
2104
|
+
export type GetTopTokenMintsResponse = string[];
|
|
2105
|
+
export interface GetTopTraderTradesResponse {
|
|
2106
|
+
boardsBuiltAtMs: number;
|
|
2107
|
+
generatedAtMs: number;
|
|
2108
|
+
mint: string;
|
|
2109
|
+
page: Page | null;
|
|
2110
|
+
traders: GetTopTraderTradesResponseTrader[];
|
|
2111
|
+
trades: GetTopTraderTradesResponseTrade[];
|
|
2112
|
+
}
|
|
2113
|
+
export interface GetTopTraderTradesResponseTrade {
|
|
2114
|
+
amountSol: number;
|
|
2115
|
+
amountUsd: number;
|
|
2116
|
+
baseAmount: number;
|
|
2117
|
+
chainId: number;
|
|
2118
|
+
isBuy: boolean;
|
|
2119
|
+
mint: string;
|
|
2120
|
+
priceUsd: number;
|
|
2121
|
+
slotIndexId: string;
|
|
2122
|
+
timestamp: string;
|
|
2123
|
+
tx: string;
|
|
2124
|
+
userId: string;
|
|
2125
|
+
walletAddress: string;
|
|
2126
|
+
}
|
|
2127
|
+
export interface GetTopTraderTradesResponseTrader {
|
|
2128
|
+
bestRank: number;
|
|
2129
|
+
isVerified: boolean;
|
|
2130
|
+
periods: string[];
|
|
2131
|
+
profileImage: string;
|
|
2132
|
+
tradeCount: number;
|
|
2133
|
+
tradingWallets: string[];
|
|
2134
|
+
userId: string;
|
|
2135
|
+
username: string;
|
|
2136
|
+
verifiedBadgeVisible: boolean;
|
|
2137
|
+
walletAddress: string;
|
|
2138
|
+
}
|
|
2139
|
+
export type GetTradesBatchResponse = Record<string, TradesBatchEntry[]>;
|
|
2140
|
+
export interface GetTradesResponse {
|
|
2141
|
+
pagination: PageCursor;
|
|
2142
|
+
trades: GetTradesResponseTrade[];
|
|
2143
|
+
}
|
|
2144
|
+
export interface GetTradesResponseTrade {
|
|
2145
|
+
amountSol: string;
|
|
2146
|
+
amountUsd: string;
|
|
2147
|
+
baseAmount: string;
|
|
2148
|
+
fillPriceSol: string;
|
|
2149
|
+
fillPriceUsd: string;
|
|
2150
|
+
priceSol: string;
|
|
2151
|
+
priceUsd: string;
|
|
2152
|
+
program: string;
|
|
2153
|
+
quoteAmount: string;
|
|
2154
|
+
slotIndexId: string;
|
|
2155
|
+
timestamp: string;
|
|
2156
|
+
tx: string;
|
|
2157
|
+
type: string;
|
|
2158
|
+
userAddress: string;
|
|
2159
|
+
}
|
|
2160
|
+
export interface GetTrendingBoardResponse {
|
|
2161
|
+
board: string;
|
|
2162
|
+
entries: GetMoversBoardResponseEntry[];
|
|
2163
|
+
serverTs: number;
|
|
2164
|
+
version: number;
|
|
2165
|
+
}
|
|
2166
|
+
export interface GetUserAchievementsResponse {
|
|
2167
|
+
achievements: GetUserAchievementsResponseAchievement[];
|
|
2168
|
+
catalogVersion: string;
|
|
2169
|
+
progress: Progress[];
|
|
2170
|
+
}
|
|
2171
|
+
export interface GetUserAchievementsResponseAchievement {
|
|
2172
|
+
achievementId: string;
|
|
2173
|
+
evidence: Evidence | null;
|
|
2174
|
+
holderCount: number;
|
|
2175
|
+
holderPercent: number;
|
|
2176
|
+
seen: boolean;
|
|
2177
|
+
unlockedAt: string;
|
|
2178
|
+
value: number;
|
|
2179
|
+
}
|
|
2180
|
+
export interface GetUserCalloutRepliesResponse {
|
|
2181
|
+
replies: PositionQuote[];
|
|
2182
|
+
}
|
|
2183
|
+
export interface GetUserCalloutsResponse {
|
|
2184
|
+
callouts: GetUserCalloutsResponseCallout[];
|
|
2185
|
+
nextPageToken: string;
|
|
2186
|
+
}
|
|
2187
|
+
export interface GetUserCalloutsResponseCallout {
|
|
2188
|
+
calloutId: string;
|
|
2189
|
+
calloutPrice: number;
|
|
2190
|
+
calloutPriceUsd: number;
|
|
2191
|
+
chain?: string | null;
|
|
2192
|
+
coinMint: string;
|
|
2193
|
+
commentCount: number;
|
|
2194
|
+
createdAt: number;
|
|
2195
|
+
hasLiked: null;
|
|
2196
|
+
hasReposted: null;
|
|
2197
|
+
likes: number;
|
|
2198
|
+
marketCap: number;
|
|
2199
|
+
maxMultiplier: number;
|
|
2200
|
+
maxMultiplierAt: string | null;
|
|
2201
|
+
maxPriceSol: number;
|
|
2202
|
+
maxPriceUsd: number;
|
|
2203
|
+
mediaUrl: string | null;
|
|
2204
|
+
multiple: number;
|
|
2205
|
+
perp?: null;
|
|
2206
|
+
quoteCount: number;
|
|
2207
|
+
quotedCallout: null;
|
|
2208
|
+
quotedCalloutId: null;
|
|
2209
|
+
replyCount: number;
|
|
2210
|
+
repostCount: number;
|
|
2211
|
+
thesis: string;
|
|
2212
|
+
updateCount: number;
|
|
2213
|
+
updates: Update[];
|
|
2214
|
+
userId: string;
|
|
2215
|
+
user_uuid: string;
|
|
2216
|
+
viewCount: number;
|
|
2217
|
+
}
|
|
2218
|
+
export interface GetUserCoinCalloutResponse {
|
|
2219
|
+
callout: GetUserCalloutsResponseCallout | null;
|
|
2220
|
+
quotes: unknown[];
|
|
2221
|
+
}
|
|
2222
|
+
export interface GetUserCreatedCoinsResponse {
|
|
2223
|
+
coins: GetUserCreatedCoinsResponseCoin[];
|
|
2224
|
+
count: number;
|
|
2225
|
+
limit: number;
|
|
2226
|
+
offset: number;
|
|
2227
|
+
}
|
|
2228
|
+
export interface GetUserCreatedCoinsResponseCoin {
|
|
2229
|
+
associated_bonding_curve: string;
|
|
2230
|
+
ath_market_cap?: number;
|
|
2231
|
+
ath_market_cap_timestamp?: number;
|
|
2232
|
+
base_decimals: number;
|
|
2233
|
+
bonding_curve: string;
|
|
2234
|
+
boost_mode: string;
|
|
2235
|
+
canonical_pool_liquidity_usd?: number;
|
|
2236
|
+
chain_id: string;
|
|
2237
|
+
circulating_supply_str?: string;
|
|
2238
|
+
complete: boolean;
|
|
2239
|
+
created_timestamp: number;
|
|
2240
|
+
creator: string;
|
|
2241
|
+
depth?: number;
|
|
2242
|
+
description?: string;
|
|
2243
|
+
hide_banner: boolean;
|
|
2244
|
+
image_uri: string;
|
|
2245
|
+
initialized: boolean;
|
|
2246
|
+
inverted?: boolean;
|
|
2247
|
+
is_banned: boolean;
|
|
2248
|
+
is_cashback_enabled?: boolean;
|
|
2249
|
+
is_currently_live: boolean;
|
|
2250
|
+
is_holder_reward?: boolean;
|
|
2251
|
+
last_trade_timestamp?: number;
|
|
2252
|
+
livestream_ban_expiry: number;
|
|
2253
|
+
market_cap?: number;
|
|
2254
|
+
market_cap_quote: number;
|
|
2255
|
+
market_cap_usd?: number;
|
|
2256
|
+
metadata_uri: string;
|
|
2257
|
+
mint: string;
|
|
2258
|
+
multichain_family: number;
|
|
2259
|
+
name: string;
|
|
2260
|
+
nsfw: boolean;
|
|
2261
|
+
platform?: string;
|
|
2262
|
+
pool_address: string;
|
|
2263
|
+
program: string;
|
|
2264
|
+
protocol: string;
|
|
2265
|
+
pump_swap_pool?: string;
|
|
2266
|
+
quote_decimals: number;
|
|
2267
|
+
quote_mint: string;
|
|
2268
|
+
quote_token_program?: string;
|
|
2269
|
+
real_quote_reserves: number;
|
|
2270
|
+
real_sol_reserves: number;
|
|
2271
|
+
real_token_reserves: number;
|
|
2272
|
+
reply_count: number;
|
|
2273
|
+
security_verdict?: SecurityVerdict;
|
|
2274
|
+
show_name: boolean;
|
|
2275
|
+
symbol: string;
|
|
2276
|
+
token_program: string;
|
|
2277
|
+
total_supply: number;
|
|
2278
|
+
total_supply_str: string;
|
|
2279
|
+
transfer_fee_bps?: number;
|
|
2280
|
+
transfer_hook_program?: string;
|
|
2281
|
+
twitter?: string;
|
|
2282
|
+
updated_at?: number;
|
|
2283
|
+
usd_market_cap?: number;
|
|
2284
|
+
verified: boolean;
|
|
2285
|
+
virtual_quote_reserves: number;
|
|
2286
|
+
virtual_sol_reserves: number;
|
|
2287
|
+
virtual_token_reserves: number;
|
|
2288
|
+
volume_1h_usd?: number;
|
|
2289
|
+
website?: string;
|
|
2290
|
+
}
|
|
2291
|
+
export interface GetUserOverviewResponse {
|
|
2292
|
+
achievementBadgeIds: string[];
|
|
2293
|
+
address: string;
|
|
2294
|
+
banned: boolean;
|
|
2295
|
+
counts: GetUserOverviewResponseCount;
|
|
2296
|
+
createdCoinsCount: number;
|
|
2297
|
+
degraded: unknown[];
|
|
2298
|
+
isPumpUser: boolean;
|
|
2299
|
+
profile: GetUserResponse | null;
|
|
2300
|
+
verified: boolean;
|
|
2301
|
+
}
|
|
2302
|
+
export interface GetUserOverviewResponseCount {
|
|
2303
|
+
followers: number;
|
|
2304
|
+
following: number;
|
|
2305
|
+
}
|
|
2306
|
+
export interface GetUserPortfolioResponse {
|
|
2307
|
+
positions: GetUserPortfolioResponsePosition[];
|
|
2308
|
+
summary: Summary;
|
|
2309
|
+
updatesApplied: boolean;
|
|
2310
|
+
}
|
|
2311
|
+
export interface GetUserPortfolioResponsePosition {
|
|
2312
|
+
amountBought: number | null;
|
|
2313
|
+
amountBoughtUsd: number | null;
|
|
2314
|
+
amountHeld: number;
|
|
2315
|
+
callout: PositionCallout | null;
|
|
2316
|
+
chainId: number;
|
|
2317
|
+
coin?: PositionCoin;
|
|
2318
|
+
coinMint: string;
|
|
2319
|
+
costBasisAmount: number | null;
|
|
2320
|
+
costBasisUsd: number | null;
|
|
2321
|
+
dustFloorFiltered: boolean;
|
|
2322
|
+
hasTransfers?: boolean;
|
|
2323
|
+
hasUntrustedSolBasis?: boolean;
|
|
2324
|
+
hasUntrustedUsdBasis?: boolean;
|
|
2325
|
+
isExited: boolean;
|
|
2326
|
+
isNative: boolean;
|
|
2327
|
+
lastSlotIndexId?: string;
|
|
2328
|
+
likelyLost?: boolean;
|
|
2329
|
+
openedAt?: string;
|
|
2330
|
+
pnlPercentage: number | null;
|
|
2331
|
+
pnlUsd: number | null;
|
|
2332
|
+
potentialSpam: boolean;
|
|
2333
|
+
realizedPnlUsd?: number;
|
|
2334
|
+
tokenPriceUsd: number | null;
|
|
2335
|
+
tradeCount?: number;
|
|
2336
|
+
updatedAt?: string;
|
|
2337
|
+
userMarkedNonSpam: boolean;
|
|
2338
|
+
valueUsd?: number;
|
|
2339
|
+
walletAddress: string;
|
|
2340
|
+
}
|
|
2341
|
+
export interface GetUserPositionsResponse {
|
|
2342
|
+
positions: GetUserPositionsResponsePosition[];
|
|
2343
|
+
}
|
|
2344
|
+
export interface GetUserPositionsResponsePosition {
|
|
2345
|
+
amountBought: number;
|
|
2346
|
+
amountBoughtUsd: number;
|
|
2347
|
+
amountHeld: number;
|
|
2348
|
+
callout: PositionCallout | null;
|
|
2349
|
+
chainId: number;
|
|
2350
|
+
coinMint: string;
|
|
2351
|
+
costBasisAmount: number;
|
|
2352
|
+
costBasisUsd: number;
|
|
2353
|
+
hasTransfers: boolean;
|
|
2354
|
+
hasUntrustedSolBasis?: boolean;
|
|
2355
|
+
hasUntrustedUsdBasis?: boolean;
|
|
2356
|
+
isExited: boolean;
|
|
2357
|
+
lastSlotIndexId?: string;
|
|
2358
|
+
likelyLost: boolean;
|
|
2359
|
+
pnlPercentage: number | null;
|
|
2360
|
+
pnlUsd: number;
|
|
2361
|
+
realizedPnlUsd: number;
|
|
2362
|
+
tokenPriceUsd: number;
|
|
2363
|
+
updatedAt: string;
|
|
2364
|
+
valueUsd: number;
|
|
2365
|
+
walletAddress: string;
|
|
2366
|
+
}
|
|
2367
|
+
export interface GetUserRepostsResponse {
|
|
2368
|
+
nextCursor: string | null;
|
|
2369
|
+
reposts: Repost[];
|
|
2370
|
+
}
|
|
2371
|
+
export interface GetUserResponse {
|
|
2372
|
+
address: string;
|
|
2373
|
+
avatar_decoration?: string | null;
|
|
2374
|
+
bio: string | null;
|
|
2375
|
+
canonical_evm_wallet?: string;
|
|
2376
|
+
canonical_svm_wallet: string;
|
|
2377
|
+
followers: number;
|
|
2378
|
+
following: number;
|
|
2379
|
+
group_badges: GroupBadge[];
|
|
2380
|
+
header_image_url: string | null;
|
|
2381
|
+
is_banned?: boolean;
|
|
2382
|
+
is_pump_user: boolean;
|
|
2383
|
+
kind: string;
|
|
2384
|
+
last_username_update_timestamp: number | null;
|
|
2385
|
+
member_count: number;
|
|
2386
|
+
profile_image: string;
|
|
2387
|
+
userId: string;
|
|
2388
|
+
username: string;
|
|
2389
|
+
x_username: string | null;
|
|
2390
|
+
}
|
|
2391
|
+
export interface GetUserTradesResponse {
|
|
2392
|
+
nextCursor: string | null;
|
|
2393
|
+
traders: GetUserTradesResponseTrader[];
|
|
2394
|
+
trades: GetUserTradesResponseTrade[];
|
|
2395
|
+
}
|
|
2396
|
+
export interface GetUserTradesResponseTrade {
|
|
2397
|
+
amountSol: number | null;
|
|
2398
|
+
amountUsd: number | null;
|
|
2399
|
+
baseAmount: number;
|
|
2400
|
+
chainId: number;
|
|
2401
|
+
isBuy: boolean;
|
|
2402
|
+
kind?: string;
|
|
2403
|
+
mint: string;
|
|
2404
|
+
priceUsd: number | null;
|
|
2405
|
+
slotIndexId: string;
|
|
2406
|
+
timestamp: string;
|
|
2407
|
+
tx: string;
|
|
2408
|
+
userId: string;
|
|
2409
|
+
walletAddress: string;
|
|
2410
|
+
}
|
|
2411
|
+
export interface GetUserTradesResponseTrader {
|
|
2412
|
+
isVerified: boolean;
|
|
2413
|
+
profileImage: string;
|
|
2414
|
+
userId: string;
|
|
2415
|
+
userName: string;
|
|
2416
|
+
verifiedBadgeVisible: boolean;
|
|
2417
|
+
walletAddress: string;
|
|
2418
|
+
}
|
|
2419
|
+
export interface GetUsernameExistsResponse {
|
|
2420
|
+
exists_flag: boolean;
|
|
2421
|
+
}
|
|
2422
|
+
export type GetVanityCheckResponse = boolean;
|
|
2423
|
+
export type GetVerifiedProfilesResponse = Record<string, boolean>;
|
|
2424
|
+
export interface GetWalletBalanceSummaryResponse {
|
|
2425
|
+
data: GetWalletBalanceSummaryResponseData;
|
|
2426
|
+
success: boolean;
|
|
2427
|
+
}
|
|
2428
|
+
export interface GetWalletBalanceSummaryResponseData {
|
|
2429
|
+
dust_count?: number;
|
|
2430
|
+
dust_value_usd?: number;
|
|
2431
|
+
hidden_count?: number;
|
|
2432
|
+
hidden_value_usd?: number;
|
|
2433
|
+
last_update_ts: number;
|
|
2434
|
+
multi_chain_breakdown?: MultiChainBreakdown;
|
|
2435
|
+
native_balance: number;
|
|
2436
|
+
native_lamports: number;
|
|
2437
|
+
portfolioPnL: Portfoliopnl;
|
|
2438
|
+
sol_price: number;
|
|
2439
|
+
token_count: number;
|
|
2440
|
+
total_value: number;
|
|
2441
|
+
wrapped_sol_balance?: number;
|
|
2442
|
+
}
|
|
2443
|
+
export interface GetWalletBalancesResponse {
|
|
2444
|
+
data: GetWalletBalancesResponseData;
|
|
2445
|
+
pagination: GetWalletBalancesResponsePagination;
|
|
2446
|
+
success: boolean;
|
|
2447
|
+
}
|
|
2448
|
+
export interface GetWalletBalancesResponseData {
|
|
2449
|
+
hidden_count?: number;
|
|
2450
|
+
last_update_ts: number;
|
|
2451
|
+
tokens: DataToken[];
|
|
2452
|
+
}
|
|
2453
|
+
export interface GetWalletBalancesResponsePagination {
|
|
2454
|
+
page: number;
|
|
2455
|
+
size: number;
|
|
2456
|
+
total: number;
|
|
2457
|
+
totalPages: number;
|
|
2458
|
+
}
|
|
2459
|
+
export interface GetWalletOverviewResponse {
|
|
2460
|
+
wallets: Record<string, WalletEntry>;
|
|
2461
|
+
}
|
|
2462
|
+
export interface GetWalletPnlBatchResponse {
|
|
2463
|
+
data: GetWalletPnlBatchResponseData[];
|
|
2464
|
+
success: boolean;
|
|
2465
|
+
}
|
|
2466
|
+
export interface GetWalletPnlBatchResponseData {
|
|
2467
|
+
fee: CostBasis;
|
|
2468
|
+
fee_detail: FeeDetail;
|
|
2469
|
+
has_transfers: boolean;
|
|
2470
|
+
has_untrusted_basis: boolean;
|
|
2471
|
+
has_untrusted_sol_basis?: boolean;
|
|
2472
|
+
has_untrusted_usd_basis?: boolean;
|
|
2473
|
+
last_slot_index_id: string | null;
|
|
2474
|
+
mint: string;
|
|
2475
|
+
realized: Realized | null;
|
|
2476
|
+
total_buy_amount: number | null;
|
|
2477
|
+
total_buy_spend: CostBasis;
|
|
2478
|
+
unrealized: Unrealized | null;
|
|
2479
|
+
}
|
|
2480
|
+
export interface GetWalletScreeningResponse {
|
|
2481
|
+
address: string;
|
|
2482
|
+
message: string;
|
|
2483
|
+
statusCode: number;
|
|
2484
|
+
}
|
|
2485
|
+
export interface GetWalletTokenPnlResponse {
|
|
2486
|
+
data: GetWalletTokenPnlResponseData;
|
|
2487
|
+
success: boolean;
|
|
2488
|
+
}
|
|
2489
|
+
export interface GetWalletTokenPnlResponseData {
|
|
2490
|
+
amount_held: number | null;
|
|
2491
|
+
ata_rent_sol: number | null;
|
|
2492
|
+
ata_rent_usd: number | null;
|
|
2493
|
+
base_fee_sol: number | null;
|
|
2494
|
+
base_fee_usd: number | null;
|
|
2495
|
+
cashback_sol: number | null;
|
|
2496
|
+
cashback_usd: number | null;
|
|
2497
|
+
cost_basis_amount: number | null;
|
|
2498
|
+
cost_basis_sol: number | null;
|
|
2499
|
+
cost_basis_usd: number | null;
|
|
2500
|
+
fee_sol: number | null;
|
|
2501
|
+
fee_usd: number | null;
|
|
2502
|
+
has_transfers: boolean;
|
|
2503
|
+
has_untrusted_basis: boolean;
|
|
2504
|
+
has_untrusted_sol_basis?: boolean;
|
|
2505
|
+
has_untrusted_usd_basis?: boolean;
|
|
2506
|
+
last_slot_index_id: string | null;
|
|
2507
|
+
mint: string;
|
|
2508
|
+
percentage_sol: number | null;
|
|
2509
|
+
percentage_usd: number | null;
|
|
2510
|
+
priority_fee_sol: number | null;
|
|
2511
|
+
priority_fee_usd: number | null;
|
|
2512
|
+
protocol_fee_sol: number | null;
|
|
2513
|
+
protocol_fee_usd: number | null;
|
|
2514
|
+
realized_pnl_sol: number | null;
|
|
2515
|
+
realized_pnl_usd: number | null;
|
|
2516
|
+
tip_fee_sol: number | null;
|
|
2517
|
+
tip_fee_usd: number | null;
|
|
2518
|
+
total_buy_amount: number | null;
|
|
2519
|
+
total_buy_spend_sol: number | null;
|
|
2520
|
+
total_buy_spend_usd: number | null;
|
|
2521
|
+
ui_fee_sol: number | null;
|
|
2522
|
+
ui_fee_usd: number | null;
|
|
2523
|
+
unrealized_pnl_sol: number | null;
|
|
2524
|
+
unrealized_pnl_sol_mark: number | null;
|
|
2525
|
+
unrealized_pnl_usd: number | null;
|
|
2526
|
+
unrealized_pnl_usd_mark: number | null;
|
|
2527
|
+
}
|
|
2528
|
+
export interface GetWalletTradesResponse {
|
|
2529
|
+
chain?: string;
|
|
2530
|
+
nativeUnit?: string;
|
|
2531
|
+
pagination: GetWalletTradesResponsePagination;
|
|
2532
|
+
trades: GetWalletTradesResponseTrade[];
|
|
2533
|
+
}
|
|
2534
|
+
export interface GetWalletTradesResponsePagination {
|
|
2535
|
+
hasMore: boolean;
|
|
2536
|
+
nextCursor: string | null;
|
|
2537
|
+
}
|
|
2538
|
+
export interface GetWalletTradesResponseTrade {
|
|
2539
|
+
amountSol: number;
|
|
2540
|
+
amountUsd: number;
|
|
2541
|
+
baseAmount: number;
|
|
2542
|
+
legCount: number;
|
|
2543
|
+
mint: string;
|
|
2544
|
+
poolAddress: string;
|
|
2545
|
+
slotIndexId: string;
|
|
2546
|
+
timestamp: string;
|
|
2547
|
+
tx: string;
|
|
2548
|
+
type: string;
|
|
2549
|
+
}
|
|
2550
|
+
export interface GetWalletTransactionsResponse {
|
|
2551
|
+
pagination: GetWalletTransactionsResponsePagination;
|
|
2552
|
+
transactions: Transaction[];
|
|
2553
|
+
}
|
|
2554
|
+
export interface GetWalletTransactionsResponsePagination {
|
|
2555
|
+
has_more: boolean;
|
|
2556
|
+
next_cursor?: string;
|
|
2557
|
+
total: number;
|
|
2558
|
+
}
|
|
2559
|
+
export interface GlobalParamsParams {
|
|
2560
|
+
/** Unix time in milliseconds to read the constants at. The default `1` returns the launch constants. */
|
|
2561
|
+
params_id?: number;
|
|
2562
|
+
}
|
|
2563
|
+
export interface GroupBadge {
|
|
2564
|
+
group_id: string;
|
|
2565
|
+
profile_image_url: string;
|
|
2566
|
+
role: string;
|
|
2567
|
+
username: string;
|
|
2568
|
+
}
|
|
2569
|
+
export interface GroupMembersParams {
|
|
2570
|
+
/** Squad (group) UUID. */
|
|
2571
|
+
group_id: string;
|
|
2572
|
+
/** Maximum members to return. */
|
|
2573
|
+
limit?: number;
|
|
2574
|
+
/** Rows to skip. */
|
|
2575
|
+
offset?: number;
|
|
2576
|
+
}
|
|
2577
|
+
export interface GroupMembersPnlParams {
|
|
2578
|
+
/** Squad (group) UUID. */
|
|
2579
|
+
group_id: string;
|
|
2580
|
+
/** Ranking window. */
|
|
2581
|
+
period?: RollingWindow;
|
|
2582
|
+
}
|
|
2583
|
+
export interface GroupPnlLeaderboardParams {
|
|
2584
|
+
/** Maximum squads to return. */
|
|
2585
|
+
limit?: number;
|
|
2586
|
+
/** Ranking window. */
|
|
2587
|
+
period?: LeaderboardPeriod;
|
|
2588
|
+
/** Top positions shown per squad (pump.fun's default 3). */
|
|
2589
|
+
positions_limit?: number | null;
|
|
2590
|
+
/** Which PnL figure ranks squads. */
|
|
2591
|
+
sort?: LeaderboardSort | null;
|
|
2592
|
+
}
|
|
2593
|
+
export interface Groupbadge {
|
|
2594
|
+
groupId: string;
|
|
2595
|
+
profileImageUrl: string;
|
|
2596
|
+
role: string;
|
|
2597
|
+
username: string;
|
|
2598
|
+
}
|
|
2599
|
+
export interface HolderListRequest {
|
|
2600
|
+
/** Holder wallet addresses, 1 to 20. */
|
|
2601
|
+
holders: string[];
|
|
2602
|
+
}
|
|
2603
|
+
export type HolderRewardSort = "accrued" | "accruedNow" | "distributed" | "lastPayout" | "wallets" | "trades" | "lastTrade";
|
|
2604
|
+
export interface HolderRewardsParams {
|
|
2605
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
2606
|
+
cursor?: string | null;
|
|
2607
|
+
/** Sort direction. */
|
|
2608
|
+
direction?: OrderDirection;
|
|
2609
|
+
/** Coins per page. */
|
|
2610
|
+
limit?: number;
|
|
2611
|
+
/** Page number, from 1. */
|
|
2612
|
+
page?: number;
|
|
2613
|
+
/** Only coins that paid holders. */
|
|
2614
|
+
paying_only?: boolean | null;
|
|
2615
|
+
/** Only coins quoted in this token mint. */
|
|
2616
|
+
quote?: string | null;
|
|
2617
|
+
/** Ranking column. */
|
|
2618
|
+
sort?: HolderRewardSort;
|
|
2619
|
+
}
|
|
2620
|
+
export interface HolderStatsParams {
|
|
2621
|
+
/** Solana mint address. pump.fun refuses EVM tokens here. */
|
|
2622
|
+
mint: string;
|
|
2623
|
+
}
|
|
2624
|
+
export interface HoldingCallout {
|
|
2625
|
+
calledOutAtMcap: number;
|
|
2626
|
+
calloutId: string;
|
|
2627
|
+
calloutPrice: number;
|
|
2628
|
+
calloutTimestamp: string;
|
|
2629
|
+
commentCount: number;
|
|
2630
|
+
hasLiked: null;
|
|
2631
|
+
hasReposted: null;
|
|
2632
|
+
likes: number;
|
|
2633
|
+
maxMultiplier: number;
|
|
2634
|
+
maxMultiplierAt: string;
|
|
2635
|
+
mediaUrl: string | null;
|
|
2636
|
+
multiple: number;
|
|
2637
|
+
quoteCount: number;
|
|
2638
|
+
quotedCallout: null;
|
|
2639
|
+
quotedCalloutId: null;
|
|
2640
|
+
replyCount: number;
|
|
2641
|
+
repostCount: number;
|
|
2642
|
+
thesis: string;
|
|
2643
|
+
updateCount: number;
|
|
2644
|
+
updates: Update[];
|
|
2645
|
+
viewCount: number;
|
|
2646
|
+
}
|
|
2647
|
+
export interface HomeFeedLegacyPosition {
|
|
2648
|
+
amountBought: number;
|
|
2649
|
+
amountBoughtUsd: number;
|
|
2650
|
+
amountHeld: number;
|
|
2651
|
+
callout: HoldingCallout;
|
|
2652
|
+
contentKind: string;
|
|
2653
|
+
costBasisAmount: number;
|
|
2654
|
+
costBasisUsd: number;
|
|
2655
|
+
isVerified: boolean;
|
|
2656
|
+
pnlPercentage: number;
|
|
2657
|
+
pnlUsd: number;
|
|
2658
|
+
profileImage: string;
|
|
2659
|
+
quote: null;
|
|
2660
|
+
realizedPnlUsd: number;
|
|
2661
|
+
tokenPriceUsd: number;
|
|
2662
|
+
totalCallouts: number;
|
|
2663
|
+
userId: string;
|
|
2664
|
+
userName: string;
|
|
2665
|
+
valueUsd: number;
|
|
2666
|
+
walletAddress: string;
|
|
2667
|
+
xProfileImage: string | null;
|
|
2668
|
+
xUsername: string | null;
|
|
2669
|
+
}
|
|
2670
|
+
export interface HomeFeedParams {
|
|
2671
|
+
/** Restrict the feed to one chain. pump.fun's feed does not cover Monad. */
|
|
2672
|
+
chain?: FeedChain;
|
|
2673
|
+
/** Page number, from 0. */
|
|
2674
|
+
page?: number | null;
|
|
2675
|
+
/** Number of feed entries to return. */
|
|
2676
|
+
page_size?: number;
|
|
2677
|
+
/** Author updates to include per callout. */
|
|
2678
|
+
updates_limit?: number | null;
|
|
2679
|
+
}
|
|
2680
|
+
export interface InMemoryCoinParams {
|
|
2681
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
2682
|
+
mint: string;
|
|
2683
|
+
}
|
|
2684
|
+
export interface Item {
|
|
2685
|
+
parentBounty: Parentbounty;
|
|
2686
|
+
parentTaskId: string;
|
|
2687
|
+
pool: string;
|
|
2688
|
+
score: number;
|
|
2689
|
+
submission: Submission;
|
|
2690
|
+
type: string;
|
|
2691
|
+
}
|
|
2692
|
+
export interface ItemRecipient {
|
|
2693
|
+
address: string;
|
|
2694
|
+
amount: string;
|
|
2695
|
+
shareBps: number;
|
|
2696
|
+
}
|
|
2697
|
+
export interface ItemResolution {
|
|
2698
|
+
claimsLastSyncedAt?: string;
|
|
2699
|
+
claimsRefreshCursor?: number;
|
|
2700
|
+
decisionVersion: number;
|
|
2701
|
+
disputeEndsAt: string;
|
|
2702
|
+
firstPublishAt?: string;
|
|
2703
|
+
moderatorAddress: string;
|
|
2704
|
+
outcomeType: string;
|
|
2705
|
+
payedOutAt?: string;
|
|
2706
|
+
recordedAt: string;
|
|
2707
|
+
winners?: Winner[];
|
|
2708
|
+
}
|
|
2709
|
+
export interface ItemResolutionhistory {
|
|
2710
|
+
decisionVersion: number;
|
|
2711
|
+
disputeEndsAt: string;
|
|
2712
|
+
moderatorAddress: string;
|
|
2713
|
+
outcomeType: string;
|
|
2714
|
+
recordedAt: string;
|
|
2715
|
+
winners?: BountyResolutionHistoryWinner[];
|
|
2716
|
+
}
|
|
2717
|
+
export interface ItemShareholder {
|
|
2718
|
+
address: string;
|
|
2719
|
+
shareBps: number;
|
|
2720
|
+
}
|
|
2721
|
+
export interface ItemSubmission {
|
|
2722
|
+
appendedUpdateCount?: number;
|
|
2723
|
+
attachments?: SubmissionAttachment[];
|
|
2724
|
+
banInfo?: Baninfo;
|
|
2725
|
+
bodyMarkdown: string;
|
|
2726
|
+
commentCount: number;
|
|
2727
|
+
createdAt: string;
|
|
2728
|
+
editedAt?: string;
|
|
2729
|
+
latestUpdate?: Latestupdate;
|
|
2730
|
+
likeCount: number;
|
|
2731
|
+
links?: string[];
|
|
2732
|
+
publishedAt: string;
|
|
2733
|
+
requesterAddress: string;
|
|
2734
|
+
submissionId: string;
|
|
2735
|
+
taskId: string;
|
|
2736
|
+
unbanInfo?: Baninfo;
|
|
2737
|
+
updatedAt: string;
|
|
2738
|
+
}
|
|
2739
|
+
export interface ItemVerification {
|
|
2740
|
+
geofence: Geofence;
|
|
2741
|
+
}
|
|
2742
|
+
export interface Latestupdate {
|
|
2743
|
+
attachments?: SubmissionAttachment[];
|
|
2744
|
+
bodyMarkdown: string;
|
|
2745
|
+
createdAt: string;
|
|
2746
|
+
links?: string[];
|
|
2747
|
+
updateId: string;
|
|
2748
|
+
}
|
|
2749
|
+
export interface Leaderboard {
|
|
2750
|
+
builtAtMs: number;
|
|
2751
|
+
endSec: number;
|
|
2752
|
+
entries: Top[];
|
|
2753
|
+
isFinal: boolean;
|
|
2754
|
+
startSec: number;
|
|
2755
|
+
totalRanked: number;
|
|
2756
|
+
}
|
|
2757
|
+
export type LeaderboardPeriod = "daily" | "weekly" | "monthly";
|
|
2758
|
+
export type LeaderboardSort = "realized" | "unrealized" | "combined";
|
|
2759
|
+
export interface LeaderboardTierStats {
|
|
2760
|
+
appearances: number;
|
|
2761
|
+
averageRank?: number;
|
|
2762
|
+
currentStreak: number;
|
|
2763
|
+
firstPlaceFinishes: number;
|
|
2764
|
+
longestStreak: number;
|
|
2765
|
+
topThreeFinishes: number;
|
|
2766
|
+
}
|
|
2767
|
+
export interface Legsbymint {
|
|
2768
|
+
mintAddress: string;
|
|
2769
|
+
rewardVaultAddress: string;
|
|
2770
|
+
totalContributedAtomic: string;
|
|
2771
|
+
}
|
|
2772
|
+
export interface Liker {
|
|
2773
|
+
bio: string;
|
|
2774
|
+
createdAt: string;
|
|
2775
|
+
followerCount: number;
|
|
2776
|
+
followingCount: number;
|
|
2777
|
+
generatedMedia: Generatedmedia | null;
|
|
2778
|
+
groupBadges: Groupbadge[];
|
|
2779
|
+
headerImageUrl: string;
|
|
2780
|
+
isPumpUser?: boolean;
|
|
2781
|
+
isVerified: boolean;
|
|
2782
|
+
kind: string;
|
|
2783
|
+
memberCount: number;
|
|
2784
|
+
membershipPolicy: null;
|
|
2785
|
+
profileImageUrl: string;
|
|
2786
|
+
socials: Social[];
|
|
2787
|
+
updatedAt: string;
|
|
2788
|
+
userId: string;
|
|
2789
|
+
username: string;
|
|
2790
|
+
verifiedBadgeVisible: boolean;
|
|
2791
|
+
walletAddress: string;
|
|
2792
|
+
}
|
|
2793
|
+
export interface LineChart {
|
|
2794
|
+
price: number;
|
|
2795
|
+
time: number;
|
|
2796
|
+
}
|
|
2797
|
+
export interface LineChartParams {
|
|
2798
|
+
/** Coin creation timestamp in milliseconds, as returned by the coin endpoints. pump.fun does not use it to pick the window: any value returns the same series. */
|
|
2799
|
+
created_ts: number;
|
|
2800
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
2801
|
+
mint: string;
|
|
2802
|
+
/** Series window. */
|
|
2803
|
+
timeframe?: ChartTimeframe;
|
|
2804
|
+
/** Points pump.fun aims for. It treats this as a hint: the count it returns varies with the timeframe and can exceed `width`. */
|
|
2805
|
+
width?: number;
|
|
2806
|
+
}
|
|
2807
|
+
export interface ListCompetitionsResponse {
|
|
2808
|
+
live: Competition[];
|
|
2809
|
+
past: Competition[];
|
|
2810
|
+
upcoming: unknown[];
|
|
2811
|
+
}
|
|
2812
|
+
export interface ListedCoin {
|
|
2813
|
+
associated_bonding_curve: string;
|
|
2814
|
+
ath_market_cap?: number | string;
|
|
2815
|
+
ath_market_cap_timestamp?: number;
|
|
2816
|
+
banner_uri?: string;
|
|
2817
|
+
base_decimals?: number;
|
|
2818
|
+
bonding_curve: string;
|
|
2819
|
+
boost_mode: string;
|
|
2820
|
+
chain_id: string;
|
|
2821
|
+
complete: boolean;
|
|
2822
|
+
created_timestamp: number;
|
|
2823
|
+
creator: string;
|
|
2824
|
+
cto_address?: string;
|
|
2825
|
+
cto_profile_image?: string;
|
|
2826
|
+
cto_username?: string;
|
|
2827
|
+
depth?: number;
|
|
2828
|
+
description?: string;
|
|
2829
|
+
hidden?: boolean;
|
|
2830
|
+
hide_banner: boolean;
|
|
2831
|
+
image_uri?: string;
|
|
2832
|
+
indexed_by_pump?: boolean;
|
|
2833
|
+
initialized: boolean;
|
|
2834
|
+
inverted?: boolean;
|
|
2835
|
+
is_banned: boolean;
|
|
2836
|
+
is_cashback_enabled?: boolean;
|
|
2837
|
+
is_charity?: boolean;
|
|
2838
|
+
is_currently_live: boolean;
|
|
2839
|
+
is_holder_reward?: boolean;
|
|
2840
|
+
king_of_the_hill_timestamp?: number;
|
|
2841
|
+
last_reply?: number;
|
|
2842
|
+
last_trade_timestamp?: number;
|
|
2843
|
+
livestream_ban_expiry: number;
|
|
2844
|
+
market_cap?: number;
|
|
2845
|
+
market_cap_quote?: number;
|
|
2846
|
+
market_cap_usd: number;
|
|
2847
|
+
market_id?: string;
|
|
2848
|
+
mayhem_state?: string;
|
|
2849
|
+
metadata_uri?: string;
|
|
2850
|
+
mint: string;
|
|
2851
|
+
multichain_family: number;
|
|
2852
|
+
name: string;
|
|
2853
|
+
nsfw: boolean;
|
|
2854
|
+
pool_address?: string;
|
|
2855
|
+
profile_image?: string;
|
|
2856
|
+
program: string;
|
|
2857
|
+
protocol: string;
|
|
2858
|
+
pump_swap_pool?: string;
|
|
2859
|
+
quote_decimals?: number;
|
|
2860
|
+
quote_mint?: string;
|
|
2861
|
+
quote_token_program?: string;
|
|
2862
|
+
raydium_pool?: string;
|
|
2863
|
+
real_quote_reserves: number;
|
|
2864
|
+
real_sol_reserves: number;
|
|
2865
|
+
real_token_reserves: number;
|
|
2866
|
+
reply_count: number;
|
|
2867
|
+
show_name: boolean;
|
|
2868
|
+
symbol: string;
|
|
2869
|
+
telegram?: string;
|
|
2870
|
+
token_program?: string;
|
|
2871
|
+
total_supply: number;
|
|
2872
|
+
total_supply_str: string;
|
|
2873
|
+
transfer_fee_bps?: number;
|
|
2874
|
+
transfer_hook_program?: string;
|
|
2875
|
+
twitter?: string;
|
|
2876
|
+
updated_at?: number;
|
|
2877
|
+
usd_market_cap: number;
|
|
2878
|
+
username?: string;
|
|
2879
|
+
verified: boolean;
|
|
2880
|
+
video_uri?: string;
|
|
2881
|
+
virtual_quote_reserves: number;
|
|
2882
|
+
virtual_sol_reserves: number;
|
|
2883
|
+
virtual_token_reserves: number;
|
|
2884
|
+
website?: string;
|
|
2885
|
+
}
|
|
2886
|
+
export interface ListedUser {
|
|
2887
|
+
address: string;
|
|
2888
|
+
avatar_decoration: string | null;
|
|
2889
|
+
bio: string | null;
|
|
2890
|
+
canonical_evm_wallet?: string;
|
|
2891
|
+
canonical_svm_wallet: string;
|
|
2892
|
+
followers: number;
|
|
2893
|
+
following: number;
|
|
2894
|
+
header_image_url: string | null;
|
|
2895
|
+
is_banned: boolean;
|
|
2896
|
+
is_pump_user: boolean;
|
|
2897
|
+
kind: string;
|
|
2898
|
+
last_username_update_timestamp: number | null;
|
|
2899
|
+
member_count: number;
|
|
2900
|
+
profile_image: string;
|
|
2901
|
+
userId: string;
|
|
2902
|
+
username: string;
|
|
2903
|
+
x_username: string | null;
|
|
2904
|
+
}
|
|
2905
|
+
export interface LiveCoin {
|
|
2906
|
+
associated_bonding_curve: string;
|
|
2907
|
+
ath_market_cap?: number;
|
|
2908
|
+
ath_market_cap_timestamp?: number;
|
|
2909
|
+
banner_uri?: string;
|
|
2910
|
+
base_decimals?: number;
|
|
2911
|
+
bonding_curve: string;
|
|
2912
|
+
boost_mode: string;
|
|
2913
|
+
chain_id: string;
|
|
2914
|
+
complete: boolean;
|
|
2915
|
+
created_timestamp: number;
|
|
2916
|
+
creator: string;
|
|
2917
|
+
cto_address?: string;
|
|
2918
|
+
depth: number;
|
|
2919
|
+
description?: string;
|
|
2920
|
+
hide_banner: boolean;
|
|
2921
|
+
image_uri: string;
|
|
2922
|
+
initialized: boolean;
|
|
2923
|
+
inverted?: boolean;
|
|
2924
|
+
is_banned: boolean;
|
|
2925
|
+
is_cashback_enabled: boolean;
|
|
2926
|
+
is_currently_live: boolean;
|
|
2927
|
+
is_holder_reward: boolean;
|
|
2928
|
+
king_of_the_hill_timestamp?: number;
|
|
2929
|
+
last_reply?: number;
|
|
2930
|
+
last_trade_timestamp?: number;
|
|
2931
|
+
livestream_ban_expiry: number;
|
|
2932
|
+
livestream_title?: string;
|
|
2933
|
+
market_cap?: number;
|
|
2934
|
+
market_cap_quote?: number;
|
|
2935
|
+
market_cap_usd?: number;
|
|
2936
|
+
mayhem?: LiveCoinMayhem;
|
|
2937
|
+
mayhem_state?: string;
|
|
2938
|
+
metadata_uri: string;
|
|
2939
|
+
mint: string;
|
|
2940
|
+
multichain_family: number;
|
|
2941
|
+
name: string;
|
|
2942
|
+
nsfw: boolean;
|
|
2943
|
+
num_participants: number;
|
|
2944
|
+
playlist_status: string | null;
|
|
2945
|
+
playlist_updated_at: string | null;
|
|
2946
|
+
playlist_url: string | null;
|
|
2947
|
+
playlist_url_high: string | null;
|
|
2948
|
+
playlist_url_low: string | null;
|
|
2949
|
+
pool_address?: string;
|
|
2950
|
+
program: string;
|
|
2951
|
+
protocol: string;
|
|
2952
|
+
pump_swap_pool?: string;
|
|
2953
|
+
quote_decimals?: number;
|
|
2954
|
+
quote_mint?: string;
|
|
2955
|
+
quote_token_program?: string;
|
|
2956
|
+
real_quote_reserves: number;
|
|
2957
|
+
real_sol_reserves: number;
|
|
2958
|
+
real_token_reserves: number;
|
|
2959
|
+
reply_count: number;
|
|
2960
|
+
security_verdict?: SecurityVerdict;
|
|
2961
|
+
show_name: boolean;
|
|
2962
|
+
symbol: string;
|
|
2963
|
+
telegram?: string;
|
|
2964
|
+
thumbnail: string;
|
|
2965
|
+
thumbnail_updated_at?: number;
|
|
2966
|
+
token_program?: string;
|
|
2967
|
+
total_supply: number;
|
|
2968
|
+
total_supply_str: string;
|
|
2969
|
+
transfer_fee_bps?: number;
|
|
2970
|
+
transfer_hook_program?: string;
|
|
2971
|
+
twitter?: string;
|
|
2972
|
+
updated_at: number;
|
|
2973
|
+
usd_market_cap?: number;
|
|
2974
|
+
verified: boolean;
|
|
2975
|
+
virtual_quote_reserves: number;
|
|
2976
|
+
virtual_sol_reserves: number;
|
|
2977
|
+
virtual_token_reserves: number;
|
|
2978
|
+
vod_playlist_url: string | null;
|
|
2979
|
+
website?: string;
|
|
2980
|
+
}
|
|
2981
|
+
export interface LiveCoinMayhem {
|
|
2982
|
+
complete_reason?: string;
|
|
2983
|
+
mode: string;
|
|
2984
|
+
state: string;
|
|
2985
|
+
}
|
|
2986
|
+
export interface LiveCoinsParams {
|
|
2987
|
+
/** Include coins flagged not-safe-for-work. */
|
|
2988
|
+
include_nsfw?: boolean;
|
|
2989
|
+
/** Maximum coins to return. */
|
|
2990
|
+
limit?: number;
|
|
2991
|
+
/** Rows to skip. */
|
|
2992
|
+
offset?: number;
|
|
2993
|
+
}
|
|
2994
|
+
export interface Livestream {
|
|
2995
|
+
creatorAddress: string;
|
|
2996
|
+
downrankScore: number;
|
|
2997
|
+
id: number;
|
|
2998
|
+
isLive: boolean;
|
|
2999
|
+
maxParticipants: number;
|
|
3000
|
+
mintId: string;
|
|
3001
|
+
mode: string;
|
|
3002
|
+
numParticipants: number;
|
|
3003
|
+
streamStartTimestamp: number;
|
|
3004
|
+
supabaseId?: number;
|
|
3005
|
+
thumbnail: string;
|
|
3006
|
+
thumbnailUpdatedAt: number;
|
|
3007
|
+
title: string;
|
|
3008
|
+
}
|
|
3009
|
+
export interface LivestreamHistoryParams {
|
|
3010
|
+
/** Maximum sessions to return. */
|
|
3011
|
+
limit?: number;
|
|
3012
|
+
/** Token mint address. */
|
|
3013
|
+
mint: string;
|
|
3014
|
+
/** Rows to skip. */
|
|
3015
|
+
offset?: number;
|
|
3016
|
+
}
|
|
3017
|
+
export interface LivestreamParams {
|
|
3018
|
+
/** Token mint address. */
|
|
3019
|
+
mint: string;
|
|
3020
|
+
}
|
|
3021
|
+
export interface Location {
|
|
3022
|
+
label: string;
|
|
3023
|
+
lat: number;
|
|
3024
|
+
lng: number;
|
|
3025
|
+
radiusMeters: number;
|
|
3026
|
+
}
|
|
3027
|
+
export interface MapEntry {
|
|
3028
|
+
endedAt: null;
|
|
3029
|
+
playlistKey: string | null;
|
|
3030
|
+
playlistKeyHigh: string | null;
|
|
3031
|
+
playlistKeyLow: string | null;
|
|
3032
|
+
playlistUrl: string | null;
|
|
3033
|
+
playlistUrlHigh: string | null;
|
|
3034
|
+
playlistUrlLow: string | null;
|
|
3035
|
+
startedAt: string | null;
|
|
3036
|
+
status: string | null;
|
|
3037
|
+
thumbnailKey: string | null;
|
|
3038
|
+
thumbnailUrl: string | null;
|
|
3039
|
+
updatedAt: string | null;
|
|
3040
|
+
vodPlaylistKey: string | null;
|
|
3041
|
+
vodPlaylistUrl: string | null;
|
|
3042
|
+
}
|
|
3043
|
+
export interface MarketActivityBatchEntry {
|
|
3044
|
+
"15m"?: GetMarketActivityResponse5m;
|
|
3045
|
+
"1h": GetMarketActivityResponse5m;
|
|
3046
|
+
"1m"?: GetMarketActivityResponse5m;
|
|
3047
|
+
"24h": GetMarketActivityResponse5m;
|
|
3048
|
+
"30m"?: GetMarketActivityResponse5m;
|
|
3049
|
+
"5m": GetMarketActivityResponse5m;
|
|
3050
|
+
"6h": GetMarketActivityResponse5m;
|
|
3051
|
+
}
|
|
3052
|
+
export interface MarketActivityBatchRequest {
|
|
3053
|
+
/** Rolling windows to aggregate. Defaults to 5m, 1h, 6h and 24h. */
|
|
3054
|
+
intervals?: MarketActivityInterval[] | null;
|
|
3055
|
+
/** Metrics to return per window. Defaults to every metric. */
|
|
3056
|
+
metrics?: MarketActivityMetric[] | null;
|
|
3057
|
+
/** Coin addresses (Solana mints or EVM tokens), 1 to 50. */
|
|
3058
|
+
mints: string[];
|
|
3059
|
+
}
|
|
3060
|
+
export type MarketActivityInterval = "1m" | "5m" | "15m" | "30m" | "1h" | "6h" | "24h";
|
|
3061
|
+
export type MarketActivityMetric = "numTxs" | "volumeUSD" | "numUsers" | "numBuys" | "numSells" | "buyVolumeUSD" | "sellVolumeUSD" | "numBuyers" | "numSellers" | "priceChangePercent";
|
|
3062
|
+
export interface MarketActivityParams {
|
|
3063
|
+
/** Chain of the coin. Omit for a Solana pump.fun coin, the original behaviour; set it for an EVM token or to pin a coin to one chain. */
|
|
3064
|
+
chain?: TokenChain | null;
|
|
3065
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
3066
|
+
mint: string;
|
|
3067
|
+
}
|
|
3068
|
+
export type MarketChain = "solana" | "ethereum" | "bsc" | "base" | "monad" | "robinhood" | "hyperevm" | "ink" | "arc" | "hypercore";
|
|
3069
|
+
export interface Mayhem {
|
|
3070
|
+
complete_reason?: string;
|
|
3071
|
+
mode: string;
|
|
3072
|
+
pause_reason?: string;
|
|
3073
|
+
state: string;
|
|
3074
|
+
}
|
|
3075
|
+
export interface MayhemCoin {
|
|
3076
|
+
associated_bonding_curve: string;
|
|
3077
|
+
ath_market_cap: number;
|
|
3078
|
+
ath_market_cap_timestamp: number;
|
|
3079
|
+
banner_uri?: string;
|
|
3080
|
+
base_decimals: number;
|
|
3081
|
+
bonding_curve: string;
|
|
3082
|
+
boost_mode: string;
|
|
3083
|
+
canonical_pool_liquidity_usd?: number;
|
|
3084
|
+
chain_id: string;
|
|
3085
|
+
circulating_supply_str?: string;
|
|
3086
|
+
complete: boolean;
|
|
3087
|
+
created_timestamp: number;
|
|
3088
|
+
creator: string;
|
|
3089
|
+
cto_address?: string;
|
|
3090
|
+
cto_profile_image?: string;
|
|
3091
|
+
cto_username?: string;
|
|
3092
|
+
depth?: number;
|
|
3093
|
+
description?: string;
|
|
3094
|
+
hide_banner: boolean;
|
|
3095
|
+
image_uri: string;
|
|
3096
|
+
initialized: boolean;
|
|
3097
|
+
inverted?: boolean;
|
|
3098
|
+
is_banned: boolean;
|
|
3099
|
+
is_cashback_enabled: boolean;
|
|
3100
|
+
is_currently_live: boolean;
|
|
3101
|
+
is_holder_reward?: boolean;
|
|
3102
|
+
king_of_the_hill_timestamp?: number;
|
|
3103
|
+
last_reply?: number;
|
|
3104
|
+
last_trade_timestamp?: number;
|
|
3105
|
+
livestream_ban_expiry: number;
|
|
3106
|
+
market_cap: number;
|
|
3107
|
+
market_cap_quote: number;
|
|
3108
|
+
market_cap_usd: number;
|
|
3109
|
+
mayhem_state: string;
|
|
3110
|
+
metadata_uri: string;
|
|
3111
|
+
mint: string;
|
|
3112
|
+
multichain_family: number;
|
|
3113
|
+
name: string;
|
|
3114
|
+
nsfw: boolean;
|
|
3115
|
+
num_participants?: number;
|
|
3116
|
+
pool_address: string;
|
|
3117
|
+
profile_image?: string;
|
|
3118
|
+
program: string;
|
|
3119
|
+
protocol: string;
|
|
3120
|
+
pump_swap_pool?: string;
|
|
3121
|
+
quote_decimals?: number;
|
|
3122
|
+
quote_mint?: string;
|
|
3123
|
+
quote_token_program?: string;
|
|
3124
|
+
real_quote_reserves: number;
|
|
3125
|
+
real_sol_reserves: number;
|
|
3126
|
+
real_token_reserves: number;
|
|
3127
|
+
reply_count: number;
|
|
3128
|
+
show_name: boolean;
|
|
3129
|
+
symbol: string;
|
|
3130
|
+
telegram?: string;
|
|
3131
|
+
thumbnail?: string;
|
|
3132
|
+
thumbnail_updated_at?: number;
|
|
3133
|
+
token_program: string;
|
|
3134
|
+
tokenized_agent?: boolean;
|
|
3135
|
+
total_supply: number;
|
|
3136
|
+
total_supply_str: string;
|
|
3137
|
+
transfer_fee_bps?: number;
|
|
3138
|
+
transfer_hook_program?: string;
|
|
3139
|
+
twitter?: string;
|
|
3140
|
+
updated_at: number;
|
|
3141
|
+
usd_market_cap: number;
|
|
3142
|
+
username?: string;
|
|
3143
|
+
verified: boolean;
|
|
3144
|
+
virtual_quote_reserves: number;
|
|
3145
|
+
virtual_sol_reserves: number;
|
|
3146
|
+
virtual_token_reserves: number;
|
|
3147
|
+
volume_1h_usd?: number;
|
|
3148
|
+
website?: string;
|
|
3149
|
+
}
|
|
3150
|
+
export interface MayhemCoinTopTradersParams {
|
|
3151
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
3152
|
+
mint: string;
|
|
3153
|
+
}
|
|
3154
|
+
export interface MayhemCoinsParams {
|
|
3155
|
+
/** Include coins flagged not-safe-for-work. */
|
|
3156
|
+
include_nsfw?: boolean | null;
|
|
3157
|
+
/** Maximum coins to return. pump.fun serves 60 at most. */
|
|
3158
|
+
limit?: number;
|
|
3159
|
+
/** Restrict to one agent state. Omit for active and paused coins. */
|
|
3160
|
+
mayhem_state?: MayhemState | null;
|
|
3161
|
+
/** Rows to skip. */
|
|
3162
|
+
offset?: number | null;
|
|
3163
|
+
}
|
|
3164
|
+
export type MayhemState = "active" | "paused" | "completed";
|
|
3165
|
+
export interface MayhemStatsParams {
|
|
3166
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
3167
|
+
mint: string;
|
|
3168
|
+
}
|
|
3169
|
+
export interface MayhemTopCoinsParams {
|
|
3170
|
+
/** Ranking window. */
|
|
3171
|
+
window?: MayhemWindow;
|
|
3172
|
+
}
|
|
3173
|
+
export interface MayhemTopTradersParams {
|
|
3174
|
+
/** Ranking window. */
|
|
3175
|
+
window?: MayhemWindow;
|
|
3176
|
+
}
|
|
3177
|
+
export type MayhemWindow = "24h" | "7d";
|
|
3178
|
+
export interface Member {
|
|
3179
|
+
buySpendSol: number;
|
|
3180
|
+
fresh: boolean;
|
|
3181
|
+
isVerified: boolean;
|
|
3182
|
+
lastRefreshedAtMs: number;
|
|
3183
|
+
pnlUsd: number;
|
|
3184
|
+
profileImageUrl: string;
|
|
3185
|
+
realizedPnlUsd: number;
|
|
3186
|
+
unrealizedPnlUsd: number;
|
|
3187
|
+
userId: string;
|
|
3188
|
+
username: string;
|
|
3189
|
+
verifiedBadgeVisible: boolean;
|
|
3190
|
+
walletAddress: string;
|
|
3191
|
+
}
|
|
3192
|
+
export interface Meta {
|
|
3193
|
+
walletsAnswered: number;
|
|
3194
|
+
walletsDegraded: unknown[];
|
|
3195
|
+
walletsRequested: number;
|
|
3196
|
+
walletsUnanswered: unknown[];
|
|
3197
|
+
}
|
|
3198
|
+
export interface Metadata {
|
|
3199
|
+
decimals?: string;
|
|
3200
|
+
icon: string;
|
|
3201
|
+
name: string;
|
|
3202
|
+
program?: string;
|
|
3203
|
+
supported?: string;
|
|
3204
|
+
symbol: string;
|
|
3205
|
+
}
|
|
3206
|
+
export type MintPositionSort = "LATEST" | "TOP" | "LOWEST_ENTRY" | "RANKED" | "CLOSED_PNL";
|
|
3207
|
+
export interface MintPositionsParams {
|
|
3208
|
+
/** `RANKED` only: chain of an EVM coin. */
|
|
3209
|
+
chain?: TokenChain | null;
|
|
3210
|
+
/** Ignore positions below this USD value. Refused with `RANKED` and `CLOSED_PNL`. */
|
|
3211
|
+
dust_floor_usd?: number | null;
|
|
3212
|
+
/** Embed each holder's full profile. */
|
|
3213
|
+
include_profile?: boolean | null;
|
|
3214
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
3215
|
+
mint: string;
|
|
3216
|
+
/** Page number, from 0. Not with `RANKED`. */
|
|
3217
|
+
page?: number | null;
|
|
3218
|
+
/** Positions per page. */
|
|
3219
|
+
page_size?: number;
|
|
3220
|
+
/** `RANKED` only: `nextPageToken` from the previous page. pump.fun answered `RANKED` in one page (`hasMore` false) with no `nextPageToken` in every probe since 2026-10-08. */
|
|
3221
|
+
page_token?: string | null;
|
|
3222
|
+
/** Ranking column. */
|
|
3223
|
+
sort_by?: MintPositionSort;
|
|
3224
|
+
/** Author updates per callout (pump.fun's default 5). */
|
|
3225
|
+
updates_limit?: number | null;
|
|
3226
|
+
/** Only positions carrying a written thesis. `RANKED` and `CLOSED_PNL` need `true`. */
|
|
3227
|
+
with_thesis?: boolean | null;
|
|
3228
|
+
}
|
|
3229
|
+
export interface Monad {
|
|
3230
|
+
token_count: number;
|
|
3231
|
+
total_value: number;
|
|
3232
|
+
wallet_address: string | null;
|
|
3233
|
+
}
|
|
3234
|
+
export interface MoversBoardParams {
|
|
3235
|
+
/** Keep only coins on these chains. Repeat the parameter for several. */
|
|
3236
|
+
chains?: NonMonadChain[] | null;
|
|
3237
|
+
/** Maximum board entries to return. pump.fun serves at most 150. */
|
|
3238
|
+
limit?: number;
|
|
3239
|
+
}
|
|
3240
|
+
export interface MultiChainBreakdown {
|
|
3241
|
+
arc?: Solana;
|
|
3242
|
+
base: Solana;
|
|
3243
|
+
bsc: Solana;
|
|
3244
|
+
ethereum: Solana;
|
|
3245
|
+
hype: Solana;
|
|
3246
|
+
ink?: Solana;
|
|
3247
|
+
megaeth?: Solana;
|
|
3248
|
+
monad?: Monad;
|
|
3249
|
+
robinhood: Solana;
|
|
3250
|
+
solana: Solana;
|
|
3251
|
+
}
|
|
3252
|
+
export type NarrativeSource = "trending" | "movers" | "new";
|
|
3253
|
+
export interface Nativeasset {
|
|
3254
|
+
address: string;
|
|
3255
|
+
chainId: string;
|
|
3256
|
+
symbol: string;
|
|
3257
|
+
}
|
|
3258
|
+
export interface NewCalloutsCountParams {
|
|
3259
|
+
/** Restrict the feed to one chain. pump.fun's feed does not cover Monad. */
|
|
3260
|
+
chain?: FeedChain;
|
|
3261
|
+
/** Keep callouts made when the coin's market cap was at most this. */
|
|
3262
|
+
max_callout_market_cap_usd?: number | null;
|
|
3263
|
+
/** Keep positions whose net USD cost basis is at most this. */
|
|
3264
|
+
max_cost_basis_usd?: number | null;
|
|
3265
|
+
/** Keep coins whose current market cap in USD is at most this. */
|
|
3266
|
+
max_market_cap_usd?: number | null;
|
|
3267
|
+
/** Keep callouts made when the coin's market cap was at least this. */
|
|
3268
|
+
min_callout_market_cap_usd?: number | null;
|
|
3269
|
+
/** Keep positions whose net USD cost basis is at least this. */
|
|
3270
|
+
min_cost_basis_usd?: number | null;
|
|
3271
|
+
/** Keep coins whose current market cap in USD is at least this. */
|
|
3272
|
+
min_market_cap_usd?: number | null;
|
|
3273
|
+
/** `headToken` from `/home-feed/new`, kept until you reload the feed. */
|
|
3274
|
+
since: string;
|
|
3275
|
+
}
|
|
3276
|
+
export interface NewCalloutsFeedParams {
|
|
3277
|
+
/** Restrict the feed to one chain. pump.fun's feed does not cover Monad. */
|
|
3278
|
+
chain?: FeedChain;
|
|
3279
|
+
/** Keep callouts made when the coin's market cap was at most this. */
|
|
3280
|
+
max_callout_market_cap_usd?: number | null;
|
|
3281
|
+
/** Keep positions whose net USD cost basis is at most this. */
|
|
3282
|
+
max_cost_basis_usd?: number | null;
|
|
3283
|
+
/** Keep coins whose current market cap in USD is at most this. */
|
|
3284
|
+
max_market_cap_usd?: number | null;
|
|
3285
|
+
/** Keep callouts made when the coin's market cap was at least this. */
|
|
3286
|
+
min_callout_market_cap_usd?: number | null;
|
|
3287
|
+
/** Keep positions whose net USD cost basis is at least this. */
|
|
3288
|
+
min_cost_basis_usd?: number | null;
|
|
3289
|
+
/** Keep coins whose current market cap in USD is at least this. */
|
|
3290
|
+
min_market_cap_usd?: number | null;
|
|
3291
|
+
/** Number of callouts to return. */
|
|
3292
|
+
page_size?: number;
|
|
3293
|
+
/** `nextPageToken` from the previous page. */
|
|
3294
|
+
page_token?: string | null;
|
|
3295
|
+
/** Author updates to include per callout. */
|
|
3296
|
+
updates_limit?: number | null;
|
|
3297
|
+
}
|
|
3298
|
+
export type NonMonadChain = "solana" | "ethereum" | "bsc" | "base" | "robinhood" | "hyperevm" | "ink" | "arc";
|
|
3299
|
+
export interface OnboardingSuggestionsParams {
|
|
3300
|
+
/** Maximum traders to return. */
|
|
3301
|
+
limit?: number;
|
|
3302
|
+
}
|
|
3303
|
+
export type OrderDirection = "asc" | "desc";
|
|
3304
|
+
export interface Page {
|
|
3305
|
+
limit: number;
|
|
3306
|
+
nextCursor: string | null;
|
|
3307
|
+
to: number | null;
|
|
3308
|
+
}
|
|
3309
|
+
export interface PageCursor {
|
|
3310
|
+
hasMore: boolean;
|
|
3311
|
+
limit: number;
|
|
3312
|
+
nextCursor: string | null;
|
|
3313
|
+
}
|
|
3314
|
+
export interface Parentbounty {
|
|
3315
|
+
attachments?: Attachment[];
|
|
3316
|
+
banInfo?: Baninfo;
|
|
3317
|
+
bodyMarkdown: string;
|
|
3318
|
+
chainConfigSnapshot: Chainconfigsnapshot;
|
|
3319
|
+
coinAddress?: string;
|
|
3320
|
+
contributors: Contributor[];
|
|
3321
|
+
counts: Count;
|
|
3322
|
+
createdAt: string;
|
|
3323
|
+
creatorAddress: string;
|
|
3324
|
+
criteria: Criteria[];
|
|
3325
|
+
expiresAt: string;
|
|
3326
|
+
fundedAt: string;
|
|
3327
|
+
latestDisputePublishedAt?: string;
|
|
3328
|
+
likeCount: number;
|
|
3329
|
+
onChainBountyId: string;
|
|
3330
|
+
publishedAt: string;
|
|
3331
|
+
pumpBountiesProgramId: string;
|
|
3332
|
+
resolution?: BountyResolution;
|
|
3333
|
+
resolutionHistory?: BountyResolutionHistory[];
|
|
3334
|
+
rewardDistribution: Rewarddistribution;
|
|
3335
|
+
rewardLegs: Rewardleg[];
|
|
3336
|
+
rewardLegsUsd: Rewardlegsusd[];
|
|
3337
|
+
rewardPricedAt: string;
|
|
3338
|
+
rewardTotalUsd: number;
|
|
3339
|
+
status: string;
|
|
3340
|
+
submissionVisibility: string;
|
|
3341
|
+
taskId: string;
|
|
3342
|
+
title: string;
|
|
3343
|
+
unbanInfo?: Baninfo;
|
|
3344
|
+
unbanRequest?: Unbanrequest;
|
|
3345
|
+
}
|
|
3346
|
+
export interface Payout {
|
|
3347
|
+
lastPayoutAt: string;
|
|
3348
|
+
opsCharge: string | null;
|
|
3349
|
+
paidToHolders: string | null;
|
|
3350
|
+
paidToHoldersQuote: string | null;
|
|
3351
|
+
paidToHoldersUsd: string | null;
|
|
3352
|
+
payoutCount: number;
|
|
3353
|
+
quoteMintAddress: string;
|
|
3354
|
+
recipientCount: number;
|
|
3355
|
+
}
|
|
3356
|
+
export interface PayoutsLeaderboardParams {
|
|
3357
|
+
/** Zero-based page index. */
|
|
3358
|
+
page?: number;
|
|
3359
|
+
/** Entries per page. */
|
|
3360
|
+
page_size?: number;
|
|
3361
|
+
/** Rolling window to rank over. Omit for all time. */
|
|
3362
|
+
period?: RollingWindow | null;
|
|
3363
|
+
}
|
|
3364
|
+
export interface Perp {
|
|
3365
|
+
closedPnlUsd: string;
|
|
3366
|
+
dir: string;
|
|
3367
|
+
feeUsd: string;
|
|
3368
|
+
isLiquidation: boolean;
|
|
3369
|
+
twapId?: string;
|
|
3370
|
+
}
|
|
3371
|
+
export interface PerpMarket {
|
|
3372
|
+
assetClass: string;
|
|
3373
|
+
chain: string;
|
|
3374
|
+
image_uri?: string;
|
|
3375
|
+
mint: string;
|
|
3376
|
+
name: string;
|
|
3377
|
+
perp: PerpPerp;
|
|
3378
|
+
symbol: string;
|
|
3379
|
+
}
|
|
3380
|
+
export interface PerpOrdersParams {
|
|
3381
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
3382
|
+
address: string;
|
|
3383
|
+
/** HIP-3 dex names to read, each at most 64 characters. Omit for every dex. */
|
|
3384
|
+
dex?: string[] | null;
|
|
3385
|
+
}
|
|
3386
|
+
export interface PerpPerp {
|
|
3387
|
+
asOf: string;
|
|
3388
|
+
category: string | null;
|
|
3389
|
+
dex: string | null;
|
|
3390
|
+
fundingRateHourly: string;
|
|
3391
|
+
isDelisted: boolean;
|
|
3392
|
+
markPx: string;
|
|
3393
|
+
maxLeverage: number;
|
|
3394
|
+
nextFundingAt: string;
|
|
3395
|
+
onlyIsolated: boolean;
|
|
3396
|
+
openInterestUsd: string;
|
|
3397
|
+
oraclePx: string;
|
|
3398
|
+
priceChange24hBps: number;
|
|
3399
|
+
stale: boolean;
|
|
3400
|
+
szDecimals: number;
|
|
3401
|
+
volume24hUsd: string;
|
|
3402
|
+
}
|
|
3403
|
+
export type PerpSort = "volume_24h" | "open_interest" | "funding_rate" | "change_24h";
|
|
3404
|
+
export type PerpTradeKind = "perp_fill" | "perp_funding" | "perp_transfer";
|
|
3405
|
+
export interface PerpTradesParams {
|
|
3406
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
3407
|
+
address: string;
|
|
3408
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
3409
|
+
cursor?: string | null;
|
|
3410
|
+
/** Row kinds. pump.fun returns fills and transfers by default. */
|
|
3411
|
+
kinds?: PerpTradeKind[] | null;
|
|
3412
|
+
/** Maximum rows to return. */
|
|
3413
|
+
limit?: number;
|
|
3414
|
+
}
|
|
3415
|
+
export interface PerpsParams {
|
|
3416
|
+
/** Maximum perps to return. */
|
|
3417
|
+
limit?: number;
|
|
3418
|
+
/** Rows to skip. */
|
|
3419
|
+
offset?: number;
|
|
3420
|
+
/** Ranking column. */
|
|
3421
|
+
sort?: PerpSort;
|
|
3422
|
+
}
|
|
3423
|
+
export interface Playback {
|
|
3424
|
+
hlsUrl: string;
|
|
3425
|
+
mp4Url: string;
|
|
3426
|
+
posterUrl: string;
|
|
3427
|
+
}
|
|
3428
|
+
export interface PlaylistMapRequest {
|
|
3429
|
+
/** Token mint addresses, at least one. */
|
|
3430
|
+
mints: string[];
|
|
3431
|
+
}
|
|
3432
|
+
export interface PnlLeaderboardParams {
|
|
3433
|
+
/** Maximum traders to return. pump.fun serves 100 at most. */
|
|
3434
|
+
limit?: number;
|
|
3435
|
+
/** Ranking window. */
|
|
3436
|
+
period?: LeaderboardPeriod;
|
|
3437
|
+
/** Top positions shown per trader (pump.fun's default 3). */
|
|
3438
|
+
positions_limit?: number | null;
|
|
3439
|
+
/** Which PnL figure ranks traders. */
|
|
3440
|
+
sort?: LeaderboardSort;
|
|
3441
|
+
}
|
|
3442
|
+
export interface PnlLeaderboardPositionsParams {
|
|
3443
|
+
/** Maximum positions to return. */
|
|
3444
|
+
limit?: number | null;
|
|
3445
|
+
/** Ranking window. */
|
|
3446
|
+
period?: PositionsPeriod;
|
|
3447
|
+
}
|
|
3448
|
+
export interface Pnlloop {
|
|
3449
|
+
durationSeconds: number;
|
|
3450
|
+
uid: string;
|
|
3451
|
+
}
|
|
3452
|
+
export interface Point {
|
|
3453
|
+
price: string;
|
|
3454
|
+
time: number;
|
|
3455
|
+
}
|
|
3456
|
+
export interface Pool {
|
|
3457
|
+
address: string;
|
|
3458
|
+
chainId: string;
|
|
3459
|
+
}
|
|
3460
|
+
export type PortfolioFilter = "OPEN" | "CLOSED" | "ALL";
|
|
3461
|
+
export type PortfolioPeriod = "1d" | "1w" | "1m" | "all";
|
|
3462
|
+
export type PortfolioSort = "POSITION_SIZE" | "RECENCY" | "PNL";
|
|
3463
|
+
export interface PortfolioSummaryParams {
|
|
3464
|
+
/** Wallet, username or squad id. */
|
|
3465
|
+
address: string;
|
|
3466
|
+
/** Summary window. */
|
|
3467
|
+
period?: PortfolioPeriod;
|
|
3468
|
+
}
|
|
3469
|
+
export interface PortfolioValueChartParams {
|
|
3470
|
+
/** Wallet, username or squad id. */
|
|
3471
|
+
address: string;
|
|
3472
|
+
/** Chart window. */
|
|
3473
|
+
period?: RollingWindow;
|
|
3474
|
+
}
|
|
3475
|
+
export interface Portfoliopnl {
|
|
3476
|
+
total_cost_basis_usd: number;
|
|
3477
|
+
total_percentage: number;
|
|
3478
|
+
total_unrealized_usd: number;
|
|
3479
|
+
}
|
|
3480
|
+
export interface Position {
|
|
3481
|
+
amountBought: number;
|
|
3482
|
+
amountBoughtUsd: number;
|
|
3483
|
+
amountHeld: number;
|
|
3484
|
+
avgEntryMcapUsd: number | null;
|
|
3485
|
+
costBasisAmount: number;
|
|
3486
|
+
costBasisUsd: number | null;
|
|
3487
|
+
isExited: boolean;
|
|
3488
|
+
pnlPercentage: number;
|
|
3489
|
+
pnlUsd: number;
|
|
3490
|
+
realizedPnlUsd: number;
|
|
3491
|
+
valueUsd: number | null;
|
|
3492
|
+
}
|
|
3493
|
+
export interface PositionCallout {
|
|
3494
|
+
actingUser?: null;
|
|
3495
|
+
actingUserId?: null;
|
|
3496
|
+
assetClass?: string;
|
|
3497
|
+
calledOutAtMcap: number;
|
|
3498
|
+
calloutId: string;
|
|
3499
|
+
calloutPrice: number;
|
|
3500
|
+
calloutTimestamp: string;
|
|
3501
|
+
chain?: string | null;
|
|
3502
|
+
commentCount: number;
|
|
3503
|
+
hasLiked: null;
|
|
3504
|
+
hasReposted: null;
|
|
3505
|
+
likes: number;
|
|
3506
|
+
maxMultiplier: number;
|
|
3507
|
+
maxMultiplierAt: string | null;
|
|
3508
|
+
mediaUrl: string | null;
|
|
3509
|
+
multiple: number;
|
|
3510
|
+
perp?: null;
|
|
3511
|
+
quoteCount: number;
|
|
3512
|
+
quotedCallout: null;
|
|
3513
|
+
quotedCalloutId: null;
|
|
3514
|
+
replyCount: number;
|
|
3515
|
+
repostCount: number;
|
|
3516
|
+
thesis: string;
|
|
3517
|
+
updateCount: number;
|
|
3518
|
+
updates: Update[];
|
|
3519
|
+
viewCount?: number;
|
|
3520
|
+
}
|
|
3521
|
+
export interface PositionCoin {
|
|
3522
|
+
imageUri: string | null;
|
|
3523
|
+
marketCapUsd: number | null;
|
|
3524
|
+
name: string;
|
|
3525
|
+
platform?: string | null;
|
|
3526
|
+
program?: string | null;
|
|
3527
|
+
protocol?: string | null;
|
|
3528
|
+
symbol: string;
|
|
3529
|
+
totalSupply: number | null;
|
|
3530
|
+
}
|
|
3531
|
+
export interface PositionQuote {
|
|
3532
|
+
callout: QuoteCallout;
|
|
3533
|
+
parent: Reply | null;
|
|
3534
|
+
reply: Reply;
|
|
3535
|
+
}
|
|
3536
|
+
export type PositionsPeriod = "daily" | "weekly";
|
|
3537
|
+
export type PriceMeasure = "price_usd" | "price_quote" | "price_native" | "market_cap_usd";
|
|
3538
|
+
export interface Prize {
|
|
3539
|
+
amount: string;
|
|
3540
|
+
rankFrom: number;
|
|
3541
|
+
rankTo: number;
|
|
3542
|
+
}
|
|
3543
|
+
export interface ProfileIdsRequest {
|
|
3544
|
+
/** Wallet addresses (Solana or EVM) or pump.fun user ids to check for pump.fun's KOL badge, 1 to 200. */
|
|
3545
|
+
ids: string[];
|
|
3546
|
+
}
|
|
3547
|
+
export interface Progress {
|
|
3548
|
+
currentValue: number;
|
|
3549
|
+
metric: string;
|
|
3550
|
+
nextAchievementId: string | null;
|
|
3551
|
+
nextThreshold: number | null;
|
|
3552
|
+
previousAchievementId: string | null;
|
|
3553
|
+
previousThreshold: number | null;
|
|
3554
|
+
}
|
|
3555
|
+
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";
|
|
3556
|
+
export interface Qr {
|
|
3557
|
+
enabled: boolean;
|
|
3558
|
+
mode: string;
|
|
3559
|
+
}
|
|
3560
|
+
export interface Quote {
|
|
3561
|
+
accountKind: string;
|
|
3562
|
+
authorReply: null;
|
|
3563
|
+
content: string;
|
|
3564
|
+
createdAt: string;
|
|
3565
|
+
directReplyCount: number;
|
|
3566
|
+
hasLiked: null;
|
|
3567
|
+
id: string;
|
|
3568
|
+
isQuote: boolean;
|
|
3569
|
+
likeCount: number;
|
|
3570
|
+
mediaUrl: string | null;
|
|
3571
|
+
parentMessageId: string | null;
|
|
3572
|
+
positionAmountBought: number;
|
|
3573
|
+
positionAmountBoughtUsd: number;
|
|
3574
|
+
positionAmountHeld: number | null;
|
|
3575
|
+
positionAvgEntryMcapUsd: number | null;
|
|
3576
|
+
positionCostBasisAmount: number;
|
|
3577
|
+
positionCostBasisUsd: number | null;
|
|
3578
|
+
positionPnlPercentage: number;
|
|
3579
|
+
positionPnlUsd: number;
|
|
3580
|
+
positionRealizedPnlUsd: number;
|
|
3581
|
+
positionValueUsd: number | null;
|
|
3582
|
+
previewReplies: unknown[];
|
|
3583
|
+
profileImage: string;
|
|
3584
|
+
repostCount: number;
|
|
3585
|
+
rootMessageId: string | null;
|
|
3586
|
+
threadReplyCount: number | null;
|
|
3587
|
+
tombstone: boolean;
|
|
3588
|
+
userId: string;
|
|
3589
|
+
userName: string;
|
|
3590
|
+
viewerFollowsAuthor: null;
|
|
3591
|
+
walletAddress: string;
|
|
3592
|
+
}
|
|
3593
|
+
export interface QuoteCallout {
|
|
3594
|
+
accountKind?: string;
|
|
3595
|
+
callout: PositionCallout;
|
|
3596
|
+
coinImage: string | null;
|
|
3597
|
+
coinMint: string;
|
|
3598
|
+
coinName: string | null;
|
|
3599
|
+
isVerified: boolean;
|
|
3600
|
+
marketCap: number | null;
|
|
3601
|
+
mediaUrl: string | null;
|
|
3602
|
+
profileImage: string;
|
|
3603
|
+
symbol: string | null;
|
|
3604
|
+
userId: string;
|
|
3605
|
+
userName: string;
|
|
3606
|
+
verifiedBadgeVisible?: boolean;
|
|
3607
|
+
walletAddress: string;
|
|
3608
|
+
xFollowerCount: number;
|
|
3609
|
+
xUsername: string | null;
|
|
3610
|
+
}
|
|
3611
|
+
export interface QuoteEntry {
|
|
3612
|
+
decimals: number | null;
|
|
3613
|
+
imageUri: string | null;
|
|
3614
|
+
mint: string;
|
|
3615
|
+
name: string | null;
|
|
3616
|
+
symbol: string | null;
|
|
3617
|
+
usdPrice: number | null;
|
|
3618
|
+
}
|
|
3619
|
+
export interface Quotefacet {
|
|
3620
|
+
assetClass?: string;
|
|
3621
|
+
coinCount: number;
|
|
3622
|
+
imageUri?: string;
|
|
3623
|
+
mint: string;
|
|
3624
|
+
name?: string;
|
|
3625
|
+
symbol?: string;
|
|
3626
|
+
}
|
|
3627
|
+
export interface RawCoinsBatchRequest {
|
|
3628
|
+
/** Coin addresses (Solana mints or EVM tokens), 1 to 500. */
|
|
3629
|
+
mints: string[];
|
|
3630
|
+
}
|
|
3631
|
+
export interface Realized {
|
|
3632
|
+
amount_sold: number;
|
|
3633
|
+
avg_buy_price: CostBasis;
|
|
3634
|
+
avg_sell_price: CostBasis;
|
|
3635
|
+
percentage: CostBasis;
|
|
3636
|
+
pnl: CostBasis;
|
|
3637
|
+
total_in: CostBasis;
|
|
3638
|
+
total_out: CostBasis;
|
|
3639
|
+
}
|
|
3640
|
+
export interface Recipient {
|
|
3641
|
+
address: string;
|
|
3642
|
+
amount: Baseamount;
|
|
3643
|
+
shareBps: number;
|
|
3644
|
+
}
|
|
3645
|
+
export interface Replayintro {
|
|
3646
|
+
durationSeconds: number;
|
|
3647
|
+
fireAt: number;
|
|
3648
|
+
uid: string;
|
|
3649
|
+
}
|
|
3650
|
+
export interface Reply {
|
|
3651
|
+
accountKind?: string;
|
|
3652
|
+
authorReply: Reply | null;
|
|
3653
|
+
content: string;
|
|
3654
|
+
createdAt: string;
|
|
3655
|
+
directReplyCount: number;
|
|
3656
|
+
hasLiked: null;
|
|
3657
|
+
id: string;
|
|
3658
|
+
isQuote: boolean;
|
|
3659
|
+
likeCount: number;
|
|
3660
|
+
mediaUrl: string | null;
|
|
3661
|
+
parentMessageId: string | null;
|
|
3662
|
+
positionAmountBought: number | null;
|
|
3663
|
+
positionAmountBoughtUsd: number | null;
|
|
3664
|
+
positionAmountHeld: number | null;
|
|
3665
|
+
positionAvgEntryMcapUsd: number | null;
|
|
3666
|
+
positionCostBasisAmount: number;
|
|
3667
|
+
positionCostBasisUsd: number | null;
|
|
3668
|
+
positionPnlPercentage: number | null;
|
|
3669
|
+
positionPnlUsd: number | null;
|
|
3670
|
+
positionRealizedPnlUsd: number | null;
|
|
3671
|
+
positionValueUsd: number | null;
|
|
3672
|
+
previewReplies: unknown[];
|
|
3673
|
+
profileImage: string;
|
|
3674
|
+
repostCount: number;
|
|
3675
|
+
rootMessageId: string | null;
|
|
3676
|
+
threadReplyCount: number | null;
|
|
3677
|
+
tombstone: boolean;
|
|
3678
|
+
userId: string;
|
|
3679
|
+
userName: string;
|
|
3680
|
+
viewCount?: number;
|
|
3681
|
+
viewerFollowsAuthor: null;
|
|
3682
|
+
walletAddress: string;
|
|
3683
|
+
}
|
|
3684
|
+
export type ReplyFilter = "ALL" | "EXCLUDE_AUTHOR" | "AUTHOR_ONLY";
|
|
3685
|
+
export interface ReplyLikersParams {
|
|
3686
|
+
/** Maximum profiles to return. */
|
|
3687
|
+
limit?: number;
|
|
3688
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
3689
|
+
offset?: number;
|
|
3690
|
+
/** Callout reply UUID. */
|
|
3691
|
+
reply_id: string;
|
|
3692
|
+
}
|
|
3693
|
+
export interface ReplyRepostersParams {
|
|
3694
|
+
/** Maximum profiles to return. */
|
|
3695
|
+
limit?: number;
|
|
3696
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
3697
|
+
offset?: number;
|
|
3698
|
+
/** Callout reply UUID. */
|
|
3699
|
+
reply_id: string;
|
|
3700
|
+
}
|
|
3701
|
+
export type ReplySort = "RECENCY" | "POSITION" | "PNL";
|
|
3702
|
+
export interface ReplyThreadParams {
|
|
3703
|
+
/** Callout reply UUID. */
|
|
3704
|
+
reply_id: string;
|
|
3705
|
+
}
|
|
3706
|
+
export interface Repost {
|
|
3707
|
+
callout: RepostCallout | null;
|
|
3708
|
+
createdAt: string;
|
|
3709
|
+
id: string;
|
|
3710
|
+
kind: string;
|
|
3711
|
+
quote: PositionQuote | null;
|
|
3712
|
+
reply: Quote | null;
|
|
3713
|
+
reposter: RepostReposter | null;
|
|
3714
|
+
}
|
|
3715
|
+
export interface RepostCallout {
|
|
3716
|
+
accountKind: string;
|
|
3717
|
+
callout: PositionCallout;
|
|
3718
|
+
coinImage: string;
|
|
3719
|
+
coinMint: string;
|
|
3720
|
+
coinName: string;
|
|
3721
|
+
isVerified: boolean;
|
|
3722
|
+
marketCap: number;
|
|
3723
|
+
mediaUrl: string | null;
|
|
3724
|
+
position: Position;
|
|
3725
|
+
profileImage: string;
|
|
3726
|
+
symbol: string;
|
|
3727
|
+
userId: string;
|
|
3728
|
+
userName: string;
|
|
3729
|
+
verifiedBadgeVisible: boolean;
|
|
3730
|
+
walletAddress: string;
|
|
3731
|
+
xFollowerCount: number;
|
|
3732
|
+
xUsername: string | null;
|
|
3733
|
+
}
|
|
3734
|
+
export interface RepostReposter {
|
|
3735
|
+
accountKind: string;
|
|
3736
|
+
followerCount: number;
|
|
3737
|
+
followingCount: number;
|
|
3738
|
+
isVerified: boolean;
|
|
3739
|
+
profileImage: string;
|
|
3740
|
+
userId: string;
|
|
3741
|
+
userName: string;
|
|
3742
|
+
verifiedBadgeVisible: boolean;
|
|
3743
|
+
walletAddress: string;
|
|
3744
|
+
}
|
|
3745
|
+
export interface Reposter {
|
|
3746
|
+
bio: string;
|
|
3747
|
+
createdAt: string;
|
|
3748
|
+
followerCount: number;
|
|
3749
|
+
followingCount: number;
|
|
3750
|
+
generatedMedia: null;
|
|
3751
|
+
groupBadges: unknown[];
|
|
3752
|
+
headerImageUrl: string;
|
|
3753
|
+
isPumpUser?: boolean;
|
|
3754
|
+
isVerified: boolean;
|
|
3755
|
+
kind: string;
|
|
3756
|
+
memberCount: number;
|
|
3757
|
+
membershipPolicy: null;
|
|
3758
|
+
position: Position;
|
|
3759
|
+
profileImageUrl: string;
|
|
3760
|
+
socials: Social[];
|
|
3761
|
+
updatedAt: string;
|
|
3762
|
+
userId: string;
|
|
3763
|
+
username: string;
|
|
3764
|
+
verifiedBadgeVisible: boolean;
|
|
3765
|
+
walletAddress: string;
|
|
3766
|
+
}
|
|
3767
|
+
export interface ResolveIdentifiersParams {
|
|
3768
|
+
/** Identifiers to classify, each at most 128 characters and without commas. Repeat the parameter for several. */
|
|
3769
|
+
identifiers: string[];
|
|
3770
|
+
}
|
|
3771
|
+
export interface ResolveIdentifiersResponse {
|
|
3772
|
+
degraded: unknown[];
|
|
3773
|
+
results: Result[];
|
|
3774
|
+
}
|
|
3775
|
+
export interface Result {
|
|
3776
|
+
chain: string;
|
|
3777
|
+
coin: ResultCoin | null;
|
|
3778
|
+
definitive: boolean;
|
|
3779
|
+
identifier: string;
|
|
3780
|
+
kind: string;
|
|
3781
|
+
resolvedVia: string;
|
|
3782
|
+
user: GetUserResponse | null;
|
|
3783
|
+
}
|
|
3784
|
+
export interface ResultCoin {
|
|
3785
|
+
associated_bonding_curve: string;
|
|
3786
|
+
ath_market_cap: number;
|
|
3787
|
+
ath_market_cap_timestamp: number;
|
|
3788
|
+
base_decimals: number;
|
|
3789
|
+
bonding_curve: string;
|
|
3790
|
+
boost_mode: string;
|
|
3791
|
+
chain_id: string;
|
|
3792
|
+
complete: boolean;
|
|
3793
|
+
created_timestamp: number;
|
|
3794
|
+
creator: string;
|
|
3795
|
+
depth: number;
|
|
3796
|
+
hide_banner: boolean;
|
|
3797
|
+
image_uri: string;
|
|
3798
|
+
initialized: boolean;
|
|
3799
|
+
inverted: boolean;
|
|
3800
|
+
is_banned: boolean;
|
|
3801
|
+
is_cashback_enabled: boolean;
|
|
3802
|
+
is_currently_live: boolean;
|
|
3803
|
+
is_holder_reward: boolean;
|
|
3804
|
+
last_trade_timestamp: number;
|
|
3805
|
+
livestream_ban_expiry: number;
|
|
3806
|
+
market_cap: number;
|
|
3807
|
+
market_cap_quote: number;
|
|
3808
|
+
market_cap_usd: number;
|
|
3809
|
+
metadata_uri: string;
|
|
3810
|
+
mint: string;
|
|
3811
|
+
multichain_family: number;
|
|
3812
|
+
name: string;
|
|
3813
|
+
nsfw: boolean;
|
|
3814
|
+
pool_address: string;
|
|
3815
|
+
program: string;
|
|
3816
|
+
protocol: string;
|
|
3817
|
+
pump_swap_pool: string;
|
|
3818
|
+
quote_decimals: number;
|
|
3819
|
+
quote_mint: string;
|
|
3820
|
+
quote_token_program?: string;
|
|
3821
|
+
real_quote_reserves: number;
|
|
3822
|
+
real_sol_reserves: number;
|
|
3823
|
+
real_token_reserves: number;
|
|
3824
|
+
reply_count: number;
|
|
3825
|
+
security_verdict?: SecurityVerdict;
|
|
3826
|
+
show_name: boolean;
|
|
3827
|
+
symbol: string;
|
|
3828
|
+
telegram?: string;
|
|
3829
|
+
token_program: string;
|
|
3830
|
+
total_supply: number;
|
|
3831
|
+
total_supply_str: string;
|
|
3832
|
+
transfer_fee_bps?: number;
|
|
3833
|
+
transfer_hook_program?: string;
|
|
3834
|
+
twitter: string;
|
|
3835
|
+
updated_at: number;
|
|
3836
|
+
usd_market_cap: number;
|
|
3837
|
+
verified: boolean;
|
|
3838
|
+
virtual_quote_reserves: number;
|
|
3839
|
+
virtual_sol_reserves: number;
|
|
3840
|
+
virtual_token_reserves: number;
|
|
3841
|
+
website: string;
|
|
3842
|
+
}
|
|
3843
|
+
export interface Rewarddistribution {
|
|
3844
|
+
firstXValidSubmissionsCount?: number;
|
|
3845
|
+
type: string;
|
|
3846
|
+
}
|
|
3847
|
+
export interface Rewardleg {
|
|
3848
|
+
amountAtomic: string;
|
|
3849
|
+
decimalsSnapshot: number;
|
|
3850
|
+
mintAddress: string;
|
|
3851
|
+
remainingAmountAtomic: string;
|
|
3852
|
+
rewardVaultAddress: string;
|
|
3853
|
+
tokenProgramId: string;
|
|
3854
|
+
}
|
|
3855
|
+
export interface Rewardlegsusd {
|
|
3856
|
+
mintAddress: string;
|
|
3857
|
+
priceUsd: number;
|
|
3858
|
+
priced: boolean;
|
|
3859
|
+
usdValue: number;
|
|
3860
|
+
}
|
|
3861
|
+
export type RollingWindow = "1d" | "1w" | "1m";
|
|
3862
|
+
export interface Row {
|
|
3863
|
+
buySpendUsd: number;
|
|
3864
|
+
chainId: number;
|
|
3865
|
+
entryId: string;
|
|
3866
|
+
imageUri: string | null;
|
|
3867
|
+
isVerified: boolean;
|
|
3868
|
+
mint: string;
|
|
3869
|
+
name: string;
|
|
3870
|
+
pnlUsd: number;
|
|
3871
|
+
profileImageUrl: string;
|
|
3872
|
+
rank: number;
|
|
3873
|
+
realizedPnlUsd: number;
|
|
3874
|
+
symbol: string;
|
|
3875
|
+
unrealizedPnlUsd: number;
|
|
3876
|
+
userId: string;
|
|
3877
|
+
username: string;
|
|
3878
|
+
verifiedBadgeVisible: boolean;
|
|
3879
|
+
walletAddress: string;
|
|
3880
|
+
}
|
|
3881
|
+
export interface SearchCoinsParams {
|
|
3882
|
+
/** `true` keeps graduated coins only, `false` bonding-curve coins only. */
|
|
3883
|
+
complete?: boolean | null;
|
|
3884
|
+
/** Only coins launched by this wallet, Solana or EVM (0x). */
|
|
3885
|
+
creator?: string | null;
|
|
3886
|
+
/** Include coins flagged not-safe-for-work. */
|
|
3887
|
+
include_nsfw?: boolean;
|
|
3888
|
+
/** Maximum coins to return. */
|
|
3889
|
+
limit?: number;
|
|
3890
|
+
/** Only coins at most this many seconds old. */
|
|
3891
|
+
max_age_seconds?: number | null;
|
|
3892
|
+
/** Only coins at least this many seconds old. */
|
|
3893
|
+
min_age_seconds?: number | null;
|
|
3894
|
+
/** Rows to skip. */
|
|
3895
|
+
offset?: number;
|
|
3896
|
+
/** Deprecated: pump.fun does not order search results by this column, though a value other than the default can change which coins come back. */
|
|
3897
|
+
order?: CoinSortDirection;
|
|
3898
|
+
/** Free-text search term. */
|
|
3899
|
+
search_term: string;
|
|
3900
|
+
/** Deprecated: pump.fun does not order search results by this column, though a value other than the default can change which coins come back. */
|
|
3901
|
+
sort?: CoinSort;
|
|
3902
|
+
}
|
|
3903
|
+
export interface SearchFollowersParams {
|
|
3904
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
3905
|
+
address: string;
|
|
3906
|
+
/** Maximum profiles to return. */
|
|
3907
|
+
limit?: number;
|
|
3908
|
+
/** Rows to skip. */
|
|
3909
|
+
offset?: number;
|
|
3910
|
+
/** Search term, 2 to 50 characters. */
|
|
3911
|
+
search_term: string;
|
|
3912
|
+
}
|
|
3913
|
+
export interface SearchFollowingParams {
|
|
3914
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
3915
|
+
address: string;
|
|
3916
|
+
/** Maximum profiles to return. */
|
|
3917
|
+
limit?: number;
|
|
3918
|
+
/** Rows to skip. */
|
|
3919
|
+
offset?: number;
|
|
3920
|
+
/** Search term, 2 to 50 characters. */
|
|
3921
|
+
search_term: string;
|
|
3922
|
+
}
|
|
3923
|
+
export interface SearchQuoteFacetsParams {
|
|
3924
|
+
/** `true` keeps graduated coins only, `false` bonding-curve coins only. */
|
|
3925
|
+
complete?: boolean | null;
|
|
3926
|
+
/** Only coins launched by this wallet, Solana or EVM (0x). */
|
|
3927
|
+
creator?: string | null;
|
|
3928
|
+
/** Include coins flagged not-safe-for-work. */
|
|
3929
|
+
include_nsfw?: boolean;
|
|
3930
|
+
/** Only coins at most this many seconds old. */
|
|
3931
|
+
max_age_seconds?: number | null;
|
|
3932
|
+
/** Only coins at least this many seconds old. */
|
|
3933
|
+
min_age_seconds?: number | null;
|
|
3934
|
+
/** Free-text search term. */
|
|
3935
|
+
search_term?: string | null;
|
|
3936
|
+
}
|
|
3937
|
+
export interface SearchUsersParams {
|
|
3938
|
+
/** Include wallets pump.fun has labelled but that have no profile. */
|
|
3939
|
+
include_labelled_wallets?: boolean;
|
|
3940
|
+
/** Maximum profiles to return. */
|
|
3941
|
+
limit?: number;
|
|
3942
|
+
/** Rows to skip. */
|
|
3943
|
+
offset?: number;
|
|
3944
|
+
/** Free-text search term. */
|
|
3945
|
+
search_term: string;
|
|
3946
|
+
}
|
|
3947
|
+
export interface SearchedCoin {
|
|
3948
|
+
associated_bonding_curve?: string;
|
|
3949
|
+
ath_market_cap?: number;
|
|
3950
|
+
ath_market_cap_timestamp?: number;
|
|
3951
|
+
banner_uri?: string;
|
|
3952
|
+
base_decimals?: number;
|
|
3953
|
+
bonding_curve?: string;
|
|
3954
|
+
boost_mode?: string;
|
|
3955
|
+
canonical_pool_liquidity_usd?: number;
|
|
3956
|
+
chain_id: string;
|
|
3957
|
+
circulating_supply_str?: string;
|
|
3958
|
+
complete?: boolean;
|
|
3959
|
+
created_timestamp: number;
|
|
3960
|
+
creator: string;
|
|
3961
|
+
cto_address?: string;
|
|
3962
|
+
depth?: number;
|
|
3963
|
+
description?: string;
|
|
3964
|
+
graduated_pool?: string;
|
|
3965
|
+
hidden?: boolean;
|
|
3966
|
+
hide_banner: boolean;
|
|
3967
|
+
image_uri?: string;
|
|
3968
|
+
indexed_by_pump?: boolean;
|
|
3969
|
+
initialized: boolean;
|
|
3970
|
+
inverted?: boolean;
|
|
3971
|
+
is_backfill?: boolean;
|
|
3972
|
+
is_banned: boolean;
|
|
3973
|
+
is_cashback_enabled?: boolean;
|
|
3974
|
+
is_currently_live: boolean;
|
|
3975
|
+
is_holder_reward?: boolean;
|
|
3976
|
+
king_of_the_hill_timestamp?: number;
|
|
3977
|
+
last_reply?: number;
|
|
3978
|
+
last_trade_timestamp?: number;
|
|
3979
|
+
livestream_ban_expiry: number;
|
|
3980
|
+
market_cap: number;
|
|
3981
|
+
market_cap_quote?: number;
|
|
3982
|
+
market_cap_usd?: number;
|
|
3983
|
+
market_id?: string;
|
|
3984
|
+
mayhem?: Mayhem;
|
|
3985
|
+
mayhem_state?: string;
|
|
3986
|
+
metadata_uri?: string;
|
|
3987
|
+
mint: string;
|
|
3988
|
+
multichain_family: number;
|
|
3989
|
+
name: string;
|
|
3990
|
+
nsfw: boolean;
|
|
3991
|
+
platform?: string;
|
|
3992
|
+
pool_address?: string;
|
|
3993
|
+
program?: string;
|
|
3994
|
+
protocol: string;
|
|
3995
|
+
pump_swap_pool?: string;
|
|
3996
|
+
quote_decimals?: number;
|
|
3997
|
+
quote_mint?: string;
|
|
3998
|
+
quote_token_program?: string;
|
|
3999
|
+
raydium_pool?: string;
|
|
4000
|
+
real_quote_reserves?: number;
|
|
4001
|
+
real_sol_reserves?: number;
|
|
4002
|
+
real_token_reserves?: number;
|
|
4003
|
+
recommendation_id?: string;
|
|
4004
|
+
recommendation_rank?: number;
|
|
4005
|
+
reply_count: number;
|
|
4006
|
+
search_priority?: boolean;
|
|
4007
|
+
security_verdict?: SecurityVerdict;
|
|
4008
|
+
show_name: boolean;
|
|
4009
|
+
symbol: string;
|
|
4010
|
+
telegram?: string;
|
|
4011
|
+
token_program?: string;
|
|
4012
|
+
total_supply?: number;
|
|
4013
|
+
total_supply_str: string;
|
|
4014
|
+
transfer_fee_bps?: number;
|
|
4015
|
+
transfer_hook_program?: string;
|
|
4016
|
+
twitter?: string;
|
|
4017
|
+
updated_at?: number;
|
|
4018
|
+
usd_market_cap?: number;
|
|
4019
|
+
verified: boolean;
|
|
4020
|
+
video_uri?: string;
|
|
4021
|
+
virtual_quote_reserves?: number;
|
|
4022
|
+
virtual_sol_reserves?: number;
|
|
4023
|
+
virtual_token_reserves?: number;
|
|
4024
|
+
volume_1h_usd?: number;
|
|
4025
|
+
website?: string;
|
|
4026
|
+
}
|
|
4027
|
+
export interface SecurityVerdict {
|
|
4028
|
+
decided_by: string;
|
|
4029
|
+
provider: string;
|
|
4030
|
+
reasons: string[];
|
|
4031
|
+
scope: string;
|
|
4032
|
+
source: string;
|
|
4033
|
+
updated_at: number;
|
|
4034
|
+
verdict: string;
|
|
4035
|
+
version: number;
|
|
4036
|
+
}
|
|
4037
|
+
export interface Series {
|
|
4038
|
+
bucketStart: number;
|
|
4039
|
+
byQuote: Earned[];
|
|
4040
|
+
earned: SeriesEarned;
|
|
4041
|
+
}
|
|
4042
|
+
export interface SeriesEarned {
|
|
4043
|
+
native?: string;
|
|
4044
|
+
nativeAsset?: Nativeasset;
|
|
4045
|
+
usd: string;
|
|
4046
|
+
}
|
|
4047
|
+
export interface Served {
|
|
4048
|
+
measure: string;
|
|
4049
|
+
res: string;
|
|
4050
|
+
}
|
|
4051
|
+
export interface Shareholder {
|
|
4052
|
+
address: string;
|
|
4053
|
+
isAdmin: boolean;
|
|
4054
|
+
shareBps: number;
|
|
4055
|
+
}
|
|
4056
|
+
export interface ShareholderFeesParams {
|
|
4057
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
4058
|
+
address: string;
|
|
4059
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
4060
|
+
cursor?: string | null;
|
|
4061
|
+
}
|
|
4062
|
+
export interface Sharing {
|
|
4063
|
+
admin: string;
|
|
4064
|
+
adminRevoked: boolean;
|
|
4065
|
+
asOf: number;
|
|
4066
|
+
configAddress: string;
|
|
4067
|
+
shareholders: Shareholder[];
|
|
4068
|
+
}
|
|
4069
|
+
export interface SimilarCoinResult {
|
|
4070
|
+
associated_bonding_curve: string;
|
|
4071
|
+
ath_market_cap?: number;
|
|
4072
|
+
ath_market_cap_timestamp?: number;
|
|
4073
|
+
base_decimals: number;
|
|
4074
|
+
bonding_curve: string;
|
|
4075
|
+
boost_mode: string;
|
|
4076
|
+
canonical_pool_liquidity_usd?: number;
|
|
4077
|
+
chain_id: string;
|
|
4078
|
+
circulating_supply_str?: string;
|
|
4079
|
+
complete: boolean;
|
|
4080
|
+
created_timestamp: number;
|
|
4081
|
+
creator: string;
|
|
4082
|
+
depth?: number;
|
|
4083
|
+
description?: string;
|
|
4084
|
+
graduated_pool?: string;
|
|
4085
|
+
hide_banner: boolean;
|
|
4086
|
+
image_uri: string;
|
|
4087
|
+
initialized: boolean;
|
|
4088
|
+
inverted?: boolean;
|
|
4089
|
+
is_banned: boolean;
|
|
4090
|
+
is_cashback_enabled?: boolean;
|
|
4091
|
+
is_currently_live: boolean;
|
|
4092
|
+
is_holder_reward?: boolean;
|
|
4093
|
+
last_trade_timestamp?: number;
|
|
4094
|
+
livestream_ban_expiry: number;
|
|
4095
|
+
market_cap?: number;
|
|
4096
|
+
market_cap_quote?: number;
|
|
4097
|
+
market_cap_usd?: number;
|
|
4098
|
+
metadata_uri: string;
|
|
4099
|
+
mint: string;
|
|
4100
|
+
multichain_family: number;
|
|
4101
|
+
name: string;
|
|
4102
|
+
nsfw: boolean;
|
|
4103
|
+
platform?: string;
|
|
4104
|
+
pool_address: string;
|
|
4105
|
+
program: string;
|
|
4106
|
+
protocol: string;
|
|
4107
|
+
pump_swap_pool?: string;
|
|
4108
|
+
quote_decimals: number;
|
|
4109
|
+
quote_mint: string;
|
|
4110
|
+
quote_token_program?: string;
|
|
4111
|
+
real_quote_reserves: number;
|
|
4112
|
+
real_sol_reserves: number;
|
|
4113
|
+
real_token_reserves?: number;
|
|
4114
|
+
reply_count: number;
|
|
4115
|
+
security_verdict?: SecurityVerdict;
|
|
4116
|
+
show_name: boolean;
|
|
4117
|
+
symbol: string;
|
|
4118
|
+
telegram?: string;
|
|
4119
|
+
token_program: string;
|
|
4120
|
+
total_supply: number | string;
|
|
4121
|
+
total_supply_str: string;
|
|
4122
|
+
transfer_fee_bps?: number;
|
|
4123
|
+
transfer_hook_program?: string;
|
|
4124
|
+
twitter?: string;
|
|
4125
|
+
updated_at: number;
|
|
4126
|
+
usd_market_cap: number;
|
|
4127
|
+
verified: boolean;
|
|
4128
|
+
virtual_quote_reserves?: number;
|
|
4129
|
+
virtual_sol_reserves?: number;
|
|
4130
|
+
virtual_token_reserves?: number;
|
|
4131
|
+
volume_1h_usd?: number;
|
|
4132
|
+
website?: string;
|
|
4133
|
+
}
|
|
4134
|
+
export interface SimilarCoinsParams {
|
|
4135
|
+
/** Include coins flagged not-safe-for-work. */
|
|
4136
|
+
include_nsfw?: boolean;
|
|
4137
|
+
/** Maximum coins to return. */
|
|
4138
|
+
limit?: number;
|
|
4139
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4140
|
+
mint: string;
|
|
4141
|
+
/** Rows to skip. */
|
|
4142
|
+
offset?: number;
|
|
4143
|
+
}
|
|
4144
|
+
export interface Social {
|
|
4145
|
+
linkedAt: string;
|
|
4146
|
+
provider: string;
|
|
4147
|
+
username: string;
|
|
4148
|
+
}
|
|
4149
|
+
export interface Solana {
|
|
4150
|
+
dust_count?: number;
|
|
4151
|
+
dust_value_usd?: number;
|
|
4152
|
+
hidden_count?: number;
|
|
4153
|
+
hidden_value_usd?: number;
|
|
4154
|
+
token_count: number;
|
|
4155
|
+
total_value: number;
|
|
4156
|
+
wallet_address: string | null;
|
|
4157
|
+
}
|
|
4158
|
+
export interface Status {
|
|
4159
|
+
count: number;
|
|
4160
|
+
key: string;
|
|
4161
|
+
}
|
|
4162
|
+
export interface Submission {
|
|
4163
|
+
attachments?: SubmissionAttachment[];
|
|
4164
|
+
banInfo?: SubmissionBaninfo;
|
|
4165
|
+
bodyMarkdown: string;
|
|
4166
|
+
createdAt: string;
|
|
4167
|
+
editedAt?: string;
|
|
4168
|
+
isNsfw: boolean;
|
|
4169
|
+
likeCount: number;
|
|
4170
|
+
links?: string[];
|
|
4171
|
+
publishedAt: string;
|
|
4172
|
+
requesterAddress: string;
|
|
4173
|
+
requesterXFollowerCount: number;
|
|
4174
|
+
requesterXVerified?: boolean;
|
|
4175
|
+
submissionId: string;
|
|
4176
|
+
taskId: string;
|
|
4177
|
+
unbanInfo?: SubmissionBaninfo;
|
|
4178
|
+
updatedAt: string;
|
|
4179
|
+
}
|
|
4180
|
+
export interface SubmissionAttachment {
|
|
4181
|
+
contentType: string;
|
|
4182
|
+
externalAssetId?: string;
|
|
4183
|
+
filename: string;
|
|
4184
|
+
key: string;
|
|
4185
|
+
kind: string;
|
|
4186
|
+
playback?: Playback;
|
|
4187
|
+
processingStatus?: string;
|
|
4188
|
+
provider?: string;
|
|
4189
|
+
size: number;
|
|
4190
|
+
url: string;
|
|
4191
|
+
}
|
|
4192
|
+
export interface SubmissionBaninfo {
|
|
4193
|
+
moderatorAddress: string;
|
|
4194
|
+
reason: string;
|
|
4195
|
+
timestamp: string;
|
|
4196
|
+
}
|
|
4197
|
+
export interface Summary {
|
|
4198
|
+
hlAccount?: string;
|
|
4199
|
+
positionCount: number;
|
|
4200
|
+
totalPnlPercentage?: number;
|
|
4201
|
+
totalPnlUsd?: number;
|
|
4202
|
+
totalValueUsd?: number;
|
|
4203
|
+
}
|
|
4204
|
+
export interface Token {
|
|
4205
|
+
buySpendUsd: number;
|
|
4206
|
+
chainId: number;
|
|
4207
|
+
imageUri: string | null;
|
|
4208
|
+
members: TokenMember[];
|
|
4209
|
+
mint: string;
|
|
4210
|
+
name: string;
|
|
4211
|
+
pnlUsd: number;
|
|
4212
|
+
realizedPnlUsd: number;
|
|
4213
|
+
symbol: string;
|
|
4214
|
+
unrealizedPnlUsd: number;
|
|
4215
|
+
}
|
|
4216
|
+
export type TokenChain = "solana" | "ethereum" | "bsc" | "base" | "monad" | "robinhood" | "hyperevm" | "ink" | "arc";
|
|
4217
|
+
export interface TokenHolderCountParams {
|
|
4218
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4219
|
+
mint: string;
|
|
4220
|
+
}
|
|
4221
|
+
export interface TokenIn {
|
|
4222
|
+
amount: string;
|
|
4223
|
+
metadata?: Metadata;
|
|
4224
|
+
mint: string;
|
|
4225
|
+
}
|
|
4226
|
+
export interface TokenMember {
|
|
4227
|
+
buySpendUsd: number;
|
|
4228
|
+
pnlUsd: number;
|
|
4229
|
+
realizedPnlUsd: number;
|
|
4230
|
+
unrealizedPnlUsd: number;
|
|
4231
|
+
userId: string;
|
|
4232
|
+
walletAddress: string;
|
|
4233
|
+
}
|
|
4234
|
+
export interface Tokenpnl {
|
|
4235
|
+
cost_basis_sol: number | null;
|
|
4236
|
+
cost_basis_usd: number | null;
|
|
4237
|
+
percentage: number | null;
|
|
4238
|
+
percentage_sol: number | null;
|
|
4239
|
+
percentage_usd: number | null;
|
|
4240
|
+
realized_pnl_sol: number | null;
|
|
4241
|
+
realized_pnl_usd: number | null;
|
|
4242
|
+
unrealized_sol: number | null;
|
|
4243
|
+
unrealized_usd: number | null;
|
|
4244
|
+
}
|
|
4245
|
+
export interface Top {
|
|
4246
|
+
buySpendSol: number;
|
|
4247
|
+
entryId: string;
|
|
4248
|
+
isVerified: boolean;
|
|
4249
|
+
kind: string;
|
|
4250
|
+
lastRefreshedAtMs: number;
|
|
4251
|
+
memberCount: number;
|
|
4252
|
+
membersFresh: number;
|
|
4253
|
+
participantId: string;
|
|
4254
|
+
pnlUsd: number;
|
|
4255
|
+
positionsCount: number;
|
|
4256
|
+
profileImageUrl: string;
|
|
4257
|
+
rank: number;
|
|
4258
|
+
realizedPnlUsd: number;
|
|
4259
|
+
struck: boolean;
|
|
4260
|
+
topPositions: Topposition[];
|
|
4261
|
+
unrealizedPnlUsd: number;
|
|
4262
|
+
username: string;
|
|
4263
|
+
verifiedBadgeVisible: boolean;
|
|
4264
|
+
walletAddress: string | null;
|
|
4265
|
+
}
|
|
4266
|
+
export interface TopClipsParams {
|
|
4267
|
+
/** Clip category as pump.fun labels it. */
|
|
4268
|
+
clip_type?: ClipType;
|
|
4269
|
+
/** Maximum clips to return. */
|
|
4270
|
+
limit?: number;
|
|
4271
|
+
/** Candidate pool size the ranking samples from. */
|
|
4272
|
+
oversample?: number;
|
|
4273
|
+
/** Ranking window. */
|
|
4274
|
+
period?: VodPeriod;
|
|
4275
|
+
/** Unix seconds to rank as of. Defaults to now. */
|
|
4276
|
+
timestamp?: number | null;
|
|
4277
|
+
}
|
|
4278
|
+
export interface TopHoldersParams {
|
|
4279
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4280
|
+
mint: string;
|
|
4281
|
+
}
|
|
4282
|
+
export type TopMintsSort = "volume_1_hr" | "market_cap";
|
|
4283
|
+
export interface TopTokenMintChainsParams {
|
|
4284
|
+
/** Order of the list. Omit for pump.fun's curated order. */
|
|
4285
|
+
sort_order?: TopMintsSort | null;
|
|
4286
|
+
}
|
|
4287
|
+
export interface TopTokenMintsParams {
|
|
4288
|
+
/** Order of the list. Omit for pump.fun's curated order. */
|
|
4289
|
+
sort_order?: TopMintsSort | null;
|
|
4290
|
+
}
|
|
4291
|
+
export interface TopTraderTradesParams {
|
|
4292
|
+
/** Chain of an EVM coin. Omit for Solana, or to let pump.fun infer it. */
|
|
4293
|
+
chain?: TokenChain | null;
|
|
4294
|
+
/** `page.nextCursor` from the previous page; omit for the first page. */
|
|
4295
|
+
cursor?: string | null;
|
|
4296
|
+
/** Maximum trades to return. */
|
|
4297
|
+
limit?: number;
|
|
4298
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4299
|
+
mint: string;
|
|
4300
|
+
/** Unix time in ms of the newest trade. pump.fun honours it only while it pages the answer. */
|
|
4301
|
+
to?: number | null;
|
|
4302
|
+
}
|
|
4303
|
+
export interface TopVod {
|
|
4304
|
+
roomName: string;
|
|
4305
|
+
viewsTotal: number;
|
|
4306
|
+
vodId: string;
|
|
4307
|
+
}
|
|
4308
|
+
export interface Topholder {
|
|
4309
|
+
address: string;
|
|
4310
|
+
amount: number;
|
|
4311
|
+
enteredAt: number | null;
|
|
4312
|
+
isBundler: boolean;
|
|
4313
|
+
isDev: boolean;
|
|
4314
|
+
isSniper: boolean;
|
|
4315
|
+
}
|
|
4316
|
+
export interface Topposition {
|
|
4317
|
+
chainId: number;
|
|
4318
|
+
imageUri: string | null;
|
|
4319
|
+
mint: string;
|
|
4320
|
+
name: string | null;
|
|
4321
|
+
symbol: string | null;
|
|
4322
|
+
}
|
|
4323
|
+
export interface Total {
|
|
4324
|
+
accruedUsdAtTrade: string;
|
|
4325
|
+
accruedUsdNow: string;
|
|
4326
|
+
coinCount: number;
|
|
4327
|
+
payingCount: number;
|
|
4328
|
+
payoutCount: number;
|
|
4329
|
+
unpricedCoinCount: number;
|
|
4330
|
+
walletsRewarded: number;
|
|
4331
|
+
walletsRewardedDistinct: number;
|
|
4332
|
+
}
|
|
4333
|
+
export interface Trade {
|
|
4334
|
+
baseAmount: Baseamount;
|
|
4335
|
+
blockId: string;
|
|
4336
|
+
blockTimeMs: number;
|
|
4337
|
+
eventIndex: number;
|
|
4338
|
+
isBackfill: boolean;
|
|
4339
|
+
kind: string;
|
|
4340
|
+
late: boolean;
|
|
4341
|
+
legIndex: number;
|
|
4342
|
+
ordinalKey: string;
|
|
4343
|
+
perp?: Perp;
|
|
4344
|
+
pool: Pool | null;
|
|
4345
|
+
priceQuote: string | null;
|
|
4346
|
+
priceUsd: string | null;
|
|
4347
|
+
quote: TradeQuote;
|
|
4348
|
+
quoteAmount: Baseamount;
|
|
4349
|
+
quotePriceUsd: string | null;
|
|
4350
|
+
side: string;
|
|
4351
|
+
surface?: string;
|
|
4352
|
+
trader: Trader | null;
|
|
4353
|
+
txId: string;
|
|
4354
|
+
txIndex: number;
|
|
4355
|
+
valueNative: string | null;
|
|
4356
|
+
valueUsd: string | null;
|
|
4357
|
+
venue: string;
|
|
4358
|
+
}
|
|
4359
|
+
export type TradeKind = "swap" | "perp_fill";
|
|
4360
|
+
export interface TradeQuote {
|
|
4361
|
+
decimals?: number;
|
|
4362
|
+
id: string;
|
|
4363
|
+
}
|
|
4364
|
+
export type TradeVenue = "all" | "pump";
|
|
4365
|
+
export interface Trader {
|
|
4366
|
+
address: string;
|
|
4367
|
+
}
|
|
4368
|
+
export interface TradesBatchEntry {
|
|
4369
|
+
amountSOL: string;
|
|
4370
|
+
amountUSD: string;
|
|
4371
|
+
baseAmount: string;
|
|
4372
|
+
isBondingCurve: boolean;
|
|
4373
|
+
priceSOL: string;
|
|
4374
|
+
priceUSD: string;
|
|
4375
|
+
quoteAmount: string;
|
|
4376
|
+
slotIndexId: string;
|
|
4377
|
+
timestamp: string;
|
|
4378
|
+
tx: string;
|
|
4379
|
+
type: string;
|
|
4380
|
+
userAddress: string;
|
|
4381
|
+
}
|
|
4382
|
+
export interface TradesBatchParams {
|
|
4383
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4384
|
+
mint: string;
|
|
4385
|
+
}
|
|
4386
|
+
export interface TradesBatchRequest {
|
|
4387
|
+
/** Coin creation timestamp in milliseconds. */
|
|
4388
|
+
created_ts: number;
|
|
4389
|
+
/** Wallet addresses (Solana or EVM) to fetch trades for, 1 to 30. */
|
|
4390
|
+
user_addresses: string[];
|
|
4391
|
+
}
|
|
4392
|
+
export interface TradesParams {
|
|
4393
|
+
/** Cursor from a previous page. */
|
|
4394
|
+
cursor?: string | null;
|
|
4395
|
+
/** Maximum trades to return. */
|
|
4396
|
+
limit?: number;
|
|
4397
|
+
/** Drop trades below this SOL size. */
|
|
4398
|
+
min_sol_amount?: number | null;
|
|
4399
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4400
|
+
mint: string;
|
|
4401
|
+
}
|
|
4402
|
+
export interface Transaction {
|
|
4403
|
+
block_time: number;
|
|
4404
|
+
chain?: string;
|
|
4405
|
+
direction?: string;
|
|
4406
|
+
fee: number;
|
|
4407
|
+
from_address?: string;
|
|
4408
|
+
network_id?: number;
|
|
4409
|
+
sol_value?: number;
|
|
4410
|
+
to_address?: string;
|
|
4411
|
+
token_in?: TokenIn;
|
|
4412
|
+
token_out?: TokenIn;
|
|
4413
|
+
token_transferred?: TokenIn;
|
|
4414
|
+
transaction_type: string;
|
|
4415
|
+
tx_hash: string;
|
|
4416
|
+
type: string;
|
|
4417
|
+
}
|
|
4418
|
+
export interface TrendingBoardParams {
|
|
4419
|
+
/** Keep only coins on these chains. Repeat the parameter for several. */
|
|
4420
|
+
chains?: NonMonadChain[] | null;
|
|
4421
|
+
/** Maximum board entries to return. pump.fun serves at most 150. */
|
|
4422
|
+
limit?: number;
|
|
4423
|
+
}
|
|
4424
|
+
export interface TrendingCoin {
|
|
4425
|
+
associated_bonding_curve?: string;
|
|
4426
|
+
ath_market_cap: number;
|
|
4427
|
+
ath_market_cap_timestamp: number;
|
|
4428
|
+
banner_uri?: string;
|
|
4429
|
+
base_decimals: number;
|
|
4430
|
+
bonding_curve?: string;
|
|
4431
|
+
boost_mode?: string;
|
|
4432
|
+
canonical_pool_liquidity_usd?: number;
|
|
4433
|
+
chain_id: string;
|
|
4434
|
+
circulating_supply_str?: string;
|
|
4435
|
+
complete?: boolean;
|
|
4436
|
+
created_timestamp: number;
|
|
4437
|
+
creator: string;
|
|
4438
|
+
cto_address?: string;
|
|
4439
|
+
depth?: number;
|
|
4440
|
+
description?: string;
|
|
4441
|
+
graduated_pool?: string;
|
|
4442
|
+
hidden?: boolean;
|
|
4443
|
+
hide_banner: boolean;
|
|
4444
|
+
image_uri: string;
|
|
4445
|
+
indexed_by_pump?: boolean;
|
|
4446
|
+
initialized: boolean;
|
|
4447
|
+
inverted?: boolean;
|
|
4448
|
+
is_backfill?: boolean;
|
|
4449
|
+
is_banned: boolean;
|
|
4450
|
+
is_cashback_enabled?: boolean;
|
|
4451
|
+
is_charity?: boolean;
|
|
4452
|
+
is_currently_live: boolean;
|
|
4453
|
+
is_holder_reward?: boolean;
|
|
4454
|
+
last_reply?: number;
|
|
4455
|
+
last_trade_timestamp?: number;
|
|
4456
|
+
livestream_ban_expiry: number;
|
|
4457
|
+
market_cap: number;
|
|
4458
|
+
market_cap_quote?: number;
|
|
4459
|
+
market_cap_usd: number;
|
|
4460
|
+
metadata_uri?: string;
|
|
4461
|
+
mint: string;
|
|
4462
|
+
multichain_family: number;
|
|
4463
|
+
name: string;
|
|
4464
|
+
nsfw: boolean;
|
|
4465
|
+
num_participants?: number;
|
|
4466
|
+
platform?: string;
|
|
4467
|
+
pool_address?: string;
|
|
4468
|
+
program?: string;
|
|
4469
|
+
protocol: string;
|
|
4470
|
+
pump_swap_pool?: string;
|
|
4471
|
+
quote_decimals?: number;
|
|
4472
|
+
quote_mint?: string;
|
|
4473
|
+
quote_token_program?: string;
|
|
4474
|
+
real_quote_reserves?: number;
|
|
4475
|
+
real_sol_reserves?: number;
|
|
4476
|
+
real_token_reserves?: number;
|
|
4477
|
+
reply_count: number;
|
|
4478
|
+
security_verdict?: SecurityVerdict;
|
|
4479
|
+
show_name: boolean;
|
|
4480
|
+
symbol: string;
|
|
4481
|
+
telegram?: string;
|
|
4482
|
+
thumbnail?: string;
|
|
4483
|
+
thumbnail_updated_at?: number;
|
|
4484
|
+
token_program?: string;
|
|
4485
|
+
total_supply?: number | string;
|
|
4486
|
+
total_supply_str: string;
|
|
4487
|
+
transfer_fee_bps?: number;
|
|
4488
|
+
transfer_hook_program?: string;
|
|
4489
|
+
twitter?: string;
|
|
4490
|
+
updated_at: number;
|
|
4491
|
+
usd_market_cap: number;
|
|
4492
|
+
verified: boolean;
|
|
4493
|
+
video_uri?: string;
|
|
4494
|
+
virtual_quote_reserves?: number;
|
|
4495
|
+
virtual_sol_reserves?: number;
|
|
4496
|
+
virtual_token_reserves?: number;
|
|
4497
|
+
volume_1h_usd?: number;
|
|
4498
|
+
website?: string;
|
|
4499
|
+
}
|
|
4500
|
+
export interface TrendingCoinsParams {
|
|
4501
|
+
/** Number of trending coins to return. pump.fun returns fewer when its trending list is shorter (34 coins on 2026-10-08). */
|
|
4502
|
+
top_k?: number;
|
|
4503
|
+
}
|
|
4504
|
+
export interface Unbanrequest {
|
|
4505
|
+
changesSummaryMarkdown: string;
|
|
4506
|
+
requestedAt: string;
|
|
4507
|
+
reviewReason: string;
|
|
4508
|
+
reviewedAt: string;
|
|
4509
|
+
status: string;
|
|
4510
|
+
}
|
|
4511
|
+
export interface Unrealized {
|
|
4512
|
+
amount_held: number;
|
|
4513
|
+
cost_basis: CostBasis;
|
|
4514
|
+
percentage: CostBasis;
|
|
4515
|
+
pnl: CostBasis;
|
|
4516
|
+
pnl_mark: CostBasis;
|
|
4517
|
+
}
|
|
4518
|
+
export interface Update {
|
|
4519
|
+
content: string;
|
|
4520
|
+
createdAt: string;
|
|
4521
|
+
id: string;
|
|
4522
|
+
likeCount: number;
|
|
4523
|
+
mediaUrl: string | null;
|
|
4524
|
+
parentMessageId: string | null;
|
|
4525
|
+
repostCount: number;
|
|
4526
|
+
viewCount?: number;
|
|
4527
|
+
}
|
|
4528
|
+
export interface User {
|
|
4529
|
+
address: string;
|
|
4530
|
+
avatar_decoration?: string | null;
|
|
4531
|
+
bio: string | null;
|
|
4532
|
+
followers: number;
|
|
4533
|
+
following: number;
|
|
4534
|
+
group_badges: unknown[];
|
|
4535
|
+
is_banned?: boolean;
|
|
4536
|
+
is_pump_user: boolean;
|
|
4537
|
+
kind?: string;
|
|
4538
|
+
profile_image: string;
|
|
4539
|
+
userId: string;
|
|
4540
|
+
username: string;
|
|
4541
|
+
x_username: string | null;
|
|
4542
|
+
}
|
|
4543
|
+
export interface UserAchievementsParams {
|
|
4544
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
4545
|
+
address: string;
|
|
4546
|
+
}
|
|
4547
|
+
export interface UserCalloutRepliesParams {
|
|
4548
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4549
|
+
address: string;
|
|
4550
|
+
/** Replies older than this reply id. */
|
|
4551
|
+
before_id?: string | null;
|
|
4552
|
+
/** Plain replies, quote posts, or both. */
|
|
4553
|
+
filter?: UserReplyFilter | null;
|
|
4554
|
+
/** Maximum replies to return. */
|
|
4555
|
+
limit?: number;
|
|
4556
|
+
}
|
|
4557
|
+
export interface UserCalloutsParams {
|
|
4558
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4559
|
+
address: string;
|
|
4560
|
+
/** Maximum callouts to return. pump.fun serves 100 at most. */
|
|
4561
|
+
limit?: number;
|
|
4562
|
+
/** `nextPageToken` from the previous page. */
|
|
4563
|
+
page_token?: string | null;
|
|
4564
|
+
/** Ranking column. */
|
|
4565
|
+
sort_by?: CalloutSort;
|
|
4566
|
+
/** Sort direction. */
|
|
4567
|
+
sort_order?: CoinSortDirection;
|
|
4568
|
+
/** Only callouts from this rolling window. Omit for all time. */
|
|
4569
|
+
window?: CalloutWindow | null;
|
|
4570
|
+
}
|
|
4571
|
+
export interface UserCoinCalloutParams {
|
|
4572
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4573
|
+
address: string;
|
|
4574
|
+
/** Token mint address. */
|
|
4575
|
+
mint: string;
|
|
4576
|
+
/** Quote posts of the callout to include. */
|
|
4577
|
+
quotes_limit?: number | null;
|
|
4578
|
+
}
|
|
4579
|
+
export interface UserCreatedCoinsParams {
|
|
4580
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
4581
|
+
address: string;
|
|
4582
|
+
/** Include coins flagged not-safe-for-work. */
|
|
4583
|
+
include_nsfw?: boolean;
|
|
4584
|
+
/** Maximum coins to return. pump.fun serves 50 at most. */
|
|
4585
|
+
limit?: number;
|
|
4586
|
+
/** Rows to skip. */
|
|
4587
|
+
offset?: number;
|
|
4588
|
+
}
|
|
4589
|
+
export interface UserOverviewParams {
|
|
4590
|
+
/** Solana wallet address or pump.fun user id (UUID). pump.fun refuses EVM wallets here. */
|
|
4591
|
+
address: string;
|
|
4592
|
+
}
|
|
4593
|
+
export interface UserParams {
|
|
4594
|
+
/** Wallet address (Solana or EVM), pump.fun user id or username. */
|
|
4595
|
+
address: string;
|
|
4596
|
+
}
|
|
4597
|
+
export interface UserPortfolioParams {
|
|
4598
|
+
/** Wallet address (Solana or EVM), pump.fun user id or squad id (UUIDs). */
|
|
4599
|
+
address: string;
|
|
4600
|
+
/** Only positions on this chain. pump.fun keeps no Monad portfolio. */
|
|
4601
|
+
chain?: NonMonadChain | null;
|
|
4602
|
+
/** Which positions to return. */
|
|
4603
|
+
filter?: PortfolioFilter;
|
|
4604
|
+
/** Drop positions pump.fun groups as spam before paging. */
|
|
4605
|
+
filter_spam?: boolean | null;
|
|
4606
|
+
/** Zero-based page index. */
|
|
4607
|
+
page?: number;
|
|
4608
|
+
/** Positions per page. */
|
|
4609
|
+
page_size?: number;
|
|
4610
|
+
/** Ranking column. */
|
|
4611
|
+
sort_by?: PortfolioSort;
|
|
4612
|
+
/** Return only the spam group. Cannot be combined with `filter_spam`. */
|
|
4613
|
+
spam_only?: boolean | null;
|
|
4614
|
+
/** Return the summary only (position count), without positions. */
|
|
4615
|
+
total_only?: boolean | null;
|
|
4616
|
+
}
|
|
4617
|
+
export interface UserPositionsParams {
|
|
4618
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4619
|
+
address: string;
|
|
4620
|
+
/** Token mint addresses to resolve. */
|
|
4621
|
+
mints: string[];
|
|
4622
|
+
/** Number of recent position updates to inline. */
|
|
4623
|
+
updates_limit?: number;
|
|
4624
|
+
}
|
|
4625
|
+
export type UserReplyFilter = "ALL" | "REPLIES" | "QUOTES";
|
|
4626
|
+
export interface UserRepostsParams {
|
|
4627
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4628
|
+
address: string;
|
|
4629
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
4630
|
+
cursor?: string | null;
|
|
4631
|
+
/** Interleave the wallet's quote posts. */
|
|
4632
|
+
include_quotes?: boolean;
|
|
4633
|
+
/** Maximum reposts to return. */
|
|
4634
|
+
limit?: number;
|
|
4635
|
+
}
|
|
4636
|
+
export type UserTradeType = "trades" | "transfers";
|
|
4637
|
+
export interface UserTradesParams {
|
|
4638
|
+
/** Wallet address (Solana or EVM) or pump.fun user id (UUID). */
|
|
4639
|
+
address: string;
|
|
4640
|
+
/** Only trades on this chain. pump.fun serves no Monad trades here. */
|
|
4641
|
+
chain?: NonMonadChain | null;
|
|
4642
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
4643
|
+
cursor?: string | null;
|
|
4644
|
+
/** Maximum trades to return. */
|
|
4645
|
+
limit?: number;
|
|
4646
|
+
/** Only trades in this coin (Solana mint or EVM token). */
|
|
4647
|
+
mint?: string | null;
|
|
4648
|
+
/** Row kinds. Add `transfers` to interleave wallet transfers; each row then carries `kind`. */
|
|
4649
|
+
types?: UserTradeType[] | null;
|
|
4650
|
+
}
|
|
4651
|
+
export interface UsernameExistsParams {
|
|
4652
|
+
/** Username. */
|
|
4653
|
+
username: string;
|
|
4654
|
+
}
|
|
4655
|
+
export interface UsersBatch {
|
|
4656
|
+
address: string;
|
|
4657
|
+
avatar_decoration?: string | null;
|
|
4658
|
+
bio: string | null;
|
|
4659
|
+
followers: number;
|
|
4660
|
+
following: number;
|
|
4661
|
+
group_badges: GroupBadge[];
|
|
4662
|
+
is_banned?: boolean;
|
|
4663
|
+
is_pump_user: boolean;
|
|
4664
|
+
profile_image: string;
|
|
4665
|
+
userId: string;
|
|
4666
|
+
username: string;
|
|
4667
|
+
x_username: string | null;
|
|
4668
|
+
}
|
|
4669
|
+
export interface UsersParams {
|
|
4670
|
+
/** Maximum profiles to return. */
|
|
4671
|
+
limit?: number;
|
|
4672
|
+
/** Rows to skip. pump.fun stops at 10,000. */
|
|
4673
|
+
offset?: number;
|
|
4674
|
+
}
|
|
4675
|
+
export interface VanityCheckParams {
|
|
4676
|
+
/** Coin address: a Solana mint or an EVM token (0x). */
|
|
4677
|
+
mint: string;
|
|
4678
|
+
}
|
|
4679
|
+
export interface Verification {
|
|
4680
|
+
qr: Qr;
|
|
4681
|
+
required: boolean;
|
|
4682
|
+
}
|
|
4683
|
+
export interface VideoFeed {
|
|
4684
|
+
clip?: ClipsById;
|
|
4685
|
+
coin: VideoFeedCoin;
|
|
4686
|
+
feedItemType: string;
|
|
4687
|
+
}
|
|
4688
|
+
export interface VideoFeedCoin {
|
|
4689
|
+
associated_bonding_curve: string;
|
|
4690
|
+
ath_market_cap?: number;
|
|
4691
|
+
ath_market_cap_timestamp?: number;
|
|
4692
|
+
banner_uri?: string;
|
|
4693
|
+
base_decimals?: number;
|
|
4694
|
+
bonding_curve: string;
|
|
4695
|
+
boost_mode: string;
|
|
4696
|
+
chain_id: string;
|
|
4697
|
+
complete: boolean;
|
|
4698
|
+
created_timestamp: number;
|
|
4699
|
+
creator: string;
|
|
4700
|
+
cto_address?: string;
|
|
4701
|
+
depth: number;
|
|
4702
|
+
description?: string;
|
|
4703
|
+
downrank_score?: number;
|
|
4704
|
+
hide_banner: boolean;
|
|
4705
|
+
image_uri: string;
|
|
4706
|
+
initialized: boolean;
|
|
4707
|
+
inverted?: boolean;
|
|
4708
|
+
is_banned: boolean;
|
|
4709
|
+
is_cashback_enabled: boolean;
|
|
4710
|
+
is_charity?: boolean;
|
|
4711
|
+
is_currently_live: boolean;
|
|
4712
|
+
is_holder_reward: boolean;
|
|
4713
|
+
king_of_the_hill_timestamp?: number;
|
|
4714
|
+
last_reply?: number;
|
|
4715
|
+
last_trade_timestamp?: number;
|
|
4716
|
+
livestream_ban_expiry: number;
|
|
4717
|
+
livestream_title?: string;
|
|
4718
|
+
market_cap?: number;
|
|
4719
|
+
market_cap_quote?: number;
|
|
4720
|
+
market_cap_usd?: number;
|
|
4721
|
+
mayhem?: Mayhem;
|
|
4722
|
+
mayhem_state?: string;
|
|
4723
|
+
metadata_uri: string;
|
|
4724
|
+
mint: string;
|
|
4725
|
+
multichain_family: number;
|
|
4726
|
+
name: string;
|
|
4727
|
+
nsfw: boolean;
|
|
4728
|
+
num_participants?: number;
|
|
4729
|
+
playlist_status?: string | null;
|
|
4730
|
+
playlist_updated_at?: string | null;
|
|
4731
|
+
playlist_url?: string | null;
|
|
4732
|
+
playlist_url_high?: string | null;
|
|
4733
|
+
playlist_url_low?: string | null;
|
|
4734
|
+
pool_address?: string;
|
|
4735
|
+
program: string;
|
|
4736
|
+
protocol: string;
|
|
4737
|
+
pump_swap_pool?: string;
|
|
4738
|
+
quote_decimals?: number;
|
|
4739
|
+
quote_mint?: string;
|
|
4740
|
+
quote_token_program?: string;
|
|
4741
|
+
real_quote_reserves: number;
|
|
4742
|
+
real_sol_reserves: number;
|
|
4743
|
+
real_token_reserves: number;
|
|
4744
|
+
reply_count: number;
|
|
4745
|
+
security_verdict?: SecurityVerdict;
|
|
4746
|
+
show_name: boolean;
|
|
4747
|
+
symbol: string;
|
|
4748
|
+
telegram?: string;
|
|
4749
|
+
thumbnail?: string;
|
|
4750
|
+
thumbnail_updated_at?: number;
|
|
4751
|
+
token_program?: string;
|
|
4752
|
+
total_supply: number;
|
|
4753
|
+
total_supply_str: string;
|
|
4754
|
+
transfer_fee_bps?: number;
|
|
4755
|
+
transfer_hook_program?: string;
|
|
4756
|
+
twitter?: string;
|
|
4757
|
+
updated_at: number;
|
|
4758
|
+
usd_market_cap?: number;
|
|
4759
|
+
verified: boolean;
|
|
4760
|
+
virtual_quote_reserves: number;
|
|
4761
|
+
virtual_sol_reserves: number;
|
|
4762
|
+
virtual_token_reserves: number;
|
|
4763
|
+
vod_playlist_url?: string | null;
|
|
4764
|
+
website?: string;
|
|
4765
|
+
}
|
|
4766
|
+
export type VodPeriod = "hourly" | "daily" | "weekly" | "monthly";
|
|
4767
|
+
export interface WalletAddressListRequest {
|
|
4768
|
+
/** Wallet addresses, 1 to 100. */
|
|
4769
|
+
addresses: string[];
|
|
4770
|
+
}
|
|
4771
|
+
export interface WalletBalanceSummaryParams {
|
|
4772
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
4773
|
+
address: string;
|
|
4774
|
+
/** Aggregate balances across every supported chain. */
|
|
4775
|
+
multi_chain?: boolean;
|
|
4776
|
+
}
|
|
4777
|
+
export interface WalletBalancesParams {
|
|
4778
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
4779
|
+
address: string;
|
|
4780
|
+
/** Restrict to one chain, or `all` for every chain. Omit for Solana tokens only. pump.fun spells HyperEVM `hype`. */
|
|
4781
|
+
chain?: BalanceChain | null;
|
|
4782
|
+
/** One-based page index. */
|
|
4783
|
+
page?: number;
|
|
4784
|
+
/** Balances per page. */
|
|
4785
|
+
size?: number;
|
|
4786
|
+
}
|
|
4787
|
+
export interface WalletEntry {
|
|
4788
|
+
first_tx_timestamp: number;
|
|
4789
|
+
native_balance_sol?: number;
|
|
4790
|
+
sol_price_usd?: number;
|
|
4791
|
+
total_value_usd: number;
|
|
4792
|
+
truncated?: boolean;
|
|
4793
|
+
unavailable_chains?: unknown[];
|
|
4794
|
+
}
|
|
4795
|
+
export interface WalletListRequest {
|
|
4796
|
+
/** Solana wallet addresses, 1 to 50. pump.fun refuses the whole batch if any wallet is an EVM address. */
|
|
4797
|
+
wallets: string[];
|
|
4798
|
+
}
|
|
4799
|
+
export interface WalletPnlBatchParams {
|
|
4800
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
4801
|
+
address: string;
|
|
4802
|
+
}
|
|
4803
|
+
export interface WalletPnlBatchRequest {
|
|
4804
|
+
/** Solana mint addresses, 1 to 50. pump.fun refuses EVM tokens here. */
|
|
4805
|
+
mints: string[];
|
|
4806
|
+
}
|
|
4807
|
+
export interface WalletScreeningParams {
|
|
4808
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
4809
|
+
address: string;
|
|
4810
|
+
}
|
|
4811
|
+
export interface WalletTokenPnlParams {
|
|
4812
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
4813
|
+
address: string;
|
|
4814
|
+
/** Solana mint address. pump.fun refuses EVM tokens here. */
|
|
4815
|
+
mint: string;
|
|
4816
|
+
}
|
|
4817
|
+
export interface WalletTradesParams {
|
|
4818
|
+
/** Wallet address, Solana or EVM (0x). */
|
|
4819
|
+
address: string;
|
|
4820
|
+
/** Chain of an EVM coin. Omit for Solana. When set, the wallet and the coin must both be addresses on that chain. */
|
|
4821
|
+
chain?: TokenChain | null;
|
|
4822
|
+
/** `nextCursor` from the previous page; omit for the first page. */
|
|
4823
|
+
cursor?: string | null;
|
|
4824
|
+
/** Maximum trades to return. */
|
|
4825
|
+
limit?: number;
|
|
4826
|
+
/** Coin address: a Solana mint, or an EVM token for an EVM wallet. */
|
|
4827
|
+
mint: string;
|
|
4828
|
+
}
|
|
4829
|
+
export interface WalletTransactionsParams {
|
|
4830
|
+
/** Solana wallet address. pump.fun refuses EVM wallets here. */
|
|
4831
|
+
address: string;
|
|
4832
|
+
/** Cursor from a previous page. */
|
|
4833
|
+
cursor?: string | null;
|
|
4834
|
+
/** Drop dust-sized transactions. */
|
|
4835
|
+
dust_filter?: boolean;
|
|
4836
|
+
/** Include EVM chains alongside Solana. */
|
|
4837
|
+
include_evm?: boolean;
|
|
4838
|
+
}
|
|
4839
|
+
export interface Weekly {
|
|
4840
|
+
top10: LeaderboardTierStats;
|
|
4841
|
+
top25: LeaderboardTierStats;
|
|
4842
|
+
top50: LeaderboardTierStats;
|
|
4843
|
+
}
|
|
4844
|
+
export interface Winner {
|
|
4845
|
+
address: string;
|
|
4846
|
+
amountToPayAtomic: string;
|
|
4847
|
+
claimAmountAtomic?: string;
|
|
4848
|
+
claimSignature?: string;
|
|
4849
|
+
claimedAt?: string;
|
|
4850
|
+
mintAddress: string;
|
|
4851
|
+
submissionId: string;
|
|
4852
|
+
}
|
|
4853
|
+
//# sourceMappingURL=types.d.ts.map
|