@satrush/api 0.1.6 → 0.1.7

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
@@ -365,7 +365,17 @@ type BoardDto = {
365
365
  * Round duration in slots.
366
366
  */
367
367
  roundDuration: number;
368
+ /**
369
+ * Wall-clock time of `end_slot` (in the future while the round is
370
+ * mining), derived the same way.
371
+ */
372
+ roundEndsAt: Date;
368
373
  roundId: number;
374
+ /**
375
+ * Wall-clock time of `start_slot`, derived from the current time and
376
+ * slot assuming exactly 400ms per slot.
377
+ */
378
+ roundStartedAt: Date;
369
379
  /**
370
380
  * The sats vault balances.
371
381
  */
@@ -376,6 +386,17 @@ type BoardDto = {
376
386
  startSlot: U64Dto;
377
387
  strike: StrikeJackpotDto;
378
388
  };
389
+ /**
390
+ * Kind of an indexed claim.
391
+ */
392
+ declare const ClaimTypeDto: {
393
+ readonly USD: "usd";
394
+ readonly SATS: "sats";
395
+ };
396
+ /**
397
+ * Kind of an indexed claim.
398
+ */
399
+ type ClaimTypeDto = typeof ClaimTypeDto[keyof typeof ClaimTypeDto];
379
400
  /**
380
401
  * Lifecycle state of an epoch vault iteration.
381
402
  */
@@ -395,7 +416,17 @@ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
395
416
  type EpochVaultDto = {
396
417
  address: PubkeyDto;
397
418
  currentIteration?: null | EpochVaultIterationDto;
419
+ /**
420
+ * Wall-clock time the iteration's window closes (start plus the
421
+ * configured iteration duration), derived the same way.
422
+ */
423
+ iterationEndsAt: Date;
398
424
  iterationId: number;
425
+ /**
426
+ * Wall-clock time of `last_trigger_slot`, derived from the current time
427
+ * and slot assuming exactly 400ms per slot.
428
+ */
429
+ iterationStartedAt: Date;
399
430
  /**
400
431
  * Slot at which the current iteration's window started.
401
432
  */
@@ -496,6 +527,49 @@ type I64Dto = bigint;
496
527
  type InternalErrorCodeErrorBody = {
497
528
  code: 'internal_error';
498
529
  };
530
+ /**
531
+ * A miner's position on the lifetime USD-deployed leaderboard.
532
+ */
533
+ type LeaderboardEntryDto = {
534
+ authority: PubkeyDto;
535
+ /**
536
+ * Longest streak of consecutive rounds ever played.
537
+ */
538
+ maxStreak: number;
539
+ /**
540
+ * 1-based position, ordered by `total_usd_deployed` descending.
541
+ */
542
+ rank: number;
543
+ /**
544
+ * Lifetime count of rounds played.
545
+ */
546
+ totalRoundsPlayed: number;
547
+ /**
548
+ * Lifetime gross USD deployed.
549
+ */
550
+ totalUsdDeployed: U64Dto;
551
+ };
552
+ /**
553
+ * A miner's claim as recorded by the rounds indexer from a `claim_usd` or
554
+ * `claim_sats` instruction.
555
+ */
556
+ type MinerClaimDto = {
557
+ authority: PubkeyDto;
558
+ btcReceived?: null | U64Dto;
559
+ claimType: ClaimTypeDto;
560
+ claimedAt: Date;
561
+ hashrateClaimed?: null | U64Dto;
562
+ /**
563
+ * Monotonic claim id; the pagination cursor.
564
+ */
565
+ id: number;
566
+ satsClaimed?: null | U64Dto;
567
+ /**
568
+ * Signature of the claiming transaction.
569
+ */
570
+ signature: string;
571
+ usdClaimed?: null | U64Dto;
572
+ };
499
573
  /**
500
574
  * A miner's deployment as recorded by the rounds indexer: the deploy itself
501
575
  * plus its settlement outcome once the round is settled.
@@ -709,9 +783,7 @@ type OneBtcVaultIterationDto = {
709
783
  * A past round's outcome from the indexed history.
710
784
  */
711
785
  type PreviousRoundDto = {
712
- /**
713
- * The tile that won the round.
714
- */
786
+ roundId: number;
715
787
  winningTile: number;
716
788
  };
717
789
  /**
@@ -733,10 +805,6 @@ type PricesDto = {
733
805
  */
734
806
  type ProfileDto = {
735
807
  automation?: null | PublicAutomationDto;
736
- /**
737
- * The authority's open public deployments.
738
- */
739
- deployments: Array<PublicDeploymentDto>;
740
808
  /**
741
809
  * The authority's open epoch vault entries.
742
810
  */
@@ -746,6 +814,10 @@ type ProfileDto = {
746
814
  * The authority's open 1 BTC vault entries.
747
815
  */
748
816
  oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
817
+ /**
818
+ * The authority's open public deployments.
819
+ */
820
+ unsettledDeployments: Array<PublicDeploymentDto>;
749
821
  };
750
822
  /**
751
823
  * Pubkey represented as base58 string in JSON and OpenAPI.
@@ -941,6 +1013,11 @@ type StrikeJackpotDto = {
941
1013
  * BTC held after the swap.
942
1014
  */
943
1015
  btcAmount: U64Dto;
1016
+ /**
1017
+ * When the last triggering round was settled (indexed history). Null when
1018
+ * the jackpot was never triggered or that round is not indexed/settled.
1019
+ */
1020
+ lastTriggerAt?: Date | null;
944
1021
  /**
945
1022
  * Last round id at which the strike jackpot was triggered.
946
1023
  */
@@ -969,14 +1046,45 @@ type U128Dto = bigint;
969
1046
  * Unsigned 64-bit integer encoded as a decimal string.
970
1047
  */
971
1048
  type U64Dto = bigint;
1049
+ type UserClaimsApiError400Error = ({
1050
+ code: 'invalid_address';
1051
+ } & UserClaimsApiError400InvalidAddress) | ({
1052
+ code: 'invalid_before';
1053
+ } & UserClaimsApiError400InvalidBefore) | ({
1054
+ code: 'invalid_range';
1055
+ } & UserClaimsApiError400InvalidRange) | ({
1056
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
1057
+ } & BadRequestErrorCodeErrorBody);
1058
+ type UserClaimsApiError400InvalidAddress = {
1059
+ code: 'invalid_address';
1060
+ };
1061
+ type UserClaimsApiError400InvalidBefore = {
1062
+ code: 'invalid_before';
1063
+ };
1064
+ type UserClaimsApiError400InvalidRange = {
1065
+ code: 'invalid_range';
1066
+ };
1067
+ type UserClaimsApiError500Error = {
1068
+ code: 'internal';
1069
+ };
972
1070
  type UserDeploymentsApiError400Error = ({
973
1071
  code: 'invalid_address';
974
1072
  } & UserDeploymentsApiError400InvalidAddress) | ({
1073
+ code: 'invalid_before';
1074
+ } & UserDeploymentsApiError400InvalidBefore) | ({
1075
+ code: 'invalid_range';
1076
+ } & UserDeploymentsApiError400InvalidRange) | ({
975
1077
  code: 'invalid_body' | 'invalid_path' | 'invalid_query';
976
1078
  } & BadRequestErrorCodeErrorBody);
977
1079
  type UserDeploymentsApiError400InvalidAddress = {
978
1080
  code: 'invalid_address';
979
1081
  };
1082
+ type UserDeploymentsApiError400InvalidBefore = {
1083
+ code: 'invalid_before';
1084
+ };
1085
+ type UserDeploymentsApiError400InvalidRange = {
1086
+ code: 'invalid_range';
1087
+ };
980
1088
  type UserDeploymentsApiError500Error = {
981
1089
  code: 'internal';
982
1090
  };
@@ -1032,6 +1140,22 @@ type GetConfigResponses = {
1032
1140
  };
1033
1141
  };
1034
1142
  type GetConfigResponse = GetConfigResponses[keyof GetConfigResponses];
1143
+ type GetLeaderboardData = {
1144
+ body?: never;
1145
+ path?: never;
1146
+ query?: never;
1147
+ url: '/v1/leaderboard';
1148
+ };
1149
+ type GetLeaderboardErrors = {
1150
+ 500: InternalErrorCodeErrorBody;
1151
+ };
1152
+ type GetLeaderboardError = GetLeaderboardErrors[keyof GetLeaderboardErrors];
1153
+ type GetLeaderboardResponses = {
1154
+ 200: {
1155
+ data: Array<LeaderboardEntryDto>;
1156
+ };
1157
+ };
1158
+ type GetLeaderboardResponse = GetLeaderboardResponses[keyof GetLeaderboardResponses];
1035
1159
  type SseData = {
1036
1160
  body?: never;
1037
1161
  path?: never;
@@ -1083,6 +1207,44 @@ type GetUserProfileResponses = {
1083
1207
  };
1084
1208
  };
1085
1209
  type GetUserProfileResponse = GetUserProfileResponses[keyof GetUserProfileResponses];
1210
+ type GetUserClaimsData = {
1211
+ body?: never;
1212
+ path: {
1213
+ /**
1214
+ * User wallet address (base58)
1215
+ */
1216
+ address: string;
1217
+ };
1218
+ query?: {
1219
+ /**
1220
+ * Only claims with `id` strictly below this cursor; pass the last `id`
1221
+ * of the previous page to fetch the next one.
1222
+ */
1223
+ before?: number;
1224
+ /**
1225
+ * Only claims with `id` strictly above this cursor; pass the first `id`
1226
+ * of a page to fetch newer claims.
1227
+ */
1228
+ after?: number;
1229
+ /**
1230
+ * Page size, 1..=100; defaults to 50.
1231
+ */
1232
+ limit?: number;
1233
+ };
1234
+ url: '/v1/users/{address}/claims';
1235
+ };
1236
+ type GetUserClaimsErrors = {
1237
+ 400: UserClaimsApiError400Error;
1238
+ 422: ValidationErrorCodeErrorBody;
1239
+ 500: UserClaimsApiError500Error;
1240
+ };
1241
+ type GetUserClaimsError = GetUserClaimsErrors[keyof GetUserClaimsErrors];
1242
+ type GetUserClaimsResponses = {
1243
+ 200: {
1244
+ data: Array<MinerClaimDto>;
1245
+ };
1246
+ };
1247
+ type GetUserClaimsResponse = GetUserClaimsResponses[keyof GetUserClaimsResponses];
1086
1248
  type GetUserDeploymentsData = {
1087
1249
  body?: never;
1088
1250
  path: {
@@ -1097,6 +1259,11 @@ type GetUserDeploymentsData = {
1097
1259
  * last `round_id` of the previous page to fetch the next one.
1098
1260
  */
1099
1261
  before?: number;
1262
+ /**
1263
+ * Only deployments with `round_id` strictly above this cursor; pass the
1264
+ * first `round_id` of a page to fetch newer deployments.
1265
+ */
1266
+ after?: number;
1100
1267
  /**
1101
1268
  * Page size, 1..=100; defaults to 50.
1102
1269
  */
@@ -1156,6 +1323,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
1156
1323
  * Request config
1157
1324
  */
1158
1325
  getConfig<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetConfigResponses, GetConfigErrors, ThrowOnError, "fields">;
1326
+ /**
1327
+ * Request the top miners by lifetime USD deployed
1328
+ */
1329
+ getLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetLeaderboardResponses, GetLeaderboardErrors, ThrowOnError, "fields">;
1159
1330
  /**
1160
1331
  * Subscribe for SSE stream
1161
1332
  */
@@ -1168,12 +1339,22 @@ declare class SatrushBackendSdk extends HeyApiClient {
1168
1339
  getUserProfile<ThrowOnError extends boolean = false>(parameters: {
1169
1340
  address: string;
1170
1341
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserProfileResponses, GetUserProfileErrors, ThrowOnError, "fields">;
1342
+ /**
1343
+ * Request user claims
1344
+ */
1345
+ getUserClaims<ThrowOnError extends boolean = false>(parameters: {
1346
+ address: string;
1347
+ before?: number;
1348
+ after?: number;
1349
+ limit?: number;
1350
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetUserClaimsResponses, GetUserClaimsErrors, ThrowOnError, "fields">;
1171
1351
  /**
1172
1352
  * Request user deployments
1173
1353
  */
1174
1354
  getUserDeployments<ThrowOnError extends boolean = false>(parameters: {
1175
1355
  address: string;
1176
1356
  before?: number;
1357
+ after?: number;
1177
1358
  limit?: number;
1178
1359
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserDeploymentsResponses, GetUserDeploymentsErrors, ThrowOnError, "fields">;
1179
1360
  }
@@ -1193,6 +1374,13 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
1193
1374
  invalid_body: "invalid_body";
1194
1375
  }>;
1195
1376
  }, z.core.$strip>;
1377
+ /**
1378
+ * Kind of an indexed claim.
1379
+ */
1380
+ declare const zClaimTypeDto: z.ZodEnum<{
1381
+ usd: "usd";
1382
+ sats: "sats";
1383
+ }>;
1196
1384
  /**
1197
1385
  * Lifecycle state of an epoch vault iteration.
1198
1386
  */
@@ -1234,6 +1422,7 @@ declare const zOneBtcStateDto: z.ZodEnum<{
1234
1422
  * A past round's outcome from the indexed history.
1235
1423
  */
1236
1424
  declare const zPreviousRoundDto: z.ZodObject<{
1425
+ roundId: z.ZodInt;
1237
1426
  winningTile: z.ZodInt;
1238
1427
  }, z.core.$strip>;
1239
1428
  /**
@@ -1336,7 +1525,9 @@ declare const zEpochVaultDto: z.ZodObject<{
1336
1525
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1337
1526
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1338
1527
  }, z.core.$strip>]>>;
1528
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1339
1529
  iterationId: z.ZodInt;
1530
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1340
1531
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1341
1532
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1342
1533
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1344,6 +1535,34 @@ declare const zEpochVaultDto: z.ZodObject<{
1344
1535
  reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
1345
1536
  reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
1346
1537
  }, z.core.$strip>;
1538
+ /**
1539
+ * A miner's position on the lifetime USD-deployed leaderboard.
1540
+ */
1541
+ declare const zLeaderboardEntryDto: z.ZodObject<{
1542
+ authority: z.ZodString;
1543
+ maxStreak: z.ZodInt;
1544
+ rank: z.ZodInt;
1545
+ totalRoundsPlayed: z.ZodInt;
1546
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
1547
+ }, z.core.$strip>;
1548
+ /**
1549
+ * A miner's claim as recorded by the rounds indexer from a `claim_usd` or
1550
+ * `claim_sats` instruction.
1551
+ */
1552
+ declare const zMinerClaimDto: z.ZodObject<{
1553
+ authority: z.ZodString;
1554
+ btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1555
+ claimType: z.ZodEnum<{
1556
+ usd: "usd";
1557
+ sats: "sats";
1558
+ }>;
1559
+ claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
1560
+ hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1561
+ id: z.ZodInt;
1562
+ satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1563
+ signature: z.ZodString;
1564
+ usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
1565
+ }, z.core.$strip>;
1347
1566
  /**
1348
1567
  * A miner's deployment as recorded by the rounds indexer: the deploy itself
1349
1568
  * plus its settlement outcome once the round is settled.
@@ -1488,12 +1707,6 @@ declare const zProfileDto: z.ZodObject<{
1488
1707
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
1489
1708
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
1490
1709
  }, z.core.$strip>]>>;
1491
- deployments: z.ZodArray<z.ZodObject<{
1492
- address: z.ZodString;
1493
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1494
- roundId: z.ZodInt;
1495
- selectionMask: z.ZodInt;
1496
- }, z.core.$strip>>;
1497
1710
  epochVaultEntries: z.ZodArray<z.ZodObject<{
1498
1711
  address: z.ZodString;
1499
1712
  iterationId: z.ZodInt;
@@ -1526,6 +1739,12 @@ declare const zProfileDto: z.ZodObject<{
1526
1739
  startTicketId: z.ZodCoercedBigInt<unknown>;
1527
1740
  ticketsCount: z.ZodCoercedBigInt<unknown>;
1528
1741
  }, z.core.$strip>>;
1742
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
1743
+ address: z.ZodString;
1744
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1745
+ roundId: z.ZodInt;
1746
+ selectionMask: z.ZodInt;
1747
+ }, z.core.$strip>>;
1529
1748
  }, z.core.$strip>;
1530
1749
  /**
1531
1750
  * Protocol configuration: token mints and fee rates.
@@ -1557,6 +1776,7 @@ declare const zSatsVaultDto: z.ZodObject<{
1557
1776
  */
1558
1777
  declare const zStrikeJackpotDto: z.ZodObject<{
1559
1778
  btcAmount: z.ZodCoercedBigInt<unknown>;
1779
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
1560
1780
  lastTriggerRoundId: z.ZodInt;
1561
1781
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1562
1782
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -1653,7 +1873,9 @@ declare const zBoardDto: z.ZodObject<{
1653
1873
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1654
1874
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1655
1875
  }, z.core.$strip>]>>;
1876
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1656
1877
  iterationId: z.ZodInt;
1878
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1657
1879
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1658
1880
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1659
1881
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1707,6 +1929,7 @@ declare const zBoardDto: z.ZodObject<{
1707
1929
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1708
1930
  }, z.core.$strip>]>>;
1709
1931
  previousRounds: z.ZodArray<z.ZodObject<{
1932
+ roundId: z.ZodInt;
1710
1933
  winningTile: z.ZodInt;
1711
1934
  }, z.core.$strip>>;
1712
1935
  prices: z.ZodObject<{
@@ -1714,7 +1937,9 @@ declare const zBoardDto: z.ZodObject<{
1714
1937
  sat: z.ZodNumber;
1715
1938
  }, z.core.$strip>;
1716
1939
  roundDuration: z.ZodInt;
1940
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1717
1941
  roundId: z.ZodInt;
1942
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1718
1943
  satsVault: z.ZodObject<{
1719
1944
  address: z.ZodString;
1720
1945
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1723,6 +1948,7 @@ declare const zBoardDto: z.ZodObject<{
1723
1948
  startSlot: z.ZodCoercedBigInt<unknown>;
1724
1949
  strike: z.ZodObject<{
1725
1950
  btcAmount: z.ZodCoercedBigInt<unknown>;
1951
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
1726
1952
  lastTriggerRoundId: z.ZodInt;
1727
1953
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1728
1954
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -1782,7 +2008,9 @@ declare const zSnapshotDto: z.ZodObject<{
1782
2008
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1783
2009
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1784
2010
  }, z.core.$strip>]>>;
2011
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1785
2012
  iterationId: z.ZodInt;
2013
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1786
2014
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1787
2015
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1788
2016
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1836,6 +2064,7 @@ declare const zSnapshotDto: z.ZodObject<{
1836
2064
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1837
2065
  }, z.core.$strip>]>>;
1838
2066
  previousRounds: z.ZodArray<z.ZodObject<{
2067
+ roundId: z.ZodInt;
1839
2068
  winningTile: z.ZodInt;
1840
2069
  }, z.core.$strip>>;
1841
2070
  prices: z.ZodObject<{
@@ -1843,7 +2072,9 @@ declare const zSnapshotDto: z.ZodObject<{
1843
2072
  sat: z.ZodNumber;
1844
2073
  }, z.core.$strip>;
1845
2074
  roundDuration: z.ZodInt;
2075
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1846
2076
  roundId: z.ZodInt;
2077
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1847
2078
  satsVault: z.ZodObject<{
1848
2079
  address: z.ZodString;
1849
2080
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -1852,6 +2083,7 @@ declare const zSnapshotDto: z.ZodObject<{
1852
2083
  startSlot: z.ZodCoercedBigInt<unknown>;
1853
2084
  strike: z.ZodObject<{
1854
2085
  btcAmount: z.ZodCoercedBigInt<unknown>;
2086
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
1855
2087
  lastTriggerRoundId: z.ZodInt;
1856
2088
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1857
2089
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -1879,12 +2111,6 @@ declare const zSnapshotDto: z.ZodObject<{
1879
2111
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
1880
2112
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
1881
2113
  }, z.core.$strip>]>>;
1882
- deployments: z.ZodArray<z.ZodObject<{
1883
- address: z.ZodString;
1884
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
1885
- roundId: z.ZodInt;
1886
- selectionMask: z.ZodInt;
1887
- }, z.core.$strip>>;
1888
2114
  epochVaultEntries: z.ZodArray<z.ZodObject<{
1889
2115
  address: z.ZodString;
1890
2116
  iterationId: z.ZodInt;
@@ -1917,6 +2143,12 @@ declare const zSnapshotDto: z.ZodObject<{
1917
2143
  startTicketId: z.ZodCoercedBigInt<unknown>;
1918
2144
  ticketsCount: z.ZodCoercedBigInt<unknown>;
1919
2145
  }, z.core.$strip>>;
2146
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
2147
+ address: z.ZodString;
2148
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2149
+ roundId: z.ZodInt;
2150
+ selectionMask: z.ZodInt;
2151
+ }, z.core.$strip>>;
1920
2152
  }, z.core.$strip>]>>;
1921
2153
  }, z.core.$strip>;
1922
2154
  declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
@@ -1973,7 +2205,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
1973
2205
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1974
2206
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
1975
2207
  }, z.core.$strip>]>>;
2208
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
1976
2209
  iterationId: z.ZodInt;
2210
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
1977
2211
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
1978
2212
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
1979
2213
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2027,6 +2261,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
2027
2261
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2028
2262
  }, z.core.$strip>]>>;
2029
2263
  previousRounds: z.ZodArray<z.ZodObject<{
2264
+ roundId: z.ZodInt;
2030
2265
  winningTile: z.ZodInt;
2031
2266
  }, z.core.$strip>>;
2032
2267
  prices: z.ZodObject<{
@@ -2034,7 +2269,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
2034
2269
  sat: z.ZodNumber;
2035
2270
  }, z.core.$strip>;
2036
2271
  roundDuration: z.ZodInt;
2272
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2037
2273
  roundId: z.ZodInt;
2274
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2038
2275
  satsVault: z.ZodObject<{
2039
2276
  address: z.ZodString;
2040
2277
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2043,6 +2280,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
2043
2280
  startSlot: z.ZodCoercedBigInt<unknown>;
2044
2281
  strike: z.ZodObject<{
2045
2282
  btcAmount: z.ZodCoercedBigInt<unknown>;
2283
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2046
2284
  lastTriggerRoundId: z.ZodInt;
2047
2285
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2048
2286
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -2070,12 +2308,6 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
2070
2308
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2071
2309
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
2072
2310
  }, z.core.$strip>]>>;
2073
- deployments: z.ZodArray<z.ZodObject<{
2074
- address: z.ZodString;
2075
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2076
- roundId: z.ZodInt;
2077
- selectionMask: z.ZodInt;
2078
- }, z.core.$strip>>;
2079
2311
  epochVaultEntries: z.ZodArray<z.ZodObject<{
2080
2312
  address: z.ZodString;
2081
2313
  iterationId: z.ZodInt;
@@ -2108,6 +2340,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
2108
2340
  startTicketId: z.ZodCoercedBigInt<unknown>;
2109
2341
  ticketsCount: z.ZodCoercedBigInt<unknown>;
2110
2342
  }, z.core.$strip>>;
2343
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
2344
+ address: z.ZodString;
2345
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2346
+ roundId: z.ZodInt;
2347
+ selectionMask: z.ZodInt;
2348
+ }, z.core.$strip>>;
2111
2349
  }, z.core.$strip>]>>;
2112
2350
  }, z.core.$strip>, z.ZodObject<{
2113
2351
  entity: z.ZodEnum<{
@@ -2170,7 +2408,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2170
2408
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2171
2409
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2172
2410
  }, z.core.$strip>]>>;
2411
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2173
2412
  iterationId: z.ZodInt;
2413
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2174
2414
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2175
2415
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2176
2416
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2224,6 +2464,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2224
2464
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2225
2465
  }, z.core.$strip>]>>;
2226
2466
  previousRounds: z.ZodArray<z.ZodObject<{
2467
+ roundId: z.ZodInt;
2227
2468
  winningTile: z.ZodInt;
2228
2469
  }, z.core.$strip>>;
2229
2470
  prices: z.ZodObject<{
@@ -2231,7 +2472,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2231
2472
  sat: z.ZodNumber;
2232
2473
  }, z.core.$strip>;
2233
2474
  roundDuration: z.ZodInt;
2475
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2234
2476
  roundId: z.ZodInt;
2477
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2235
2478
  satsVault: z.ZodObject<{
2236
2479
  address: z.ZodString;
2237
2480
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2240,6 +2483,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2240
2483
  startSlot: z.ZodCoercedBigInt<unknown>;
2241
2484
  strike: z.ZodObject<{
2242
2485
  btcAmount: z.ZodCoercedBigInt<unknown>;
2486
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2243
2487
  lastTriggerRoundId: z.ZodInt;
2244
2488
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2245
2489
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -2267,12 +2511,6 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2267
2511
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2268
2512
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
2269
2513
  }, z.core.$strip>]>>;
2270
- deployments: z.ZodArray<z.ZodObject<{
2271
- address: z.ZodString;
2272
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2273
- roundId: z.ZodInt;
2274
- selectionMask: z.ZodInt;
2275
- }, z.core.$strip>>;
2276
2514
  epochVaultEntries: z.ZodArray<z.ZodObject<{
2277
2515
  address: z.ZodString;
2278
2516
  iterationId: z.ZodInt;
@@ -2305,23 +2543,98 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
2305
2543
  startTicketId: z.ZodCoercedBigInt<unknown>;
2306
2544
  ticketsCount: z.ZodCoercedBigInt<unknown>;
2307
2545
  }, z.core.$strip>>;
2546
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
2547
+ address: z.ZodString;
2548
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2549
+ roundId: z.ZodInt;
2550
+ selectionMask: z.ZodInt;
2551
+ }, z.core.$strip>>;
2308
2552
  }, z.core.$strip>]>>;
2309
2553
  }, z.core.$strip>, z.ZodObject<{
2310
2554
  entity: z.ZodEnum<{
2311
2555
  state_snapshot: "state_snapshot";
2312
2556
  }>;
2313
2557
  }, z.core.$strip>>>;
2558
+ declare const zUserClaimsApiError400InvalidAddress: z.ZodObject<{
2559
+ code: z.ZodEnum<{
2560
+ invalid_address: "invalid_address";
2561
+ }>;
2562
+ }, z.core.$strip>;
2563
+ declare const zUserClaimsApiError400InvalidBefore: z.ZodObject<{
2564
+ code: z.ZodEnum<{
2565
+ invalid_before: "invalid_before";
2566
+ }>;
2567
+ }, z.core.$strip>;
2568
+ declare const zUserClaimsApiError400InvalidRange: z.ZodObject<{
2569
+ code: z.ZodEnum<{
2570
+ invalid_range: "invalid_range";
2571
+ }>;
2572
+ }, z.core.$strip>;
2573
+ declare const zUserClaimsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2574
+ code: z.ZodLiteral<"invalid_address">;
2575
+ }, z.core.$strip>, z.ZodObject<{
2576
+ code: z.ZodEnum<{
2577
+ invalid_address: "invalid_address";
2578
+ }>;
2579
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2580
+ code: z.ZodLiteral<"invalid_before">;
2581
+ }, z.core.$strip>, z.ZodObject<{
2582
+ code: z.ZodEnum<{
2583
+ invalid_before: "invalid_before";
2584
+ }>;
2585
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2586
+ code: z.ZodLiteral<"invalid_range">;
2587
+ }, z.core.$strip>, z.ZodObject<{
2588
+ code: z.ZodEnum<{
2589
+ invalid_range: "invalid_range";
2590
+ }>;
2591
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2592
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2593
+ }, z.core.$strip>, z.ZodObject<{
2594
+ code: z.ZodEnum<{
2595
+ invalid_path: "invalid_path";
2596
+ invalid_query: "invalid_query";
2597
+ invalid_body: "invalid_body";
2598
+ }>;
2599
+ }, z.core.$strip>>]>;
2600
+ declare const zUserClaimsApiError500Error: z.ZodObject<{
2601
+ code: z.ZodEnum<{
2602
+ internal: "internal";
2603
+ }>;
2604
+ }, z.core.$strip>;
2314
2605
  declare const zUserDeploymentsApiError400InvalidAddress: z.ZodObject<{
2315
2606
  code: z.ZodEnum<{
2316
2607
  invalid_address: "invalid_address";
2317
2608
  }>;
2318
2609
  }, z.core.$strip>;
2610
+ declare const zUserDeploymentsApiError400InvalidBefore: z.ZodObject<{
2611
+ code: z.ZodEnum<{
2612
+ invalid_before: "invalid_before";
2613
+ }>;
2614
+ }, z.core.$strip>;
2615
+ declare const zUserDeploymentsApiError400InvalidRange: z.ZodObject<{
2616
+ code: z.ZodEnum<{
2617
+ invalid_range: "invalid_range";
2618
+ }>;
2619
+ }, z.core.$strip>;
2319
2620
  declare const zUserDeploymentsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
2320
2621
  code: z.ZodLiteral<"invalid_address">;
2321
2622
  }, z.core.$strip>, z.ZodObject<{
2322
2623
  code: z.ZodEnum<{
2323
2624
  invalid_address: "invalid_address";
2324
2625
  }>;
2626
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2627
+ code: z.ZodLiteral<"invalid_before">;
2628
+ }, z.core.$strip>, z.ZodObject<{
2629
+ code: z.ZodEnum<{
2630
+ invalid_before: "invalid_before";
2631
+ }>;
2632
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2633
+ code: z.ZodLiteral<"invalid_range">;
2634
+ }, z.core.$strip>, z.ZodObject<{
2635
+ code: z.ZodEnum<{
2636
+ invalid_range: "invalid_range";
2637
+ }>;
2325
2638
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2326
2639
  code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
2327
2640
  }, z.core.$strip>, z.ZodObject<{
@@ -2437,7 +2750,9 @@ declare const zGetBoardResponse: z.ZodObject<{
2437
2750
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2438
2751
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2439
2752
  }, z.core.$strip>]>>;
2753
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2440
2754
  iterationId: z.ZodInt;
2755
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2441
2756
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2442
2757
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2443
2758
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2491,6 +2806,7 @@ declare const zGetBoardResponse: z.ZodObject<{
2491
2806
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2492
2807
  }, z.core.$strip>]>>;
2493
2808
  previousRounds: z.ZodArray<z.ZodObject<{
2809
+ roundId: z.ZodInt;
2494
2810
  winningTile: z.ZodInt;
2495
2811
  }, z.core.$strip>>;
2496
2812
  prices: z.ZodObject<{
@@ -2498,7 +2814,9 @@ declare const zGetBoardResponse: z.ZodObject<{
2498
2814
  sat: z.ZodNumber;
2499
2815
  }, z.core.$strip>;
2500
2816
  roundDuration: z.ZodInt;
2817
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2501
2818
  roundId: z.ZodInt;
2819
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2502
2820
  satsVault: z.ZodObject<{
2503
2821
  address: z.ZodString;
2504
2822
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2507,6 +2825,7 @@ declare const zGetBoardResponse: z.ZodObject<{
2507
2825
  startSlot: z.ZodCoercedBigInt<unknown>;
2508
2826
  strike: z.ZodObject<{
2509
2827
  btcAmount: z.ZodCoercedBigInt<unknown>;
2828
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2510
2829
  lastTriggerRoundId: z.ZodInt;
2511
2830
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2512
2831
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -2536,6 +2855,21 @@ declare const zGetConfigResponse: z.ZodObject<{
2536
2855
  }, z.core.$strip>;
2537
2856
  }, z.core.$strip>;
2538
2857
  type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
2858
+ declare const zGetLeaderboardData: z.ZodObject<{
2859
+ body: z.ZodOptional<z.ZodNever>;
2860
+ path: z.ZodOptional<z.ZodNever>;
2861
+ query: z.ZodOptional<z.ZodNever>;
2862
+ }, z.core.$strip>;
2863
+ declare const zGetLeaderboardResponse: z.ZodObject<{
2864
+ data: z.ZodArray<z.ZodObject<{
2865
+ authority: z.ZodString;
2866
+ maxStreak: z.ZodInt;
2867
+ rank: z.ZodInt;
2868
+ totalRoundsPlayed: z.ZodInt;
2869
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2870
+ }, z.core.$strip>>;
2871
+ }, z.core.$strip>;
2872
+ type GetLeaderboardResponseZodType = z.infer<typeof zGetLeaderboardResponse>;
2539
2873
  declare const zSseData: z.ZodObject<{
2540
2874
  body: z.ZodOptional<z.ZodNever>;
2541
2875
  path: z.ZodOptional<z.ZodNever>;
@@ -2602,7 +2936,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2602
2936
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2603
2937
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2604
2938
  }, z.core.$strip>]>>;
2939
+ iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2605
2940
  iterationId: z.ZodInt;
2941
+ iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2606
2942
  lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
2607
2943
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2608
2944
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2656,6 +2992,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2656
2992
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
2657
2993
  }, z.core.$strip>]>>;
2658
2994
  previousRounds: z.ZodArray<z.ZodObject<{
2995
+ roundId: z.ZodInt;
2659
2996
  winningTile: z.ZodInt;
2660
2997
  }, z.core.$strip>>;
2661
2998
  prices: z.ZodObject<{
@@ -2663,7 +3000,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2663
3000
  sat: z.ZodNumber;
2664
3001
  }, z.core.$strip>;
2665
3002
  roundDuration: z.ZodInt;
3003
+ roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
2666
3004
  roundId: z.ZodInt;
3005
+ roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
2667
3006
  satsVault: z.ZodObject<{
2668
3007
  address: z.ZodString;
2669
3008
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -2672,6 +3011,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2672
3011
  startSlot: z.ZodCoercedBigInt<unknown>;
2673
3012
  strike: z.ZodObject<{
2674
3013
  btcAmount: z.ZodCoercedBigInt<unknown>;
3014
+ lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
2675
3015
  lastTriggerRoundId: z.ZodInt;
2676
3016
  pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
2677
3017
  usdAmount: z.ZodCoercedBigInt<unknown>;
@@ -2699,12 +3039,6 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2699
3039
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2700
3040
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
2701
3041
  }, z.core.$strip>]>>;
2702
- deployments: z.ZodArray<z.ZodObject<{
2703
- address: z.ZodString;
2704
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2705
- roundId: z.ZodInt;
2706
- selectionMask: z.ZodInt;
2707
- }, z.core.$strip>>;
2708
3042
  epochVaultEntries: z.ZodArray<z.ZodObject<{
2709
3043
  address: z.ZodString;
2710
3044
  iterationId: z.ZodInt;
@@ -2737,6 +3071,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
2737
3071
  startTicketId: z.ZodCoercedBigInt<unknown>;
2738
3072
  ticketsCount: z.ZodCoercedBigInt<unknown>;
2739
3073
  }, z.core.$strip>>;
3074
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
3075
+ address: z.ZodString;
3076
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3077
+ roundId: z.ZodInt;
3078
+ selectionMask: z.ZodInt;
3079
+ }, z.core.$strip>>;
2740
3080
  }, z.core.$strip>]>>;
2741
3081
  }, z.core.$strip>, z.ZodObject<{
2742
3082
  entity: z.ZodEnum<{
@@ -2771,12 +3111,6 @@ declare const zGetUserProfileResponse: z.ZodObject<{
2771
3111
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
2772
3112
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
2773
3113
  }, z.core.$strip>]>>;
2774
- deployments: z.ZodArray<z.ZodObject<{
2775
- address: z.ZodString;
2776
- deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
2777
- roundId: z.ZodInt;
2778
- selectionMask: z.ZodInt;
2779
- }, z.core.$strip>>;
2780
3114
  epochVaultEntries: z.ZodArray<z.ZodObject<{
2781
3115
  address: z.ZodString;
2782
3116
  iterationId: z.ZodInt;
@@ -2809,9 +3143,43 @@ declare const zGetUserProfileResponse: z.ZodObject<{
2809
3143
  startTicketId: z.ZodCoercedBigInt<unknown>;
2810
3144
  ticketsCount: z.ZodCoercedBigInt<unknown>;
2811
3145
  }, z.core.$strip>>;
3146
+ unsettledDeployments: z.ZodArray<z.ZodObject<{
3147
+ address: z.ZodString;
3148
+ deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
3149
+ roundId: z.ZodInt;
3150
+ selectionMask: z.ZodInt;
3151
+ }, z.core.$strip>>;
2812
3152
  }, z.core.$strip>;
2813
3153
  }, z.core.$strip>;
2814
3154
  type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
3155
+ declare const zGetUserClaimsData: z.ZodObject<{
3156
+ body: z.ZodOptional<z.ZodNever>;
3157
+ path: z.ZodObject<{
3158
+ address: z.ZodString;
3159
+ }, z.core.$strip>;
3160
+ query: z.ZodOptional<z.ZodObject<{
3161
+ before: z.ZodOptional<z.ZodInt>;
3162
+ after: z.ZodOptional<z.ZodInt>;
3163
+ limit: z.ZodOptional<z.ZodInt>;
3164
+ }, z.core.$strip>>;
3165
+ }, z.core.$strip>;
3166
+ declare const zGetUserClaimsResponse: z.ZodObject<{
3167
+ data: z.ZodArray<z.ZodObject<{
3168
+ authority: z.ZodString;
3169
+ btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
3170
+ claimType: z.ZodEnum<{
3171
+ usd: "usd";
3172
+ sats: "sats";
3173
+ }>;
3174
+ claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
3175
+ hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
3176
+ id: z.ZodInt;
3177
+ satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
3178
+ signature: z.ZodString;
3179
+ usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
3180
+ }, z.core.$strip>>;
3181
+ }, z.core.$strip>;
3182
+ type GetUserClaimsResponseZodType = z.infer<typeof zGetUserClaimsResponse>;
2815
3183
  declare const zGetUserDeploymentsData: z.ZodObject<{
2816
3184
  body: z.ZodOptional<z.ZodNever>;
2817
3185
  path: z.ZodObject<{
@@ -2819,6 +3187,7 @@ declare const zGetUserDeploymentsData: z.ZodObject<{
2819
3187
  }, z.core.$strip>;
2820
3188
  query: z.ZodOptional<z.ZodObject<{
2821
3189
  before: z.ZodOptional<z.ZodInt>;
3190
+ after: z.ZodOptional<z.ZodInt>;
2822
3191
  limit: z.ZodOptional<z.ZodInt>;
2823
3192
  }, z.core.$strip>>;
2824
3193
  }, z.core.$strip>;
@@ -2864,4 +3233,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
2864
3233
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
2865
3234
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
2866
3235
 
2867
- export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, 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 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 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 UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, 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, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
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 };