@nadohq/indexer-client 0.1.0-alpha.44 → 0.1.0-alpha.45

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.
@@ -710,6 +710,38 @@ export interface GetIndexerPrivateAlphaChoiceResponse {
710
710
  nftEligibility: boolean;
711
711
  }
712
712
 
713
+ /**
714
+ * Nado Points
715
+ */
716
+
717
+ export interface GetIndexerPointsParams {
718
+ address: Address;
719
+ }
720
+
721
+ export interface IndexerPointsEpoch {
722
+ epoch: number;
723
+ description: string;
724
+ /** Unix timestamp in seconds */
725
+ startTime: BigDecimal;
726
+ /** Unix timestamp in seconds */
727
+ endTime: BigDecimal;
728
+ totalPoints: BigDecimal;
729
+ points: BigDecimal;
730
+ rank: number;
731
+ tier: number;
732
+ }
733
+
734
+ export interface IndexerAllTimePoints {
735
+ points: BigDecimal;
736
+ rank: number;
737
+ tier: number;
738
+ }
739
+
740
+ export interface GetIndexerPointsResponse {
741
+ pointsPerEpoch: IndexerPointsEpoch[];
742
+ allTimePoints: IndexerAllTimePoints;
743
+ }
744
+
713
745
  /**
714
746
  * V2 Tickers
715
747
  */
@@ -211,6 +211,10 @@ export interface IndexerServerPrivateAlphaChoiceParams {
211
211
  address: string;
212
212
  }
213
213
 
214
+ export interface IndexerServerPointsParams {
215
+ address: string;
216
+ }
217
+
214
218
  // Request
215
219
  export interface IndexerServerQueryRequestByType {
216
220
  account_snapshots: IndexerServerMultiSubaccountSnapshotsParams;
@@ -243,6 +247,7 @@ export interface IndexerServerQueryRequestByType {
243
247
  quote_price: Record<string, never>;
244
248
  nlp_snapshots: IndexerServerNlpSnapshotsParams;
245
249
  private_alpha_choice: IndexerServerPrivateAlphaChoiceParams;
250
+ nado_points: IndexerServerPointsParams;
246
251
  }
247
252
 
248
253
  export type IndexerServerQueryRequestType =
@@ -423,6 +428,28 @@ export interface IndexerServerPrivateAlphaChoiceResponse {
423
428
  nft_eligibility: boolean;
424
429
  }
425
430
 
431
+ export interface IndexerServerPointsEpoch {
432
+ epoch: number;
433
+ description: string;
434
+ start_time: string;
435
+ end_time: string;
436
+ total_points: string;
437
+ points: string;
438
+ rank: number;
439
+ tier: number;
440
+ }
441
+
442
+ export interface IndexerServerAllTimePoints {
443
+ points: string;
444
+ rank: number;
445
+ tier: number;
446
+ }
447
+
448
+ export interface IndexerServerPointsResponse {
449
+ points_per_epoch: IndexerServerPointsEpoch[];
450
+ all_time_points: IndexerServerAllTimePoints;
451
+ }
452
+
426
453
  // Response
427
454
  export interface IndexerServerQueryResponseByType {
428
455
  account_snapshots: IndexerServerMultiSubaccountSnapshotsResponse;
@@ -455,6 +482,7 @@ export interface IndexerServerQueryResponseByType {
455
482
  quote_price: IndexerServerQuotePriceResponse;
456
483
  nlp_snapshots: IndexerServerNlpSnapshotsResponse;
457
484
  private_alpha_choice: IndexerServerPrivateAlphaChoiceResponse;
485
+ nado_points: IndexerServerPointsResponse;
458
486
  }
459
487
 
460
488
  /**