@satrush/api 0.1.15 → 0.1.17

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
@@ -599,6 +599,7 @@ type EpochIterationWinnerDto = {
599
599
  */
600
600
  declare const EpochStateDto: {
601
601
  readonly OPEN: "open";
602
+ readonly SEALED: "sealed";
602
603
  readonly SETTLING: "settling";
603
604
  readonly SETTLED: "settled";
604
605
  readonly COMPLETE: "complete";
@@ -704,9 +705,17 @@ type EpochVaultIterationDto = {
704
705
  */
705
706
  winners?: Array<EpochWinnerDto> | null;
706
707
  /**
707
- * Null until the iteration is settled.
708
+ * Deprecated mirror of `winners_distributed` (rewards are
709
+ * crank-distributed since the rotor upgrade, no longer user-claimed) —
710
+ * kept for older frontends; remove once they migrate.
711
+ *
712
+ * @deprecated
708
713
  */
709
714
  winnersClaimed?: number | null;
715
+ /**
716
+ * Null until the iteration is settled.
717
+ */
718
+ winnersDistributed?: number | null;
710
719
  /**
711
720
  * Null until the iteration is settled.
712
721
  */
@@ -717,7 +726,15 @@ type EpochVaultIterationDto = {
717
726
  */
718
727
  type EpochWinnerDto = {
719
728
  authority: PubkeyDto;
729
+ /**
730
+ * Deprecated mirror of `distributed` (rewards are crank-distributed
731
+ * since the rotor upgrade, no longer user-claimed) — kept for older
732
+ * frontends; remove once they migrate.
733
+ *
734
+ * @deprecated
735
+ */
720
736
  claimed: boolean;
737
+ distributed: boolean;
721
738
  /**
722
739
  * Ticket weight removed from the draw when this winner was selected.
723
740
  */
@@ -836,6 +853,86 @@ type LeaderboardEntryDto = {
836
853
  */
837
854
  totalUsdDeployed: U64Dto;
838
855
  };
856
+ /**
857
+ * One page of the general leaderboard.
858
+ */
859
+ type LeaderboardPageDto = {
860
+ entries: Array<LeaderboardPageEntryDto>;
861
+ /**
862
+ * Ranked wallets across all pages.
863
+ */
864
+ total: number;
865
+ /**
866
+ * When the snapshot backing this page was computed.
867
+ */
868
+ updatedAt: Date;
869
+ };
870
+ /**
871
+ * A miner's position on the general leaderboard under one sort key.
872
+ */
873
+ type LeaderboardPageEntryDto = {
874
+ authority: PubkeyDto;
875
+ /**
876
+ * Distinct UTC days with at least one deployment.
877
+ */
878
+ daysActive: number;
879
+ /**
880
+ * Longest streak of consecutive rounds ever played.
881
+ */
882
+ maxStreak: number;
883
+ /**
884
+ * 1-based position under the requested sort key.
885
+ */
886
+ rank: number;
887
+ /**
888
+ * Composite activity score:
889
+ * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
890
+ * whole dollars.
891
+ */
892
+ score: number;
893
+ /**
894
+ * Lifetime hashrate earned.
895
+ */
896
+ totalHashrateEarned: U64Dto;
897
+ /**
898
+ * Lifetime count of rounds played.
899
+ */
900
+ totalRoundsPlayed: number;
901
+ /**
902
+ * Lifetime sats earned.
903
+ */
904
+ totalSatsEarned: U64Dto;
905
+ /**
906
+ * Lifetime gross USD deployed.
907
+ */
908
+ totalUsdDeployed: U64Dto;
909
+ };
910
+ /**
911
+ * A wallet's 1-based rank under every leaderboard sort key.
912
+ */
913
+ type LeaderboardRanksDto = {
914
+ deployed: number;
915
+ hashrate: number;
916
+ rounds: number;
917
+ satsEarned: number;
918
+ score: number;
919
+ streak: number;
920
+ };
921
+ /**
922
+ * Sort key of a general-leaderboard page; always descending.
923
+ */
924
+ declare const LeaderboardSortDto: {
925
+ readonly SCORE: "score";
926
+ readonly DEPLOYED: "deployed";
927
+ readonly ROUNDS: "rounds";
928
+ readonly SATS_EARNED: "sats_earned";
929
+ readonly HASHRATE: "hashrate";
930
+ readonly STREAK: "streak";
931
+ };
932
+ /**
933
+ * Sort key of a general-leaderboard page; always descending.
934
+ */
935
+ type LeaderboardSortDto = typeof LeaderboardSortDto[keyof typeof LeaderboardSortDto];
839
936
  /**
840
937
  * A miner's claim as recorded by the rounds indexer from a `claim_usd` or
841
938
  * `claim_sats` instruction.
@@ -886,6 +983,12 @@ type MinerDeploymentDto = {
886
983
  * Whether the platform crank deployed on the miner's behalf.
887
984
  */
888
985
  isAutomation: boolean;
986
+ /**
987
+ * Whether the play was paid from the miner's grubstake balance (its
988
+ * winnings return to that balance); `null` for deploys predating the
989
+ * flag.
990
+ */
991
+ isGrubstakeFunded?: boolean | null;
889
992
  /**
890
993
  * Whether winnings reloaded the automation escrow; automation only.
891
994
  */
@@ -923,11 +1026,34 @@ type MinerDeploymentDto = {
923
1026
  * A miner's accumulated protocol state, keyed by its authority wallet.
924
1027
  */
925
1028
  type MinerDto = {
1029
+ affiliate?: null | PubkeyDto;
1030
+ /**
1031
+ * Lifetime affiliate points accrued by referred deploys (USD base units).
1032
+ */
1033
+ affiliatePointsEarned: U64Dto;
1034
+ /**
1035
+ * Lifetime affiliate points exchanged for grubstake credits.
1036
+ */
1037
+ affiliatePointsSpent: U64Dto;
1038
+ /**
1039
+ * The wallet's affiliate share of the protocol fee leg, in bps; `null`
1040
+ * until it claims a tag.
1041
+ */
1042
+ affiliateRateBps?: number | null;
926
1043
  authority: PubkeyDto;
927
1044
  /**
928
1045
  * Number of consecutive rounds played.
929
1046
  */
930
1047
  currentStreakCount: number;
1048
+ /**
1049
+ * When the grubstake balance stops being spendable; `null` until the
1050
+ * first grant.
1051
+ */
1052
+ grubstakeExpiresAt?: Date | null;
1053
+ /**
1054
+ * Indexed grubstake balance (bonus USD spendable only on rounds).
1055
+ */
1056
+ grubstakeUsdAmount: U64Dto;
931
1057
  /**
932
1058
  * Accumulated hashrate points.
933
1059
  */
@@ -941,6 +1067,10 @@ type MinerDto = {
941
1067
  * indexer has recorded the miner (as are all lifetime totals below).
942
1068
  */
943
1069
  maxStreak: number;
1070
+ /**
1071
+ * The wallet's claimed affiliate tag; `null` until it claims one.
1072
+ */
1073
+ tag?: string | null;
944
1074
  /**
945
1075
  * Lifetime BTC received for claimed shares.
946
1076
  */
@@ -1262,6 +1392,7 @@ type OneBtcIterationWinnerDto = {
1262
1392
  */
1263
1393
  declare const OneBtcStateDto: {
1264
1394
  readonly OPEN: "open";
1395
+ readonly SEALED: "sealed";
1265
1396
  readonly SETTLED: "settled";
1266
1397
  readonly COMPLETE: "complete";
1267
1398
  };
@@ -1391,6 +1522,10 @@ type PublicAutomationDto = {
1391
1522
  * indexer has recorded the session.
1392
1523
  */
1393
1524
  executedDeployments: number;
1525
+ /**
1526
+ * Whether the escrow is funded from the miner's grubstake balance.
1527
+ */
1528
+ isGrubstakeFunded: boolean;
1394
1529
  /**
1395
1530
  * Gross deploy size per round; all fee legs are deducted from it.
1396
1531
  */
@@ -1480,6 +1615,11 @@ type RoundDeploymentDto = {
1480
1615
  * Whether the platform crank deployed on the miner's behalf.
1481
1616
  */
1482
1617
  isAutomation: boolean;
1618
+ /**
1619
+ * Whether the play was paid from the miner's grubstake balance; `null`
1620
+ * for deploys predating the flag.
1621
+ */
1622
+ isGrubstakeFunded?: boolean | null;
1483
1623
  /**
1484
1624
  * Settlement outcome; `null` until the deployment is settled.
1485
1625
  */
@@ -1970,6 +2110,58 @@ type ValidationErrorCodeValidationDetailsErrorBody = {
1970
2110
  errors: Array<FieldError>;
1971
2111
  };
1972
2112
  };
2113
+ type WalletLeaderboardApiError400Error = ({
2114
+ code: 'invalid_address';
2115
+ } & WalletLeaderboardApiError400InvalidAddress) | ({
2116
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
2117
+ } & BadRequestErrorCodeErrorBody);
2118
+ type WalletLeaderboardApiError400InvalidAddress = {
2119
+ code: 'invalid_address';
2120
+ };
2121
+ type WalletLeaderboardApiError404Error = {
2122
+ code: 'not_found';
2123
+ };
2124
+ /**
2125
+ * A single wallet's general-leaderboard stats and ranks.
2126
+ */
2127
+ type WalletLeaderboardDto = {
2128
+ authority: PubkeyDto;
2129
+ /**
2130
+ * Distinct UTC days with at least one deployment.
2131
+ */
2132
+ daysActive: number;
2133
+ /**
2134
+ * Longest streak of consecutive rounds ever played.
2135
+ */
2136
+ maxStreak: number;
2137
+ ranks: LeaderboardRanksDto;
2138
+ /**
2139
+ * Composite activity score:
2140
+ * `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
2141
+ * whole dollars.
2142
+ */
2143
+ score: number;
2144
+ /**
2145
+ * Lifetime hashrate earned.
2146
+ */
2147
+ totalHashrateEarned: U64Dto;
2148
+ /**
2149
+ * Lifetime count of rounds played.
2150
+ */
2151
+ totalRoundsPlayed: number;
2152
+ /**
2153
+ * Lifetime sats earned.
2154
+ */
2155
+ totalSatsEarned: U64Dto;
2156
+ /**
2157
+ * Lifetime gross USD deployed.
2158
+ */
2159
+ totalUsdDeployed: U64Dto;
2160
+ /**
2161
+ * When the snapshot backing this response was computed.
2162
+ */
2163
+ updatedAt: Date;
2164
+ };
1973
2165
  type GetBoardData = {
1974
2166
  body?: never;
1975
2167
  path?: never;
@@ -2131,6 +2323,37 @@ type GetEpochWinnersResponses = {
2131
2323
  };
2132
2324
  };
2133
2325
  type GetEpochWinnersResponse = GetEpochWinnersResponses[keyof GetEpochWinnersResponses];
2326
+ type GetLeaderboardData = {
2327
+ body?: never;
2328
+ path?: never;
2329
+ query?: {
2330
+ /**
2331
+ * Sort key; defaults to `score`. Always descending.
2332
+ */
2333
+ sort?: LeaderboardSortDto;
2334
+ /**
2335
+ * Ranked wallets to skip; defaults to 0.
2336
+ */
2337
+ offset?: number;
2338
+ /**
2339
+ * Page size, 1..=100; defaults to 50.
2340
+ */
2341
+ limit?: number;
2342
+ };
2343
+ url: '/v1/leaderboard';
2344
+ };
2345
+ type GetLeaderboardErrors = {
2346
+ 400: BadRequestErrorCodeErrorBody;
2347
+ 422: ValidationErrorCodeErrorBody;
2348
+ 500: InternalErrorCodeErrorBody;
2349
+ };
2350
+ type GetLeaderboardError = GetLeaderboardErrors[keyof GetLeaderboardErrors];
2351
+ type GetLeaderboardResponses = {
2352
+ 200: {
2353
+ data: LeaderboardPageDto;
2354
+ };
2355
+ };
2356
+ type GetLeaderboardResponse = GetLeaderboardResponses[keyof GetLeaderboardResponses];
2134
2357
  type GetHashrateEarnedLeaderboardData = {
2135
2358
  body?: never;
2136
2359
  path?: never;
@@ -2179,6 +2402,30 @@ type GetSatsEarnedLeaderboardResponses = {
2179
2402
  };
2180
2403
  };
2181
2404
  type GetSatsEarnedLeaderboardResponse = GetSatsEarnedLeaderboardResponses[keyof GetSatsEarnedLeaderboardResponses];
2405
+ type GetWalletLeaderboardData = {
2406
+ body?: never;
2407
+ path: {
2408
+ /**
2409
+ * Wallet address (base58)
2410
+ */
2411
+ address: string;
2412
+ };
2413
+ query?: never;
2414
+ url: '/v1/leaderboard/{address}';
2415
+ };
2416
+ type GetWalletLeaderboardErrors = {
2417
+ 400: WalletLeaderboardApiError400Error;
2418
+ 404: WalletLeaderboardApiError404Error;
2419
+ 422: ValidationErrorCodeErrorBody;
2420
+ 500: InternalErrorCodeErrorBody;
2421
+ };
2422
+ type GetWalletLeaderboardError = GetWalletLeaderboardErrors[keyof GetWalletLeaderboardErrors];
2423
+ type GetWalletLeaderboardResponses = {
2424
+ 200: {
2425
+ data: WalletLeaderboardDto;
2426
+ };
2427
+ };
2428
+ type GetWalletLeaderboardResponse = GetWalletLeaderboardResponses[keyof GetWalletLeaderboardResponses];
2182
2429
  type GetOneBtcHistoryData = {
2183
2430
  body?: never;
2184
2431
  path?: never;
@@ -2657,6 +2904,14 @@ declare class SatrushBackendSdk extends HeyApiClient {
2657
2904
  after?: number;
2658
2905
  limit?: number;
2659
2906
  }, options?: Options<never, ThrowOnError>): RequestResult<GetEpochWinnersResponses, GetEpochWinnersErrors, ThrowOnError, "fields">;
2907
+ /**
2908
+ * Request a page of the general leaderboard
2909
+ */
2910
+ getLeaderboard<ThrowOnError extends boolean = false>(parameters?: {
2911
+ sort?: LeaderboardSortDto;
2912
+ offset?: number;
2913
+ limit?: number;
2914
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetLeaderboardResponses, GetLeaderboardErrors, ThrowOnError, "fields">;
2660
2915
  /**
2661
2916
  * Request the top miners by lifetime hashrate earned
2662
2917
  */
@@ -2669,6 +2924,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
2669
2924
  * Request the top miners by lifetime sats earned
2670
2925
  */
2671
2926
  getSatsEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetSatsEarnedLeaderboardResponses, GetSatsEarnedLeaderboardErrors, ThrowOnError, "fields">;
2927
+ /**
2928
+ * Request a wallet's general-leaderboard stats and ranks
2929
+ */
2930
+ getWalletLeaderboard<ThrowOnError extends boolean = false>(parameters: {
2931
+ address: string;
2932
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetWalletLeaderboardResponses, GetWalletLeaderboardErrors, ThrowOnError, "fields">;
2672
2933
  /**
2673
2934
  * Request 1 BTC Vault history
2674
2935
  */
@@ -2860,6 +3121,7 @@ declare const zEpochIterationParticipantsApiError500Error: z.ZodObject<{
2860
3121
  */
2861
3122
  declare const zEpochStateDto: z.ZodEnum<{
2862
3123
  open: "open";
3124
+ sealed: "sealed";
2863
3125
  settling: "settling";
2864
3126
  settled: "settled";
2865
3127
  complete: "complete";
@@ -2924,6 +3186,28 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
2924
3186
  internal_error: "internal_error";
2925
3187
  }>;
2926
3188
  }, z.core.$strip>;
3189
+ /**
3190
+ * A wallet's 1-based rank under every leaderboard sort key.
3191
+ */
3192
+ declare const zLeaderboardRanksDto: z.ZodObject<{
3193
+ deployed: z.ZodInt;
3194
+ hashrate: z.ZodInt;
3195
+ rounds: z.ZodInt;
3196
+ satsEarned: z.ZodInt;
3197
+ score: z.ZodInt;
3198
+ streak: z.ZodInt;
3199
+ }, z.core.$strip>;
3200
+ /**
3201
+ * Sort key of a general-leaderboard page; always descending.
3202
+ */
3203
+ declare const zLeaderboardSortDto: z.ZodEnum<{
3204
+ score: "score";
3205
+ deployed: "deployed";
3206
+ rounds: "rounds";
3207
+ sats_earned: "sats_earned";
3208
+ hashrate: "hashrate";
3209
+ streak: "streak";
3210
+ }>;
2927
3211
  declare const zNotificationEntity: z.ZodEnum<{
2928
3212
  state_snapshot: "state_snapshot";
2929
3213
  }>;
@@ -2997,6 +3281,7 @@ declare const zOneBtcIterationParticipantsApiError500Error: z.ZodObject<{
2997
3281
  */
2998
3282
  declare const zOneBtcStateDto: z.ZodEnum<{
2999
3283
  open: "open";
3284
+ sealed: "sealed";
3000
3285
  settled: "settled";
3001
3286
  complete: "complete";
3002
3287
  }>;
@@ -3190,6 +3475,7 @@ declare const zEpochVaultEntryDto: z.ZodObject<{
3190
3475
  declare const zEpochWinnerDto: z.ZodObject<{
3191
3476
  authority: z.ZodString;
3192
3477
  claimed: z.ZodBoolean;
3478
+ distributed: z.ZodBoolean;
3193
3479
  tickets: z.ZodCoercedBigInt<unknown>;
3194
3480
  }, z.core.$strip>;
3195
3481
  /**
@@ -3204,6 +3490,7 @@ declare const zEpochVaultIterationDto: z.ZodObject<{
3204
3490
  participantsCount: z.ZodInt;
3205
3491
  state: z.ZodEnum<{
3206
3492
  open: "open";
3493
+ sealed: "sealed";
3207
3494
  settling: "settling";
3208
3495
  settled: "settled";
3209
3496
  complete: "complete";
@@ -3212,9 +3499,11 @@ declare const zEpochVaultIterationDto: z.ZodObject<{
3212
3499
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
3213
3500
  authority: z.ZodString;
3214
3501
  claimed: z.ZodBoolean;
3502
+ distributed: z.ZodBoolean;
3215
3503
  tickets: z.ZodCoercedBigInt<unknown>;
3216
3504
  }, z.core.$strip>>, z.ZodNull]>>;
3217
3505
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3506
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3218
3507
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3219
3508
  }, z.core.$strip>;
3220
3509
  /**
@@ -3235,6 +3524,7 @@ declare const zEpochVaultDto: z.ZodObject<{
3235
3524
  participantsCount: z.ZodInt;
3236
3525
  state: z.ZodEnum<{
3237
3526
  open: "open";
3527
+ sealed: "sealed";
3238
3528
  settling: "settling";
3239
3529
  settled: "settled";
3240
3530
  complete: "complete";
@@ -3243,9 +3533,11 @@ declare const zEpochVaultDto: z.ZodObject<{
3243
3533
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
3244
3534
  authority: z.ZodString;
3245
3535
  claimed: z.ZodBoolean;
3536
+ distributed: z.ZodBoolean;
3246
3537
  tickets: z.ZodCoercedBigInt<unknown>;
3247
3538
  }, z.core.$strip>>, z.ZodNull]>>;
3248
3539
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3540
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3249
3541
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3250
3542
  }, z.core.$strip>]>>;
3251
3543
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -3284,6 +3576,38 @@ declare const zLeaderboardEntryDto: z.ZodObject<{
3284
3576
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
3285
3577
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
3286
3578
  }, z.core.$strip>;
3579
+ /**
3580
+ * A miner's position on the general leaderboard under one sort key.
3581
+ */
3582
+ declare const zLeaderboardPageEntryDto: z.ZodObject<{
3583
+ authority: z.ZodString;
3584
+ daysActive: z.ZodInt;
3585
+ maxStreak: z.ZodInt;
3586
+ rank: z.ZodInt;
3587
+ score: z.ZodNumber;
3588
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
3589
+ totalRoundsPlayed: z.ZodInt;
3590
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
3591
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
3592
+ }, z.core.$strip>;
3593
+ /**
3594
+ * One page of the general leaderboard.
3595
+ */
3596
+ declare const zLeaderboardPageDto: z.ZodObject<{
3597
+ entries: z.ZodArray<z.ZodObject<{
3598
+ authority: z.ZodString;
3599
+ daysActive: z.ZodInt;
3600
+ maxStreak: z.ZodInt;
3601
+ rank: z.ZodInt;
3602
+ score: z.ZodNumber;
3603
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
3604
+ totalRoundsPlayed: z.ZodInt;
3605
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
3606
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
3607
+ }, z.core.$strip>>;
3608
+ total: z.ZodInt;
3609
+ updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
3610
+ }, z.core.$strip>;
3287
3611
  /**
3288
3612
  * A miner's claim as recorded by the rounds indexer from a `claim_usd` or
3289
3613
  * `claim_sats` instruction.
@@ -3315,6 +3639,7 @@ declare const zMinerDeploymentDto: z.ZodObject<{
3315
3639
  deployment: z.ZodString;
3316
3640
  hashrateEarned: z.ZodCoercedBigInt<unknown>;
3317
3641
  isAutomation: z.ZodBoolean;
3642
+ isGrubstakeFunded: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3318
3643
  isReload: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3319
3644
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3320
3645
  roundId: z.ZodInt;
@@ -3328,11 +3653,18 @@ declare const zMinerDeploymentDto: z.ZodObject<{
3328
3653
  * A miner's accumulated protocol state, keyed by its authority wallet.
3329
3654
  */
3330
3655
  declare const zMinerDto: z.ZodObject<{
3656
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
3657
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
3658
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
3659
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3331
3660
  authority: z.ZodString;
3332
3661
  currentStreakCount: z.ZodInt;
3662
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
3663
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
3333
3664
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
3334
3665
  lastMinedRoundId: z.ZodInt;
3335
3666
  maxStreak: z.ZodInt;
3667
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3336
3668
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
3337
3669
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
3338
3670
  totalRounds: z.ZodInt;
@@ -3474,6 +3806,7 @@ declare const zOneBtcVaultIterationDto: z.ZodObject<{
3474
3806
  prizeBtc: z.ZodCoercedBigInt<unknown>;
3475
3807
  state: z.ZodEnum<{
3476
3808
  open: "open";
3809
+ sealed: "sealed";
3477
3810
  settled: "settled";
3478
3811
  complete: "complete";
3479
3812
  }>;
@@ -3493,6 +3826,7 @@ declare const zOneBtcVaultDto: z.ZodObject<{
3493
3826
  prizeBtc: z.ZodCoercedBigInt<unknown>;
3494
3827
  state: z.ZodEnum<{
3495
3828
  open: "open";
3829
+ sealed: "sealed";
3496
3830
  settled: "settled";
3497
3831
  complete: "complete";
3498
3832
  }>;
@@ -3512,6 +3846,7 @@ declare const zOneBtcVaultDto: z.ZodObject<{
3512
3846
  declare const zPublicAutomationDto: z.ZodObject<{
3513
3847
  address: z.ZodString;
3514
3848
  executedDeployments: z.ZodInt;
3849
+ isGrubstakeFunded: z.ZodBoolean;
3515
3850
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
3516
3851
  reload: z.ZodBoolean;
3517
3852
  remainingDeployments: z.ZodInt;
@@ -3544,6 +3879,7 @@ declare const zProfileDto: z.ZodObject<{
3544
3879
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
3545
3880
  address: z.ZodString;
3546
3881
  executedDeployments: z.ZodInt;
3882
+ isGrubstakeFunded: z.ZodBoolean;
3547
3883
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
3548
3884
  reload: z.ZodBoolean;
3549
3885
  remainingDeployments: z.ZodInt;
@@ -3566,11 +3902,18 @@ declare const zProfileDto: z.ZodObject<{
3566
3902
  tickets: z.ZodCoercedBigInt<unknown>;
3567
3903
  }, z.core.$strip>>;
3568
3904
  miner: z.ZodObject<{
3905
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
3906
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
3907
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
3908
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3569
3909
  authority: z.ZodString;
3570
3910
  currentStreakCount: z.ZodInt;
3911
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
3912
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
3571
3913
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
3572
3914
  lastMinedRoundId: z.ZodInt;
3573
3915
  maxStreak: z.ZodInt;
3916
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
3574
3917
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
3575
3918
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
3576
3919
  totalRounds: z.ZodInt;
@@ -3612,6 +3955,7 @@ declare const zRoundDeploymentDto: z.ZodObject<{
3612
3955
  deployment: z.ZodString;
3613
3956
  hashrateEarned: z.ZodCoercedBigInt<unknown>;
3614
3957
  isAutomation: z.ZodBoolean;
3958
+ isGrubstakeFunded: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3615
3959
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3616
3960
  satsSharesEarned: z.ZodCoercedBigInt<unknown>;
3617
3961
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
@@ -3636,6 +3980,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
3636
3980
  deployment: z.ZodString;
3637
3981
  hashrateEarned: z.ZodCoercedBigInt<unknown>;
3638
3982
  isAutomation: z.ZodBoolean;
3983
+ isGrubstakeFunded: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3639
3984
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
3640
3985
  satsSharesEarned: z.ZodCoercedBigInt<unknown>;
3641
3986
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
@@ -3837,6 +4182,7 @@ declare const zBoardDto: z.ZodObject<{
3837
4182
  participantsCount: z.ZodInt;
3838
4183
  state: z.ZodEnum<{
3839
4184
  open: "open";
4185
+ sealed: "sealed";
3840
4186
  settling: "settling";
3841
4187
  settled: "settled";
3842
4188
  complete: "complete";
@@ -3845,9 +4191,11 @@ declare const zBoardDto: z.ZodObject<{
3845
4191
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
3846
4192
  authority: z.ZodString;
3847
4193
  claimed: z.ZodBoolean;
4194
+ distributed: z.ZodBoolean;
3848
4195
  tickets: z.ZodCoercedBigInt<unknown>;
3849
4196
  }, z.core.$strip>>, z.ZodNull]>>;
3850
4197
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4198
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3851
4199
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
3852
4200
  }, z.core.$strip>]>>;
3853
4201
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -3870,6 +4218,7 @@ declare const zBoardDto: z.ZodObject<{
3870
4218
  prizeBtc: z.ZodCoercedBigInt<unknown>;
3871
4219
  state: z.ZodEnum<{
3872
4220
  open: "open";
4221
+ sealed: "sealed";
3873
4222
  settled: "settled";
3874
4223
  complete: "complete";
3875
4224
  }>;
@@ -3986,6 +4335,7 @@ declare const zSnapshotDto: z.ZodObject<{
3986
4335
  participantsCount: z.ZodInt;
3987
4336
  state: z.ZodEnum<{
3988
4337
  open: "open";
4338
+ sealed: "sealed";
3989
4339
  settling: "settling";
3990
4340
  settled: "settled";
3991
4341
  complete: "complete";
@@ -3994,9 +4344,11 @@ declare const zSnapshotDto: z.ZodObject<{
3994
4344
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
3995
4345
  authority: z.ZodString;
3996
4346
  claimed: z.ZodBoolean;
4347
+ distributed: z.ZodBoolean;
3997
4348
  tickets: z.ZodCoercedBigInt<unknown>;
3998
4349
  }, z.core.$strip>>, z.ZodNull]>>;
3999
4350
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4351
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4000
4352
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4001
4353
  }, z.core.$strip>]>>;
4002
4354
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4019,6 +4371,7 @@ declare const zSnapshotDto: z.ZodObject<{
4019
4371
  prizeBtc: z.ZodCoercedBigInt<unknown>;
4020
4372
  state: z.ZodEnum<{
4021
4373
  open: "open";
4374
+ sealed: "sealed";
4022
4375
  settled: "settled";
4023
4376
  complete: "complete";
4024
4377
  }>;
@@ -4095,6 +4448,7 @@ declare const zSnapshotDto: z.ZodObject<{
4095
4448
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4096
4449
  address: z.ZodString;
4097
4450
  executedDeployments: z.ZodInt;
4451
+ isGrubstakeFunded: z.ZodBoolean;
4098
4452
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
4099
4453
  reload: z.ZodBoolean;
4100
4454
  remainingDeployments: z.ZodInt;
@@ -4117,11 +4471,18 @@ declare const zSnapshotDto: z.ZodObject<{
4117
4471
  tickets: z.ZodCoercedBigInt<unknown>;
4118
4472
  }, z.core.$strip>>;
4119
4473
  miner: z.ZodObject<{
4474
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
4475
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
4476
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
4477
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4120
4478
  authority: z.ZodString;
4121
4479
  currentStreakCount: z.ZodInt;
4480
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4481
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
4122
4482
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
4123
4483
  lastMinedRoundId: z.ZodInt;
4124
4484
  maxStreak: z.ZodInt;
4485
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4125
4486
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
4126
4487
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4127
4488
  totalRounds: z.ZodInt;
@@ -4198,6 +4559,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
4198
4559
  participantsCount: z.ZodInt;
4199
4560
  state: z.ZodEnum<{
4200
4561
  open: "open";
4562
+ sealed: "sealed";
4201
4563
  settling: "settling";
4202
4564
  settled: "settled";
4203
4565
  complete: "complete";
@@ -4206,9 +4568,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
4206
4568
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
4207
4569
  authority: z.ZodString;
4208
4570
  claimed: z.ZodBoolean;
4571
+ distributed: z.ZodBoolean;
4209
4572
  tickets: z.ZodCoercedBigInt<unknown>;
4210
4573
  }, z.core.$strip>>, z.ZodNull]>>;
4211
4574
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4575
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4212
4576
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4213
4577
  }, z.core.$strip>]>>;
4214
4578
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4231,6 +4595,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
4231
4595
  prizeBtc: z.ZodCoercedBigInt<unknown>;
4232
4596
  state: z.ZodEnum<{
4233
4597
  open: "open";
4598
+ sealed: "sealed";
4234
4599
  settled: "settled";
4235
4600
  complete: "complete";
4236
4601
  }>;
@@ -4307,6 +4672,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
4307
4672
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4308
4673
  address: z.ZodString;
4309
4674
  executedDeployments: z.ZodInt;
4675
+ isGrubstakeFunded: z.ZodBoolean;
4310
4676
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
4311
4677
  reload: z.ZodBoolean;
4312
4678
  remainingDeployments: z.ZodInt;
@@ -4329,11 +4695,18 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
4329
4695
  tickets: z.ZodCoercedBigInt<unknown>;
4330
4696
  }, z.core.$strip>>;
4331
4697
  miner: z.ZodObject<{
4698
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
4699
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
4700
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
4701
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4332
4702
  authority: z.ZodString;
4333
4703
  currentStreakCount: z.ZodInt;
4704
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4705
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
4334
4706
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
4335
4707
  lastMinedRoundId: z.ZodInt;
4336
4708
  maxStreak: z.ZodInt;
4709
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4337
4710
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
4338
4711
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4339
4712
  totalRounds: z.ZodInt;
@@ -4416,6 +4789,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
4416
4789
  participantsCount: z.ZodInt;
4417
4790
  state: z.ZodEnum<{
4418
4791
  open: "open";
4792
+ sealed: "sealed";
4419
4793
  settling: "settling";
4420
4794
  settled: "settled";
4421
4795
  complete: "complete";
@@ -4424,9 +4798,11 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
4424
4798
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
4425
4799
  authority: z.ZodString;
4426
4800
  claimed: z.ZodBoolean;
4801
+ distributed: z.ZodBoolean;
4427
4802
  tickets: z.ZodCoercedBigInt<unknown>;
4428
4803
  }, z.core.$strip>>, z.ZodNull]>>;
4429
4804
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4805
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4430
4806
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4431
4807
  }, z.core.$strip>]>>;
4432
4808
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4449,6 +4825,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
4449
4825
  prizeBtc: z.ZodCoercedBigInt<unknown>;
4450
4826
  state: z.ZodEnum<{
4451
4827
  open: "open";
4828
+ sealed: "sealed";
4452
4829
  settled: "settled";
4453
4830
  complete: "complete";
4454
4831
  }>;
@@ -4525,6 +4902,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
4525
4902
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
4526
4903
  address: z.ZodString;
4527
4904
  executedDeployments: z.ZodInt;
4905
+ isGrubstakeFunded: z.ZodBoolean;
4528
4906
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
4529
4907
  reload: z.ZodBoolean;
4530
4908
  remainingDeployments: z.ZodInt;
@@ -4547,11 +4925,18 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
4547
4925
  tickets: z.ZodCoercedBigInt<unknown>;
4548
4926
  }, z.core.$strip>>;
4549
4927
  miner: z.ZodObject<{
4928
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
4929
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
4930
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
4931
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4550
4932
  authority: z.ZodString;
4551
4933
  currentStreakCount: z.ZodInt;
4934
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4935
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
4552
4936
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
4553
4937
  lastMinedRoundId: z.ZodInt;
4554
4938
  maxStreak: z.ZodInt;
4939
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
4555
4940
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
4556
4941
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4557
4942
  totalRounds: z.ZodInt;
@@ -4826,6 +5211,53 @@ declare const zValidationErrorCodeValidationDetailsErrorBody: z.ZodObject<{
4826
5211
  }, z.core.$strip>>;
4827
5212
  }, z.core.$strip>>;
4828
5213
  }, z.core.$strip>;
5214
+ declare const zWalletLeaderboardApiError400InvalidAddress: z.ZodObject<{
5215
+ code: z.ZodEnum<{
5216
+ invalid_address: "invalid_address";
5217
+ }>;
5218
+ }, z.core.$strip>;
5219
+ declare const zWalletLeaderboardApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
5220
+ code: z.ZodLiteral<"invalid_address">;
5221
+ }, z.core.$strip>, z.ZodObject<{
5222
+ code: z.ZodEnum<{
5223
+ invalid_address: "invalid_address";
5224
+ }>;
5225
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5226
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
5227
+ }, z.core.$strip>, z.ZodObject<{
5228
+ code: z.ZodEnum<{
5229
+ invalid_path: "invalid_path";
5230
+ invalid_query: "invalid_query";
5231
+ invalid_body: "invalid_body";
5232
+ }>;
5233
+ }, z.core.$strip>>]>;
5234
+ declare const zWalletLeaderboardApiError404Error: z.ZodObject<{
5235
+ code: z.ZodEnum<{
5236
+ not_found: "not_found";
5237
+ }>;
5238
+ }, z.core.$strip>;
5239
+ /**
5240
+ * A single wallet's general-leaderboard stats and ranks.
5241
+ */
5242
+ declare const zWalletLeaderboardDto: z.ZodObject<{
5243
+ authority: z.ZodString;
5244
+ daysActive: z.ZodInt;
5245
+ maxStreak: z.ZodInt;
5246
+ ranks: z.ZodObject<{
5247
+ deployed: z.ZodInt;
5248
+ hashrate: z.ZodInt;
5249
+ rounds: z.ZodInt;
5250
+ satsEarned: z.ZodInt;
5251
+ score: z.ZodInt;
5252
+ streak: z.ZodInt;
5253
+ }, z.core.$strip>;
5254
+ score: z.ZodNumber;
5255
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5256
+ totalRoundsPlayed: z.ZodInt;
5257
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5258
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5259
+ updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
5260
+ }, z.core.$strip>;
4829
5261
  declare const zGetBoardData: z.ZodObject<{
4830
5262
  body: z.ZodOptional<z.ZodNever>;
4831
5263
  path: z.ZodOptional<z.ZodNever>;
@@ -4878,6 +5310,7 @@ declare const zGetBoardResponse: z.ZodObject<{
4878
5310
  participantsCount: z.ZodInt;
4879
5311
  state: z.ZodEnum<{
4880
5312
  open: "open";
5313
+ sealed: "sealed";
4881
5314
  settling: "settling";
4882
5315
  settled: "settled";
4883
5316
  complete: "complete";
@@ -4886,9 +5319,11 @@ declare const zGetBoardResponse: z.ZodObject<{
4886
5319
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
4887
5320
  authority: z.ZodString;
4888
5321
  claimed: z.ZodBoolean;
5322
+ distributed: z.ZodBoolean;
4889
5323
  tickets: z.ZodCoercedBigInt<unknown>;
4890
5324
  }, z.core.$strip>>, z.ZodNull]>>;
4891
5325
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5326
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4892
5327
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4893
5328
  }, z.core.$strip>]>>;
4894
5329
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4911,6 +5346,7 @@ declare const zGetBoardResponse: z.ZodObject<{
4911
5346
  prizeBtc: z.ZodCoercedBigInt<unknown>;
4912
5347
  state: z.ZodEnum<{
4913
5348
  open: "open";
5349
+ sealed: "sealed";
4914
5350
  settled: "settled";
4915
5351
  complete: "complete";
4916
5352
  }>;
@@ -5109,6 +5545,40 @@ declare const zGetEpochWinnersResponse: z.ZodObject<{
5109
5545
  }, z.core.$strip>>;
5110
5546
  }, z.core.$strip>;
5111
5547
  type GetEpochWinnersResponseZodType = z.infer<typeof zGetEpochWinnersResponse>;
5548
+ declare const zGetLeaderboardData: z.ZodObject<{
5549
+ body: z.ZodOptional<z.ZodNever>;
5550
+ path: z.ZodOptional<z.ZodNever>;
5551
+ query: z.ZodOptional<z.ZodObject<{
5552
+ sort: z.ZodOptional<z.ZodEnum<{
5553
+ score: "score";
5554
+ deployed: "deployed";
5555
+ rounds: "rounds";
5556
+ sats_earned: "sats_earned";
5557
+ hashrate: "hashrate";
5558
+ streak: "streak";
5559
+ }>>;
5560
+ offset: z.ZodOptional<z.ZodInt>;
5561
+ limit: z.ZodOptional<z.ZodInt>;
5562
+ }, z.core.$strip>>;
5563
+ }, z.core.$strip>;
5564
+ declare const zGetLeaderboardResponse: z.ZodObject<{
5565
+ data: z.ZodObject<{
5566
+ entries: z.ZodArray<z.ZodObject<{
5567
+ authority: z.ZodString;
5568
+ daysActive: z.ZodInt;
5569
+ maxStreak: z.ZodInt;
5570
+ rank: z.ZodInt;
5571
+ score: z.ZodNumber;
5572
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5573
+ totalRoundsPlayed: z.ZodInt;
5574
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5575
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5576
+ }, z.core.$strip>>;
5577
+ total: z.ZodInt;
5578
+ updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
5579
+ }, z.core.$strip>;
5580
+ }, z.core.$strip>;
5581
+ type GetLeaderboardResponseZodType = z.infer<typeof zGetLeaderboardResponse>;
5112
5582
  declare const zGetHashrateEarnedLeaderboardData: z.ZodObject<{
5113
5583
  body: z.ZodOptional<z.ZodNever>;
5114
5584
  path: z.ZodOptional<z.ZodNever>;
@@ -5160,6 +5630,35 @@ declare const zGetSatsEarnedLeaderboardResponse: z.ZodObject<{
5160
5630
  }, z.core.$strip>>;
5161
5631
  }, z.core.$strip>;
5162
5632
  type GetSatsEarnedLeaderboardResponseZodType = z.infer<typeof zGetSatsEarnedLeaderboardResponse>;
5633
+ declare const zGetWalletLeaderboardData: z.ZodObject<{
5634
+ body: z.ZodOptional<z.ZodNever>;
5635
+ path: z.ZodObject<{
5636
+ address: z.ZodString;
5637
+ }, z.core.$strip>;
5638
+ query: z.ZodOptional<z.ZodNever>;
5639
+ }, z.core.$strip>;
5640
+ declare const zGetWalletLeaderboardResponse: z.ZodObject<{
5641
+ data: z.ZodObject<{
5642
+ authority: z.ZodString;
5643
+ daysActive: z.ZodInt;
5644
+ maxStreak: z.ZodInt;
5645
+ ranks: z.ZodObject<{
5646
+ deployed: z.ZodInt;
5647
+ hashrate: z.ZodInt;
5648
+ rounds: z.ZodInt;
5649
+ satsEarned: z.ZodInt;
5650
+ score: z.ZodInt;
5651
+ streak: z.ZodInt;
5652
+ }, z.core.$strip>;
5653
+ score: z.ZodNumber;
5654
+ totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5655
+ totalRoundsPlayed: z.ZodInt;
5656
+ totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5657
+ totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5658
+ updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
5659
+ }, z.core.$strip>;
5660
+ }, z.core.$strip>;
5661
+ type GetWalletLeaderboardResponseZodType = z.infer<typeof zGetWalletLeaderboardResponse>;
5163
5662
  declare const zGetOneBtcHistoryData: z.ZodObject<{
5164
5663
  body: z.ZodOptional<z.ZodNever>;
5165
5664
  path: z.ZodOptional<z.ZodNever>;
@@ -5294,6 +5793,7 @@ declare const zGetRoundResponse: z.ZodObject<{
5294
5793
  deployment: z.ZodString;
5295
5794
  hashrateEarned: z.ZodCoercedBigInt<unknown>;
5296
5795
  isAutomation: z.ZodBoolean;
5796
+ isGrubstakeFunded: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
5297
5797
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
5298
5798
  satsSharesEarned: z.ZodCoercedBigInt<unknown>;
5299
5799
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
@@ -5397,6 +5897,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
5397
5897
  participantsCount: z.ZodInt;
5398
5898
  state: z.ZodEnum<{
5399
5899
  open: "open";
5900
+ sealed: "sealed";
5400
5901
  settling: "settling";
5401
5902
  settled: "settled";
5402
5903
  complete: "complete";
@@ -5405,9 +5906,11 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
5405
5906
  winners: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5406
5907
  authority: z.ZodString;
5407
5908
  claimed: z.ZodBoolean;
5909
+ distributed: z.ZodBoolean;
5408
5910
  tickets: z.ZodCoercedBigInt<unknown>;
5409
5911
  }, z.core.$strip>>, z.ZodNull]>>;
5410
5912
  winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5913
+ winnersDistributed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5411
5914
  winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5412
5915
  }, z.core.$strip>]>>;
5413
5916
  iterationEndsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -5430,6 +5933,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
5430
5933
  prizeBtc: z.ZodCoercedBigInt<unknown>;
5431
5934
  state: z.ZodEnum<{
5432
5935
  open: "open";
5936
+ sealed: "sealed";
5433
5937
  settled: "settled";
5434
5938
  complete: "complete";
5435
5939
  }>;
@@ -5506,6 +6010,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
5506
6010
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5507
6011
  address: z.ZodString;
5508
6012
  executedDeployments: z.ZodInt;
6013
+ isGrubstakeFunded: z.ZodBoolean;
5509
6014
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
5510
6015
  reload: z.ZodBoolean;
5511
6016
  remainingDeployments: z.ZodInt;
@@ -5528,11 +6033,18 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
5528
6033
  tickets: z.ZodCoercedBigInt<unknown>;
5529
6034
  }, z.core.$strip>>;
5530
6035
  miner: z.ZodObject<{
6036
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
6037
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
6038
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
6039
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5531
6040
  authority: z.ZodString;
5532
6041
  currentStreakCount: z.ZodInt;
6042
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
6043
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
5533
6044
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
5534
6045
  lastMinedRoundId: z.ZodInt;
5535
6046
  maxStreak: z.ZodInt;
6047
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5536
6048
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
5537
6049
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5538
6050
  totalRounds: z.ZodInt;
@@ -5579,6 +6091,7 @@ declare const zGetUserProfileResponse: z.ZodObject<{
5579
6091
  automation: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
5580
6092
  address: z.ZodString;
5581
6093
  executedDeployments: z.ZodInt;
6094
+ isGrubstakeFunded: z.ZodBoolean;
5582
6095
  perRoundUsdAmount: z.ZodCoercedBigInt<unknown>;
5583
6096
  reload: z.ZodBoolean;
5584
6097
  remainingDeployments: z.ZodInt;
@@ -5601,11 +6114,18 @@ declare const zGetUserProfileResponse: z.ZodObject<{
5601
6114
  tickets: z.ZodCoercedBigInt<unknown>;
5602
6115
  }, z.core.$strip>>;
5603
6116
  miner: z.ZodObject<{
6117
+ affiliate: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
6118
+ affiliatePointsEarned: z.ZodCoercedBigInt<unknown>;
6119
+ affiliatePointsSpent: z.ZodCoercedBigInt<unknown>;
6120
+ affiliateRateBps: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
5604
6121
  authority: z.ZodString;
5605
6122
  currentStreakCount: z.ZodInt;
6123
+ grubstakeExpiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
6124
+ grubstakeUsdAmount: z.ZodCoercedBigInt<unknown>;
5606
6125
  hashrateAmount: z.ZodCoercedBigInt<unknown>;
5607
6126
  lastMinedRoundId: z.ZodInt;
5608
6127
  maxStreak: z.ZodInt;
6128
+ tag: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
5609
6129
  totalBtcReceived: z.ZodCoercedBigInt<unknown>;
5610
6130
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5611
6131
  totalRounds: z.ZodInt;
@@ -5685,6 +6205,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
5685
6205
  deployment: z.ZodString;
5686
6206
  hashrateEarned: z.ZodCoercedBigInt<unknown>;
5687
6207
  isAutomation: z.ZodBoolean;
6208
+ isGrubstakeFunded: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
5688
6209
  isReload: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
5689
6210
  isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
5690
6211
  roundId: z.ZodInt;
@@ -5802,4 +6323,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
5802
6323
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
5803
6324
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
5804
6325
 
5805
- export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, 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 GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, 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 GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, 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 OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, 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, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, 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, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, 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 };
6326
+ export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, 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 GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, 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 GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, 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, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, 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, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, 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, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };