@satrush/api 0.1.20 → 0.1.22

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
@@ -410,7 +410,7 @@ type BoardDto = {
410
410
  roundId: number;
411
411
  /**
412
412
  * Wall-clock time of `start_slot`, derived from the current time and
413
- * slot assuming exactly 400ms per slot. Null while the round is pending
413
+ * slot at `slot_duration_ms` per slot. Null while the round is pending
414
414
  * and its slot window is not yet scheduled.
415
415
  */
416
416
  roundStartedAt?: Date | null;
@@ -418,6 +418,13 @@ type BoardDto = {
418
418
  * The sats vault balances.
419
419
  */
420
420
  satsVault: SatsVaultDto;
421
+ /**
422
+ * Measured wall-clock milliseconds per slot: seeded from cluster
423
+ * performance samples at startup, then continuously measured from the
424
+ * slot stream. Clients ticking countdowns from `current_slot` should
425
+ * use this rather than assuming a fixed slot duration.
426
+ */
427
+ slotDurationMs: number;
421
428
  /**
422
429
  * Slot at which the current round starts mining.
423
430
  */
@@ -456,7 +463,7 @@ type EpochIterationApiError500Error = {
456
463
  };
457
464
  /**
458
465
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
459
- * draw-time BTC price, and the resolved winners.
466
+ * draw-time BTC and token prices, and the resolved winners.
460
467
  */
461
468
  type EpochIterationDetailsDto = {
462
469
  /**
@@ -484,10 +491,17 @@ type EpochIterationDetailsDto = {
484
491
  */
485
492
  poolBtcAmount: U64Dto;
486
493
  /**
487
- * Both pools in dollars at `btc_price`; `null` when that price is
488
- * unknown.
494
+ * All pools in dollars at `btc_price` and `token_price`; `null` when a
495
+ * nonzero pool's price is unknown (live, the token leg is left out
496
+ * while its price is unavailable).
489
497
  */
490
498
  poolCombinedUsdAmount?: number | null;
499
+ /**
500
+ * SatRush token (base units) pot: sealed at trigger time for past
501
+ * iterations, the drawable share of the vault's live token pool for
502
+ * the current one.
503
+ */
504
+ poolTokenAmount: U64Dto;
491
505
  /**
492
506
  * USD pot: sealed at trigger time for past iterations, the drawable
493
507
  * (rollover-excluded) share of the vault's live accumulating USDC for
@@ -495,6 +509,12 @@ type EpochIterationDetailsDto = {
495
509
  */
496
510
  poolUsdAmount: U64Dto;
497
511
  startedAt: Date;
512
+ /**
513
+ * The token price valuing the pot: the draw-time indexed price for past
514
+ * iterations, the live price for the current one; `null` when no
515
+ * price was indexed near the draw (or, live, none is available yet).
516
+ */
517
+ tokenPrice?: number | null;
498
518
  totalParticipants: number;
499
519
  totalTickets: U64Dto;
500
520
  /**
@@ -502,8 +522,8 @@ type EpochIterationDetailsDto = {
502
522
  */
503
523
  triggeredAt?: Date | null;
504
524
  /**
505
- * Winners in rank order with their winnings valued at `btc_price`;
506
- * `null` until the draw resolves.
525
+ * Winners in rank order with their winnings valued at `btc_price` and
526
+ * `token_price`; `null` until the draw resolves.
507
527
  */
508
528
  winners?: Array<EpochIterationWinnerDto> | null;
509
529
  };
@@ -581,8 +601,9 @@ type EpochIterationParticipantDto = {
581
601
  tickets: U64Dto;
582
602
  wonBtcAmount?: null | U64Dto;
583
603
  /**
584
- * The win in dollars — USDC at face value, BTC at the iteration's
585
- * draw-time price; `null` for non-winners or when that price is unknown.
604
+ * The win in dollars — USDC at face value, BTC and the token at the
605
+ * iteration's draw-time prices; `null` for non-winners or when a
606
+ * nonzero share's price is unknown.
586
607
  */
587
608
  wonCombinedUsdAmount?: number | null;
588
609
  wonTokenAmount?: null | U64Dto;
@@ -604,7 +625,7 @@ type EpochIterationParticipantsApiError500Error = {
604
625
  };
605
626
  /**
606
627
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
607
- * the iteration's draw-time BTC price.
628
+ * the iteration's draw-time BTC and token prices.
608
629
  */
609
630
  type EpochIterationWinnerDto = {
610
631
  authority: PubkeyDto;
@@ -625,8 +646,9 @@ type EpochIterationWinnerDto = {
625
646
  */
626
647
  wonBtcAmount: U64Dto;
627
648
  /**
628
- * Both shares in dollars — USDC at face value, BTC at the iteration's
629
- * draw-time price; `null` when that price is unknown.
649
+ * All shares in dollars — USDC at face value, BTC and the token at the
650
+ * iteration's draw-time prices; `null` when a nonzero share's price is
651
+ * unknown.
630
652
  */
631
653
  wonCombinedUsdAmount?: number | null;
632
654
  /**
@@ -690,8 +712,8 @@ type EpochVaultDto = {
690
712
  iterationId: number;
691
713
  /**
692
714
  * Wall-clock time of `last_trigger_slot`, derived from the current time
693
- * and slot assuming exactly 400ms per slot. Null when the slot carries
694
- * the not-yet-scheduled sentinel.
715
+ * and slot at the board's measured `slot_duration_ms` per slot. Null
716
+ * when the slot carries the not-yet-scheduled sentinel.
695
717
  */
696
718
  iterationStartedAt?: Date | null;
697
719
  /**
@@ -1085,6 +1107,11 @@ type MinerDeploymentDto = {
1085
1107
  * pre-mint settles.
1086
1108
  */
1087
1109
  tokenEarned: U64Dto;
1110
+ /**
1111
+ * `token_earned` in dollars at the settle-time token price; `null`
1112
+ * until settled or when no token price was indexed near that moment.
1113
+ */
1114
+ tokenEarnedUsd?: number | null;
1088
1115
  /**
1089
1116
  * Token Vault shares minted for `token_earned`; 0 until settled.
1090
1117
  */
@@ -1588,14 +1615,14 @@ type PricesDto = {
1588
1615
  */
1589
1616
  sat: number;
1590
1617
  /**
1591
- * USD price of one whole SatRush token, the mint program's latest
1592
- * on-chain oracle spot; `null` until the mint program's oracle is
1593
- * loaded.
1618
+ * USD price of one whole SatRush token from Jupiter, falling back to
1619
+ * the mint program's latest on-chain oracle spot while Jupiter has not
1620
+ * priced it; `null` until either is available.
1594
1621
  */
1595
1622
  token?: number | null;
1596
1623
  /**
1597
1624
  * USD price of a single token-vault share; `null` until both the token
1598
- * vault and the oracle are loaded.
1625
+ * vault and a token price are available.
1599
1626
  */
1600
1627
  tokenShare?: number | null;
1601
1628
  };
@@ -1802,6 +1829,11 @@ type RoundDeploymentDto = {
1802
1829
  * pre-mint settles.
1803
1830
  */
1804
1831
  tokenEarned: U64Dto;
1832
+ /**
1833
+ * `token_earned` in dollars at the settle-time token price; `null`
1834
+ * until settled or when no token price was indexed near that moment.
1835
+ */
1836
+ tokenEarnedUsd?: number | null;
1805
1837
  /**
1806
1838
  * Token-vault shares minted for `token_earned`; 0 until settled.
1807
1839
  */
@@ -2225,6 +2257,68 @@ type SseResponse = {
2225
2257
  type SseResponseSnapshot = SnapshotDto & {
2226
2258
  entity: 'state_snapshot';
2227
2259
  };
2260
+ /**
2261
+ * A wallet's staking position, projected to the moment of the request. A
2262
+ * wallet that never staked gets the zero position at its would-be address.
2263
+ */
2264
+ type StakingPositionDto = {
2265
+ /**
2266
+ * The position account (`["position", authority]`).
2267
+ */
2268
+ address: PubkeyDto;
2269
+ authority: PubkeyDto;
2270
+ /**
2271
+ * Staked base units (1 share = 1 unit).
2272
+ */
2273
+ shares: U64Dto;
2274
+ /**
2275
+ * Everything a `claim_reward` sent now would pay (reward base units):
2276
+ * the reward settled on-chain plus the stream accrued since the
2277
+ * position's last snapshot, replayed from the treasury and position
2278
+ * accounts in state.
2279
+ */
2280
+ unclaimedReward: U64Dto;
2281
+ };
2282
+ type StakingTreasuryApiError404Error = {
2283
+ code: 'not_found';
2284
+ };
2285
+ type StakingTreasuryApiError500Error = {
2286
+ code: 'internal';
2287
+ };
2288
+ /**
2289
+ * The staking treasury: the two tokens, their vaults and the totals.
2290
+ */
2291
+ type StakingTreasuryDto = {
2292
+ address: PubkeyDto;
2293
+ /**
2294
+ * Token users earn (8 decimals).
2295
+ */
2296
+ rewardTokenMint: PubkeyDto;
2297
+ /**
2298
+ * The treasury's associated token account the rewards are paid from.
2299
+ */
2300
+ rewardVault: PubkeyDto;
2301
+ /**
2302
+ * Token users stake (9 decimals).
2303
+ */
2304
+ stakedTokenMint: PubkeyDto;
2305
+ /**
2306
+ * The treasury's associated token account holding every stake.
2307
+ */
2308
+ stakedVault: PubkeyDto;
2309
+ /**
2310
+ * Lifetime reward deposited through `deposit_reward` (reward base units).
2311
+ */
2312
+ totalRewardDeposited: U64Dto;
2313
+ /**
2314
+ * Staked base units across every position.
2315
+ */
2316
+ totalStaked: U64Dto;
2317
+ /**
2318
+ * Positions with a non-zero stake right now.
2319
+ */
2320
+ totalStakers: number;
2321
+ };
2228
2322
  /**
2229
2323
  * Strike jackpot balances tracked on the board.
2230
2324
  */
@@ -2251,8 +2345,9 @@ type StrikeJackpotDto = {
2251
2345
  */
2252
2346
  poolBtcAmount: U64Dto;
2253
2347
  /**
2254
- * Both pool legs in dollars — USDC at face value, BTC at the live
2255
- * price.
2348
+ * All pool legs in dollars — USDC at face value, BTC and the token at
2349
+ * their live prices (the token leg is left out while its price is
2350
+ * unknown).
2256
2351
  */
2257
2352
  poolCombinedUsdAmount: number;
2258
2353
  /**
@@ -2414,6 +2509,17 @@ type UserReferralsApiError400InvalidAddress = {
2414
2509
  type UserReferralsApiError500Error = {
2415
2510
  code: 'internal';
2416
2511
  };
2512
+ type UserStakingApiError400Error = ({
2513
+ code: 'invalid_address';
2514
+ } & UserStakingApiError400InvalidAddress) | ({
2515
+ code: 'invalid_body' | 'invalid_path' | 'invalid_query';
2516
+ } & BadRequestErrorCodeErrorBody);
2517
+ type UserStakingApiError400InvalidAddress = {
2518
+ code: 'invalid_address';
2519
+ };
2520
+ type UserStakingApiError500Error = {
2521
+ code: 'internal';
2522
+ };
2417
2523
  type UserVaultEntriesApiError400Error = ({
2418
2524
  code: 'invalid_address';
2419
2525
  } & UserVaultEntriesApiError400InvalidAddress) | ({
@@ -2926,6 +3032,23 @@ type GetRoundResponses = {
2926
3032
  };
2927
3033
  };
2928
3034
  type GetRoundResponse = GetRoundResponses[keyof GetRoundResponses];
3035
+ type GetStakingTreasuryData = {
3036
+ body?: never;
3037
+ path?: never;
3038
+ query?: never;
3039
+ url: '/v1/staking/treasury';
3040
+ };
3041
+ type GetStakingTreasuryErrors = {
3042
+ 404: StakingTreasuryApiError404Error;
3043
+ 500: StakingTreasuryApiError500Error;
3044
+ };
3045
+ type GetStakingTreasuryError = GetStakingTreasuryErrors[keyof GetStakingTreasuryErrors];
3046
+ type GetStakingTreasuryResponses = {
3047
+ 200: {
3048
+ data: StakingTreasuryDto;
3049
+ };
3050
+ };
3051
+ type GetStakingTreasuryResponse = GetStakingTreasuryResponses[keyof GetStakingTreasuryResponses];
2929
3052
  type SseData = {
2930
3053
  body?: never;
2931
3054
  path?: never;
@@ -3239,6 +3362,29 @@ type GetUserReferralsResponses = {
3239
3362
  };
3240
3363
  };
3241
3364
  type GetUserReferralsResponse = GetUserReferralsResponses[keyof GetUserReferralsResponses];
3365
+ type GetUserStakingData = {
3366
+ body?: never;
3367
+ path: {
3368
+ /**
3369
+ * Staker wallet address (base58)
3370
+ */
3371
+ address: string;
3372
+ };
3373
+ query?: never;
3374
+ url: '/v1/users/{address}/staking';
3375
+ };
3376
+ type GetUserStakingErrors = {
3377
+ 400: UserStakingApiError400Error;
3378
+ 422: ValidationErrorCodeErrorBody;
3379
+ 500: UserStakingApiError500Error;
3380
+ };
3381
+ type GetUserStakingError = GetUserStakingErrors[keyof GetUserStakingErrors];
3382
+ type GetUserStakingResponses = {
3383
+ 200: {
3384
+ data: StakingPositionDto;
3385
+ };
3386
+ };
3387
+ type GetUserStakingResponse = GetUserStakingResponses[keyof GetUserStakingResponses];
3242
3388
 
3243
3389
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
3244
3390
  /**
@@ -3374,6 +3520,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
3374
3520
  getRound<ThrowOnError extends boolean = false>(parameters: {
3375
3521
  id: number;
3376
3522
  }, options?: Options<never, ThrowOnError>): RequestResult<GetRoundResponses, GetRoundErrors, ThrowOnError, "fields">;
3523
+ /**
3524
+ * Request the staking treasury: configuration, authorities and the reward stream
3525
+ */
3526
+ getStakingTreasury<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetStakingTreasuryResponses, GetStakingTreasuryErrors, ThrowOnError, "fields">;
3377
3527
  /**
3378
3528
  * Subscribe for SSE stream
3379
3529
  */
@@ -3449,6 +3599,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
3449
3599
  offset?: number;
3450
3600
  limit?: number;
3451
3601
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
3602
+ /**
3603
+ * Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
3604
+ */
3605
+ getUserStaking<ThrowOnError extends boolean = false>(parameters: {
3606
+ address: string;
3607
+ }, options?: Options<never, ThrowOnError>): RequestResult<GetUserStakingResponses, GetUserStakingErrors, ThrowOnError, "fields">;
3452
3608
  }
3453
3609
 
3454
3610
  /**
@@ -3821,6 +3977,16 @@ declare const zSortOrderDto: z.ZodEnum<{
3821
3977
  desc: "desc";
3822
3978
  asc: "asc";
3823
3979
  }>;
3980
+ declare const zStakingTreasuryApiError404Error: z.ZodObject<{
3981
+ code: z.ZodEnum<{
3982
+ not_found: "not_found";
3983
+ }>;
3984
+ }, z.core.$strip>;
3985
+ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
3986
+ code: z.ZodEnum<{
3987
+ internal: "internal";
3988
+ }>;
3989
+ }, z.core.$strip>;
3824
3990
  /**
3825
3991
  * Unsigned 128-bit integer encoded as a decimal string.
3826
3992
  */
@@ -3876,7 +4042,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
3876
4042
  }, z.core.$strip>;
3877
4043
  /**
3878
4044
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
3879
- * the iteration's draw-time BTC price.
4045
+ * the iteration's draw-time BTC and token prices.
3880
4046
  */
3881
4047
  declare const zEpochIterationWinnerDto: z.ZodObject<{
3882
4048
  authority: z.ZodString;
@@ -3891,7 +4057,7 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
3891
4057
  }, z.core.$strip>;
3892
4058
  /**
3893
4059
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
3894
- * draw-time BTC price, and the resolved winners.
4060
+ * draw-time BTC and token prices, and the resolved winners.
3895
4061
  */
3896
4062
  declare const zEpochIterationDetailsDto: z.ZodObject<{
3897
4063
  address: z.ZodString;
@@ -3900,8 +4066,10 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
3900
4066
  id: z.ZodInt;
3901
4067
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
3902
4068
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4069
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
3903
4070
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
3904
4071
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
4072
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
3905
4073
  totalParticipants: z.ZodInt;
3906
4074
  totalTickets: z.ZodCoercedBigInt<unknown>;
3907
4075
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4115,6 +4283,7 @@ declare const zMinerDeploymentDto: z.ZodObject<{
4115
4283
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4116
4284
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4117
4285
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4286
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4118
4287
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4119
4288
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4120
4289
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4468,6 +4637,7 @@ declare const zRoundDeploymentDto: z.ZodObject<{
4468
4637
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4469
4638
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4470
4639
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4640
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4471
4641
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4472
4642
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4473
4643
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4497,6 +4667,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
4497
4667
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4498
4668
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4499
4669
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4670
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4500
4671
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4501
4672
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4502
4673
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4610,6 +4781,29 @@ declare const zSatsVaultDto: z.ZodObject<{
4610
4781
  btcAmount: z.ZodCoercedBigInt<unknown>;
4611
4782
  btcShares: z.ZodCoercedBigInt<unknown>;
4612
4783
  }, z.core.$strip>;
4784
+ /**
4785
+ * A wallet's staking position, projected to the moment of the request. A
4786
+ * wallet that never staked gets the zero position at its would-be address.
4787
+ */
4788
+ declare const zStakingPositionDto: z.ZodObject<{
4789
+ address: z.ZodString;
4790
+ authority: z.ZodString;
4791
+ shares: z.ZodCoercedBigInt<unknown>;
4792
+ unclaimedReward: z.ZodCoercedBigInt<unknown>;
4793
+ }, z.core.$strip>;
4794
+ /**
4795
+ * The staking treasury: the two tokens, their vaults and the totals.
4796
+ */
4797
+ declare const zStakingTreasuryDto: z.ZodObject<{
4798
+ address: z.ZodString;
4799
+ rewardTokenMint: z.ZodString;
4800
+ rewardVault: z.ZodString;
4801
+ stakedTokenMint: z.ZodString;
4802
+ stakedVault: z.ZodString;
4803
+ totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
4804
+ totalStaked: z.ZodCoercedBigInt<unknown>;
4805
+ totalStakers: z.ZodInt;
4806
+ }, z.core.$strip>;
4613
4807
  /**
4614
4808
  * Strike jackpot balances tracked on the board.
4615
4809
  */
@@ -4833,6 +5027,7 @@ declare const zBoardDto: z.ZodObject<{
4833
5027
  btcAmount: z.ZodCoercedBigInt<unknown>;
4834
5028
  btcShares: z.ZodCoercedBigInt<unknown>;
4835
5029
  }, z.core.$strip>;
5030
+ slotDurationMs: z.ZodNumber;
4836
5031
  startSlot: z.ZodCoercedBigInt<unknown>;
4837
5032
  strike: z.ZodObject<{
4838
5033
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -5008,6 +5203,7 @@ declare const zSnapshotDto: z.ZodObject<{
5008
5203
  btcAmount: z.ZodCoercedBigInt<unknown>;
5009
5204
  btcShares: z.ZodCoercedBigInt<unknown>;
5010
5205
  }, z.core.$strip>;
5206
+ slotDurationMs: z.ZodNumber;
5011
5207
  startSlot: z.ZodCoercedBigInt<unknown>;
5012
5208
  strike: z.ZodObject<{
5013
5209
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -5260,6 +5456,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5260
5456
  btcAmount: z.ZodCoercedBigInt<unknown>;
5261
5457
  btcShares: z.ZodCoercedBigInt<unknown>;
5262
5458
  }, z.core.$strip>;
5459
+ slotDurationMs: z.ZodNumber;
5263
5460
  startSlot: z.ZodCoercedBigInt<unknown>;
5264
5461
  strike: z.ZodObject<{
5265
5462
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -5518,6 +5715,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5518
5715
  btcAmount: z.ZodCoercedBigInt<unknown>;
5519
5716
  btcShares: z.ZodCoercedBigInt<unknown>;
5520
5717
  }, z.core.$strip>;
5718
+ slotDurationMs: z.ZodNumber;
5521
5719
  startSlot: z.ZodCoercedBigInt<unknown>;
5522
5720
  strike: z.ZodObject<{
5523
5721
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -5837,6 +6035,31 @@ declare const zUserReferralsApiError500Error: z.ZodObject<{
5837
6035
  internal: "internal";
5838
6036
  }>;
5839
6037
  }, z.core.$strip>;
6038
+ declare const zUserStakingApiError400InvalidAddress: z.ZodObject<{
6039
+ code: z.ZodEnum<{
6040
+ invalid_address: "invalid_address";
6041
+ }>;
6042
+ }, z.core.$strip>;
6043
+ declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
6044
+ code: z.ZodLiteral<"invalid_address">;
6045
+ }, z.core.$strip>, z.ZodObject<{
6046
+ code: z.ZodEnum<{
6047
+ invalid_address: "invalid_address";
6048
+ }>;
6049
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
6050
+ code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
6051
+ }, z.core.$strip>, z.ZodObject<{
6052
+ code: z.ZodEnum<{
6053
+ invalid_path: "invalid_path";
6054
+ invalid_query: "invalid_query";
6055
+ invalid_body: "invalid_body";
6056
+ }>;
6057
+ }, z.core.$strip>>]>;
6058
+ declare const zUserStakingApiError500Error: z.ZodObject<{
6059
+ code: z.ZodEnum<{
6060
+ internal: "internal";
6061
+ }>;
6062
+ }, z.core.$strip>;
5840
6063
  declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
5841
6064
  code: z.ZodEnum<{
5842
6065
  invalid_address: "invalid_address";
@@ -6122,6 +6345,7 @@ declare const zGetBoardResponse: z.ZodObject<{
6122
6345
  btcAmount: z.ZodCoercedBigInt<unknown>;
6123
6346
  btcShares: z.ZodCoercedBigInt<unknown>;
6124
6347
  }, z.core.$strip>;
6348
+ slotDurationMs: z.ZodNumber;
6125
6349
  startSlot: z.ZodCoercedBigInt<unknown>;
6126
6350
  strike: z.ZodObject<{
6127
6351
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -6209,8 +6433,10 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
6209
6433
  id: z.ZodInt;
6210
6434
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
6211
6435
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6436
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
6212
6437
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
6213
6438
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
6439
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6214
6440
  totalParticipants: z.ZodInt;
6215
6441
  totalTickets: z.ZodCoercedBigInt<unknown>;
6216
6442
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -6542,6 +6768,7 @@ declare const zGetRoundResponse: z.ZodObject<{
6542
6768
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6543
6769
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
6544
6770
  tokenEarned: z.ZodCoercedBigInt<unknown>;
6771
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6545
6772
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
6546
6773
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
6547
6774
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -6590,6 +6817,24 @@ declare const zGetRoundResponse: z.ZodObject<{
6590
6817
  }, z.core.$strip>;
6591
6818
  }, z.core.$strip>;
6592
6819
  type GetRoundResponseZodType = z.infer<typeof zGetRoundResponse>;
6820
+ declare const zGetStakingTreasuryData: z.ZodObject<{
6821
+ body: z.ZodOptional<z.ZodNever>;
6822
+ path: z.ZodOptional<z.ZodNever>;
6823
+ query: z.ZodOptional<z.ZodNever>;
6824
+ }, z.core.$strip>;
6825
+ declare const zGetStakingTreasuryResponse: z.ZodObject<{
6826
+ data: z.ZodObject<{
6827
+ address: z.ZodString;
6828
+ rewardTokenMint: z.ZodString;
6829
+ rewardVault: z.ZodString;
6830
+ stakedTokenMint: z.ZodString;
6831
+ stakedVault: z.ZodString;
6832
+ totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
6833
+ totalStaked: z.ZodCoercedBigInt<unknown>;
6834
+ totalStakers: z.ZodInt;
6835
+ }, z.core.$strip>;
6836
+ }, z.core.$strip>;
6837
+ type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
6593
6838
  declare const zSseData: z.ZodObject<{
6594
6839
  body: z.ZodOptional<z.ZodNever>;
6595
6840
  path: z.ZodOptional<z.ZodNever>;
@@ -6755,6 +7000,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
6755
7000
  btcAmount: z.ZodCoercedBigInt<unknown>;
6756
7001
  btcShares: z.ZodCoercedBigInt<unknown>;
6757
7002
  }, z.core.$strip>;
7003
+ slotDurationMs: z.ZodNumber;
6758
7004
  startSlot: z.ZodCoercedBigInt<unknown>;
6759
7005
  strike: z.ZodObject<{
6760
7006
  btcAmount: z.ZodCoercedBigInt<unknown>;
@@ -7021,6 +7267,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
7021
7267
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
7022
7268
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
7023
7269
  tokenEarned: z.ZodCoercedBigInt<unknown>;
7270
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
7024
7271
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7025
7272
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
7026
7273
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -7143,6 +7390,22 @@ declare const zGetUserReferralsResponse: z.ZodObject<{
7143
7390
  }, z.core.$strip>;
7144
7391
  }, z.core.$strip>;
7145
7392
  type GetUserReferralsResponseZodType = z.infer<typeof zGetUserReferralsResponse>;
7393
+ declare const zGetUserStakingData: z.ZodObject<{
7394
+ body: z.ZodOptional<z.ZodNever>;
7395
+ path: z.ZodObject<{
7396
+ address: z.ZodString;
7397
+ }, z.core.$strip>;
7398
+ query: z.ZodOptional<z.ZodNever>;
7399
+ }, z.core.$strip>;
7400
+ declare const zGetUserStakingResponse: z.ZodObject<{
7401
+ data: z.ZodObject<{
7402
+ address: z.ZodString;
7403
+ authority: z.ZodString;
7404
+ shares: z.ZodCoercedBigInt<unknown>;
7405
+ unclaimedReward: z.ZodCoercedBigInt<unknown>;
7406
+ }, z.core.$strip>;
7407
+ }, z.core.$strip>;
7408
+ type GetUserStakingResponseZodType = z.infer<typeof zGetUserStakingResponse>;
7146
7409
 
7147
7410
  type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
7148
7411
  type UnwrapData<T> = T extends {
@@ -7166,4 +7429,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
7166
7429
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
7167
7430
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
7168
7431
 
7169
- export { type AffiliateStatsDto, 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 GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, 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 GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, 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 ReferralDto, ReferralSortDto, type ReferralsPageDto, 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, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, 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 UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, 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, zAffiliateStatsDto, 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, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, 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, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
7432
+ export { type AffiliateStatsDto, 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 GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, 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 GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetUserStakingData, type GetUserStakingError, type GetUserStakingErrors, type GetUserStakingResponse, type GetUserStakingResponseZodType, type GetUserStakingResponses, 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 ReferralDto, ReferralSortDto, type ReferralsPageDto, 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, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StakingPositionDto, type StakingTreasuryApiError404Error, type StakingTreasuryApiError500Error, type StakingTreasuryDto, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, 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 UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserStakingApiError400Error, type UserStakingApiError400InvalidAddress, type UserStakingApiError500Error, 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, zAffiliateStatsDto, 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, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetUserStakingData, zGetUserStakingResponse, 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, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStakingPositionDto, zStakingTreasuryApiError404Error, zStakingTreasuryApiError500Error, zStakingTreasuryDto, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserStakingApiError400Error, zUserStakingApiError400InvalidAddress, zUserStakingApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };