@satrush/api 0.1.7 → 0.1.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/dist/index.d.cts CHANGED
@@ -397,6 +397,49 @@ declare const ClaimTypeDto: {
397
397
  * Kind of an indexed claim.
398
398
  */
399
399
  type ClaimTypeDto = typeof ClaimTypeDto[keyof typeof ClaimTypeDto];
400
+ type EpochHistoryApiError400Error = ({
401
+ code: 'invalid_range';
402
+ } & EpochHistoryApiError400InvalidRange) | ({
403
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
404
+ } & BadRequestErrorCodeErrorBody);
405
+ type EpochHistoryApiError400InvalidRange = {
406
+ code: 'invalid_range';
407
+ };
408
+ type EpochHistoryApiError500Error = {
409
+ code: 'internal';
410
+ };
411
+ /**
412
+ * An Epoch Vault iteration as recorded by the rounds indexer.
413
+ */
414
+ type EpochIterationHistoryDto = {
415
+ /**
416
+ * The on-chain EpochVaultIteration account address.
417
+ */
418
+ address: PubkeyDto;
419
+ /**
420
+ * When the last winner was selected; `null` until the draw resolves.
421
+ */
422
+ endedAt?: Date | null;
423
+ /**
424
+ * Iteration id; the pagination cursor.
425
+ */
426
+ id: number;
427
+ /**
428
+ * BTC pot sealed into the draw at trigger time; 0 while accumulating.
429
+ */
430
+ poolBtcAmount: U64Dto;
431
+ /**
432
+ * USD pot sealed into the draw at trigger time; 0 while accumulating.
433
+ */
434
+ poolUsdAmount: U64Dto;
435
+ startedAt: Date;
436
+ totalParticipants: number;
437
+ totalTickets: U64Dto;
438
+ /**
439
+ * When the draw was triggered; `null` while still accumulating.
440
+ */
441
+ triggeredAt?: Date | null;
442
+ };
400
443
  /**
401
444
  * Lifecycle state of an epoch vault iteration.
402
445
  */
@@ -506,6 +549,57 @@ type EpochWinnerDto = {
506
549
  */
507
550
  tickets: U64Dto;
508
551
  };
552
+ /**
553
+ * An Epoch Vault draw winner as recorded by the rounds indexer.
554
+ */
555
+ type EpochWinnerHistoryDto = {
556
+ authority: PubkeyDto;
557
+ /**
558
+ * Winning entry id; the pagination cursor.
559
+ */
560
+ id: number;
561
+ /**
562
+ * Iteration whose draw this wallet won.
563
+ */
564
+ iterationId: number;
565
+ /**
566
+ * 0-based selection order; determines the pot share.
567
+ */
568
+ rank: number;
569
+ /**
570
+ * When the iteration's draw resolved; `null` if not yet indexed.
571
+ */
572
+ settledAt?: Date | null;
573
+ settledAtSlot?: null | U64Dto;
574
+ /**
575
+ * The winner's total tickets in the iteration.
576
+ */
577
+ tickets: U64Dto;
578
+ /**
579
+ * BTC share of the pot; 0 for wins indexed from pre-extension events.
580
+ */
581
+ wonBtcAmount: U64Dto;
582
+ /**
583
+ * USD share of the pot; 0 for wins indexed from pre-extension events.
584
+ */
585
+ wonUsdAmount: U64Dto;
586
+ };
587
+ type EpochWinnersApiError400Error = ({
588
+ code: 'invalid_before';
589
+ } & EpochWinnersApiError400InvalidBefore) | ({
590
+ code: 'invalid_range';
591
+ } & EpochWinnersApiError400InvalidRange) | ({
592
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
593
+ } & BadRequestErrorCodeErrorBody);
594
+ type EpochWinnersApiError400InvalidBefore = {
595
+ code: 'invalid_before';
596
+ };
597
+ type EpochWinnersApiError400InvalidRange = {
598
+ code: 'invalid_range';
599
+ };
600
+ type EpochWinnersApiError500Error = {
601
+ code: 'internal';
602
+ };
509
603
  type FieldError = {
510
604
  /**
511
605
  * Field name in request.
@@ -516,6 +610,17 @@ type FieldError = {
516
610
  */
517
611
  message: string;
518
612
  };
613
+ /**
614
+ * Kind of an indexed hashrate spend.
615
+ */
616
+ declare const HashrateActionTypeDto: {
617
+ readonly BUY_EPOCH_TICKETS: "buy_epoch_tickets";
618
+ readonly BUY_ONE_BTC_TICKETS: "buy_one_btc_tickets";
619
+ };
620
+ /**
621
+ * Kind of an indexed hashrate spend.
622
+ */
623
+ type HashrateActionTypeDto = typeof HashrateActionTypeDto[keyof typeof HashrateActionTypeDto];
519
624
  /**
520
625
  * Signed 128-bit integer encoded as a decimal string.
521
626
  */
@@ -528,7 +633,7 @@ type InternalErrorCodeErrorBody = {
528
633
  code: 'internal_error';
529
634
  };
530
635
  /**
531
- * A miner's position on the lifetime USD-deployed leaderboard.
636
+ * A miner's position on a lifetime-stats leaderboard.
532
637
  */
533
638
  type LeaderboardEntryDto = {
534
639
  authority: PubkeyDto;
@@ -537,13 +642,21 @@ type LeaderboardEntryDto = {
537
642
  */
538
643
  maxStreak: number;
539
644
  /**
540
- * 1-based position, ordered by `total_usd_deployed` descending.
645
+ * 1-based position, ordered by the leaderboard's sort key descending.
541
646
  */
542
647
  rank: number;
648
+ /**
649
+ * Lifetime hashrate earned.
650
+ */
651
+ totalHashrateEarned: U64Dto;
543
652
  /**
544
653
  * Lifetime count of rounds played.
545
654
  */
546
655
  totalRoundsPlayed: number;
656
+ /**
657
+ * Lifetime sats earned.
658
+ */
659
+ totalSatsEarned: U64Dto;
547
660
  /**
548
661
  * Lifetime gross USD deployed.
549
662
  */
@@ -704,10 +817,147 @@ type MinerDto = {
704
817
  */
705
818
  unsettledUsdAmount: U64Dto;
706
819
  };
820
+ /**
821
+ * A miner's Epoch Vault participation as recorded by the rounds indexer: one
822
+ * row per iteration, accumulating the wallet's ticket buys, plus the draw
823
+ * outcome once resolved.
824
+ */
825
+ type MinerEpochEntryDto = {
826
+ /**
827
+ * The on-chain EpochVaultEntry account address.
828
+ */
829
+ address: PubkeyDto;
830
+ authority: PubkeyDto;
831
+ /**
832
+ * When the win was claimed; `null` until claimed.
833
+ */
834
+ claimedAt?: Date | null;
835
+ createdAt: Date;
836
+ /**
837
+ * Entry id; the pagination cursor.
838
+ */
839
+ id: number;
840
+ /**
841
+ * Draw outcome; `null` until the iteration's draw resolves the entry.
842
+ */
843
+ isWon?: boolean | null;
844
+ /**
845
+ * Iteration this entry belongs to.
846
+ */
847
+ iterationId: number;
848
+ /**
849
+ * 0-based selection order of the win; only set on winning entries.
850
+ */
851
+ rank?: number | null;
852
+ /**
853
+ * The wallet's total tickets in the iteration.
854
+ */
855
+ tickets: U64Dto;
856
+ wonBtcAmount?: null | U64Dto;
857
+ wonUsdAmount?: null | U64Dto;
858
+ };
859
+ /**
860
+ * A miner's hashrate spend as recorded by the rounds indexer from a
861
+ * `buy_epoch_tickets` or `buy_one_btc_tickets` instruction.
862
+ */
863
+ type MinerHashrateActionDto = {
864
+ actionType: HashrateActionTypeDto;
865
+ authority: PubkeyDto;
866
+ executedAt: Date;
867
+ /**
868
+ * Raw hashrate units spent (1 ticket = 100 units).
869
+ */
870
+ hashrateSpent: U64Dto;
871
+ /**
872
+ * Monotonic action id; the pagination cursor.
873
+ */
874
+ id: number;
875
+ /**
876
+ * Signature of the buying transaction.
877
+ */
878
+ signature: string;
879
+ ticketsBought: U64Dto;
880
+ };
881
+ /**
882
+ * A miner's 1 BTC Vault ticket purchase as recorded by the rounds indexer:
883
+ * one row per buy holding the contiguous range
884
+ * `[start_ticket_id, start_ticket_id + tickets)`, plus the draw outcome once
885
+ * resolved.
886
+ */
887
+ type MinerOneBtcEntryDto = {
888
+ /**
889
+ * The on-chain ticket receipt account address.
890
+ */
891
+ address: PubkeyDto;
892
+ authority: PubkeyDto;
893
+ /**
894
+ * When the prize was claimed; `null` until claimed.
895
+ */
896
+ claimedAt?: Date | null;
897
+ createdAt: Date;
898
+ /**
899
+ * Entry id; the pagination cursor.
900
+ */
901
+ id: number;
902
+ /**
903
+ * Draw outcome; `null` until the iteration's draw resolves the entry.
904
+ */
905
+ isWon?: boolean | null;
906
+ /**
907
+ * Iteration this purchase belongs to.
908
+ */
909
+ iterationId: number;
910
+ /**
911
+ * First ticket id of this purchase's range.
912
+ */
913
+ startTicketId: U64Dto;
914
+ /**
915
+ * Number of tickets in this purchase.
916
+ */
917
+ tickets: U64Dto;
918
+ };
707
919
  declare const NotificationEntity: {
708
920
  readonly STATE_SNAPSHOT: "state_snapshot";
709
921
  };
710
922
  type NotificationEntity = typeof NotificationEntity[keyof typeof NotificationEntity];
923
+ type OneBtcHistoryApiError400Error = ({
924
+ code: 'invalid_range';
925
+ } & OneBtcHistoryApiError400InvalidRange) | ({
926
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
927
+ } & BadRequestErrorCodeErrorBody);
928
+ type OneBtcHistoryApiError400InvalidRange = {
929
+ code: 'invalid_range';
930
+ };
931
+ type OneBtcHistoryApiError500Error = {
932
+ code: 'internal';
933
+ };
934
+ /**
935
+ * A 1 BTC Vault iteration as recorded by the rounds indexer, including the
936
+ * draw's winner once settled.
937
+ */
938
+ type OneBtcIterationHistoryDto = {
939
+ /**
940
+ * The on-chain OneBtcVaultIteration account address.
941
+ */
942
+ address: PubkeyDto;
943
+ /**
944
+ * When the winner claimed the prize; `null` until claimed.
945
+ */
946
+ endedAt?: Date | null;
947
+ /**
948
+ * Iteration id; the pagination cursor.
949
+ */
950
+ id: number;
951
+ /**
952
+ * When the draw was triggered and the winning ticket fixed; `null` while
953
+ * still accumulating.
954
+ */
955
+ settledAt?: Date | null;
956
+ startedAt: Date;
957
+ totalParticipants: number;
958
+ totalTickets: U64Dto;
959
+ winner?: null | PubkeyDto;
960
+ };
711
961
  /**
712
962
  * Lifecycle state of a 1 BTC vault iteration.
713
963
  */
@@ -917,6 +1167,56 @@ type RoundDto = {
917
1167
  winnersCount: number;
918
1168
  winningTile?: number | null;
919
1169
  };
1170
+ /**
1171
+ * A round's outcome as recorded by the rounds indexer.
1172
+ */
1173
+ type RoundHistoryDto = {
1174
+ /**
1175
+ * Round id; the pagination cursor.
1176
+ */
1177
+ id: number;
1178
+ /**
1179
+ * Whether the reveal triggered the sat strike; unset until revealed.
1180
+ */
1181
+ isSatStrike?: boolean | null;
1182
+ minersCount: number;
1183
+ /**
1184
+ * When the round's pots were settled.
1185
+ */
1186
+ settledAt?: Date | null;
1187
+ /**
1188
+ * When the first deployment activated the round.
1189
+ */
1190
+ startedAt?: Date | null;
1191
+ state: RoundHistoryStateDto;
1192
+ strikeBonusBtc?: null | U64Dto;
1193
+ strikeBonusUsd?: null | U64Dto;
1194
+ totalDeployedUsd: U64Dto;
1195
+ totalPotBtc?: null | U64Dto;
1196
+ totalPotUsd?: null | U64Dto;
1197
+ /**
1198
+ * Miners on the winning tile; unset until revealed.
1199
+ */
1200
+ winnersCount?: number | null;
1201
+ /**
1202
+ * Winning tile of the reveal; unset until revealed.
1203
+ */
1204
+ winningTile?: number | null;
1205
+ };
1206
+ /**
1207
+ * Lifecycle state of an indexed round.
1208
+ */
1209
+ declare const RoundHistoryStateDto: {
1210
+ readonly PENDING: "pending";
1211
+ readonly ACTIVE: "active";
1212
+ readonly REVEALED: "revealed";
1213
+ readonly SETTLED: "settled";
1214
+ readonly FINISHED: "finished";
1215
+ };
1216
+ /**
1217
+ * Lifecycle state of an indexed round.
1218
+ */
1219
+ type RoundHistoryStateDto = typeof RoundHistoryStateDto[keyof typeof RoundHistoryStateDto];
920
1220
  /**
921
1221
  * Lifecycle state of a round.
922
1222
  */
@@ -930,6 +1230,27 @@ declare const RoundStateDto: {
930
1230
  * Lifecycle state of a round.
931
1231
  */
932
1232
  type RoundStateDto = typeof RoundStateDto[keyof typeof RoundStateDto];
1233
+ type RoundsApiError400Error = ({
1234
+ code: 'invalid_before';
1235
+ } & RoundsApiError400InvalidBefore) | ({
1236
+ code: 'invalid_range';
1237
+ } & RoundsApiError400InvalidRange) | ({
1238
+ code: 'invalid_is_sat_strike';
1239
+ } & RoundsApiError400InvalidIsSatStrike) | ({
1240
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
1241
+ } & BadRequestErrorCodeErrorBody);
1242
+ type RoundsApiError400InvalidBefore = {
1243
+ code: 'invalid_before';
1244
+ };
1245
+ type RoundsApiError400InvalidIsSatStrike = {
1246
+ code: 'invalid_is_sat_strike';
1247
+ };
1248
+ type RoundsApiError400InvalidRange = {
1249
+ code: 'invalid_range';
1250
+ };
1251
+ type RoundsApiError500Error = {
1252
+ code: 'internal';
1253
+ };
933
1254
  /**
934
1255
  * Protocol configuration: token mints and fee rates.
935
1256
  */
@@ -1088,6 +1409,27 @@ type UserDeploymentsApiError400InvalidRange = {
1088
1409
  type UserDeploymentsApiError500Error = {
1089
1410
  code: 'internal';
1090
1411
  };
1412
+ type UserHashrateApiError400Error = ({
1413
+ code: 'invalid_address';
1414
+ } & UserHashrateApiError400InvalidAddress) | ({
1415
+ code: 'invalid_before';
1416
+ } & UserHashrateApiError400InvalidBefore) | ({
1417
+ code: 'invalid_range';
1418
+ } & UserHashrateApiError400InvalidRange) | ({
1419
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
1420
+ } & BadRequestErrorCodeErrorBody);
1421
+ type UserHashrateApiError400InvalidAddress = {
1422
+ code: 'invalid_address';
1423
+ };
1424
+ type UserHashrateApiError400InvalidBefore = {
1425
+ code: 'invalid_before';
1426
+ };
1427
+ type UserHashrateApiError400InvalidRange = {
1428
+ code: 'invalid_range';
1429
+ };
1430
+ type UserHashrateApiError500Error = {
1431
+ code: 'internal';
1432
+ };
1091
1433
  type UserProfileApiError400Error = ({
1092
1434
  code: 'invalid_address';
1093
1435
  } & UserProfileApiError400InvalidAddress) | ({
@@ -1096,6 +1438,32 @@ type UserProfileApiError400Error = ({
1096
1438
  type UserProfileApiError400InvalidAddress = {
1097
1439
  code: 'invalid_address';
1098
1440
  };
1441
+ type UserVaultEntriesApiError400Error = ({
1442
+ code: 'invalid_address';
1443
+ } & UserVaultEntriesApiError400InvalidAddress) | ({
1444
+ code: 'invalid_before';
1445
+ } & UserVaultEntriesApiError400InvalidBefore) | ({
1446
+ code: 'invalid_range';
1447
+ } & UserVaultEntriesApiError400InvalidRange) | ({
1448
+ code: 'invalid_wins_only';
1449
+ } & UserVaultEntriesApiError400InvalidWinsOnly) | ({
1450
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
1451
+ } & BadRequestErrorCodeErrorBody);
1452
+ type UserVaultEntriesApiError400InvalidAddress = {
1453
+ code: 'invalid_address';
1454
+ };
1455
+ type UserVaultEntriesApiError400InvalidBefore = {
1456
+ code: 'invalid_before';
1457
+ };
1458
+ type UserVaultEntriesApiError400InvalidRange = {
1459
+ code: 'invalid_range';
1460
+ };
1461
+ type UserVaultEntriesApiError400InvalidWinsOnly = {
1462
+ code: 'invalid_wins_only';
1463
+ };
1464
+ type UserVaultEntriesApiError500Error = {
1465
+ code: 'internal';
1466
+ };
1099
1467
  type ValidationErrorCodeErrorBody = {
1100
1468
  code: 'validation_failed';
1101
1469
  data?: {
@@ -1140,41 +1508,210 @@ type GetConfigResponses = {
1140
1508
  };
1141
1509
  };
1142
1510
  type GetConfigResponse = GetConfigResponses[keyof GetConfigResponses];
1143
- type GetLeaderboardData = {
1511
+ type GetEpochHistoryData = {
1144
1512
  body?: never;
1145
1513
  path?: never;
1146
- query?: never;
1147
- url: '/v1/leaderboard';
1514
+ query?: {
1515
+ /**
1516
+ * Only iterations with `id` strictly below this cursor; pass the last
1517
+ * `id` of the previous page to fetch the next one.
1518
+ */
1519
+ before?: number;
1520
+ /**
1521
+ * Only iterations with `id` strictly above this cursor; pass the first
1522
+ * `id` of a page to fetch newer iterations.
1523
+ */
1524
+ after?: number;
1525
+ /**
1526
+ * Page size, 1..=100; defaults to 50.
1527
+ */
1528
+ limit?: number;
1529
+ };
1530
+ url: '/v1/epoch/history';
1148
1531
  };
1149
- type GetLeaderboardErrors = {
1150
- 500: InternalErrorCodeErrorBody;
1532
+ type GetEpochHistoryErrors = {
1533
+ 400: EpochHistoryApiError400Error;
1534
+ 422: ValidationErrorCodeErrorBody;
1535
+ 500: EpochHistoryApiError500Error;
1151
1536
  };
1152
- type GetLeaderboardError = GetLeaderboardErrors[keyof GetLeaderboardErrors];
1153
- type GetLeaderboardResponses = {
1537
+ type GetEpochHistoryError = GetEpochHistoryErrors[keyof GetEpochHistoryErrors];
1538
+ type GetEpochHistoryResponses = {
1154
1539
  200: {
1155
- data: Array<LeaderboardEntryDto>;
1540
+ data: Array<EpochIterationHistoryDto>;
1156
1541
  };
1157
1542
  };
1158
- type GetLeaderboardResponse = GetLeaderboardResponses[keyof GetLeaderboardResponses];
1159
- type SseData = {
1543
+ type GetEpochHistoryResponse = GetEpochHistoryResponses[keyof GetEpochHistoryResponses];
1544
+ type GetEpochWinnersData = {
1160
1545
  body?: never;
1161
1546
  path?: never;
1162
1547
  query?: {
1163
1548
  /**
1164
- * Wallet address (base58); when set, snapshots for this client also carry
1165
- * that wallet's profile.
1549
+ * Only winners with entry `id` strictly below this cursor; pass the last
1550
+ * `id` of the previous page to fetch the next one.
1166
1551
  */
1167
- wallet?: string;
1552
+ before?: number;
1553
+ /**
1554
+ * Only winners with entry `id` strictly above this cursor; pass the
1555
+ * first `id` of a page to fetch newer winners.
1556
+ */
1557
+ after?: number;
1558
+ /**
1559
+ * Page size, 1..=100; defaults to 50.
1560
+ */
1561
+ limit?: number;
1168
1562
  };
1169
- url: '/v1/streams/sse';
1563
+ url: '/v1/epoch/winners';
1170
1564
  };
1171
- type SseErrors = {
1172
- 400: BadRequestErrorCodeErrorBody;
1565
+ type GetEpochWinnersErrors = {
1566
+ 400: EpochWinnersApiError400Error;
1173
1567
  422: ValidationErrorCodeErrorBody;
1174
- /**
1175
- * Internal error
1176
- */
1177
- 500: unknown;
1568
+ 500: EpochWinnersApiError500Error;
1569
+ };
1570
+ type GetEpochWinnersError = GetEpochWinnersErrors[keyof GetEpochWinnersErrors];
1571
+ type GetEpochWinnersResponses = {
1572
+ 200: {
1573
+ data: Array<EpochWinnerHistoryDto>;
1574
+ };
1575
+ };
1576
+ type GetEpochWinnersResponse = GetEpochWinnersResponses[keyof GetEpochWinnersResponses];
1577
+ type GetHashrateEarnedLeaderboardData = {
1578
+ body?: never;
1579
+ path?: never;
1580
+ query?: never;
1581
+ url: '/v1/leaderboard/hashrate-earned';
1582
+ };
1583
+ type GetHashrateEarnedLeaderboardErrors = {
1584
+ 500: InternalErrorCodeErrorBody;
1585
+ };
1586
+ type GetHashrateEarnedLeaderboardError = GetHashrateEarnedLeaderboardErrors[keyof GetHashrateEarnedLeaderboardErrors];
1587
+ type GetHashrateEarnedLeaderboardResponses = {
1588
+ 200: {
1589
+ data: Array<LeaderboardEntryDto>;
1590
+ };
1591
+ };
1592
+ type GetHashrateEarnedLeaderboardResponse = GetHashrateEarnedLeaderboardResponses[keyof GetHashrateEarnedLeaderboardResponses];
1593
+ type GetRoundsPlayedLeaderboardData = {
1594
+ body?: never;
1595
+ path?: never;
1596
+ query?: never;
1597
+ url: '/v1/leaderboard/rounds-played';
1598
+ };
1599
+ type GetRoundsPlayedLeaderboardErrors = {
1600
+ 500: InternalErrorCodeErrorBody;
1601
+ };
1602
+ type GetRoundsPlayedLeaderboardError = GetRoundsPlayedLeaderboardErrors[keyof GetRoundsPlayedLeaderboardErrors];
1603
+ type GetRoundsPlayedLeaderboardResponses = {
1604
+ 200: {
1605
+ data: Array<LeaderboardEntryDto>;
1606
+ };
1607
+ };
1608
+ type GetRoundsPlayedLeaderboardResponse = GetRoundsPlayedLeaderboardResponses[keyof GetRoundsPlayedLeaderboardResponses];
1609
+ type GetSatsEarnedLeaderboardData = {
1610
+ body?: never;
1611
+ path?: never;
1612
+ query?: never;
1613
+ url: '/v1/leaderboard/sats-earned';
1614
+ };
1615
+ type GetSatsEarnedLeaderboardErrors = {
1616
+ 500: InternalErrorCodeErrorBody;
1617
+ };
1618
+ type GetSatsEarnedLeaderboardError = GetSatsEarnedLeaderboardErrors[keyof GetSatsEarnedLeaderboardErrors];
1619
+ type GetSatsEarnedLeaderboardResponses = {
1620
+ 200: {
1621
+ data: Array<LeaderboardEntryDto>;
1622
+ };
1623
+ };
1624
+ type GetSatsEarnedLeaderboardResponse = GetSatsEarnedLeaderboardResponses[keyof GetSatsEarnedLeaderboardResponses];
1625
+ type GetOneBtcHistoryData = {
1626
+ body?: never;
1627
+ path?: never;
1628
+ query?: {
1629
+ /**
1630
+ * Only iterations with `id` strictly below this cursor; pass the last
1631
+ * `id` of the previous page to fetch the next one.
1632
+ */
1633
+ before?: number;
1634
+ /**
1635
+ * Only iterations with `id` strictly above this cursor; pass the first
1636
+ * `id` of a page to fetch newer iterations.
1637
+ */
1638
+ after?: number;
1639
+ /**
1640
+ * Page size, 1..=100; defaults to 50.
1641
+ */
1642
+ limit?: number;
1643
+ };
1644
+ url: '/v1/one-btc/history';
1645
+ };
1646
+ type GetOneBtcHistoryErrors = {
1647
+ 400: OneBtcHistoryApiError400Error;
1648
+ 422: ValidationErrorCodeErrorBody;
1649
+ 500: OneBtcHistoryApiError500Error;
1650
+ };
1651
+ type GetOneBtcHistoryError = GetOneBtcHistoryErrors[keyof GetOneBtcHistoryErrors];
1652
+ type GetOneBtcHistoryResponses = {
1653
+ 200: {
1654
+ data: Array<OneBtcIterationHistoryDto>;
1655
+ };
1656
+ };
1657
+ type GetOneBtcHistoryResponse = GetOneBtcHistoryResponses[keyof GetOneBtcHistoryResponses];
1658
+ type GetRoundsData = {
1659
+ body?: never;
1660
+ path?: never;
1661
+ query?: {
1662
+ /**
1663
+ * Only rounds with `id` strictly below this cursor; pass the last `id`
1664
+ * of the previous page to fetch the next one.
1665
+ */
1666
+ before?: number;
1667
+ /**
1668
+ * Only rounds with `id` strictly above this cursor; pass the first `id`
1669
+ * of a page to fetch newer rounds.
1670
+ */
1671
+ after?: number;
1672
+ /**
1673
+ * Page size, 1..=100; defaults to 50.
1674
+ */
1675
+ limit?: number;
1676
+ /**
1677
+ * Pass 1 to return only rounds where the sat strike was triggered; 0 or
1678
+ * omitted applies no filter.
1679
+ */
1680
+ isSatStrike?: number;
1681
+ };
1682
+ url: '/v1/rounds';
1683
+ };
1684
+ type GetRoundsErrors = {
1685
+ 400: RoundsApiError400Error;
1686
+ 422: ValidationErrorCodeErrorBody;
1687
+ 500: RoundsApiError500Error;
1688
+ };
1689
+ type GetRoundsError = GetRoundsErrors[keyof GetRoundsErrors];
1690
+ type GetRoundsResponses = {
1691
+ 200: {
1692
+ data: Array<RoundHistoryDto>;
1693
+ };
1694
+ };
1695
+ type GetRoundsResponse = GetRoundsResponses[keyof GetRoundsResponses];
1696
+ type SseData = {
1697
+ body?: never;
1698
+ path?: never;
1699
+ query?: {
1700
+ /**
1701
+ * Wallet address (base58); when set, snapshots for this client also carry
1702
+ * that wallet's profile.
1703
+ */
1704
+ wallet?: string;
1705
+ };
1706
+ url: '/v1/streams/sse';
1707
+ };
1708
+ type SseErrors = {
1709
+ 400: BadRequestErrorCodeErrorBody;
1710
+ 422: ValidationErrorCodeErrorBody;
1711
+ /**
1712
+ * Internal error
1713
+ */
1714
+ 500: unknown;
1178
1715
  };
1179
1716
  type SseError = SseErrors[keyof SseErrors];
1180
1717
  type SseResponses = {
@@ -1283,6 +1820,128 @@ type GetUserDeploymentsResponses = {
1283
1820
  };
1284
1821
  };
1285
1822
  type GetUserDeploymentsResponse = GetUserDeploymentsResponses[keyof GetUserDeploymentsResponses];
1823
+ type GetUserEpochEntriesData = {
1824
+ body?: never;
1825
+ path: {
1826
+ /**
1827
+ * User wallet address (base58)
1828
+ */
1829
+ address: string;
1830
+ };
1831
+ query?: {
1832
+ /**
1833
+ * Only entries with `id` strictly below this cursor; pass the last `id`
1834
+ * of the previous page to fetch the next one.
1835
+ */
1836
+ before?: number;
1837
+ /**
1838
+ * Only entries with `id` strictly above this cursor; pass the first
1839
+ * `id` of a page to fetch newer entries.
1840
+ */
1841
+ after?: number;
1842
+ /**
1843
+ * Page size, 1..=100; defaults to 50.
1844
+ */
1845
+ limit?: number;
1846
+ /**
1847
+ * Pass 1 to return only winning entries; 0 or omitted applies no filter.
1848
+ */
1849
+ winsOnly?: number;
1850
+ };
1851
+ url: '/v1/users/{address}/epoch';
1852
+ };
1853
+ type GetUserEpochEntriesErrors = {
1854
+ 400: UserVaultEntriesApiError400Error;
1855
+ 422: ValidationErrorCodeErrorBody;
1856
+ 500: UserVaultEntriesApiError500Error;
1857
+ };
1858
+ type GetUserEpochEntriesError = GetUserEpochEntriesErrors[keyof GetUserEpochEntriesErrors];
1859
+ type GetUserEpochEntriesResponses = {
1860
+ 200: {
1861
+ data: Array<MinerEpochEntryDto>;
1862
+ };
1863
+ };
1864
+ type GetUserEpochEntriesResponse = GetUserEpochEntriesResponses[keyof GetUserEpochEntriesResponses];
1865
+ type GetUserHashrateActionsData = {
1866
+ body?: never;
1867
+ path: {
1868
+ /**
1869
+ * User wallet address (base58)
1870
+ */
1871
+ address: string;
1872
+ };
1873
+ query?: {
1874
+ /**
1875
+ * Only actions with `id` strictly below this cursor; pass the last `id`
1876
+ * of the previous page to fetch the next one.
1877
+ */
1878
+ before?: number;
1879
+ /**
1880
+ * Only actions with `id` strictly above this cursor; pass the first
1881
+ * `id` of a page to fetch newer actions.
1882
+ */
1883
+ after?: number;
1884
+ /**
1885
+ * Page size, 1..=100; defaults to 50.
1886
+ */
1887
+ limit?: number;
1888
+ };
1889
+ url: '/v1/users/{address}/hashrate';
1890
+ };
1891
+ type GetUserHashrateActionsErrors = {
1892
+ 400: UserHashrateApiError400Error;
1893
+ 422: ValidationErrorCodeErrorBody;
1894
+ 500: UserHashrateApiError500Error;
1895
+ };
1896
+ type GetUserHashrateActionsError = GetUserHashrateActionsErrors[keyof GetUserHashrateActionsErrors];
1897
+ type GetUserHashrateActionsResponses = {
1898
+ 200: {
1899
+ data: Array<MinerHashrateActionDto>;
1900
+ };
1901
+ };
1902
+ type GetUserHashrateActionsResponse = GetUserHashrateActionsResponses[keyof GetUserHashrateActionsResponses];
1903
+ type GetUserOneBtcEntriesData = {
1904
+ body?: never;
1905
+ path: {
1906
+ /**
1907
+ * User wallet address (base58)
1908
+ */
1909
+ address: string;
1910
+ };
1911
+ query?: {
1912
+ /**
1913
+ * Only entries with `id` strictly below this cursor; pass the last `id`
1914
+ * of the previous page to fetch the next one.
1915
+ */
1916
+ before?: number;
1917
+ /**
1918
+ * Only entries with `id` strictly above this cursor; pass the first
1919
+ * `id` of a page to fetch newer entries.
1920
+ */
1921
+ after?: number;
1922
+ /**
1923
+ * Page size, 1..=100; defaults to 50.
1924
+ */
1925
+ limit?: number;
1926
+ /**
1927
+ * Pass 1 to return only winning entries; 0 or omitted applies no filter.
1928
+ */
1929
+ winsOnly?: number;
1930
+ };
1931
+ url: '/v1/users/{address}/one-btc';
1932
+ };
1933
+ type GetUserOneBtcEntriesErrors = {
1934
+ 400: UserVaultEntriesApiError400Error;
1935
+ 422: ValidationErrorCodeErrorBody;
1936
+ 500: UserVaultEntriesApiError500Error;
1937
+ };
1938
+ type GetUserOneBtcEntriesError = GetUserOneBtcEntriesErrors[keyof GetUserOneBtcEntriesErrors];
1939
+ type GetUserOneBtcEntriesResponses = {
1940
+ 200: {
1941
+ data: Array<MinerOneBtcEntryDto>;
1942
+ };
1943
+ };
1944
+ type GetUserOneBtcEntriesResponse = GetUserOneBtcEntriesResponses[keyof GetUserOneBtcEntriesResponses];
1286
1945
 
1287
1946
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
1288
1947
  /**
@@ -1324,9 +1983,50 @@ declare class SatrushBackendSdk extends HeyApiClient {
1324
1983
  */
1325
1984
  getConfig<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetConfigResponses, GetConfigErrors, ThrowOnError, "fields">;
1326
1985
  /**
1327
- * Request the top miners by lifetime USD deployed
1986
+ * Request Epoch Vault history
1987
+ */
1988
+ getEpochHistory<ThrowOnError extends boolean = false>(parameters?: {
1989
+ before?: number;
1990
+ after?: number;
1991
+ limit?: number;
1992
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetEpochHistoryResponses, GetEpochHistoryErrors, ThrowOnError, "fields">;
1993
+ /**
1994
+ * Request Epoch Vault winners
1995
+ */
1996
+ getEpochWinners<ThrowOnError extends boolean = false>(parameters?: {
1997
+ before?: number;
1998
+ after?: number;
1999
+ limit?: number;
2000
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetEpochWinnersResponses, GetEpochWinnersErrors, ThrowOnError, "fields">;
2001
+ /**
2002
+ * Request the top miners by lifetime hashrate earned
1328
2003
  */
1329
- getLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetLeaderboardResponses, GetLeaderboardErrors, ThrowOnError, "fields">;
2004
+ getHashrateEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetHashrateEarnedLeaderboardResponses, GetHashrateEarnedLeaderboardErrors, ThrowOnError, "fields">;
2005
+ /**
2006
+ * Request the top miners by lifetime rounds played
2007
+ */
2008
+ getRoundsPlayedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetRoundsPlayedLeaderboardResponses, GetRoundsPlayedLeaderboardErrors, ThrowOnError, "fields">;
2009
+ /**
2010
+ * Request the top miners by lifetime sats earned
2011
+ */
2012
+ getSatsEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetSatsEarnedLeaderboardResponses, GetSatsEarnedLeaderboardErrors, ThrowOnError, "fields">;
2013
+ /**
2014
+ * Request 1 BTC Vault history
2015
+ */
2016
+ getOneBtcHistory<ThrowOnError extends boolean = false>(parameters?: {
2017
+ before?: number;
2018
+ after?: number;
2019
+ limit?: number;
2020
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetOneBtcHistoryResponses, GetOneBtcHistoryErrors, ThrowOnError, "fields">;
2021
+ /**
2022
+ * Request rounds history
2023
+ */
2024
+ getRounds<ThrowOnError extends boolean = false>(parameters?: {
2025
+ before?: number;
2026
+ after?: number;
2027
+ limit?: number;
2028
+ isSatStrike?: number;
2029
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetRoundsResponses, GetRoundsErrors, ThrowOnError, "fields">;
1330
2030
  /**
1331
2031
  * Subscribe for SSE stream
1332
2032
  */
@@ -1357,6 +2057,35 @@ declare class SatrushBackendSdk extends HeyApiClient {
1357
2057
  after?: number;
1358
2058
  limit?: number;
1359
2059
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserDeploymentsResponses, GetUserDeploymentsErrors, ThrowOnError, "fields">;
2060
+ /**
2061
+ * Request user Epoch Vault entries
2062
+ */
2063
+ getUserEpochEntries<ThrowOnError extends boolean = false>(parameters: {
2064
+ address: string;
2065
+ before?: number;
2066
+ after?: number;
2067
+ limit?: number;
2068
+ winsOnly?: number;
2069
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetUserEpochEntriesResponses, GetUserEpochEntriesErrors, ThrowOnError, "fields">;
2070
+ /**
2071
+ * Request user hashrate history
2072
+ */
2073
+ getUserHashrateActions<ThrowOnError extends boolean = false>(parameters: {
2074
+ address: string;
2075
+ before?: number;
2076
+ after?: number;
2077
+ limit?: number;
2078
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetUserHashrateActionsResponses, GetUserHashrateActionsErrors, ThrowOnError, "fields">;
2079
+ /**
2080
+ * Request user 1 BTC Vault entries
2081
+ */
2082
+ getUserOneBtcEntries<ThrowOnError extends boolean = false>(parameters: {
2083
+ address: string;
2084
+ before?: number;
2085
+ after?: number;
2086
+ limit?: number;
2087
+ winsOnly?: number;
2088
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetUserOneBtcEntriesResponses, GetUserOneBtcEntriesErrors, ThrowOnError, "fields">;
1360
2089
  }
1361
2090
 
1362
2091
  /**
@@ -1381,6 +2110,31 @@ declare const zClaimTypeDto: z.ZodEnum<{
1381
2110
  usd: "usd";
1382
2111
  sats: "sats";
1383
2112
  }>;
2113
+ declare const zEpochHistoryApiError400InvalidRange: z.ZodObject<{
2114
+ code: z.ZodEnum<{
2115
+ invalid_range: "invalid_range";
2116
+ }>;
2117
+ }, z.core.$strip>;
2118
+ declare const zEpochHistoryApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2119
+ code: z.ZodLiteral<"invalid_range">;
2120
+ }, z.core.$strip>, z.ZodObject<{
2121
+ code: z.ZodEnum<{
2122
+ invalid_range: "invalid_range";
2123
+ }>;
2124
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2125
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2126
+ }, z.core.$strip>, z.ZodObject<{
2127
+ code: z.ZodEnum<{
2128
+ invalid_path: "invalid_path";
2129
+ invalid_query: "invalid_query";
2130
+ invalid_body: "invalid_body";
2131
+ }>;
2132
+ }, z.core.$strip>>]>;
2133
+ declare const zEpochHistoryApiError500Error: z.ZodObject<{
2134
+ code: z.ZodEnum<{
2135
+ internal: "internal";
2136
+ }>;
2137
+ }, z.core.$strip>;
1384
2138
  /**
1385
2139
  * Lifecycle state of an epoch vault iteration.
1386
2140
  */
@@ -1390,10 +2144,53 @@ declare const zEpochStateDto: z.ZodEnum<{
1390
2144
  settled: "settled";
1391
2145
  complete: "complete";
1392
2146
  }>;
2147
+ declare const zEpochWinnersApiError400InvalidBefore: z.ZodObject<{
2148
+ code: z.ZodEnum<{
2149
+ invalid_before: "invalid_before";
2150
+ }>;
2151
+ }, z.core.$strip>;
2152
+ declare const zEpochWinnersApiError400InvalidRange: z.ZodObject<{
2153
+ code: z.ZodEnum<{
2154
+ invalid_range: "invalid_range";
2155
+ }>;
2156
+ }, z.core.$strip>;
2157
+ declare const zEpochWinnersApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2158
+ code: z.ZodLiteral<"invalid_before">;
2159
+ }, z.core.$strip>, z.ZodObject<{
2160
+ code: z.ZodEnum<{
2161
+ invalid_before: "invalid_before";
2162
+ }>;
2163
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2164
+ code: z.ZodLiteral<"invalid_range">;
2165
+ }, z.core.$strip>, z.ZodObject<{
2166
+ code: z.ZodEnum<{
2167
+ invalid_range: "invalid_range";
2168
+ }>;
2169
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2170
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2171
+ }, z.core.$strip>, z.ZodObject<{
2172
+ code: z.ZodEnum<{
2173
+ invalid_path: "invalid_path";
2174
+ invalid_query: "invalid_query";
2175
+ invalid_body: "invalid_body";
2176
+ }>;
2177
+ }, z.core.$strip>>]>;
2178
+ declare const zEpochWinnersApiError500Error: z.ZodObject<{
2179
+ code: z.ZodEnum<{
2180
+ internal: "internal";
2181
+ }>;
2182
+ }, z.core.$strip>;
1393
2183
  declare const zFieldError: z.ZodObject<{
1394
2184
  field: z.ZodString;
1395
2185
  message: z.ZodString;
1396
2186
  }, z.core.$strip>;
2187
+ /**
2188
+ * Kind of an indexed hashrate spend.
2189
+ */
2190
+ declare const zHashrateActionTypeDto: z.ZodEnum<{
2191
+ buy_epoch_tickets: "buy_epoch_tickets";
2192
+ buy_one_btc_tickets: "buy_one_btc_tickets";
2193
+ }>;
1397
2194
  /**
1398
2195
  * Signed 128-bit integer encoded as a decimal string.
1399
2196
  */
@@ -1410,6 +2207,31 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
1410
2207
  declare const zNotificationEntity: z.ZodEnum<{
1411
2208
  state_snapshot: "state_snapshot";
1412
2209
  }>;
2210
+ declare const zOneBtcHistoryApiError400InvalidRange: z.ZodObject<{
2211
+ code: z.ZodEnum<{
2212
+ invalid_range: "invalid_range";
2213
+ }>;
2214
+ }, z.core.$strip>;
2215
+ declare const zOneBtcHistoryApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2216
+ code: z.ZodLiteral<"invalid_range">;
2217
+ }, z.core.$strip>, z.ZodObject<{
2218
+ code: z.ZodEnum<{
2219
+ invalid_range: "invalid_range";
2220
+ }>;
2221
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2222
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2223
+ }, z.core.$strip>, z.ZodObject<{
2224
+ code: z.ZodEnum<{
2225
+ invalid_path: "invalid_path";
2226
+ invalid_query: "invalid_query";
2227
+ invalid_body: "invalid_body";
2228
+ }>;
2229
+ }, z.core.$strip>>]>;
2230
+ declare const zOneBtcHistoryApiError500Error: z.ZodObject<{
2231
+ code: z.ZodEnum<{
2232
+ internal: "internal";
2233
+ }>;
2234
+ }, z.core.$strip>;
1413
2235
  /**
1414
2236
  * Lifecycle state of a 1 BTC vault iteration.
1415
2237
  */
@@ -1439,6 +2261,16 @@ declare const zPricesDto: z.ZodObject<{
1439
2261
  * - OpenAPI: `type: string`, pattern for base58, optional format
1440
2262
  */
1441
2263
  declare const zPubkeyDto: z.ZodString;
2264
+ /**
2265
+ * Lifecycle state of an indexed round.
2266
+ */
2267
+ declare const zRoundHistoryStateDto: z.ZodEnum<{
2268
+ settled: "settled";
2269
+ active: "active";
2270
+ revealed: "revealed";
2271
+ finished: "finished";
2272
+ pending: "pending";
2273
+ }>;
1442
2274
  /**
1443
2275
  * Lifecycle state of a round.
1444
2276
  */
@@ -1448,6 +2280,53 @@ declare const zRoundStateDto: z.ZodEnum<{
1448
2280
  revealed: "revealed";
1449
2281
  finished: "finished";
1450
2282
  }>;
2283
+ declare const zRoundsApiError400InvalidBefore: z.ZodObject<{
2284
+ code: z.ZodEnum<{
2285
+ invalid_before: "invalid_before";
2286
+ }>;
2287
+ }, z.core.$strip>;
2288
+ declare const zRoundsApiError400InvalidIsSatStrike: z.ZodObject<{
2289
+ code: z.ZodEnum<{
2290
+ invalid_is_sat_strike: "invalid_is_sat_strike";
2291
+ }>;
2292
+ }, z.core.$strip>;
2293
+ declare const zRoundsApiError400InvalidRange: z.ZodObject<{
2294
+ code: z.ZodEnum<{
2295
+ invalid_range: "invalid_range";
2296
+ }>;
2297
+ }, z.core.$strip>;
2298
+ declare const zRoundsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2299
+ code: z.ZodLiteral<"invalid_before">;
2300
+ }, z.core.$strip>, z.ZodObject<{
2301
+ code: z.ZodEnum<{
2302
+ invalid_before: "invalid_before";
2303
+ }>;
2304
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2305
+ code: z.ZodLiteral<"invalid_range">;
2306
+ }, z.core.$strip>, z.ZodObject<{
2307
+ code: z.ZodEnum<{
2308
+ invalid_range: "invalid_range";
2309
+ }>;
2310
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2311
+ code: z.ZodLiteral<"invalid_is_sat_strike">;
2312
+ }, z.core.$strip>, z.ZodObject<{
2313
+ code: z.ZodEnum<{
2314
+ invalid_is_sat_strike: "invalid_is_sat_strike";
2315
+ }>;
2316
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2317
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2318
+ }, z.core.$strip>, z.ZodObject<{
2319
+ code: z.ZodEnum<{
2320
+ invalid_path: "invalid_path";
2321
+ invalid_query: "invalid_query";
2322
+ invalid_body: "invalid_body";
2323
+ }>;
2324
+ }, z.core.$strip>>]>;
2325
+ declare const zRoundsApiError500Error: z.ZodObject<{
2326
+ code: z.ZodEnum<{
2327
+ internal: "internal";
2328
+ }>;
2329
+ }, z.core.$strip>;
1451
2330
  /**
1452
2331
  * Unsigned 128-bit integer encoded as a decimal string.
1453
2332
  */
@@ -1456,6 +2335,20 @@ declare const zU128Dto: z.ZodString;
1456
2335
  * Unsigned 64-bit integer encoded as a decimal string.
1457
2336
  */
1458
2337
  declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
2338
+ /**
2339
+ * An Epoch Vault iteration as recorded by the rounds indexer.
2340
+ */
2341
+ declare const zEpochIterationHistoryDto: z.ZodObject<{
2342
+ address: z.ZodString;
2343
+ endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2344
+ id: z.ZodInt;
2345
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
2346
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
2347
+ startedAt: z.ZodPreprocess<z.ZodISODateTime>;
2348
+ totalParticipants: z.ZodInt;
2349
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2350
+ triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2351
+ }, z.core.$strip>;
1459
2352
  /**
1460
2353
  * A user's participation in an epoch vault iteration.
1461
2354
  */
@@ -1536,13 +2429,29 @@ declare const zEpochVaultDto: z.ZodObject<{
1536
2429
  reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1537
2430
  }, z.core.$strip>;
1538
2431
  /**
1539
- * A miner's position on the lifetime USD-deployed leaderboard.
2432
+ * An Epoch Vault draw winner as recorded by the rounds indexer.
2433
+ */
2434
+ declare const zEpochWinnerHistoryDto: z.ZodObject<{
2435
+ authority: z.ZodString;
2436
+ id: z.ZodInt;
2437
+ iterationId: z.ZodInt;
2438
+ rank: z.ZodInt;
2439
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2440
+ settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2441
+ tickets: z.ZodCoercedBigInt<unknown>;
2442
+ wonBtcAmount: z.ZodCoercedBigInt<unknown>;
2443
+ wonUsdAmount: z.ZodCoercedBigInt<unknown>;
2444
+ }, z.core.$strip>;
2445
+ /**
2446
+ * A miner's position on a lifetime-stats leaderboard.
1540
2447
  */
1541
2448
  declare const zLeaderboardEntryDto: z.ZodObject<{
1542
2449
  authority: z.ZodString;
1543
2450
  maxStreak: z.ZodInt;
1544
2451
  rank: z.ZodInt;
2452
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
1545
2453
  totalRoundsPlayed: z.ZodInt;
2454
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
1546
2455
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
1547
2456
  }, z.core.$strip>;
1548
2457
  /**
@@ -1606,6 +2515,71 @@ declare const zMinerDto: z.ZodObject<{
1606
2515
  unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
1607
2516
  unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
1608
2517
  }, z.core.$strip>;
2518
+ /**
2519
+ * A miner's Epoch Vault participation as recorded by the rounds indexer: one
2520
+ * row per iteration, accumulating the wallet's ticket buys, plus the draw
2521
+ * outcome once resolved.
2522
+ */
2523
+ declare const zMinerEpochEntryDto: z.ZodObject<{
2524
+ address: z.ZodString;
2525
+ authority: z.ZodString;
2526
+ claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2527
+ createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2528
+ id: z.ZodInt;
2529
+ isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2530
+ iterationId: z.ZodInt;
2531
+ rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2532
+ tickets: z.ZodCoercedBigInt<unknown>;
2533
+ wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2534
+ wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2535
+ }, z.core.$strip>;
2536
+ /**
2537
+ * A miner's hashrate spend as recorded by the rounds indexer from a
2538
+ * `buy_epoch_tickets` or `buy_one_btc_tickets` instruction.
2539
+ */
2540
+ declare const zMinerHashrateActionDto: z.ZodObject<{
2541
+ actionType: z.ZodEnum<{
2542
+ buy_epoch_tickets: "buy_epoch_tickets";
2543
+ buy_one_btc_tickets: "buy_one_btc_tickets";
2544
+ }>;
2545
+ authority: z.ZodString;
2546
+ executedAt: z.ZodPreprocess<z.ZodISODateTime>;
2547
+ hashrateSpent: z.ZodCoercedBigInt<unknown>;
2548
+ id: z.ZodInt;
2549
+ signature: z.ZodString;
2550
+ ticketsBought: z.ZodCoercedBigInt<unknown>;
2551
+ }, z.core.$strip>;
2552
+ /**
2553
+ * A miner's 1 BTC Vault ticket purchase as recorded by the rounds indexer:
2554
+ * one row per buy holding the contiguous range
2555
+ * `[start_ticket_id, start_ticket_id + tickets)`, plus the draw outcome once
2556
+ * resolved.
2557
+ */
2558
+ declare const zMinerOneBtcEntryDto: z.ZodObject<{
2559
+ address: z.ZodString;
2560
+ authority: z.ZodString;
2561
+ claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2562
+ createdAt: z.ZodPreprocess<z.ZodISODateTime>;
2563
+ id: z.ZodInt;
2564
+ isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2565
+ iterationId: z.ZodInt;
2566
+ startTicketId: z.ZodCoercedBigInt<unknown>;
2567
+ tickets: z.ZodCoercedBigInt<unknown>;
2568
+ }, z.core.$strip>;
2569
+ /**
2570
+ * A 1 BTC Vault iteration as recorded by the rounds indexer, including the
2571
+ * draw's winner once settled.
2572
+ */
2573
+ declare const zOneBtcIterationHistoryDto: z.ZodObject<{
2574
+ address: z.ZodString;
2575
+ endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2576
+ id: z.ZodInt;
2577
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2578
+ startedAt: z.ZodPreprocess<z.ZodISODateTime>;
2579
+ totalParticipants: z.ZodInt;
2580
+ totalTickets: z.ZodCoercedBigInt<unknown>;
2581
+ winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
2582
+ }, z.core.$strip>;
1609
2583
  /**
1610
2584
  * A user's ticket purchase in a 1 BTC vault iteration.
1611
2585
  */
@@ -1746,6 +2720,30 @@ declare const zProfileDto: z.ZodObject<{
1746
2720
  selectionMask: z.ZodInt;
1747
2721
  }, z.core.$strip>>;
1748
2722
  }, z.core.$strip>;
2723
+ /**
2724
+ * A round's outcome as recorded by the rounds indexer.
2725
+ */
2726
+ declare const zRoundHistoryDto: z.ZodObject<{
2727
+ id: z.ZodInt;
2728
+ isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
2729
+ minersCount: z.ZodInt;
2730
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2731
+ startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2732
+ state: z.ZodEnum<{
2733
+ settled: "settled";
2734
+ active: "active";
2735
+ revealed: "revealed";
2736
+ finished: "finished";
2737
+ pending: "pending";
2738
+ }>;
2739
+ strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2740
+ strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2741
+ totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
2742
+ totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2743
+ totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
2744
+ winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2745
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2746
+ }, z.core.$strip>;
1749
2747
  /**
1750
2748
  * Protocol configuration: token mints and fee rates.
1751
2749
  */
@@ -2649,6 +3647,53 @@ declare const zUserDeploymentsApiError500Error: z.ZodObject<{
2649
3647
  internal: "internal";
2650
3648
  }>;
2651
3649
  }, z.core.$strip>;
3650
+ declare const zUserHashrateApiError400InvalidAddress: z.ZodObject<{
3651
+ code: z.ZodEnum<{
3652
+ invalid_address: "invalid_address";
3653
+ }>;
3654
+ }, z.core.$strip>;
3655
+ declare const zUserHashrateApiError400InvalidBefore: z.ZodObject<{
3656
+ code: z.ZodEnum<{
3657
+ invalid_before: "invalid_before";
3658
+ }>;
3659
+ }, z.core.$strip>;
3660
+ declare const zUserHashrateApiError400InvalidRange: z.ZodObject<{
3661
+ code: z.ZodEnum<{
3662
+ invalid_range: "invalid_range";
3663
+ }>;
3664
+ }, z.core.$strip>;
3665
+ declare const zUserHashrateApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
3666
+ code: z.ZodLiteral<"invalid_address">;
3667
+ }, z.core.$strip>, z.ZodObject<{
3668
+ code: z.ZodEnum<{
3669
+ invalid_address: "invalid_address";
3670
+ }>;
3671
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3672
+ code: z.ZodLiteral<"invalid_before">;
3673
+ }, z.core.$strip>, z.ZodObject<{
3674
+ code: z.ZodEnum<{
3675
+ invalid_before: "invalid_before";
3676
+ }>;
3677
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3678
+ code: z.ZodLiteral<"invalid_range">;
3679
+ }, z.core.$strip>, z.ZodObject<{
3680
+ code: z.ZodEnum<{
3681
+ invalid_range: "invalid_range";
3682
+ }>;
3683
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3684
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
3685
+ }, z.core.$strip>, z.ZodObject<{
3686
+ code: z.ZodEnum<{
3687
+ invalid_path: "invalid_path";
3688
+ invalid_query: "invalid_query";
3689
+ invalid_body: "invalid_body";
3690
+ }>;
3691
+ }, z.core.$strip>>]>;
3692
+ declare const zUserHashrateApiError500Error: z.ZodObject<{
3693
+ code: z.ZodEnum<{
3694
+ internal: "internal";
3695
+ }>;
3696
+ }, z.core.$strip>;
2652
3697
  declare const zUserProfileApiError400InvalidAddress: z.ZodObject<{
2653
3698
  code: z.ZodEnum<{
2654
3699
  invalid_address: "invalid_address";
@@ -2669,6 +3714,64 @@ declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
2669
3714
  invalid_body: "invalid_body";
2670
3715
  }>;
2671
3716
  }, z.core.$strip>>]>;
3717
+ declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
3718
+ code: z.ZodEnum<{
3719
+ invalid_address: "invalid_address";
3720
+ }>;
3721
+ }, z.core.$strip>;
3722
+ declare const zUserVaultEntriesApiError400InvalidBefore: z.ZodObject<{
3723
+ code: z.ZodEnum<{
3724
+ invalid_before: "invalid_before";
3725
+ }>;
3726
+ }, z.core.$strip>;
3727
+ declare const zUserVaultEntriesApiError400InvalidRange: z.ZodObject<{
3728
+ code: z.ZodEnum<{
3729
+ invalid_range: "invalid_range";
3730
+ }>;
3731
+ }, z.core.$strip>;
3732
+ declare const zUserVaultEntriesApiError400InvalidWinsOnly: z.ZodObject<{
3733
+ code: z.ZodEnum<{
3734
+ invalid_wins_only: "invalid_wins_only";
3735
+ }>;
3736
+ }, z.core.$strip>;
3737
+ declare const zUserVaultEntriesApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
3738
+ code: z.ZodLiteral<"invalid_address">;
3739
+ }, z.core.$strip>, z.ZodObject<{
3740
+ code: z.ZodEnum<{
3741
+ invalid_address: "invalid_address";
3742
+ }>;
3743
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3744
+ code: z.ZodLiteral<"invalid_before">;
3745
+ }, z.core.$strip>, z.ZodObject<{
3746
+ code: z.ZodEnum<{
3747
+ invalid_before: "invalid_before";
3748
+ }>;
3749
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3750
+ code: z.ZodLiteral<"invalid_range">;
3751
+ }, z.core.$strip>, z.ZodObject<{
3752
+ code: z.ZodEnum<{
3753
+ invalid_range: "invalid_range";
3754
+ }>;
3755
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3756
+ code: z.ZodLiteral<"invalid_wins_only">;
3757
+ }, z.core.$strip>, z.ZodObject<{
3758
+ code: z.ZodEnum<{
3759
+ invalid_wins_only: "invalid_wins_only";
3760
+ }>;
3761
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3762
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
3763
+ }, z.core.$strip>, z.ZodObject<{
3764
+ code: z.ZodEnum<{
3765
+ invalid_path: "invalid_path";
3766
+ invalid_query: "invalid_query";
3767
+ invalid_body: "invalid_body";
3768
+ }>;
3769
+ }, z.core.$strip>>]>;
3770
+ declare const zUserVaultEntriesApiError500Error: z.ZodObject<{
3771
+ code: z.ZodEnum<{
3772
+ internal: "internal";
3773
+ }>;
3774
+ }, z.core.$strip>;
2672
3775
  declare const zValidationErrorCodeErrorBody: z.ZodObject<{
2673
3776
  code: z.ZodEnum<{
2674
3777
  validation_failed: "validation_failed";
@@ -2855,21 +3958,159 @@ declare const zGetConfigResponse: z.ZodObject<{
2855
3958
  }, z.core.$strip>;
2856
3959
  }, z.core.$strip>;
2857
3960
  type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
2858
- declare const zGetLeaderboardData: z.ZodObject<{
3961
+ declare const zGetEpochHistoryData: z.ZodObject<{
3962
+ body: z.ZodOptional<z.ZodNever>;
3963
+ path: z.ZodOptional<z.ZodNever>;
3964
+ query: z.ZodOptional<z.ZodObject<{
3965
+ before: z.ZodOptional<z.ZodInt>;
3966
+ after: z.ZodOptional<z.ZodInt>;
3967
+ limit: z.ZodOptional<z.ZodInt>;
3968
+ }, z.core.$strip>>;
3969
+ }, z.core.$strip>;
3970
+ declare const zGetEpochHistoryResponse: z.ZodObject<{
3971
+ data: z.ZodArray<z.ZodObject<{
3972
+ address: z.ZodString;
3973
+ endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
3974
+ id: z.ZodInt;
3975
+ poolBtcAmount: z.ZodCoercedBigInt<unknown>;
3976
+ poolUsdAmount: z.ZodCoercedBigInt<unknown>;
3977
+ startedAt: z.ZodPreprocess<z.ZodISODateTime>;
3978
+ totalParticipants: z.ZodInt;
3979
+ totalTickets: z.ZodCoercedBigInt<unknown>;
3980
+ triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
3981
+ }, z.core.$strip>>;
3982
+ }, z.core.$strip>;
3983
+ type GetEpochHistoryResponseZodType = z.infer<typeof zGetEpochHistoryResponse>;
3984
+ declare const zGetEpochWinnersData: z.ZodObject<{
3985
+ body: z.ZodOptional<z.ZodNever>;
3986
+ path: z.ZodOptional<z.ZodNever>;
3987
+ query: z.ZodOptional<z.ZodObject<{
3988
+ before: z.ZodOptional<z.ZodInt>;
3989
+ after: z.ZodOptional<z.ZodInt>;
3990
+ limit: z.ZodOptional<z.ZodInt>;
3991
+ }, z.core.$strip>>;
3992
+ }, z.core.$strip>;
3993
+ declare const zGetEpochWinnersResponse: z.ZodObject<{
3994
+ data: z.ZodArray<z.ZodObject<{
3995
+ authority: z.ZodString;
3996
+ id: z.ZodInt;
3997
+ iterationId: z.ZodInt;
3998
+ rank: z.ZodInt;
3999
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4000
+ settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4001
+ tickets: z.ZodCoercedBigInt<unknown>;
4002
+ wonBtcAmount: z.ZodCoercedBigInt<unknown>;
4003
+ wonUsdAmount: z.ZodCoercedBigInt<unknown>;
4004
+ }, z.core.$strip>>;
4005
+ }, z.core.$strip>;
4006
+ type GetEpochWinnersResponseZodType = z.infer<typeof zGetEpochWinnersResponse>;
4007
+ declare const zGetHashrateEarnedLeaderboardData: z.ZodObject<{
4008
+ body: z.ZodOptional<z.ZodNever>;
4009
+ path: z.ZodOptional<z.ZodNever>;
4010
+ query: z.ZodOptional<z.ZodNever>;
4011
+ }, z.core.$strip>;
4012
+ declare const zGetHashrateEarnedLeaderboardResponse: z.ZodObject<{
4013
+ data: z.ZodArray<z.ZodObject<{
4014
+ authority: z.ZodString;
4015
+ maxStreak: z.ZodInt;
4016
+ rank: z.ZodInt;
4017
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4018
+ totalRoundsPlayed: z.ZodInt;
4019
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4020
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4021
+ }, z.core.$strip>>;
4022
+ }, z.core.$strip>;
4023
+ type GetHashrateEarnedLeaderboardResponseZodType = z.infer<typeof zGetHashrateEarnedLeaderboardResponse>;
4024
+ declare const zGetRoundsPlayedLeaderboardData: z.ZodObject<{
4025
+ body: z.ZodOptional<z.ZodNever>;
4026
+ path: z.ZodOptional<z.ZodNever>;
4027
+ query: z.ZodOptional<z.ZodNever>;
4028
+ }, z.core.$strip>;
4029
+ declare const zGetRoundsPlayedLeaderboardResponse: z.ZodObject<{
4030
+ data: z.ZodArray<z.ZodObject<{
4031
+ authority: z.ZodString;
4032
+ maxStreak: z.ZodInt;
4033
+ rank: z.ZodInt;
4034
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4035
+ totalRoundsPlayed: z.ZodInt;
4036
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4037
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4038
+ }, z.core.$strip>>;
4039
+ }, z.core.$strip>;
4040
+ type GetRoundsPlayedLeaderboardResponseZodType = z.infer<typeof zGetRoundsPlayedLeaderboardResponse>;
4041
+ declare const zGetSatsEarnedLeaderboardData: z.ZodObject<{
2859
4042
  body: z.ZodOptional<z.ZodNever>;
2860
4043
  path: z.ZodOptional<z.ZodNever>;
2861
4044
  query: z.ZodOptional<z.ZodNever>;
2862
4045
  }, z.core.$strip>;
2863
- declare const zGetLeaderboardResponse: z.ZodObject<{
4046
+ declare const zGetSatsEarnedLeaderboardResponse: z.ZodObject<{
2864
4047
  data: z.ZodArray<z.ZodObject<{
2865
4048
  authority: z.ZodString;
2866
4049
  maxStreak: z.ZodInt;
2867
4050
  rank: z.ZodInt;
4051
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
2868
4052
  totalRoundsPlayed: z.ZodInt;
4053
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
2869
4054
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2870
4055
  }, z.core.$strip>>;
2871
4056
  }, z.core.$strip>;
2872
- type GetLeaderboardResponseZodType = z.infer<typeof zGetLeaderboardResponse>;
4057
+ type GetSatsEarnedLeaderboardResponseZodType = z.infer<typeof zGetSatsEarnedLeaderboardResponse>;
4058
+ declare const zGetOneBtcHistoryData: z.ZodObject<{
4059
+ body: z.ZodOptional<z.ZodNever>;
4060
+ path: z.ZodOptional<z.ZodNever>;
4061
+ query: z.ZodOptional<z.ZodObject<{
4062
+ before: z.ZodOptional<z.ZodInt>;
4063
+ after: z.ZodOptional<z.ZodInt>;
4064
+ limit: z.ZodOptional<z.ZodInt>;
4065
+ }, z.core.$strip>>;
4066
+ }, z.core.$strip>;
4067
+ declare const zGetOneBtcHistoryResponse: z.ZodObject<{
4068
+ data: z.ZodArray<z.ZodObject<{
4069
+ address: z.ZodString;
4070
+ endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4071
+ id: z.ZodInt;
4072
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4073
+ startedAt: z.ZodPreprocess<z.ZodISODateTime>;
4074
+ totalParticipants: z.ZodInt;
4075
+ totalTickets: z.ZodCoercedBigInt<unknown>;
4076
+ winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
4077
+ }, z.core.$strip>>;
4078
+ }, z.core.$strip>;
4079
+ type GetOneBtcHistoryResponseZodType = z.infer<typeof zGetOneBtcHistoryResponse>;
4080
+ declare const zGetRoundsData: z.ZodObject<{
4081
+ body: z.ZodOptional<z.ZodNever>;
4082
+ path: z.ZodOptional<z.ZodNever>;
4083
+ query: z.ZodOptional<z.ZodObject<{
4084
+ before: z.ZodOptional<z.ZodInt>;
4085
+ after: z.ZodOptional<z.ZodInt>;
4086
+ limit: z.ZodOptional<z.ZodInt>;
4087
+ isSatStrike: z.ZodOptional<z.ZodInt>;
4088
+ }, z.core.$strip>>;
4089
+ }, z.core.$strip>;
4090
+ declare const zGetRoundsResponse: z.ZodObject<{
4091
+ data: z.ZodArray<z.ZodObject<{
4092
+ id: z.ZodInt;
4093
+ isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4094
+ minersCount: z.ZodInt;
4095
+ settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4096
+ startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4097
+ state: z.ZodEnum<{
4098
+ settled: "settled";
4099
+ active: "active";
4100
+ revealed: "revealed";
4101
+ finished: "finished";
4102
+ pending: "pending";
4103
+ }>;
4104
+ strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4105
+ strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4106
+ totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
4107
+ totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4108
+ totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4109
+ winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4110
+ winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4111
+ }, z.core.$strip>>;
4112
+ }, z.core.$strip>;
4113
+ type GetRoundsResponseZodType = z.infer<typeof zGetRoundsResponse>;
2873
4114
  declare const zSseData: z.ZodObject<{
2874
4115
  body: z.ZodOptional<z.ZodNever>;
2875
4116
  path: z.ZodOptional<z.ZodNever>;
@@ -3210,6 +4451,86 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
3210
4451
  }, z.core.$strip>>;
3211
4452
  }, z.core.$strip>;
3212
4453
  type GetUserDeploymentsResponseZodType = z.infer<typeof zGetUserDeploymentsResponse>;
4454
+ declare const zGetUserEpochEntriesData: z.ZodObject<{
4455
+ body: z.ZodOptional<z.ZodNever>;
4456
+ path: z.ZodObject<{
4457
+ address: z.ZodString;
4458
+ }, z.core.$strip>;
4459
+ query: z.ZodOptional<z.ZodObject<{
4460
+ before: z.ZodOptional<z.ZodInt>;
4461
+ after: z.ZodOptional<z.ZodInt>;
4462
+ limit: z.ZodOptional<z.ZodInt>;
4463
+ winsOnly: z.ZodOptional<z.ZodInt>;
4464
+ }, z.core.$strip>>;
4465
+ }, z.core.$strip>;
4466
+ declare const zGetUserEpochEntriesResponse: z.ZodObject<{
4467
+ data: z.ZodArray<z.ZodObject<{
4468
+ address: z.ZodString;
4469
+ authority: z.ZodString;
4470
+ claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4471
+ createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4472
+ id: z.ZodInt;
4473
+ isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4474
+ iterationId: z.ZodInt;
4475
+ rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4476
+ tickets: z.ZodCoercedBigInt<unknown>;
4477
+ wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4478
+ wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
4479
+ }, z.core.$strip>>;
4480
+ }, z.core.$strip>;
4481
+ type GetUserEpochEntriesResponseZodType = z.infer<typeof zGetUserEpochEntriesResponse>;
4482
+ declare const zGetUserHashrateActionsData: z.ZodObject<{
4483
+ body: z.ZodOptional<z.ZodNever>;
4484
+ path: z.ZodObject<{
4485
+ address: z.ZodString;
4486
+ }, z.core.$strip>;
4487
+ query: z.ZodOptional<z.ZodObject<{
4488
+ before: z.ZodOptional<z.ZodInt>;
4489
+ after: z.ZodOptional<z.ZodInt>;
4490
+ limit: z.ZodOptional<z.ZodInt>;
4491
+ }, z.core.$strip>>;
4492
+ }, z.core.$strip>;
4493
+ declare const zGetUserHashrateActionsResponse: z.ZodObject<{
4494
+ data: z.ZodArray<z.ZodObject<{
4495
+ actionType: z.ZodEnum<{
4496
+ buy_epoch_tickets: "buy_epoch_tickets";
4497
+ buy_one_btc_tickets: "buy_one_btc_tickets";
4498
+ }>;
4499
+ authority: z.ZodString;
4500
+ executedAt: z.ZodPreprocess<z.ZodISODateTime>;
4501
+ hashrateSpent: z.ZodCoercedBigInt<unknown>;
4502
+ id: z.ZodInt;
4503
+ signature: z.ZodString;
4504
+ ticketsBought: z.ZodCoercedBigInt<unknown>;
4505
+ }, z.core.$strip>>;
4506
+ }, z.core.$strip>;
4507
+ type GetUserHashrateActionsResponseZodType = z.infer<typeof zGetUserHashrateActionsResponse>;
4508
+ declare const zGetUserOneBtcEntriesData: z.ZodObject<{
4509
+ body: z.ZodOptional<z.ZodNever>;
4510
+ path: z.ZodObject<{
4511
+ address: z.ZodString;
4512
+ }, z.core.$strip>;
4513
+ query: z.ZodOptional<z.ZodObject<{
4514
+ before: z.ZodOptional<z.ZodInt>;
4515
+ after: z.ZodOptional<z.ZodInt>;
4516
+ limit: z.ZodOptional<z.ZodInt>;
4517
+ winsOnly: z.ZodOptional<z.ZodInt>;
4518
+ }, z.core.$strip>>;
4519
+ }, z.core.$strip>;
4520
+ declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
4521
+ data: z.ZodArray<z.ZodObject<{
4522
+ address: z.ZodString;
4523
+ authority: z.ZodString;
4524
+ claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4525
+ createdAt: z.ZodPreprocess<z.ZodISODateTime>;
4526
+ id: z.ZodInt;
4527
+ isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
4528
+ iterationId: z.ZodInt;
4529
+ startTicketId: z.ZodCoercedBigInt<unknown>;
4530
+ tickets: z.ZodCoercedBigInt<unknown>;
4531
+ }, z.core.$strip>>;
4532
+ }, z.core.$strip>;
4533
+ type GetUserOneBtcEntriesResponseZodType = z.infer<typeof zGetUserOneBtcEntriesResponse>;
3213
4534
 
3214
4535
  type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
3215
4536
  type UnwrapData<T> = T extends {
@@ -3233,4 +4554,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
3233
4554
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
3234
4555
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
3235
4556
 
3236
- export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, NotificationEntity, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDto, RoundStateDto, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zNotificationEntity, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
4557
+ export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationHistoryDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationHistoryDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationHistoryDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationHistoryDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };