@xoxno/sdk-js 1.0.26 → 1.0.28
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 +494 -497
- package/dist/sdk/swagger.d.ts +2 -2
- package/dist/sdk/types.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ async function main() {
|
|
|
36
36
|
|
|
37
37
|
console.log(collectionProfile.description) // string
|
|
38
38
|
|
|
39
|
-
// ... and many more!
|
|
39
|
+
// ... and many more!
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
main()
|
|
@@ -44,7 +44,7 @@ main()
|
|
|
44
44
|
|
|
45
45
|
## Calling restricted endpoints
|
|
46
46
|
|
|
47
|
-
Apart from the public endpoints that anyone can call, The XOXNO SDK also exposes `POST`, `PUT`, `PATCH` and `DELETE` endpoints that can be called by the respective logged in user. Here's how a flow looks like that obtains a
|
|
47
|
+
Apart from the public endpoints that anyone can call, The XOXNO SDK also exposes `POST`, `PUT`, `PATCH` and `DELETE` endpoints that can be called by the respective logged in user. Here's how a flow looks like that obtains a **XOXNO Auth Token** when logging in with a MultiversX wallet, that can be used for 24h to make authenticated requests:
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
// native-auth.ts
|
|
@@ -103,11 +103,8 @@ async function main() {
|
|
|
103
103
|
loginMethod,
|
|
104
104
|
})
|
|
105
105
|
|
|
106
|
-
/* every time you login with a MultiversX provider, be it Extension, xPortal, Web Wallet or Ledger,
|
|
107
|
-
you have the possibility to pass a loginToken, and get back address and signature */
|
|
108
106
|
const { address, signature } = await provider.login({ token })
|
|
109
107
|
|
|
110
|
-
// obtain the accessToken that is exchanged for a XOXNO Auth Token
|
|
111
108
|
const { loginToken } = nativeAuthClient.getToken(address, token, signature!)
|
|
112
109
|
|
|
113
110
|
const { access_token, expires } = await sdk.user.login.POST({
|
|
@@ -157,766 +154,766 @@ sdk.drops.creatorTag('MiceCityClub').collectionTag('MiceCity').dropInfo()
|
|
|
157
154
|
For your reference, here is a list of all endpoints that are available:
|
|
158
155
|
|
|
159
156
|
```typescript
|
|
160
|
-
//
|
|
161
|
-
sdk.
|
|
162
|
-
|
|
163
|
-
// DELETE /event/:eventId/guest
|
|
164
|
-
sdk.event.eventId("...").guest.DELETE(...); // SuccessDto
|
|
165
|
-
|
|
166
|
-
// DELETE /event/:eventId/invite/:inviteId
|
|
167
|
-
sdk.event.eventId("...").invite.inviteId("...").DELETE(...); // EventInvitationDoc
|
|
168
|
-
|
|
169
|
-
// DELETE /event/:eventId/question/:questionId
|
|
170
|
-
sdk.event.eventId("...").question.questionId("...").DELETE(...); // SuccessDto
|
|
171
|
-
|
|
172
|
-
// DELETE /event/:eventId/referral-config/:configId
|
|
173
|
-
sdk.event.eventId("...").referralConfig.configId("...").DELETE(...); // EventReferralConfigDoc
|
|
174
|
-
|
|
175
|
-
// DELETE /event/:eventId/referral/:referralCode
|
|
176
|
-
sdk.event.eventId("...").referral.referralCode("...").DELETE(...); // EventReferralDoc
|
|
177
|
-
|
|
178
|
-
// DELETE /event/:eventId/role/:address
|
|
179
|
-
sdk.event.eventId("...").role.address("...").DELETE(...); // SuccessDto
|
|
180
|
-
|
|
181
|
-
// DELETE /event/:eventId/stage/:stageId
|
|
182
|
-
sdk.event.eventId("...").stage.stageId("...").DELETE(...); // SuccessDto
|
|
183
|
-
|
|
184
|
-
// DELETE /event/:eventId/voucher/:voucherCode
|
|
185
|
-
sdk.event.eventId("...").voucher.voucherCode("...").DELETE(...); // EventVoucherDoc
|
|
186
|
-
|
|
187
|
-
// DELETE /mobile/device/:deviceId
|
|
188
|
-
sdk.mobile.device.deviceId("...").DELETE(...); // SuccessDto
|
|
189
|
-
|
|
190
|
-
// DELETE /mobile/history/clear-all
|
|
191
|
-
sdk.mobile.history.clearAll.DELETE(...); // NotificationSuccessResponseDto
|
|
192
|
-
|
|
193
|
-
// DELETE /mobile/history/clear-id/:notificationId
|
|
194
|
-
sdk.mobile.history.clearId.notificationId("...").DELETE(...); // NotificationSuccessResponseDto
|
|
195
|
-
|
|
196
|
-
// DELETE /user/chat/conversation/:conversationId
|
|
197
|
-
sdk.user.chat.conversation.conversationId("...").DELETE(...); // SuccessDto
|
|
198
|
-
|
|
199
|
-
// DELETE /user/chat/conversation/:conversationId/message/:messageId
|
|
200
|
-
sdk.user.chat.conversation.conversationId("...").message.messageId("...").DELETE(...); // SuccessDto
|
|
201
|
-
|
|
202
|
-
// DELETE /user/me/settings/email
|
|
203
|
-
sdk.user.me.settings.email.DELETE(...); // UserSettingsDoc
|
|
204
|
-
|
|
205
|
-
// DELETE /user/notifications/clear
|
|
206
|
-
sdk.user.notifications.clear.DELETE(...); // SuccessDto
|
|
207
|
-
|
|
208
|
-
// DELETE /user/web2/:index/wallet-link
|
|
209
|
-
sdk.user.web2.index("...").walletLink.DELETE(...); // Web2UserDoc
|
|
157
|
+
// GET /activity/query
|
|
158
|
+
sdk.activity.query(...); // NftActivityPaginated
|
|
210
159
|
|
|
211
160
|
// GET /activity/:identifier
|
|
212
161
|
sdk.activity.identifier("...")(...); // NftActivityDocHydrated
|
|
213
162
|
|
|
214
|
-
// GET /activity/query
|
|
215
|
-
sdk.activity.query(...); // NftActivityPaginated
|
|
216
|
-
|
|
217
163
|
// GET /analytics/marketplace-unique-users
|
|
218
164
|
sdk.analytics.marketplaceUniqueUsers(...); // AnalyticsMarketplaceUniqueUsers[]
|
|
219
165
|
|
|
220
|
-
// GET /analytics/overview
|
|
221
|
-
sdk.analytics.overview(...); // GlobalAnalyticsOverviewResponseDto
|
|
222
|
-
|
|
223
166
|
// GET /analytics/volume
|
|
224
167
|
sdk.analytics.volume(...); // VolumeGraph[]
|
|
225
168
|
|
|
169
|
+
// GET /analytics/overview
|
|
170
|
+
sdk.analytics.overview(...); // GlobalAnalyticsOverviewResponseDto
|
|
171
|
+
|
|
226
172
|
// GET /arda/max-token-quantity
|
|
227
173
|
sdk.arda.maxTokenQuantity(...); // ArdaSwapResultDto
|
|
228
174
|
|
|
229
175
|
// GET /arda/min-token-quantity
|
|
230
176
|
sdk.arda.minTokenQuantity(...); // ArdaSwapResultDto
|
|
231
177
|
|
|
232
|
-
// GET /ash/max-token-quantity
|
|
233
|
-
sdk.ash.maxTokenQuantity(...); // FetchSwapRoutesResponseDto
|
|
234
|
-
|
|
235
178
|
// GET /ash/min-token-quantity
|
|
236
179
|
sdk.ash.minTokenQuantity(...); // FetchSwapRoutesResponseDto
|
|
237
180
|
|
|
238
|
-
// GET /
|
|
239
|
-
sdk.
|
|
181
|
+
// GET /ash/max-token-quantity
|
|
182
|
+
sdk.ash.maxTokenQuantity(...); // FetchSwapRoutesResponseDto
|
|
240
183
|
|
|
241
184
|
// GET /collection/:collection/attributes
|
|
242
185
|
sdk.collection.collection("...").attributes(...); // Record<string
|
|
243
186
|
|
|
244
|
-
// GET /collection/:collection/
|
|
245
|
-
sdk.collection.collection("...").
|
|
187
|
+
// GET /collection/:collection/ranks
|
|
188
|
+
sdk.collection.collection("...").ranks(...); // CollectionRanksDTO[]
|
|
246
189
|
|
|
247
|
-
// GET /collection/:collection/
|
|
248
|
-
sdk.collection.collection("...").
|
|
190
|
+
// GET /collection/:collection/listings
|
|
191
|
+
sdk.collection.collection("...").listings(...); // ListingsResponseDto
|
|
249
192
|
|
|
250
|
-
//
|
|
251
|
-
sdk.collection.collection("...").
|
|
193
|
+
// POST /collection/:collection/sign-offer
|
|
194
|
+
sdk.collection.collection("...").signOffer.POST(...); // SignDataDto
|
|
252
195
|
|
|
253
|
-
//
|
|
254
|
-
sdk.collection.collection("...").
|
|
196
|
+
// POST /collection/:collection/sign-mint
|
|
197
|
+
sdk.collection.collection("...").signMint.POST(...); // SignDataDto
|
|
255
198
|
|
|
256
|
-
// GET /collection/:collection/
|
|
257
|
-
sdk.collection.collection("...").
|
|
199
|
+
// GET /collection/:collection/profile
|
|
200
|
+
sdk.collection.collection("...").profile(...); // CollectionProfileDoc
|
|
258
201
|
|
|
259
|
-
//
|
|
260
|
-
sdk.collection.collection("...").
|
|
202
|
+
// PATCH /collection/:collection/profile
|
|
203
|
+
sdk.collection.collection("...").profile.PATCH(...); // CollectionProfileDoc
|
|
261
204
|
|
|
262
|
-
// GET /collection/:collection/
|
|
263
|
-
sdk.collection.collection("...").
|
|
205
|
+
// GET /collection/:collection/floor-price
|
|
206
|
+
sdk.collection.collection("...").floorPrice(...); // FloorPriceDto
|
|
207
|
+
|
|
208
|
+
// GET /collection/floor-price
|
|
209
|
+
sdk.collection.floorPrice(...); // Record<string
|
|
210
|
+
|
|
211
|
+
// GET /collection/pinned
|
|
212
|
+
sdk.collection.pinned(...); // PinnedCollectionDto[]
|
|
213
|
+
|
|
214
|
+
// GET /collection/pinned-drops
|
|
215
|
+
sdk.collection.pinnedDrops(...); // CollectionMintProfileDocHydrated[]
|
|
264
216
|
|
|
265
217
|
// GET /collection/:collection/pinned-drops
|
|
266
218
|
sdk.collection.collection("...").pinnedDrops(...); // CollectionPinnedStatusDto
|
|
267
219
|
|
|
268
|
-
// GET /collection/:collection/
|
|
269
|
-
sdk.collection.collection("...").
|
|
220
|
+
// GET /collection/:collection/pinned
|
|
221
|
+
sdk.collection.collection("...").pinned(...); // CollectionPinnedStatusDto
|
|
270
222
|
|
|
271
|
-
//
|
|
272
|
-
sdk.collection.collection("...").
|
|
223
|
+
// POST /collection/:collection/follow
|
|
224
|
+
sdk.collection.collection("...").follow.POST(...); // FollowCollectionDto
|
|
273
225
|
|
|
274
|
-
// GET /collection
|
|
275
|
-
sdk.collection.
|
|
226
|
+
// GET /collection/query
|
|
227
|
+
sdk.collection.query(...); // CollectionProfilePaginated
|
|
276
228
|
|
|
277
|
-
// GET /collection
|
|
278
|
-
sdk.collection.
|
|
229
|
+
// GET /collection/drops/query
|
|
230
|
+
sdk.collection.drops.query(...); // CollectionMintProfilePaginated
|
|
279
231
|
|
|
280
|
-
// GET /collection/:collection/
|
|
281
|
-
sdk.collection.collection("...").
|
|
232
|
+
// GET /collection/:collection/drop-info
|
|
233
|
+
sdk.collection.collection("...").dropInfo(...); // CollectionMintProfileDocWithStages
|
|
282
234
|
|
|
283
235
|
// GET /collection/:creatorTag/:collectionTag/drop-info
|
|
284
236
|
sdk.collection.creatorTag("...").collectionTag("...").dropInfo(...); // CollectionMintProfileDocWithStages
|
|
285
237
|
|
|
286
|
-
//
|
|
287
|
-
sdk.collection.
|
|
238
|
+
// PUT /collection/:collection/upload-picture
|
|
239
|
+
sdk.collection.collection("...").uploadPicture.PUT(...); // CollectionProfileDoc
|
|
288
240
|
|
|
289
|
-
//
|
|
290
|
-
sdk.collection.
|
|
241
|
+
// PUT /collection/:collection/upload-banner
|
|
242
|
+
sdk.collection.collection("...").uploadBanner.PUT(...); // CollectionProfileDoc
|
|
291
243
|
|
|
292
|
-
//
|
|
293
|
-
sdk.collection.
|
|
244
|
+
// PUT /collection/:collection/reset-picture
|
|
245
|
+
sdk.collection.collection("...").resetPicture.PUT(...); // CollectionProfileDoc
|
|
246
|
+
|
|
247
|
+
// PUT /collection/:collection/reset-banner
|
|
248
|
+
sdk.collection.collection("...").resetBanner.PUT(...); // CollectionProfileDoc
|
|
249
|
+
|
|
250
|
+
// GET /collection/:collection/holders
|
|
251
|
+
sdk.collection.collection("...").holders(...); // CollectionHoldersDto
|
|
252
|
+
|
|
253
|
+
// GET /collection/:collection/holders/export
|
|
254
|
+
sdk.collection.collection("...").holders.export(...); // CollectionHoldersExportDto[]
|
|
255
|
+
|
|
256
|
+
// GET /collection/:collection/owner
|
|
257
|
+
sdk.collection.collection("...").owner(...); // CollectionOwnerDto
|
|
258
|
+
|
|
259
|
+
// GET /collection/:collection/stats
|
|
260
|
+
sdk.collection.collection("...").stats(...); // CollectionStatsDocHydrated
|
|
261
|
+
|
|
262
|
+
// GET /collection/stats/query
|
|
263
|
+
sdk.collection.stats.query(...); // CollectionStatsPaginated
|
|
294
264
|
|
|
295
265
|
// GET /collection/global-offer/query
|
|
296
266
|
sdk.collection.globalOffer.query(...); // GlobalOfferPaginated
|
|
297
267
|
|
|
298
|
-
// GET /collection/
|
|
299
|
-
sdk.collection.
|
|
268
|
+
// GET /collection/:collection/staking/summary
|
|
269
|
+
sdk.collection.collection("...").staking.summary(...); // StakingSummary[]
|
|
300
270
|
|
|
301
|
-
// GET /collection/
|
|
302
|
-
sdk.collection.
|
|
271
|
+
// GET /collection/:collection/staking/delegators
|
|
272
|
+
sdk.collection.collection("...").staking.delegators(...); // string[]
|
|
303
273
|
|
|
304
|
-
// GET /collection/
|
|
305
|
-
sdk.collection.
|
|
274
|
+
// GET /collection/staking/explore
|
|
275
|
+
sdk.collection.staking.explore(...); // StakingExploreDtoHydrated[]
|
|
306
276
|
|
|
307
277
|
// GET /collection/search
|
|
308
278
|
sdk.collection.search(...); // GlobalSearchResourcesPaginated
|
|
309
279
|
|
|
310
|
-
// GET /collection/
|
|
311
|
-
sdk.collection.
|
|
280
|
+
// GET /collection/drops/search
|
|
281
|
+
sdk.collection.drops.search(...); // CollectionMintProfilePaginated
|
|
312
282
|
|
|
313
|
-
// GET /collection/
|
|
314
|
-
sdk.collection.
|
|
283
|
+
// GET /collection/:collection/analytics/volume
|
|
284
|
+
sdk.collection.collection("...").analytics.volume(...); // AnalyticsVolumeDto[]
|
|
315
285
|
|
|
316
286
|
// GET /countries
|
|
317
287
|
sdk.countries(...); // string[]
|
|
318
288
|
|
|
289
|
+
// POST /event
|
|
290
|
+
sdk.event.POST(...); // EventProfile
|
|
291
|
+
|
|
319
292
|
// GET /event/:eventId
|
|
320
293
|
sdk.event.eventId("...")(...); // EventProfile
|
|
321
294
|
|
|
322
|
-
//
|
|
323
|
-
sdk.event.eventId("...").
|
|
295
|
+
// PATCH /event/:eventId
|
|
296
|
+
sdk.event.eventId("...").PATCH(...); // EventProfile
|
|
324
297
|
|
|
325
|
-
// GET /event
|
|
326
|
-
sdk.event.
|
|
298
|
+
// GET /event/profile/query
|
|
299
|
+
sdk.event.profile.query(...); // EventProfileQuery
|
|
327
300
|
|
|
328
|
-
//
|
|
329
|
-
sdk.event.eventId("...").
|
|
301
|
+
// PUT /event/:eventId/profile
|
|
302
|
+
sdk.event.eventId("...").profile.PUT(...); // EventProfile
|
|
330
303
|
|
|
331
|
-
//
|
|
332
|
-
sdk.event.eventId("...").
|
|
304
|
+
// PUT /event/:eventId/background
|
|
305
|
+
sdk.event.eventId("...").background.PUT(...); // EventProfile
|
|
333
306
|
|
|
334
|
-
//
|
|
335
|
-
sdk.event.eventId("...").
|
|
307
|
+
// PUT /event/:eventId/description
|
|
308
|
+
sdk.event.eventId("...").description.PUT(...); // EventProfile
|
|
336
309
|
|
|
337
|
-
//
|
|
338
|
-
sdk.event.eventId("...").
|
|
310
|
+
// PUT /event/:eventId/description/image
|
|
311
|
+
sdk.event.eventId("...").description.image.PUT(...); // string
|
|
339
312
|
|
|
340
|
-
//
|
|
341
|
-
sdk.event.eventId("...").
|
|
313
|
+
// DELETE /event/:eventId/description/image/:imageId
|
|
314
|
+
sdk.event.eventId("...").description.image.imageId("...").DELETE(...); // SuccessDto
|
|
342
315
|
|
|
343
|
-
//
|
|
344
|
-
sdk.event.eventId("...").
|
|
316
|
+
// POST /event/:eventId/register
|
|
317
|
+
sdk.event.eventId("...").register.POST(...); // EventRegistrationResponseDto
|
|
345
318
|
|
|
346
|
-
// GET /event/:eventId/
|
|
347
|
-
sdk.event.eventId("...").
|
|
319
|
+
// GET /event/:eventId/ticket
|
|
320
|
+
sdk.event.eventId("...").ticket(...); // EventTicketProfileDoc[]
|
|
348
321
|
|
|
349
|
-
//
|
|
350
|
-
sdk.event.eventId("...").
|
|
322
|
+
// POST /event/:eventId/ticket
|
|
323
|
+
sdk.event.eventId("...").ticket.POST(...); // EventTicketProfileDoc
|
|
351
324
|
|
|
352
|
-
// GET /event/:eventId/
|
|
353
|
-
sdk.event.eventId("...").
|
|
325
|
+
// GET /event/:eventId/ticket/:ticketId
|
|
326
|
+
sdk.event.eventId("...").ticket.ticketId("...")(...); // EventTicketProfileDoc
|
|
354
327
|
|
|
355
|
-
//
|
|
356
|
-
sdk.event.eventId("...").
|
|
328
|
+
// POST /event/:eventId/ticket/:ticketId
|
|
329
|
+
sdk.event.eventId("...").ticket.ticketId("...").POST(...); // SuccessDto
|
|
357
330
|
|
|
358
|
-
//
|
|
359
|
-
sdk.event.eventId("...").
|
|
331
|
+
// PATCH /event/:eventId/ticket/:ticketId
|
|
332
|
+
sdk.event.eventId("...").ticket.ticketId("...").PATCH(...); // EventTicketProfileDoc
|
|
360
333
|
|
|
361
|
-
//
|
|
362
|
-
sdk.event.eventId("...").
|
|
334
|
+
// PUT /event/:eventId/ticket/:ticketId
|
|
335
|
+
sdk.event.eventId("...").ticket.ticketId("...").PUT(...); // EventTicketProfileDoc
|
|
363
336
|
|
|
364
337
|
// GET /event/:eventId/stage
|
|
365
338
|
sdk.event.eventId("...").stage(...); // EventStageProfileDoc[]
|
|
366
339
|
|
|
340
|
+
// POST /event/:eventId/stage
|
|
341
|
+
sdk.event.eventId("...").stage.POST(...); // EventStageProfileDoc
|
|
342
|
+
|
|
367
343
|
// GET /event/:eventId/stage/:stageId
|
|
368
344
|
sdk.event.eventId("...").stage.stageId("...")(...); // EventStageProfileDoc
|
|
369
345
|
|
|
370
|
-
//
|
|
371
|
-
sdk.event.eventId("...").
|
|
372
|
-
|
|
373
|
-
// GET /event/:eventId/ticket/:ticketId
|
|
374
|
-
sdk.event.eventId("...").ticket.ticketId("...")(...); // EventTicketProfileDoc
|
|
346
|
+
// PATCH /event/:eventId/stage/:stageId
|
|
347
|
+
sdk.event.eventId("...").stage.stageId("...").PATCH(...); // EventStageProfileDoc
|
|
375
348
|
|
|
376
|
-
//
|
|
377
|
-
sdk.event.eventId("...").
|
|
349
|
+
// DELETE /event/:eventId/stage/:stageId
|
|
350
|
+
sdk.event.eventId("...").stage.stageId("...").DELETE(...); // SuccessDto
|
|
378
351
|
|
|
379
|
-
//
|
|
380
|
-
sdk.event.
|
|
352
|
+
// POST /event/:eventId/calculate-prices
|
|
353
|
+
sdk.event.eventId("...").calculatePrices.POST(...); // TicketPricesResponse
|
|
381
354
|
|
|
382
|
-
//
|
|
383
|
-
sdk.event.
|
|
355
|
+
// POST /event/:eventId/validate-discount
|
|
356
|
+
sdk.event.eventId("...").validateDiscount.POST(...); // DiscountCodeValidationResponse
|
|
384
357
|
|
|
385
|
-
//
|
|
386
|
-
sdk.
|
|
358
|
+
// POST /event/:eventId/invite
|
|
359
|
+
sdk.event.eventId("...").invite.POST(...); // EventInvitationDoc[]
|
|
387
360
|
|
|
388
|
-
// GET /
|
|
389
|
-
sdk.
|
|
361
|
+
// GET /event/:eventId/invite/query
|
|
362
|
+
sdk.event.eventId("...").invite.query(...); // EventInvitationQuery
|
|
390
363
|
|
|
391
|
-
// GET /
|
|
392
|
-
sdk.
|
|
364
|
+
// GET /event/:eventId/invite/:inviteId
|
|
365
|
+
sdk.event.eventId("...").invite.inviteId("...")(...); // EventInvitation
|
|
393
366
|
|
|
394
|
-
//
|
|
395
|
-
sdk.
|
|
367
|
+
// POST /event/:eventId/invite/:inviteId
|
|
368
|
+
sdk.event.eventId("...").invite.inviteId("...").POST(...); // EventInvitation
|
|
396
369
|
|
|
397
|
-
//
|
|
398
|
-
sdk.
|
|
370
|
+
// DELETE /event/:eventId/invite/:inviteId
|
|
371
|
+
sdk.event.eventId("...").invite.inviteId("...").DELETE(...); // EventInvitationDoc
|
|
399
372
|
|
|
400
|
-
// GET /
|
|
401
|
-
sdk.
|
|
373
|
+
// GET /event/:eventId/voucher/query
|
|
374
|
+
sdk.event.eventId("...").voucher.query(...); // EventVoucherQuery
|
|
402
375
|
|
|
403
|
-
// GET /
|
|
404
|
-
sdk.
|
|
376
|
+
// GET /event/:eventId/questions
|
|
377
|
+
sdk.event.eventId("...").questions(...); // EventQuestionDoc[]
|
|
405
378
|
|
|
406
|
-
//
|
|
407
|
-
sdk.
|
|
379
|
+
// POST /event/:eventId/question
|
|
380
|
+
sdk.event.eventId("...").question.POST(...); // EventQuestionDoc
|
|
408
381
|
|
|
409
|
-
//
|
|
410
|
-
sdk.
|
|
382
|
+
// PATCH /event/:eventId/question/:questionId
|
|
383
|
+
sdk.event.eventId("...").question.questionId("...").PATCH(...); // EventQuestionDoc
|
|
411
384
|
|
|
412
|
-
//
|
|
413
|
-
sdk.
|
|
385
|
+
// DELETE /event/:eventId/question/:questionId
|
|
386
|
+
sdk.event.eventId("...").question.questionId("...").DELETE(...); // SuccessDto
|
|
414
387
|
|
|
415
|
-
// GET /
|
|
416
|
-
sdk.
|
|
388
|
+
// GET /event/:eventId/guest/query
|
|
389
|
+
sdk.event.eventId("...").guest.query(...); // EventGuestProfileQuery
|
|
417
390
|
|
|
418
|
-
// GET /
|
|
419
|
-
sdk.
|
|
391
|
+
// GET /event/:eventId/guest/:address
|
|
392
|
+
sdk.event.eventId("...").guest.address("...")(...); // EventGuestProfile
|
|
420
393
|
|
|
421
|
-
// GET /
|
|
422
|
-
sdk.
|
|
394
|
+
// GET /event/:eventId/guest-export
|
|
395
|
+
sdk.event.eventId("...").guestExport(...); // EventGuestExport[]
|
|
423
396
|
|
|
424
|
-
// GET /
|
|
425
|
-
sdk.
|
|
397
|
+
// GET /event/:eventId/role
|
|
398
|
+
sdk.event.eventId("...").role(...); // EventUserRole[]
|
|
426
399
|
|
|
427
|
-
//
|
|
428
|
-
sdk.
|
|
400
|
+
// POST /event/:eventId/role
|
|
401
|
+
sdk.event.eventId("...").role.POST(...); // EventUserRole
|
|
429
402
|
|
|
430
|
-
// GET /
|
|
431
|
-
sdk.
|
|
403
|
+
// GET /event/:eventId/role/:address
|
|
404
|
+
sdk.event.eventId("...").role.address("...")(...); // EventUserRoleDoc
|
|
432
405
|
|
|
433
|
-
//
|
|
434
|
-
sdk.
|
|
406
|
+
// DELETE /event/:eventId/role/:address
|
|
407
|
+
sdk.event.eventId("...").role.address("...").DELETE(...); // SuccessDto
|
|
435
408
|
|
|
436
|
-
//
|
|
437
|
-
sdk.
|
|
409
|
+
// DELETE /event/:eventId/guest
|
|
410
|
+
sdk.event.eventId("...").guest.DELETE(...); // SuccessDto
|
|
438
411
|
|
|
439
|
-
//
|
|
440
|
-
sdk.
|
|
412
|
+
// POST /event/:eventId/role/:roleId/accept
|
|
413
|
+
sdk.event.eventId("...").role.roleId("...").accept.POST(...); // EventUserRoleDoc
|
|
441
414
|
|
|
442
|
-
// GET /
|
|
443
|
-
sdk.
|
|
415
|
+
// GET /event/:eventId/roleId/:roleId
|
|
416
|
+
sdk.event.eventId("...").roleId.roleId("...")(...); // EventUserRoleDoc
|
|
444
417
|
|
|
445
|
-
//
|
|
446
|
-
sdk.
|
|
418
|
+
// POST /event/:eventId/scan
|
|
419
|
+
sdk.event.eventId("...").scan.POST(...); // TicketValidationResult
|
|
447
420
|
|
|
448
|
-
//
|
|
449
|
-
sdk.
|
|
421
|
+
// POST /event/:eventId/voucher
|
|
422
|
+
sdk.event.eventId("...").voucher.POST(...); // EventVoucherDoc
|
|
450
423
|
|
|
451
|
-
//
|
|
452
|
-
sdk.
|
|
424
|
+
// PATCH /event/:eventId/voucher/:voucherCode
|
|
425
|
+
sdk.event.eventId("...").voucher.voucherCode("...").PATCH(...); // EventVoucherDoc
|
|
453
426
|
|
|
454
|
-
//
|
|
455
|
-
sdk.
|
|
427
|
+
// DELETE /event/:eventId/voucher/:voucherCode
|
|
428
|
+
sdk.event.eventId("...").voucher.voucherCode("...").DELETE(...); // EventVoucherDoc
|
|
456
429
|
|
|
457
|
-
//
|
|
458
|
-
sdk.
|
|
430
|
+
// POST /event/:eventId/manual-check-in
|
|
431
|
+
sdk.event.eventId("...").manualCheckIn.POST(...); // TicketValidationResult
|
|
459
432
|
|
|
460
|
-
// GET /
|
|
461
|
-
sdk.
|
|
433
|
+
// GET /event/:eventId/answered-questions/:address
|
|
434
|
+
sdk.event.eventId("...").answeredQuestions.address("...")(...); // AnsweredQuestionWithDetails[]
|
|
462
435
|
|
|
463
|
-
//
|
|
464
|
-
sdk.
|
|
436
|
+
// PATCH /event/:eventId/guest/approve
|
|
437
|
+
sdk.event.eventId("...").guest.approve.PATCH(...); // EventGuestProfile[]
|
|
465
438
|
|
|
466
|
-
// GET /
|
|
467
|
-
sdk.
|
|
439
|
+
// GET /event/:eventId/google-pass/:address
|
|
440
|
+
sdk.event.eventId("...").googlePass.address("...")(...); // string[]
|
|
468
441
|
|
|
469
|
-
// GET /
|
|
470
|
-
sdk.
|
|
442
|
+
// GET /event/profile/location
|
|
443
|
+
sdk.event.profile.location(...); // EventCountGroupedByCountry[]
|
|
471
444
|
|
|
472
|
-
//
|
|
473
|
-
sdk.
|
|
445
|
+
// POST /event/:eventId/referral-config
|
|
446
|
+
sdk.event.eventId("...").referralConfig.POST(...); // EventReferralConfigDoc
|
|
474
447
|
|
|
475
|
-
//
|
|
476
|
-
sdk.
|
|
448
|
+
// PATCH /event/:eventId/referral-config/:configId
|
|
449
|
+
sdk.event.eventId("...").referralConfig.configId("...").PATCH(...); // EventReferralConfigDoc
|
|
477
450
|
|
|
478
|
-
//
|
|
479
|
-
sdk.
|
|
451
|
+
// DELETE /event/:eventId/referral-config/:configId
|
|
452
|
+
sdk.event.eventId("...").referralConfig.configId("...").DELETE(...); // EventReferralConfigDoc
|
|
480
453
|
|
|
481
|
-
// GET /
|
|
482
|
-
sdk.
|
|
454
|
+
// GET /event/:eventId/referral-configs
|
|
455
|
+
sdk.event.eventId("...").referralConfigs(...); // EventReferralConfigPaginated
|
|
483
456
|
|
|
484
|
-
//
|
|
485
|
-
sdk.
|
|
457
|
+
// POST /event/:eventId/referral
|
|
458
|
+
sdk.event.eventId("...").referral.POST(...); // EventReferralDoc
|
|
486
459
|
|
|
487
|
-
//
|
|
488
|
-
sdk.
|
|
460
|
+
// PATCH /event/:eventId/referral/:referralCode
|
|
461
|
+
sdk.event.eventId("...").referral.referralCode("...").PATCH(...); // EventReferralDoc
|
|
489
462
|
|
|
490
|
-
//
|
|
491
|
-
sdk.
|
|
463
|
+
// DELETE /event/:eventId/referral/:referralCode
|
|
464
|
+
sdk.event.eventId("...").referral.referralCode("...").DELETE(...); // EventReferralDoc
|
|
492
465
|
|
|
493
|
-
// GET /
|
|
494
|
-
sdk.
|
|
466
|
+
// GET /event/:eventId/referrals
|
|
467
|
+
sdk.event.eventId("...").referrals(...); // EventReferralPaginated
|
|
495
468
|
|
|
496
|
-
// GET /
|
|
497
|
-
sdk.
|
|
469
|
+
// GET /event/:eventId/referrals/self-serviced
|
|
470
|
+
sdk.event.eventId("...").referrals.selfServiced(...); // EventReferralDoc[]
|
|
498
471
|
|
|
499
|
-
//
|
|
500
|
-
sdk.
|
|
472
|
+
// POST /event/:eventId/notify-attendees
|
|
473
|
+
sdk.event.eventId("...").notifyAttendees.POST(...); // SuccessWithMessageDto
|
|
501
474
|
|
|
502
|
-
//
|
|
503
|
-
sdk.
|
|
475
|
+
// POST /eventNotifications/event/:eventId/update
|
|
476
|
+
sdk.eventNotifications.event.eventId("...").update.POST(...); // NotificationSuccessResponseDto
|
|
504
477
|
|
|
505
|
-
//
|
|
506
|
-
sdk.
|
|
478
|
+
// POST /eventNotifications/event/:eventId/reminder
|
|
479
|
+
sdk.eventNotifications.event.eventId("...").reminder.POST(...); // NotificationSuccessResponseDto
|
|
507
480
|
|
|
508
|
-
//
|
|
509
|
-
sdk.
|
|
481
|
+
// POST /eventNotifications/creator/marketing
|
|
482
|
+
sdk.eventNotifications.creator.marketing.POST(...); // NotificationSuccessResponseDto
|
|
510
483
|
|
|
511
|
-
//
|
|
512
|
-
sdk.
|
|
484
|
+
// POST /eventNotifications/user/:userId/direct
|
|
485
|
+
sdk.eventNotifications.user.userId("...").direct.POST(...); // NotificationSuccessResponseDto
|
|
513
486
|
|
|
514
|
-
//
|
|
515
|
-
sdk.
|
|
487
|
+
// POST /faucet
|
|
488
|
+
sdk.faucet.POST(...); // SuccessDto
|
|
516
489
|
|
|
517
|
-
// GET /
|
|
518
|
-
sdk.
|
|
490
|
+
// GET /launchpad/:scAddress/shareholders/royalties
|
|
491
|
+
sdk.launchpad.scAddress("...").shareholders.royalties(...); // ShareholderDto[]
|
|
519
492
|
|
|
520
|
-
// GET /
|
|
521
|
-
sdk.
|
|
493
|
+
// GET /launchpad/:scAddress/shareholders/collection/:collectionTag
|
|
494
|
+
sdk.launchpad.scAddress("...").shareholders.collection.collectionTag("...")(...); // ShareholderDto[]
|
|
522
495
|
|
|
523
|
-
// GET /
|
|
524
|
-
sdk.
|
|
496
|
+
// GET /lending/market/:token/profile
|
|
497
|
+
sdk.lending.market.token("...").profile(...); // LendingMarketProfile
|
|
525
498
|
|
|
526
|
-
// GET /
|
|
527
|
-
sdk.
|
|
499
|
+
// GET /lending/market/query
|
|
500
|
+
sdk.lending.market.query(...); // LendingMarketProfileQuery
|
|
528
501
|
|
|
529
|
-
// GET /
|
|
530
|
-
sdk.
|
|
502
|
+
// GET /lending/market/indexes
|
|
503
|
+
sdk.lending.market.indexes(...); // Record<string
|
|
531
504
|
|
|
532
|
-
// GET /
|
|
533
|
-
sdk.
|
|
505
|
+
// GET /lending/market/emode-categories
|
|
506
|
+
sdk.lending.market.emodeCategories(...); // LendingEModeCategoryProfile[]
|
|
534
507
|
|
|
535
|
-
// GET /
|
|
536
|
-
sdk.
|
|
508
|
+
// GET /lending/market/:token/emode-categories
|
|
509
|
+
sdk.lending.market.token("...").emodeCategories(...); // LendingEModeCategoryProfile[]
|
|
537
510
|
|
|
538
|
-
// GET /
|
|
539
|
-
sdk.
|
|
511
|
+
// GET /lending/market/:token/analytics
|
|
512
|
+
sdk.lending.market.token("...").analytics(...); // LendingMarketAnalyticsGraph[]
|
|
540
513
|
|
|
541
|
-
// GET /
|
|
542
|
-
sdk.
|
|
514
|
+
// GET /lending/leaderboard
|
|
515
|
+
sdk.lending.leaderboard(...); // LendingPositionStatus[]
|
|
543
516
|
|
|
544
|
-
// GET /
|
|
545
|
-
sdk.
|
|
517
|
+
// GET /lending/stats
|
|
518
|
+
sdk.lending.stats(...); // LendingOverallStats
|
|
546
519
|
|
|
547
|
-
// GET /
|
|
548
|
-
sdk.
|
|
520
|
+
// GET /lending/market/prices
|
|
521
|
+
sdk.lending.market.prices(...); // Record<string
|
|
549
522
|
|
|
550
|
-
// GET /
|
|
551
|
-
sdk.
|
|
523
|
+
// GET /lending/market-sc
|
|
524
|
+
sdk.lending.marketSc(...); // string[]
|
|
552
525
|
|
|
553
|
-
// GET /
|
|
554
|
-
sdk.
|
|
526
|
+
// GET /lending/market/:token/price/egld
|
|
527
|
+
sdk.lending.market.token("...").price.egld(...); // LendingTokenPriceDto
|
|
555
528
|
|
|
556
|
-
// GET /
|
|
557
|
-
sdk.
|
|
529
|
+
// GET /liquid/xoxno/stats
|
|
530
|
+
sdk.liquid.xoxno.stats(...); // XoxnoLiquidStatsDto
|
|
558
531
|
|
|
559
|
-
// GET /
|
|
560
|
-
sdk.
|
|
532
|
+
// GET /liquid/egld/stats
|
|
533
|
+
sdk.liquid.egld.stats(...); // XoxnoLiquidStatsDto
|
|
561
534
|
|
|
562
|
-
// GET /
|
|
563
|
-
sdk.
|
|
535
|
+
// GET /liquid/xoxno/rate
|
|
536
|
+
sdk.liquid.xoxno.rate(...); // RateType
|
|
564
537
|
|
|
565
|
-
// GET /
|
|
566
|
-
sdk.
|
|
538
|
+
// GET /liquid/xoxno/liquid-supply
|
|
539
|
+
sdk.liquid.xoxno.liquidSupply(...); // string
|
|
567
540
|
|
|
568
|
-
// GET /
|
|
569
|
-
sdk.
|
|
541
|
+
// GET /liquid/xoxno/staked
|
|
542
|
+
sdk.liquid.xoxno.staked(...); // string
|
|
570
543
|
|
|
571
|
-
// GET /
|
|
572
|
-
sdk.
|
|
544
|
+
// GET /liquid/egld/rate
|
|
545
|
+
sdk.liquid.egld.rate(...); // RateType
|
|
573
546
|
|
|
574
|
-
// GET /
|
|
575
|
-
sdk.
|
|
547
|
+
// GET /liquid/egld/liquid-supply
|
|
548
|
+
sdk.liquid.egld.liquidSupply(...); // string
|
|
576
549
|
|
|
577
|
-
// GET /
|
|
578
|
-
sdk.
|
|
550
|
+
// GET /liquid/egld/staked
|
|
551
|
+
sdk.liquid.egld.staked(...); // string
|
|
579
552
|
|
|
580
|
-
// GET /
|
|
581
|
-
sdk.
|
|
553
|
+
// GET /liquid/egld/pending-fees
|
|
554
|
+
sdk.liquid.egld.pendingFees(...); // string
|
|
582
555
|
|
|
583
|
-
// GET /
|
|
584
|
-
sdk.
|
|
556
|
+
// GET /liquid/egld/pending-undelegate
|
|
557
|
+
sdk.liquid.egld.pendingUndelegate(...); // string
|
|
585
558
|
|
|
586
|
-
// GET /
|
|
587
|
-
sdk.
|
|
559
|
+
// GET /liquid/egld/pending-delegate
|
|
560
|
+
sdk.liquid.egld.pendingDelegate(...); // string
|
|
588
561
|
|
|
589
|
-
// GET /
|
|
590
|
-
sdk.
|
|
562
|
+
// GET /liquid/egld/execute-delegate
|
|
563
|
+
sdk.liquid.egld.executeDelegate(...); // string
|
|
591
564
|
|
|
592
|
-
// GET /
|
|
593
|
-
sdk.
|
|
565
|
+
// GET /liquid/egld/execute-undelegate
|
|
566
|
+
sdk.liquid.egld.executeUndelegate(...); // string
|
|
594
567
|
|
|
595
|
-
// GET /
|
|
596
|
-
sdk.
|
|
568
|
+
// GET /liquid/egld/protocol-apr
|
|
569
|
+
sdk.liquid.egld.protocolApr(...); // ProtocolAprType
|
|
597
570
|
|
|
598
|
-
// GET /
|
|
599
|
-
sdk.
|
|
571
|
+
// GET /liquid/egld/providers
|
|
572
|
+
sdk.liquid.egld.providers(...); // ProviderDto[]
|
|
600
573
|
|
|
601
|
-
//
|
|
602
|
-
sdk.
|
|
574
|
+
// POST /mobile/device/register
|
|
575
|
+
sdk.mobile.device.register.POST(...); // MobileDeviceDoc
|
|
603
576
|
|
|
604
|
-
// GET /
|
|
605
|
-
sdk.
|
|
577
|
+
// GET /mobile/device/:deviceId
|
|
578
|
+
sdk.mobile.device.deviceId("...")(...); // MobileDeviceDoc
|
|
606
579
|
|
|
607
|
-
//
|
|
608
|
-
sdk.
|
|
580
|
+
// DELETE /mobile/device/:deviceId
|
|
581
|
+
sdk.mobile.device.deviceId("...").DELETE(...); // SuccessDto
|
|
609
582
|
|
|
610
|
-
// GET /
|
|
611
|
-
sdk.
|
|
583
|
+
// GET /mobile/history
|
|
584
|
+
sdk.mobile.history(...); // PushNotificationResponse
|
|
612
585
|
|
|
613
|
-
// GET /
|
|
614
|
-
sdk.
|
|
586
|
+
// GET /mobile/history/unread-count
|
|
587
|
+
sdk.mobile.history.unreadCount(...); // PushNotificationCountResponse
|
|
615
588
|
|
|
616
|
-
//
|
|
617
|
-
sdk.
|
|
589
|
+
// PUT /mobile/history/:notificationId/read
|
|
590
|
+
sdk.mobile.history.notificationId("...").read.PUT(...); // PushNotificationDoc
|
|
618
591
|
|
|
619
|
-
//
|
|
620
|
-
sdk.
|
|
592
|
+
// PUT /mobile/history/read-all
|
|
593
|
+
sdk.mobile.history.readAll.PUT(...); // NotificationSuccessResponseDto
|
|
621
594
|
|
|
622
|
-
//
|
|
623
|
-
sdk.
|
|
595
|
+
// DELETE /mobile/history/clear-all
|
|
596
|
+
sdk.mobile.history.clearAll.DELETE(...); // NotificationSuccessResponseDto
|
|
624
597
|
|
|
625
|
-
//
|
|
626
|
-
sdk.
|
|
598
|
+
// DELETE /mobile/history/clear-id/:notificationId
|
|
599
|
+
sdk.mobile.history.clearId.notificationId("...").DELETE(...); // NotificationSuccessResponseDto
|
|
627
600
|
|
|
628
|
-
// GET /
|
|
629
|
-
sdk.
|
|
601
|
+
// GET /nft/query
|
|
602
|
+
sdk.nft.query(...); // NftPaginated
|
|
630
603
|
|
|
631
|
-
//
|
|
632
|
-
sdk.
|
|
604
|
+
// POST /nft/:identifier/like
|
|
605
|
+
sdk.nft.identifier("...").like.POST(...); // LikeNftDto
|
|
633
606
|
|
|
634
|
-
// GET /
|
|
635
|
-
sdk.
|
|
607
|
+
// GET /nft/offer/query
|
|
608
|
+
sdk.nft.offer.query(...); // NftOfferPaginated
|
|
636
609
|
|
|
637
|
-
// GET /
|
|
638
|
-
sdk.
|
|
610
|
+
// GET /nft/offer/:identifier
|
|
611
|
+
sdk.nft.offer.identifier("...")(...); // NftOfferDocHydrated[]
|
|
639
612
|
|
|
640
|
-
// GET /
|
|
641
|
-
sdk.
|
|
613
|
+
// GET /nft/:identifier/offers
|
|
614
|
+
sdk.nft.identifier("...").offers(...); // NftOfferPaginated
|
|
642
615
|
|
|
643
|
-
// GET /
|
|
644
|
-
sdk.
|
|
616
|
+
// GET /nft/pinned
|
|
617
|
+
sdk.nft.pinned(...); // NftDocHydrated[]
|
|
645
618
|
|
|
646
|
-
//
|
|
647
|
-
sdk.
|
|
619
|
+
// POST /nft/sign-withdraw
|
|
620
|
+
sdk.nft.signWithdraw.POST(...); // SignDataDto
|
|
648
621
|
|
|
649
|
-
// GET /
|
|
650
|
-
sdk.
|
|
622
|
+
// GET /nft/:identifier
|
|
623
|
+
sdk.nft.identifier("...")(...); // NftDocFull
|
|
651
624
|
|
|
652
|
-
// GET /
|
|
653
|
-
sdk.
|
|
625
|
+
// GET /nft/search/query
|
|
626
|
+
sdk.nft.search.query(...); // NftPaginated
|
|
654
627
|
|
|
655
|
-
//
|
|
656
|
-
sdk.
|
|
628
|
+
// POST /notify/global-broadcast
|
|
629
|
+
sdk.notify.globalBroadcast.POST(...); // SuccessWithMessageDto
|
|
657
630
|
|
|
658
|
-
// GET /
|
|
659
|
-
sdk.
|
|
631
|
+
// GET /pool/:poolId/profile
|
|
632
|
+
sdk.pool.poolId("...").profile(...); // StakingSummary
|
|
660
633
|
|
|
661
|
-
//
|
|
662
|
-
sdk.
|
|
634
|
+
// PATCH /pool/:poolId/profile
|
|
635
|
+
sdk.pool.poolId("...").profile.PATCH(...); // StakingPoolDoc
|
|
663
636
|
|
|
664
|
-
// GET /
|
|
665
|
-
sdk.
|
|
637
|
+
// GET /pool/:poolId/whitelist
|
|
638
|
+
sdk.pool.poolId("...").whitelist(...); // NftDocHydrated[]
|
|
666
639
|
|
|
667
|
-
//
|
|
668
|
-
sdk.
|
|
640
|
+
// PUT /pool/:poolId/upload-picture
|
|
641
|
+
sdk.pool.poolId("...").uploadPicture.PUT(...); // StakingPoolDoc
|
|
669
642
|
|
|
670
|
-
// GET /
|
|
671
|
-
sdk.
|
|
643
|
+
// GET /search
|
|
644
|
+
sdk.search(...); // GlobalSearchResourcesPaginated
|
|
672
645
|
|
|
673
|
-
// GET /
|
|
674
|
-
sdk.
|
|
646
|
+
// GET /tokens
|
|
647
|
+
sdk.tokens(...); // TokenDataDocHydrated[]
|
|
675
648
|
|
|
676
|
-
// GET /
|
|
677
|
-
sdk.
|
|
649
|
+
// GET /tokens/swap
|
|
650
|
+
sdk.tokens.swap(...); // TokenDataDocHydrated[]
|
|
678
651
|
|
|
679
|
-
//
|
|
680
|
-
sdk.
|
|
652
|
+
// GET /tokens/usd-price
|
|
653
|
+
sdk.tokens.usdPrice(...); // Record<string
|
|
681
654
|
|
|
682
|
-
//
|
|
683
|
-
sdk.
|
|
655
|
+
// GET /tokens/egld/fiat-price
|
|
656
|
+
sdk.tokens.egld.fiatPrice(...); // Record<string
|
|
684
657
|
|
|
685
|
-
//
|
|
686
|
-
sdk.
|
|
658
|
+
// GET /tokens/xoxno
|
|
659
|
+
sdk.tokens.xoxno(...); // IMetrics
|
|
687
660
|
|
|
688
|
-
//
|
|
689
|
-
sdk.
|
|
661
|
+
// GET /tokens/egld
|
|
662
|
+
sdk.tokens.egld(...); // IMetrics
|
|
690
663
|
|
|
691
|
-
//
|
|
692
|
-
sdk.
|
|
664
|
+
// GET /tokens/sui
|
|
665
|
+
sdk.tokens.sui(...); // IMetrics
|
|
693
666
|
|
|
694
|
-
//
|
|
695
|
-
sdk.
|
|
667
|
+
// GET /tokens/xoxno/info
|
|
668
|
+
sdk.tokens.xoxno.info(...); // XoxnoInfo
|
|
696
669
|
|
|
697
|
-
//
|
|
698
|
-
sdk.
|
|
670
|
+
// GET /transactions/:txHash
|
|
671
|
+
sdk.transactions.txHash("...")(...); // TransactionDetailed
|
|
699
672
|
|
|
700
|
-
//
|
|
701
|
-
sdk.
|
|
673
|
+
// GET /transactions/:txHash/status
|
|
674
|
+
sdk.transactions.txHash("...").status(...); // TransactionProcessStatus
|
|
702
675
|
|
|
703
|
-
//
|
|
704
|
-
sdk.
|
|
676
|
+
// POST /transactions
|
|
677
|
+
sdk.transactions.POST(...); // TransactionSendResult
|
|
705
678
|
|
|
706
|
-
//
|
|
707
|
-
sdk.
|
|
679
|
+
// POST /transactions/batch
|
|
680
|
+
sdk.transactions.batch.POST(...); // TransactionSendResult[]
|
|
708
681
|
|
|
709
|
-
//
|
|
710
|
-
sdk.user.address("...").
|
|
682
|
+
// GET /user/:address/network-account
|
|
683
|
+
sdk.user.address("...").networkAccount(...); // UserNetworkInfoDto
|
|
684
|
+
|
|
685
|
+
// GET /user/:address/token-inventory
|
|
686
|
+
sdk.user.address("...").tokenInventory(...); // UserTokenInventoryResponseDto
|
|
687
|
+
|
|
688
|
+
// POST /user/network-account
|
|
689
|
+
sdk.user.networkAccount.POST(...); // UserNetworkInfoDto[]
|
|
690
|
+
|
|
691
|
+
// GET /user/:address/profile
|
|
692
|
+
sdk.user.address("...").profile(...); // UserProfileDoc
|
|
711
693
|
|
|
712
694
|
// PATCH /user/:address/profile
|
|
713
695
|
sdk.user.address("...").profile.PATCH(...); // UserProfileDoc
|
|
714
696
|
|
|
715
|
-
//
|
|
716
|
-
sdk.user.me
|
|
697
|
+
// GET /user/me
|
|
698
|
+
sdk.user.me(...); // UserProfileDto
|
|
717
699
|
|
|
718
|
-
//
|
|
719
|
-
sdk.user.me.settings
|
|
700
|
+
// GET /user/me/settings
|
|
701
|
+
sdk.user.me.settings(...); // UserSettingsDoc
|
|
720
702
|
|
|
721
703
|
// PATCH /user/me/settings/notification-preferences
|
|
722
704
|
sdk.user.me.settings.notificationPreferences.PATCH(...); // UserSettingsDoc
|
|
723
705
|
|
|
706
|
+
// PATCH /user/me/settings/email
|
|
707
|
+
sdk.user.me.settings.email.PATCH(...); // UserSettingsDoc
|
|
708
|
+
|
|
709
|
+
// DELETE /user/me/settings/email
|
|
710
|
+
sdk.user.me.settings.email.DELETE(...); // UserSettingsDoc
|
|
711
|
+
|
|
724
712
|
// PATCH /user/me/settings/phone
|
|
725
713
|
sdk.user.me.settings.phone.PATCH(...); // UserSettingsDoc
|
|
726
714
|
|
|
727
|
-
// PATCH /user/
|
|
728
|
-
sdk.user.
|
|
715
|
+
// PATCH /user/me/settings/billing
|
|
716
|
+
sdk.user.me.settings.billing.PATCH(...); // UserSettingsDoc
|
|
717
|
+
|
|
718
|
+
// POST /user/me/settings/verify-email
|
|
719
|
+
sdk.user.me.settings.verifyEmail.POST(...); // UserSettingsDoc
|
|
720
|
+
|
|
721
|
+
// POST /user/buy/signature
|
|
722
|
+
sdk.user.buy.signature.POST(...); // TradesilvaniaSignature
|
|
723
|
+
|
|
724
|
+
// PUT /user/:address/upload-picture
|
|
725
|
+
sdk.user.address("...").uploadPicture.PUT(...); // UserProfileDoc
|
|
729
726
|
|
|
730
|
-
//
|
|
731
|
-
sdk.
|
|
727
|
+
// PUT /user/:address/upload-banner
|
|
728
|
+
sdk.user.address("...").uploadBanner.PUT(...); // UserProfileDoc
|
|
732
729
|
|
|
733
|
-
//
|
|
734
|
-
sdk.
|
|
730
|
+
// PUT /user/:address/reset-picture
|
|
731
|
+
sdk.user.address("...").resetPicture.PUT(...); // UserProfileDoc
|
|
735
732
|
|
|
736
|
-
//
|
|
737
|
-
sdk.
|
|
733
|
+
// PUT /user/:address/reset-banner
|
|
734
|
+
sdk.user.address("...").resetBanner.PUT(...); // UserProfileDoc
|
|
738
735
|
|
|
739
|
-
//
|
|
740
|
-
sdk.
|
|
736
|
+
// GET /user/:tag/creator/is-registered
|
|
737
|
+
sdk.user.tag("...").creator.isRegistered(...); // SuccessDto
|
|
741
738
|
|
|
742
|
-
//
|
|
743
|
-
sdk.
|
|
739
|
+
// GET /user/:address/creator/profile
|
|
740
|
+
sdk.user.address("...").creator.profile(...); // CreatorProfileDto
|
|
744
741
|
|
|
745
|
-
//
|
|
746
|
-
sdk.
|
|
742
|
+
// PATCH /user/:address/creator/profile
|
|
743
|
+
sdk.user.address("...").creator.profile.PATCH(...); // CreatorProfileDoc
|
|
747
744
|
|
|
748
|
-
//
|
|
749
|
-
sdk.
|
|
745
|
+
// PUT /user/:address/creator/upload-picture
|
|
746
|
+
sdk.user.address("...").creator.uploadPicture.PUT(...); // CreatorProfileDoc
|
|
750
747
|
|
|
751
|
-
//
|
|
752
|
-
sdk.
|
|
748
|
+
// PUT /user/:address/creator/upload-banner
|
|
749
|
+
sdk.user.address("...").creator.uploadBanner.PUT(...); // CreatorProfileDoc
|
|
753
750
|
|
|
754
|
-
//
|
|
755
|
-
sdk.
|
|
751
|
+
// PUT /user/:address/creator/reset-picture
|
|
752
|
+
sdk.user.address("...").creator.resetPicture.PUT(...); // CreatorProfileDoc
|
|
756
753
|
|
|
757
|
-
//
|
|
758
|
-
sdk.
|
|
754
|
+
// PUT /user/:address/creator/reset-banner
|
|
755
|
+
sdk.user.address("...").creator.resetBanner.PUT(...); // CreatorProfileDoc
|
|
759
756
|
|
|
760
|
-
//
|
|
761
|
-
sdk.
|
|
757
|
+
// GET /user/:address/favorite/collections
|
|
758
|
+
sdk.user.address("...").favorite.collections(...); // CollectionStatsPaginated
|
|
762
759
|
|
|
763
|
-
//
|
|
764
|
-
sdk.
|
|
760
|
+
// GET /user/favorite/:favoriteId
|
|
761
|
+
sdk.user.favorite.favoriteId("...")(...); // CheckLikeStatusResponseDto
|
|
765
762
|
|
|
766
|
-
// POST /
|
|
767
|
-
sdk.
|
|
763
|
+
// POST /user/:address/follow
|
|
764
|
+
sdk.user.address("...").follow.POST(...); // UserFavoriteResponseDto
|
|
768
765
|
|
|
769
|
-
//
|
|
770
|
-
sdk.
|
|
766
|
+
// GET /user/:address/favorite/users
|
|
767
|
+
sdk.user.address("...").favorite.users(...); // string[]
|
|
771
768
|
|
|
772
|
-
//
|
|
773
|
-
sdk.
|
|
769
|
+
// GET /user/lending/:address
|
|
770
|
+
sdk.user.lending.address("...")(...); // LendingAccountProfile[]
|
|
774
771
|
|
|
775
|
-
//
|
|
776
|
-
sdk.
|
|
772
|
+
// GET /user/lending/position/:identifier
|
|
773
|
+
sdk.user.lending.position.identifier("...")(...); // LendingAccountProfile[]
|
|
777
774
|
|
|
778
|
-
//
|
|
779
|
-
sdk.
|
|
775
|
+
// GET /user/lending/image/:nonce
|
|
776
|
+
sdk.user.lending.image.nonce("...")(...); // string
|
|
780
777
|
|
|
781
|
-
//
|
|
782
|
-
sdk.
|
|
778
|
+
// GET /user/:address/inventory-summary
|
|
779
|
+
sdk.user.address("...").inventorySummary(...); // InventorySummaryDtoHydrated[]
|
|
783
780
|
|
|
784
|
-
//
|
|
785
|
-
sdk.
|
|
781
|
+
// GET /user/:address/offers
|
|
782
|
+
sdk.user.address("...").offers(...); // NftOfferPaginated
|
|
786
783
|
|
|
787
|
-
//
|
|
788
|
-
sdk.
|
|
784
|
+
// GET /user/:address/favorite/nfts
|
|
785
|
+
sdk.user.address("...").favorite.nfts(...); // NftPaginated
|
|
789
786
|
|
|
790
|
-
//
|
|
791
|
-
sdk.
|
|
787
|
+
// GET /user/:address/creator/listing
|
|
788
|
+
sdk.user.address("...").creator.listing(...); // CreatorDetailsDto
|
|
792
789
|
|
|
793
|
-
//
|
|
794
|
-
sdk.
|
|
790
|
+
// GET /user/:address/creator/details
|
|
791
|
+
sdk.user.address("...").creator.details(...); // CreatorDetailsDto
|
|
795
792
|
|
|
796
|
-
//
|
|
797
|
-
sdk.
|
|
793
|
+
// GET /user/native-token
|
|
794
|
+
sdk.user.nativeToken(...); // string
|
|
798
795
|
|
|
799
|
-
//
|
|
800
|
-
sdk.
|
|
796
|
+
// GET /user/web2
|
|
797
|
+
sdk.user.web2(...); // Web2UserDoc
|
|
801
798
|
|
|
802
|
-
// POST /
|
|
803
|
-
sdk.
|
|
799
|
+
// POST /user/web2/session-cookie
|
|
800
|
+
sdk.user.web2.sessionCookie.POST(...); // SuccessWithMessageDto
|
|
804
801
|
|
|
805
|
-
// POST /
|
|
806
|
-
sdk.
|
|
802
|
+
// POST /user/web2/wallet
|
|
803
|
+
sdk.user.web2.wallet.POST(...); // Web2UserDoc
|
|
807
804
|
|
|
808
|
-
// POST /
|
|
809
|
-
sdk.
|
|
805
|
+
// POST /user/web2/wallet-switch
|
|
806
|
+
sdk.user.web2.walletSwitch.POST(...); // Web2UserDoc
|
|
810
807
|
|
|
811
|
-
// POST /
|
|
812
|
-
sdk.
|
|
808
|
+
// POST /user/web2/wallet-link
|
|
809
|
+
sdk.user.web2.walletLink.POST(...); // Web2UserDoc
|
|
813
810
|
|
|
814
|
-
//
|
|
815
|
-
sdk.
|
|
811
|
+
// DELETE /user/web2/:index/wallet-link
|
|
812
|
+
sdk.user.web2.index("...").walletLink.DELETE(...); // Web2UserDoc
|
|
816
813
|
|
|
817
|
-
//
|
|
818
|
-
sdk.
|
|
814
|
+
// GET /user/web2/shards
|
|
815
|
+
sdk.user.web2.shards(...); // Web2UserShardsDto
|
|
819
816
|
|
|
820
|
-
//
|
|
821
|
-
sdk.
|
|
817
|
+
// GET /user/:address/staking/available-pools
|
|
818
|
+
sdk.user.address("...").staking.availablePools(...); // StakingSummary[]
|
|
822
819
|
|
|
823
|
-
//
|
|
824
|
-
sdk.
|
|
820
|
+
// GET /user/:address/staking/owned-collections
|
|
821
|
+
sdk.user.address("...").staking.ownedCollections(...); // OwnedCollectionsDto
|
|
825
822
|
|
|
826
|
-
//
|
|
827
|
-
sdk.user.address("...").
|
|
823
|
+
// GET /user/:address/staking/owned-pools
|
|
824
|
+
sdk.user.address("...").staking.ownedPools(...); // StakingSummary[]
|
|
828
825
|
|
|
829
|
-
//
|
|
830
|
-
sdk.user.
|
|
826
|
+
// GET /user/:address/staking/summary
|
|
827
|
+
sdk.user.address("...").staking.summary(...); // UserStakingSummaryDto[]
|
|
831
828
|
|
|
832
|
-
//
|
|
833
|
-
sdk.user.
|
|
829
|
+
// GET /user/:address/staking/creator
|
|
830
|
+
sdk.user.address("...").staking.creator(...); // StakingCreatorDoc
|
|
834
831
|
|
|
835
|
-
//
|
|
836
|
-
sdk.user.
|
|
832
|
+
// GET /user/:address/staking/collection/:collection
|
|
833
|
+
sdk.user.address("...").staking.collection.collection("...")(...); // StakingSummary[]
|
|
837
834
|
|
|
838
|
-
//
|
|
839
|
-
sdk.user.
|
|
835
|
+
// GET /user/:address/staking/pool/:poolId/nfts
|
|
836
|
+
sdk.user.address("...").staking.pool.poolId("...").nfts(...); // StakingUserPoolNfts
|
|
840
837
|
|
|
841
|
-
//
|
|
842
|
-
sdk.user.
|
|
838
|
+
// GET /user/:creatorTag/owned-services
|
|
839
|
+
sdk.user.creatorTag("...").ownedServices(...); // OwnedServicesDto
|
|
843
840
|
|
|
844
|
-
//
|
|
845
|
-
sdk.user.
|
|
841
|
+
// GET /user/search
|
|
842
|
+
sdk.user.search(...); // GlobalSearchResourcesPaginated
|
|
846
843
|
|
|
847
|
-
//
|
|
848
|
-
sdk.user.
|
|
844
|
+
// GET /user/notifications
|
|
845
|
+
sdk.user.notifications(...); // NotificationPaginated
|
|
849
846
|
|
|
850
|
-
//
|
|
851
|
-
sdk.user.
|
|
847
|
+
// GET /user/notifications/unread-count
|
|
848
|
+
sdk.user.notifications.unreadCount(...); // PushNotificationCountResponse
|
|
852
849
|
|
|
853
|
-
//
|
|
854
|
-
sdk.user.
|
|
850
|
+
// DELETE /user/notifications/clear
|
|
851
|
+
sdk.user.notifications.clear.DELETE(...); // SuccessDto
|
|
855
852
|
|
|
856
|
-
//
|
|
857
|
-
sdk.user.
|
|
853
|
+
// PATCH /user/notifications/read
|
|
854
|
+
sdk.user.notifications.read.PATCH(...); // NotificationDoc|SuccessDto
|
|
858
855
|
|
|
859
|
-
//
|
|
860
|
-
sdk.user.
|
|
856
|
+
// GET /user/:address/analytics/volume
|
|
857
|
+
sdk.user.address("...").analytics.volume(...); // UserAnalyticsDto
|
|
861
858
|
|
|
862
|
-
//
|
|
863
|
-
sdk.
|
|
859
|
+
// GET /user/stats
|
|
860
|
+
sdk.user.stats(...); // UserStatsDto[]
|
|
864
861
|
|
|
865
|
-
//
|
|
866
|
-
sdk.
|
|
862
|
+
// GET /user/xoxno-drop
|
|
863
|
+
sdk.user.xoxnoDrop(...); // AirdropDtoHydrated[]
|
|
867
864
|
|
|
868
|
-
//
|
|
869
|
-
sdk.
|
|
865
|
+
// GET /user/me/xoxno-drop
|
|
866
|
+
sdk.user.me.xoxnoDrop(...); // AirdropDtoHydrated[]
|
|
870
867
|
|
|
871
|
-
//
|
|
872
|
-
sdk.
|
|
868
|
+
// POST /user/login
|
|
869
|
+
sdk.user.login.POST(...); // LoginAccessDto
|
|
873
870
|
|
|
874
|
-
//
|
|
875
|
-
sdk.
|
|
871
|
+
// POST /user/chat/message
|
|
872
|
+
sdk.user.chat.message.POST(...); // ChatMessageDocHydrated
|
|
876
873
|
|
|
877
|
-
//
|
|
878
|
-
sdk.
|
|
874
|
+
// GET /user/chat/conversation
|
|
875
|
+
sdk.user.chat.conversation(...); // UserConversationPaginated
|
|
879
876
|
|
|
880
|
-
//
|
|
881
|
-
sdk.
|
|
877
|
+
// GET /user/chat/conversation/:conversationId
|
|
878
|
+
sdk.user.chat.conversation.conversationId("...")(...); // ChatMessagePaginated
|
|
882
879
|
|
|
883
|
-
//
|
|
884
|
-
sdk.
|
|
880
|
+
// DELETE /user/chat/conversation/:conversationId
|
|
881
|
+
sdk.user.chat.conversation.conversationId("...").DELETE(...); // SuccessDto
|
|
885
882
|
|
|
886
|
-
//
|
|
887
|
-
sdk.
|
|
883
|
+
// GET /user/chat/conversation-summary
|
|
884
|
+
sdk.user.chat.conversationSummary(...); // GlobalConversationSummaryDto
|
|
888
885
|
|
|
889
|
-
//
|
|
890
|
-
sdk.
|
|
886
|
+
// DELETE /user/chat/conversation/:conversationId/message/:messageId
|
|
887
|
+
sdk.user.chat.conversation.conversationId("...").message.messageId("...").DELETE(...); // SuccessDto
|
|
891
888
|
|
|
892
|
-
//
|
|
893
|
-
sdk.
|
|
889
|
+
// GET /user/chat/block
|
|
890
|
+
sdk.user.chat.block(...); // UserBlockPaginated
|
|
894
891
|
|
|
895
|
-
//
|
|
896
|
-
sdk.
|
|
892
|
+
// POST /user/chat/block/:address
|
|
893
|
+
sdk.user.chat.block.address("...").POST(...); // SuccessDto
|
|
897
894
|
|
|
898
|
-
//
|
|
899
|
-
sdk.user.
|
|
895
|
+
// POST /user/chat/token
|
|
896
|
+
sdk.user.chat.token.POST(...); // WebSocketTokenDto
|
|
900
897
|
|
|
901
|
-
//
|
|
902
|
-
sdk.user.address("...").creator.
|
|
898
|
+
// GET /user/:address/creator/events
|
|
899
|
+
sdk.user.address("...").creator.events(...); // CreatorDetailsDto
|
|
903
900
|
|
|
904
|
-
//
|
|
905
|
-
sdk.user.
|
|
901
|
+
// GET /user/me/event
|
|
902
|
+
sdk.user.me.event(...); // EventProfile[]
|
|
906
903
|
|
|
907
|
-
//
|
|
908
|
-
sdk.user.
|
|
904
|
+
// GET /user/me/events/past
|
|
905
|
+
sdk.user.me.events.past(...); // EventProfile[]
|
|
909
906
|
|
|
910
|
-
//
|
|
911
|
-
sdk.user.
|
|
907
|
+
// GET /user/me/events/hosted
|
|
908
|
+
sdk.user.me.events.hosted(...); // EventProfile[]
|
|
912
909
|
|
|
913
|
-
//
|
|
914
|
-
sdk.user.
|
|
910
|
+
// GET /user/me/events/upcoming
|
|
911
|
+
sdk.user.me.events.upcoming(...); // EventProfile[]
|
|
915
912
|
|
|
916
|
-
//
|
|
917
|
-
sdk.user.
|
|
913
|
+
// GET /user/me/event/badge
|
|
914
|
+
sdk.user.me.event.badge(...); // string
|
|
918
915
|
|
|
919
|
-
//
|
|
920
|
-
sdk.user.
|
|
916
|
+
// GET /user/me/event/badge/payload
|
|
917
|
+
sdk.user.me.event.badge.payload(...); // BageQRData
|
|
921
918
|
|
|
922
919
|
```
|