@satrush/api 0.1.21 → 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.cjs CHANGED
@@ -226,7 +226,6 @@ __export(index_exports, {
226
226
  zUserReferralsApiError500Error: () => zUserReferralsApiError500Error,
227
227
  zUserStakingApiError400Error: () => zUserStakingApiError400Error,
228
228
  zUserStakingApiError400InvalidAddress: () => zUserStakingApiError400InvalidAddress,
229
- zUserStakingApiError404Error: () => zUserStakingApiError404Error,
230
229
  zUserStakingApiError500Error: () => zUserStakingApiError500Error,
231
230
  zUserVaultEntriesApiError400Error: () => zUserVaultEntriesApiError400Error,
232
231
  zUserVaultEntriesApiError400InvalidAddress: () => zUserVaultEntriesApiError400InvalidAddress,
@@ -1374,6 +1373,7 @@ var epochIterationDetailsDtoSchemaResponseTransformer = (data) => {
1374
1373
  data.endedAt = new Date(data.endedAt);
1375
1374
  }
1376
1375
  data.poolBtcAmount = u64DtoSchemaResponseTransformer(data.poolBtcAmount);
1376
+ data.poolTokenAmount = u64DtoSchemaResponseTransformer(data.poolTokenAmount);
1377
1377
  data.poolUsdAmount = u64DtoSchemaResponseTransformer(data.poolUsdAmount);
1378
1378
  data.startedAt = new Date(data.startedAt);
1379
1379
  data.totalTickets = u64DtoSchemaResponseTransformer(data.totalTickets);
@@ -2253,8 +2253,13 @@ var zEpochIterationDetailsDto = z.object({
2253
2253
  z.number(),
2254
2254
  z.null()
2255
2255
  ])),
2256
+ poolTokenAmount: zU64Dto,
2256
2257
  poolUsdAmount: zU64Dto,
2257
2258
  startedAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
2259
+ tokenPrice: z.optional(z.union([
2260
+ z.number(),
2261
+ z.null()
2262
+ ])),
2258
2263
  totalParticipants: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2259
2264
  totalTickets: zU64Dto,
2260
2265
  triggeredAt: z.optional(z.union([
@@ -2455,6 +2460,10 @@ var zMinerDeploymentDto = z.object({
2455
2460
  z.null()
2456
2461
  ])),
2457
2462
  tokenEarned: zU64Dto,
2463
+ tokenEarnedUsd: z.optional(z.union([
2464
+ z.number(),
2465
+ z.null()
2466
+ ])),
2458
2467
  tokenSharesEarned: zU64Dto,
2459
2468
  totalUsdStakeAmount: zU64Dto,
2460
2469
  usdEarned: zU64Dto
@@ -2765,6 +2774,10 @@ var zRoundDeploymentDto = z.object({
2765
2774
  z.null()
2766
2775
  ])),
2767
2776
  tokenEarned: zU64Dto,
2777
+ tokenEarnedUsd: z.optional(z.union([
2778
+ z.number(),
2779
+ z.null()
2780
+ ])),
2768
2781
  tokenSharesEarned: zU64Dto,
2769
2782
  totalUsdStakeAmount: zU64Dto,
2770
2783
  usdEarned: zU64Dto,
@@ -3275,9 +3288,6 @@ var zUserStakingApiError400Error = z.union([
3275
3288
  ])
3276
3289
  }).and(zBadRequestErrorCodeErrorBody)
3277
3290
  ]);
3278
- var zUserStakingApiError404Error = z.object({
3279
- code: z.enum(["not_found"])
3280
- });
3281
3291
  var zUserStakingApiError500Error = z.object({
3282
3292
  code: z.enum(["internal"])
3283
3293
  });
@@ -4106,7 +4116,7 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
4106
4116
  });
4107
4117
  }
4108
4118
  /**
4109
- * Request a wallet's staking position with its claimable reward projected now
4119
+ * Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
4110
4120
  */
4111
4121
  getUserStaking(parameters, options) {
4112
4122
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "address" }] }]);
@@ -4414,7 +4424,6 @@ async function unwrap(promise) {
4414
4424
  zUserReferralsApiError500Error,
4415
4425
  zUserStakingApiError400Error,
4416
4426
  zUserStakingApiError400InvalidAddress,
4417
- zUserStakingApiError404Error,
4418
4427
  zUserStakingApiError500Error,
4419
4428
  zUserVaultEntriesApiError400Error,
4420
4429
  zUserVaultEntriesApiError400InvalidAddress,
package/dist/index.d.cts CHANGED
@@ -463,7 +463,7 @@ type EpochIterationApiError500Error = {
463
463
  };
464
464
  /**
465
465
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
466
- * draw-time BTC price, and the resolved winners.
466
+ * draw-time BTC and token prices, and the resolved winners.
467
467
  */
468
468
  type EpochIterationDetailsDto = {
469
469
  /**
@@ -491,10 +491,17 @@ type EpochIterationDetailsDto = {
491
491
  */
492
492
  poolBtcAmount: U64Dto;
493
493
  /**
494
- * Both pools in dollars at `btc_price`; `null` when that price is
495
- * 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).
496
497
  */
497
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;
498
505
  /**
499
506
  * USD pot: sealed at trigger time for past iterations, the drawable
500
507
  * (rollover-excluded) share of the vault's live accumulating USDC for
@@ -502,6 +509,12 @@ type EpochIterationDetailsDto = {
502
509
  */
503
510
  poolUsdAmount: U64Dto;
504
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;
505
518
  totalParticipants: number;
506
519
  totalTickets: U64Dto;
507
520
  /**
@@ -509,8 +522,8 @@ type EpochIterationDetailsDto = {
509
522
  */
510
523
  triggeredAt?: Date | null;
511
524
  /**
512
- * Winners in rank order with their winnings valued at `btc_price`;
513
- * `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.
514
527
  */
515
528
  winners?: Array<EpochIterationWinnerDto> | null;
516
529
  };
@@ -588,8 +601,9 @@ type EpochIterationParticipantDto = {
588
601
  tickets: U64Dto;
589
602
  wonBtcAmount?: null | U64Dto;
590
603
  /**
591
- * The win in dollars — USDC at face value, BTC at the iteration's
592
- * 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.
593
607
  */
594
608
  wonCombinedUsdAmount?: number | null;
595
609
  wonTokenAmount?: null | U64Dto;
@@ -611,7 +625,7 @@ type EpochIterationParticipantsApiError500Error = {
611
625
  };
612
626
  /**
613
627
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
614
- * the iteration's draw-time BTC price.
628
+ * the iteration's draw-time BTC and token prices.
615
629
  */
616
630
  type EpochIterationWinnerDto = {
617
631
  authority: PubkeyDto;
@@ -632,8 +646,9 @@ type EpochIterationWinnerDto = {
632
646
  */
633
647
  wonBtcAmount: U64Dto;
634
648
  /**
635
- * Both shares in dollars — USDC at face value, BTC at the iteration's
636
- * 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.
637
652
  */
638
653
  wonCombinedUsdAmount?: number | null;
639
654
  /**
@@ -1092,6 +1107,11 @@ type MinerDeploymentDto = {
1092
1107
  * pre-mint settles.
1093
1108
  */
1094
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;
1095
1115
  /**
1096
1116
  * Token Vault shares minted for `token_earned`; 0 until settled.
1097
1117
  */
@@ -1595,14 +1615,14 @@ type PricesDto = {
1595
1615
  */
1596
1616
  sat: number;
1597
1617
  /**
1598
- * USD price of one whole SatRush token, the mint program's latest
1599
- * on-chain oracle spot; `null` until the mint program's oracle is
1600
- * 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.
1601
1621
  */
1602
1622
  token?: number | null;
1603
1623
  /**
1604
1624
  * USD price of a single token-vault share; `null` until both the token
1605
- * vault and the oracle are loaded.
1625
+ * vault and a token price are available.
1606
1626
  */
1607
1627
  tokenShare?: number | null;
1608
1628
  };
@@ -1809,6 +1829,11 @@ type RoundDeploymentDto = {
1809
1829
  * pre-mint settles.
1810
1830
  */
1811
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;
1812
1837
  /**
1813
1838
  * Token-vault shares minted for `token_earned`; 0 until settled.
1814
1839
  */
@@ -2233,7 +2258,8 @@ type SseResponseSnapshot = SnapshotDto & {
2233
2258
  entity: 'state_snapshot';
2234
2259
  };
2235
2260
  /**
2236
- * A wallet's staking position, projected to the moment of the request.
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.
2237
2263
  */
2238
2264
  type StakingPositionDto = {
2239
2265
  /**
@@ -2319,8 +2345,9 @@ type StrikeJackpotDto = {
2319
2345
  */
2320
2346
  poolBtcAmount: U64Dto;
2321
2347
  /**
2322
- * Both pool legs in dollars — USDC at face value, BTC at the live
2323
- * 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).
2324
2351
  */
2325
2352
  poolCombinedUsdAmount: number;
2326
2353
  /**
@@ -2490,9 +2517,6 @@ type UserStakingApiError400Error = ({
2490
2517
  type UserStakingApiError400InvalidAddress = {
2491
2518
  code: 'invalid_address';
2492
2519
  };
2493
- type UserStakingApiError404Error = {
2494
- code: 'not_found';
2495
- };
2496
2520
  type UserStakingApiError500Error = {
2497
2521
  code: 'internal';
2498
2522
  };
@@ -3351,7 +3375,6 @@ type GetUserStakingData = {
3351
3375
  };
3352
3376
  type GetUserStakingErrors = {
3353
3377
  400: UserStakingApiError400Error;
3354
- 404: UserStakingApiError404Error;
3355
3378
  422: ValidationErrorCodeErrorBody;
3356
3379
  500: UserStakingApiError500Error;
3357
3380
  };
@@ -3577,7 +3600,7 @@ declare class SatrushBackendSdk extends HeyApiClient {
3577
3600
  limit?: number;
3578
3601
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
3579
3602
  /**
3580
- * Request a wallet's staking position with its claimable reward projected now
3603
+ * Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
3581
3604
  */
3582
3605
  getUserStaking<ThrowOnError extends boolean = false>(parameters: {
3583
3606
  address: string;
@@ -4019,7 +4042,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
4019
4042
  }, z.core.$strip>;
4020
4043
  /**
4021
4044
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
4022
- * the iteration's draw-time BTC price.
4045
+ * the iteration's draw-time BTC and token prices.
4023
4046
  */
4024
4047
  declare const zEpochIterationWinnerDto: z.ZodObject<{
4025
4048
  authority: z.ZodString;
@@ -4034,7 +4057,7 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
4034
4057
  }, z.core.$strip>;
4035
4058
  /**
4036
4059
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
4037
- * draw-time BTC price, and the resolved winners.
4060
+ * draw-time BTC and token prices, and the resolved winners.
4038
4061
  */
4039
4062
  declare const zEpochIterationDetailsDto: z.ZodObject<{
4040
4063
  address: z.ZodString;
@@ -4043,8 +4066,10 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
4043
4066
  id: z.ZodInt;
4044
4067
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
4045
4068
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4069
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
4046
4070
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
4047
4071
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
4072
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4048
4073
  totalParticipants: z.ZodInt;
4049
4074
  totalTickets: z.ZodCoercedBigInt<unknown>;
4050
4075
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4258,6 +4283,7 @@ declare const zMinerDeploymentDto: z.ZodObject<{
4258
4283
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4259
4284
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4260
4285
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4286
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4261
4287
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4262
4288
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4263
4289
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4611,6 +4637,7 @@ declare const zRoundDeploymentDto: z.ZodObject<{
4611
4637
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4612
4638
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4613
4639
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4640
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4614
4641
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4615
4642
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4616
4643
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4640,6 +4667,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
4640
4667
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4641
4668
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4642
4669
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4670
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4643
4671
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4644
4672
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4645
4673
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4754,7 +4782,8 @@ declare const zSatsVaultDto: z.ZodObject<{
4754
4782
  btcShares: z.ZodCoercedBigInt<unknown>;
4755
4783
  }, z.core.$strip>;
4756
4784
  /**
4757
- * A wallet's staking position, projected to the moment of the request.
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.
4758
4787
  */
4759
4788
  declare const zStakingPositionDto: z.ZodObject<{
4760
4789
  address: z.ZodString;
@@ -6026,11 +6055,6 @@ declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
6026
6055
  invalid_body: "invalid_body";
6027
6056
  }>;
6028
6057
  }, z.core.$strip>>]>;
6029
- declare const zUserStakingApiError404Error: z.ZodObject<{
6030
- code: z.ZodEnum<{
6031
- not_found: "not_found";
6032
- }>;
6033
- }, z.core.$strip>;
6034
6058
  declare const zUserStakingApiError500Error: z.ZodObject<{
6035
6059
  code: z.ZodEnum<{
6036
6060
  internal: "internal";
@@ -6409,8 +6433,10 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
6409
6433
  id: z.ZodInt;
6410
6434
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
6411
6435
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6436
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
6412
6437
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
6413
6438
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
6439
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6414
6440
  totalParticipants: z.ZodInt;
6415
6441
  totalTickets: z.ZodCoercedBigInt<unknown>;
6416
6442
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -6742,6 +6768,7 @@ declare const zGetRoundResponse: z.ZodObject<{
6742
6768
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6743
6769
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
6744
6770
  tokenEarned: z.ZodCoercedBigInt<unknown>;
6771
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6745
6772
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
6746
6773
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
6747
6774
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -7240,6 +7267,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
7240
7267
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
7241
7268
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
7242
7269
  tokenEarned: z.ZodCoercedBigInt<unknown>;
7270
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
7243
7271
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7244
7272
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
7245
7273
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -7401,4 +7429,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
7401
7429
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
7402
7430
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
7403
7431
 
7404
- 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 UserStakingApiError404Error, 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, zUserStakingApiError404Error, zUserStakingApiError500Error, 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 };
package/dist/index.d.ts CHANGED
@@ -463,7 +463,7 @@ type EpochIterationApiError500Error = {
463
463
  };
464
464
  /**
465
465
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
466
- * draw-time BTC price, and the resolved winners.
466
+ * draw-time BTC and token prices, and the resolved winners.
467
467
  */
468
468
  type EpochIterationDetailsDto = {
469
469
  /**
@@ -491,10 +491,17 @@ type EpochIterationDetailsDto = {
491
491
  */
492
492
  poolBtcAmount: U64Dto;
493
493
  /**
494
- * Both pools in dollars at `btc_price`; `null` when that price is
495
- * 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).
496
497
  */
497
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;
498
505
  /**
499
506
  * USD pot: sealed at trigger time for past iterations, the drawable
500
507
  * (rollover-excluded) share of the vault's live accumulating USDC for
@@ -502,6 +509,12 @@ type EpochIterationDetailsDto = {
502
509
  */
503
510
  poolUsdAmount: U64Dto;
504
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;
505
518
  totalParticipants: number;
506
519
  totalTickets: U64Dto;
507
520
  /**
@@ -509,8 +522,8 @@ type EpochIterationDetailsDto = {
509
522
  */
510
523
  triggeredAt?: Date | null;
511
524
  /**
512
- * Winners in rank order with their winnings valued at `btc_price`;
513
- * `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.
514
527
  */
515
528
  winners?: Array<EpochIterationWinnerDto> | null;
516
529
  };
@@ -588,8 +601,9 @@ type EpochIterationParticipantDto = {
588
601
  tickets: U64Dto;
589
602
  wonBtcAmount?: null | U64Dto;
590
603
  /**
591
- * The win in dollars — USDC at face value, BTC at the iteration's
592
- * 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.
593
607
  */
594
608
  wonCombinedUsdAmount?: number | null;
595
609
  wonTokenAmount?: null | U64Dto;
@@ -611,7 +625,7 @@ type EpochIterationParticipantsApiError500Error = {
611
625
  };
612
626
  /**
613
627
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
614
- * the iteration's draw-time BTC price.
628
+ * the iteration's draw-time BTC and token prices.
615
629
  */
616
630
  type EpochIterationWinnerDto = {
617
631
  authority: PubkeyDto;
@@ -632,8 +646,9 @@ type EpochIterationWinnerDto = {
632
646
  */
633
647
  wonBtcAmount: U64Dto;
634
648
  /**
635
- * Both shares in dollars — USDC at face value, BTC at the iteration's
636
- * 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.
637
652
  */
638
653
  wonCombinedUsdAmount?: number | null;
639
654
  /**
@@ -1092,6 +1107,11 @@ type MinerDeploymentDto = {
1092
1107
  * pre-mint settles.
1093
1108
  */
1094
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;
1095
1115
  /**
1096
1116
  * Token Vault shares minted for `token_earned`; 0 until settled.
1097
1117
  */
@@ -1595,14 +1615,14 @@ type PricesDto = {
1595
1615
  */
1596
1616
  sat: number;
1597
1617
  /**
1598
- * USD price of one whole SatRush token, the mint program's latest
1599
- * on-chain oracle spot; `null` until the mint program's oracle is
1600
- * 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.
1601
1621
  */
1602
1622
  token?: number | null;
1603
1623
  /**
1604
1624
  * USD price of a single token-vault share; `null` until both the token
1605
- * vault and the oracle are loaded.
1625
+ * vault and a token price are available.
1606
1626
  */
1607
1627
  tokenShare?: number | null;
1608
1628
  };
@@ -1809,6 +1829,11 @@ type RoundDeploymentDto = {
1809
1829
  * pre-mint settles.
1810
1830
  */
1811
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;
1812
1837
  /**
1813
1838
  * Token-vault shares minted for `token_earned`; 0 until settled.
1814
1839
  */
@@ -2233,7 +2258,8 @@ type SseResponseSnapshot = SnapshotDto & {
2233
2258
  entity: 'state_snapshot';
2234
2259
  };
2235
2260
  /**
2236
- * A wallet's staking position, projected to the moment of the request.
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.
2237
2263
  */
2238
2264
  type StakingPositionDto = {
2239
2265
  /**
@@ -2319,8 +2345,9 @@ type StrikeJackpotDto = {
2319
2345
  */
2320
2346
  poolBtcAmount: U64Dto;
2321
2347
  /**
2322
- * Both pool legs in dollars — USDC at face value, BTC at the live
2323
- * 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).
2324
2351
  */
2325
2352
  poolCombinedUsdAmount: number;
2326
2353
  /**
@@ -2490,9 +2517,6 @@ type UserStakingApiError400Error = ({
2490
2517
  type UserStakingApiError400InvalidAddress = {
2491
2518
  code: 'invalid_address';
2492
2519
  };
2493
- type UserStakingApiError404Error = {
2494
- code: 'not_found';
2495
- };
2496
2520
  type UserStakingApiError500Error = {
2497
2521
  code: 'internal';
2498
2522
  };
@@ -3351,7 +3375,6 @@ type GetUserStakingData = {
3351
3375
  };
3352
3376
  type GetUserStakingErrors = {
3353
3377
  400: UserStakingApiError400Error;
3354
- 404: UserStakingApiError404Error;
3355
3378
  422: ValidationErrorCodeErrorBody;
3356
3379
  500: UserStakingApiError500Error;
3357
3380
  };
@@ -3577,7 +3600,7 @@ declare class SatrushBackendSdk extends HeyApiClient {
3577
3600
  limit?: number;
3578
3601
  }, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
3579
3602
  /**
3580
- * Request a wallet's staking position with its claimable reward projected now
3603
+ * Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
3581
3604
  */
3582
3605
  getUserStaking<ThrowOnError extends boolean = false>(parameters: {
3583
3606
  address: string;
@@ -4019,7 +4042,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
4019
4042
  }, z.core.$strip>;
4020
4043
  /**
4021
4044
  * A winner of an Epoch Vault iteration's draw, with its winnings valued at
4022
- * the iteration's draw-time BTC price.
4045
+ * the iteration's draw-time BTC and token prices.
4023
4046
  */
4024
4047
  declare const zEpochIterationWinnerDto: z.ZodObject<{
4025
4048
  authority: z.ZodString;
@@ -4034,7 +4057,7 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
4034
4057
  }, z.core.$strip>;
4035
4058
  /**
4036
4059
  * One Epoch Vault iteration in full: the pot, its dollar valuation at the
4037
- * draw-time BTC price, and the resolved winners.
4060
+ * draw-time BTC and token prices, and the resolved winners.
4038
4061
  */
4039
4062
  declare const zEpochIterationDetailsDto: z.ZodObject<{
4040
4063
  address: z.ZodString;
@@ -4043,8 +4066,10 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
4043
4066
  id: z.ZodInt;
4044
4067
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
4045
4068
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4069
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
4046
4070
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
4047
4071
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
4072
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4048
4073
  totalParticipants: z.ZodInt;
4049
4074
  totalTickets: z.ZodCoercedBigInt<unknown>;
4050
4075
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -4258,6 +4283,7 @@ declare const zMinerDeploymentDto: z.ZodObject<{
4258
4283
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4259
4284
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4260
4285
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4286
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4261
4287
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4262
4288
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4263
4289
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4611,6 +4637,7 @@ declare const zRoundDeploymentDto: z.ZodObject<{
4611
4637
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4612
4638
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4613
4639
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4640
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4614
4641
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4615
4642
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4616
4643
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4640,6 +4667,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
4640
4667
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4641
4668
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
4642
4669
  tokenEarned: z.ZodCoercedBigInt<unknown>;
4670
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4643
4671
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4644
4672
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
4645
4673
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -4754,7 +4782,8 @@ declare const zSatsVaultDto: z.ZodObject<{
4754
4782
  btcShares: z.ZodCoercedBigInt<unknown>;
4755
4783
  }, z.core.$strip>;
4756
4784
  /**
4757
- * A wallet's staking position, projected to the moment of the request.
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.
4758
4787
  */
4759
4788
  declare const zStakingPositionDto: z.ZodObject<{
4760
4789
  address: z.ZodString;
@@ -6026,11 +6055,6 @@ declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
6026
6055
  invalid_body: "invalid_body";
6027
6056
  }>;
6028
6057
  }, z.core.$strip>>]>;
6029
- declare const zUserStakingApiError404Error: z.ZodObject<{
6030
- code: z.ZodEnum<{
6031
- not_found: "not_found";
6032
- }>;
6033
- }, z.core.$strip>;
6034
6058
  declare const zUserStakingApiError500Error: z.ZodObject<{
6035
6059
  code: z.ZodEnum<{
6036
6060
  internal: "internal";
@@ -6409,8 +6433,10 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
6409
6433
  id: z.ZodInt;
6410
6434
  poolBtcAmount: z.ZodCoercedBigInt<unknown>;
6411
6435
  poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6436
+ poolTokenAmount: z.ZodCoercedBigInt<unknown>;
6412
6437
  poolUsdAmount: z.ZodCoercedBigInt<unknown>;
6413
6438
  startedAt: z.ZodPreprocess<z.ZodISODateTime>;
6439
+ tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6414
6440
  totalParticipants: z.ZodInt;
6415
6441
  totalTickets: z.ZodCoercedBigInt<unknown>;
6416
6442
  triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
@@ -6742,6 +6768,7 @@ declare const zGetRoundResponse: z.ZodObject<{
6742
6768
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
6743
6769
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
6744
6770
  tokenEarned: z.ZodCoercedBigInt<unknown>;
6771
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6745
6772
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
6746
6773
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
6747
6774
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -7240,6 +7267,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
7240
7267
  selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
7241
7268
  settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
7242
7269
  tokenEarned: z.ZodCoercedBigInt<unknown>;
7270
+ tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
7243
7271
  tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7244
7272
  totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
7245
7273
  usdEarned: z.ZodCoercedBigInt<unknown>;
@@ -7401,4 +7429,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
7401
7429
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
7402
7430
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
7403
7431
 
7404
- 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 UserStakingApiError404Error, 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, zUserStakingApiError404Error, zUserStakingApiError500Error, 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 };
package/dist/index.js CHANGED
@@ -1129,6 +1129,7 @@ var epochIterationDetailsDtoSchemaResponseTransformer = (data) => {
1129
1129
  data.endedAt = new Date(data.endedAt);
1130
1130
  }
1131
1131
  data.poolBtcAmount = u64DtoSchemaResponseTransformer(data.poolBtcAmount);
1132
+ data.poolTokenAmount = u64DtoSchemaResponseTransformer(data.poolTokenAmount);
1132
1133
  data.poolUsdAmount = u64DtoSchemaResponseTransformer(data.poolUsdAmount);
1133
1134
  data.startedAt = new Date(data.startedAt);
1134
1135
  data.totalTickets = u64DtoSchemaResponseTransformer(data.totalTickets);
@@ -2008,8 +2009,13 @@ var zEpochIterationDetailsDto = z.object({
2008
2009
  z.number(),
2009
2010
  z.null()
2010
2011
  ])),
2012
+ poolTokenAmount: zU64Dto,
2011
2013
  poolUsdAmount: zU64Dto,
2012
2014
  startedAt: z.preprocess((value) => value instanceof Date ? value.toISOString() : value, z.iso.datetime()),
2015
+ tokenPrice: z.optional(z.union([
2016
+ z.number(),
2017
+ z.null()
2018
+ ])),
2013
2019
  totalParticipants: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2014
2020
  totalTickets: zU64Dto,
2015
2021
  triggeredAt: z.optional(z.union([
@@ -2210,6 +2216,10 @@ var zMinerDeploymentDto = z.object({
2210
2216
  z.null()
2211
2217
  ])),
2212
2218
  tokenEarned: zU64Dto,
2219
+ tokenEarnedUsd: z.optional(z.union([
2220
+ z.number(),
2221
+ z.null()
2222
+ ])),
2213
2223
  tokenSharesEarned: zU64Dto,
2214
2224
  totalUsdStakeAmount: zU64Dto,
2215
2225
  usdEarned: zU64Dto
@@ -2520,6 +2530,10 @@ var zRoundDeploymentDto = z.object({
2520
2530
  z.null()
2521
2531
  ])),
2522
2532
  tokenEarned: zU64Dto,
2533
+ tokenEarnedUsd: z.optional(z.union([
2534
+ z.number(),
2535
+ z.null()
2536
+ ])),
2523
2537
  tokenSharesEarned: zU64Dto,
2524
2538
  totalUsdStakeAmount: zU64Dto,
2525
2539
  usdEarned: zU64Dto,
@@ -3030,9 +3044,6 @@ var zUserStakingApiError400Error = z.union([
3030
3044
  ])
3031
3045
  }).and(zBadRequestErrorCodeErrorBody)
3032
3046
  ]);
3033
- var zUserStakingApiError404Error = z.object({
3034
- code: z.enum(["not_found"])
3035
- });
3036
3047
  var zUserStakingApiError500Error = z.object({
3037
3048
  code: z.enum(["internal"])
3038
3049
  });
@@ -3861,7 +3872,7 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
3861
3872
  });
3862
3873
  }
3863
3874
  /**
3864
- * Request a wallet's staking position with its claimable reward projected now
3875
+ * Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
3865
3876
  */
3866
3877
  getUserStaking(parameters, options) {
3867
3878
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "address" }] }]);
@@ -4168,7 +4179,6 @@ export {
4168
4179
  zUserReferralsApiError500Error,
4169
4180
  zUserStakingApiError400Error,
4170
4181
  zUserStakingApiError400InvalidAddress,
4171
- zUserStakingApiError404Error,
4172
4182
  zUserStakingApiError500Error,
4173
4183
  zUserVaultEntriesApiError400Error,
4174
4184
  zUserVaultEntriesApiError400InvalidAddress,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",