@satrush/api 0.1.22 → 0.1.24

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
@@ -108,6 +108,8 @@ __export(index_exports, {
108
108
  zGetSatsEarnedLeaderboardResponse: () => zGetSatsEarnedLeaderboardResponse,
109
109
  zGetStakingTreasuryData: () => zGetStakingTreasuryData,
110
110
  zGetStakingTreasuryResponse: () => zGetStakingTreasuryResponse,
111
+ zGetTokenStatsData: () => zGetTokenStatsData,
112
+ zGetTokenStatsResponse: () => zGetTokenStatsResponse,
111
113
  zGetUserAffiliateData: () => zGetUserAffiliateData,
112
114
  zGetUserAffiliateResponse: () => zGetUserAffiliateResponse,
113
115
  zGetUserClaimsData: () => zGetUserClaimsData,
@@ -197,6 +199,8 @@ __export(index_exports, {
197
199
  zStakingTreasuryDto: () => zStakingTreasuryDto,
198
200
  zStrikeJackpotDto: () => zStrikeJackpotDto,
199
201
  zTileStakeDto: () => zTileStakeDto,
202
+ zTokenApiError500Error: () => zTokenApiError500Error,
203
+ zTokenStatsDto: () => zTokenStatsDto,
200
204
  zTokenVaultDto: () => zTokenVaultDto,
201
205
  zU128Dto: () => zU128Dto,
202
206
  zU64Dto: () => zU64Dto,
@@ -1673,6 +1677,7 @@ var getRoundResponseTransformer = async (data) => {
1673
1677
  var stakingTreasuryDtoSchemaResponseTransformer = (data) => {
1674
1678
  data.totalRewardDeposited = u64DtoSchemaResponseTransformer(data.totalRewardDeposited);
1675
1679
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1680
+ data.unstreamedReward = u64DtoSchemaResponseTransformer(data.unstreamedReward);
1676
1681
  return data;
1677
1682
  };
1678
1683
  var getStakingTreasuryResponseTransformer = async (data) => {
@@ -1763,6 +1768,18 @@ var sseResponseTransformer = async (data) => {
1763
1768
  data = sseResponseSchemaResponseTransformer(data);
1764
1769
  return data;
1765
1770
  };
1771
+ var tokenStatsDtoSchemaResponseTransformer = (data) => {
1772
+ data.buybackBurned = u64DtoSchemaResponseTransformer(data.buybackBurned);
1773
+ data.lpBurned = u64DtoSchemaResponseTransformer(data.lpBurned);
1774
+ data.totalBurned = u64DtoSchemaResponseTransformer(data.totalBurned);
1775
+ data.totalBuybackUsd = u64DtoSchemaResponseTransformer(data.totalBuybackUsd);
1776
+ data.totalMined = u64DtoSchemaResponseTransformer(data.totalMined);
1777
+ return data;
1778
+ };
1779
+ var getTokenStatsResponseTransformer = async (data) => {
1780
+ data.data = tokenStatsDtoSchemaResponseTransformer(data.data);
1781
+ return data;
1782
+ };
1766
1783
  var getUserProfileResponseTransformer = async (data) => {
1767
1784
  data.data = profileDtoSchemaResponseTransformer(data.data);
1768
1785
  return data;
@@ -2150,6 +2167,9 @@ var zStakingTreasuryApiError404Error = z.object({
2150
2167
  var zStakingTreasuryApiError500Error = z.object({
2151
2168
  code: z.enum(["internal"])
2152
2169
  });
2170
+ var zTokenApiError500Error = z.object({
2171
+ code: z.enum(["internal"])
2172
+ });
2153
2173
  var zU128Dto = z.string();
2154
2174
  var zU64Dto = z.coerce.bigint().min(BigInt("0"), { error: "Invalid value: Expected uint64 to be >= 0" }).max(BigInt("18446744073709551615"), { error: "Invalid value: Expected uint64 to be <= 18446744073709551615" });
2155
2175
  var zAffiliateStatsDto = z.object({
@@ -3016,13 +3036,22 @@ var zStakingPositionDto = z.object({
3016
3036
  });
3017
3037
  var zStakingTreasuryDto = z.object({
3018
3038
  address: zPubkeyDto,
3039
+ apr: z.optional(z.union([
3040
+ z.number(),
3041
+ z.null()
3042
+ ])),
3019
3043
  rewardTokenMint: zPubkeyDto,
3020
3044
  rewardVault: zPubkeyDto,
3021
3045
  stakedTokenMint: zPubkeyDto,
3022
3046
  stakedVault: zPubkeyDto,
3023
3047
  totalRewardDeposited: zU64Dto,
3024
3048
  totalStaked: zU64Dto,
3025
- totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
3049
+ totalStakedUsd: z.optional(z.union([
3050
+ z.number(),
3051
+ z.null()
3052
+ ])),
3053
+ totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
3054
+ unstreamedReward: zU64Dto
3026
3055
  });
3027
3056
  var zStrikeJackpotDto = z.object({
3028
3057
  btcAmount: zU64Dto,
@@ -3069,6 +3098,13 @@ var zRoundDto = z.object({
3069
3098
  z.null()
3070
3099
  ]))
3071
3100
  });
3101
+ var zTokenStatsDto = z.object({
3102
+ buybackBurned: zU64Dto,
3103
+ lpBurned: zU64Dto,
3104
+ totalBurned: zU64Dto,
3105
+ totalBuybackUsd: zU64Dto,
3106
+ totalMined: zU64Dto
3107
+ });
3072
3108
  var zTokenVaultDto = z.object({
3073
3109
  address: zPubkeyDto,
3074
3110
  apr: z.optional(z.union([
@@ -3554,6 +3590,14 @@ var zSseData = z.object({
3554
3590
  }))
3555
3591
  });
3556
3592
  var zSseResponse2 = zSseResponse;
3593
+ var zGetTokenStatsData = z.object({
3594
+ body: z.optional(z.never()),
3595
+ path: z.optional(z.never()),
3596
+ query: z.optional(z.never())
3597
+ });
3598
+ var zGetTokenStatsResponse = z.object({
3599
+ data: zTokenStatsDto
3600
+ });
3557
3601
  var zGetUserProfileData = z.object({
3558
3602
  body: z.optional(z.never()),
3559
3603
  path: z.object({
@@ -3970,6 +4014,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
3970
4014
  ...params
3971
4015
  });
3972
4016
  }
4017
+ /**
4018
+ * Request the protocol token stats: lifetime burned tokens (the protocol's buyback burns plus the LP wallet's burns), the USD spent on buybacks and the tokens mined
4019
+ */
4020
+ getTokenStats(options) {
4021
+ return (options?.client ?? this.client).get({
4022
+ requestValidator: async (data) => await zGetTokenStatsData.parseAsync(data),
4023
+ responseTransformer: getTokenStatsResponseTransformer,
4024
+ responseValidator: async (data) => await zGetTokenStatsResponse.parseAsync(data),
4025
+ url: "/v1/token/stats",
4026
+ ...options
4027
+ });
4028
+ }
3973
4029
  /**
3974
4030
  * Request user profile
3975
4031
  */
@@ -4306,6 +4362,8 @@ async function unwrap(promise) {
4306
4362
  zGetSatsEarnedLeaderboardResponse,
4307
4363
  zGetStakingTreasuryData,
4308
4364
  zGetStakingTreasuryResponse,
4365
+ zGetTokenStatsData,
4366
+ zGetTokenStatsResponse,
4309
4367
  zGetUserAffiliateData,
4310
4368
  zGetUserAffiliateResponse,
4311
4369
  zGetUserClaimsData,
@@ -4395,6 +4453,8 @@ async function unwrap(promise) {
4395
4453
  zStakingTreasuryDto,
4396
4454
  zStrikeJackpotDto,
4397
4455
  zTileStakeDto,
4456
+ zTokenApiError500Error,
4457
+ zTokenStatsDto,
4398
4458
  zTokenVaultDto,
4399
4459
  zU128Dto,
4400
4460
  zU64Dto,
package/dist/index.d.cts CHANGED
@@ -2290,6 +2290,14 @@ type StakingTreasuryApiError500Error = {
2290
2290
  */
2291
2291
  type StakingTreasuryDto = {
2292
2292
  address: PubkeyDto;
2293
+ /**
2294
+ * Rolling 7-day realized APR in percentage points (12.0 = 12%): the
2295
+ * reward deposited over the trailing 7 days, each deposit against the
2296
+ * stake it streamed to, valued at the live prices and annualized.
2297
+ * `null` until a deposit lands in the window or while the staked
2298
+ * token has no price.
2299
+ */
2300
+ apr?: number | null;
2293
2301
  /**
2294
2302
  * Token users earn (8 decimals).
2295
2303
  */
@@ -2314,10 +2322,20 @@ type StakingTreasuryDto = {
2314
2322
  * Staked base units across every position.
2315
2323
  */
2316
2324
  totalStaked: U64Dto;
2325
+ /**
2326
+ * `total_staked` valued in dollars at the live staked-token price;
2327
+ * `null` while no price is known.
2328
+ */
2329
+ totalStakedUsd?: number | null;
2317
2330
  /**
2318
2331
  * Positions with a non-zero stake right now.
2319
2332
  */
2320
2333
  totalStakers: number;
2334
+ /**
2335
+ * Reward base units scheduled but not yet streamed to stakers as of
2336
+ * the request: the stream between now and the period's end.
2337
+ */
2338
+ unstreamedReward: U64Dto;
2321
2339
  };
2322
2340
  /**
2323
2341
  * Strike jackpot balances tracked on the board.
@@ -2380,6 +2398,37 @@ type TileStakeDto = {
2380
2398
  deployCount: number;
2381
2399
  stake: U64Dto;
2382
2400
  };
2401
+ type TokenApiError500Error = {
2402
+ code: 'internal';
2403
+ };
2404
+ /**
2405
+ * Protocol token figures that live only in the database. Token amounts
2406
+ * are mint base units (9 decimals); `total_buyback_usd` is USD-mint base
2407
+ * units (6 decimals).
2408
+ */
2409
+ type TokenStatsDto = {
2410
+ /**
2411
+ * Tokens the protocol bought back and burned (`buyback_burn_token`).
2412
+ */
2413
+ buybackBurned: U64Dto;
2414
+ /**
2415
+ * Tokens the LP wallet burned itself.
2416
+ */
2417
+ lpBurned: U64Dto;
2418
+ /**
2419
+ * `buyback_burned + lp_burned`.
2420
+ */
2421
+ totalBurned: U64Dto;
2422
+ /**
2423
+ * USD the treasury spent on those buybacks.
2424
+ */
2425
+ totalBuybackUsd: U64Dto;
2426
+ /**
2427
+ * Tokens the mint program issued over revealed rounds, including the
2428
+ * strike legs.
2429
+ */
2430
+ totalMined: U64Dto;
2431
+ };
2383
2432
  /**
2384
2433
  * Token vault balances: the SatRush tokens backing the shares issued against
2385
2434
  * them. Same share math as the sats vault.
@@ -3077,6 +3126,22 @@ type SseResponses = {
3077
3126
  200: SseResponse;
3078
3127
  };
3079
3128
  type SseResponse2 = SseResponses[keyof SseResponses];
3129
+ type GetTokenStatsData = {
3130
+ body?: never;
3131
+ path?: never;
3132
+ query?: never;
3133
+ url: '/v1/token/stats';
3134
+ };
3135
+ type GetTokenStatsErrors = {
3136
+ 500: TokenApiError500Error;
3137
+ };
3138
+ type GetTokenStatsError = GetTokenStatsErrors[keyof GetTokenStatsErrors];
3139
+ type GetTokenStatsResponses = {
3140
+ 200: {
3141
+ data: TokenStatsDto;
3142
+ };
3143
+ };
3144
+ type GetTokenStatsResponse = GetTokenStatsResponses[keyof GetTokenStatsResponses];
3080
3145
  type GetUserProfileData = {
3081
3146
  body?: never;
3082
3147
  path: {
@@ -3530,6 +3595,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
3530
3595
  sse<ThrowOnError extends boolean = false>(parameters?: {
3531
3596
  wallet?: string;
3532
3597
  }, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
3598
+ /**
3599
+ * Request the protocol token stats: lifetime burned tokens (the protocol's buyback burns plus the LP wallet's burns), the USD spent on buybacks and the tokens mined
3600
+ */
3601
+ getTokenStats<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetTokenStatsResponses, GetTokenStatsErrors, ThrowOnError, "fields">;
3533
3602
  /**
3534
3603
  * Request user profile
3535
3604
  */
@@ -3987,6 +4056,11 @@ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
3987
4056
  internal: "internal";
3988
4057
  }>;
3989
4058
  }, z.core.$strip>;
4059
+ declare const zTokenApiError500Error: z.ZodObject<{
4060
+ code: z.ZodEnum<{
4061
+ internal: "internal";
4062
+ }>;
4063
+ }, z.core.$strip>;
3990
4064
  /**
3991
4065
  * Unsigned 128-bit integer encoded as a decimal string.
3992
4066
  */
@@ -4796,13 +4870,16 @@ declare const zStakingPositionDto: z.ZodObject<{
4796
4870
  */
4797
4871
  declare const zStakingTreasuryDto: z.ZodObject<{
4798
4872
  address: z.ZodString;
4873
+ apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4799
4874
  rewardTokenMint: z.ZodString;
4800
4875
  rewardVault: z.ZodString;
4801
4876
  stakedTokenMint: z.ZodString;
4802
4877
  stakedVault: z.ZodString;
4803
4878
  totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
4804
4879
  totalStaked: z.ZodCoercedBigInt<unknown>;
4880
+ totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4805
4881
  totalStakers: z.ZodInt;
4882
+ unstreamedReward: z.ZodCoercedBigInt<unknown>;
4806
4883
  }, z.core.$strip>;
4807
4884
  /**
4808
4885
  * Strike jackpot balances tracked on the board.
@@ -4860,6 +4937,18 @@ declare const zRoundDto: z.ZodObject<{
4860
4937
  winnersCount: z.ZodInt;
4861
4938
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4862
4939
  }, z.core.$strip>;
4940
+ /**
4941
+ * Protocol token figures that live only in the database. Token amounts
4942
+ * are mint base units (9 decimals); `total_buyback_usd` is USD-mint base
4943
+ * units (6 decimals).
4944
+ */
4945
+ declare const zTokenStatsDto: z.ZodObject<{
4946
+ buybackBurned: z.ZodCoercedBigInt<unknown>;
4947
+ lpBurned: z.ZodCoercedBigInt<unknown>;
4948
+ totalBurned: z.ZodCoercedBigInt<unknown>;
4949
+ totalBuybackUsd: z.ZodCoercedBigInt<unknown>;
4950
+ totalMined: z.ZodCoercedBigInt<unknown>;
4951
+ }, z.core.$strip>;
4863
4952
  /**
4864
4953
  * Token vault balances: the SatRush tokens backing the shares issued against
4865
4954
  * them. Same share math as the sats vault.
@@ -6825,13 +6914,16 @@ declare const zGetStakingTreasuryData: z.ZodObject<{
6825
6914
  declare const zGetStakingTreasuryResponse: z.ZodObject<{
6826
6915
  data: z.ZodObject<{
6827
6916
  address: z.ZodString;
6917
+ apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6828
6918
  rewardTokenMint: z.ZodString;
6829
6919
  rewardVault: z.ZodString;
6830
6920
  stakedTokenMint: z.ZodString;
6831
6921
  stakedVault: z.ZodString;
6832
6922
  totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
6833
6923
  totalStaked: z.ZodCoercedBigInt<unknown>;
6924
+ totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6834
6925
  totalStakers: z.ZodInt;
6926
+ unstreamedReward: z.ZodCoercedBigInt<unknown>;
6835
6927
  }, z.core.$strip>;
6836
6928
  }, z.core.$strip>;
6837
6929
  type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
@@ -7105,6 +7197,21 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7105
7197
  }>;
7106
7198
  }, z.core.$strip>>>;
7107
7199
  type SseResponseZodType = z.infer<typeof zSseResponse2>;
7200
+ declare const zGetTokenStatsData: z.ZodObject<{
7201
+ body: z.ZodOptional<z.ZodNever>;
7202
+ path: z.ZodOptional<z.ZodNever>;
7203
+ query: z.ZodOptional<z.ZodNever>;
7204
+ }, z.core.$strip>;
7205
+ declare const zGetTokenStatsResponse: z.ZodObject<{
7206
+ data: z.ZodObject<{
7207
+ buybackBurned: z.ZodCoercedBigInt<unknown>;
7208
+ lpBurned: z.ZodCoercedBigInt<unknown>;
7209
+ totalBurned: z.ZodCoercedBigInt<unknown>;
7210
+ totalBuybackUsd: z.ZodCoercedBigInt<unknown>;
7211
+ totalMined: z.ZodCoercedBigInt<unknown>;
7212
+ }, z.core.$strip>;
7213
+ }, z.core.$strip>;
7214
+ type GetTokenStatsResponseZodType = z.infer<typeof zGetTokenStatsResponse>;
7108
7215
  declare const zGetUserProfileData: z.ZodObject<{
7109
7216
  body: z.ZodOptional<z.ZodNever>;
7110
7217
  path: z.ZodObject<{
@@ -7429,4 +7536,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
7429
7536
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
7430
7537
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
7431
7538
 
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 };
7539
+ 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 GetTokenStatsData, type GetTokenStatsError, type GetTokenStatsErrors, type GetTokenStatsResponse, type GetTokenStatsResponseZodType, type GetTokenStatsResponses, 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 TokenApiError500Error, type TokenStatsDto, 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, zGetTokenStatsData, zGetTokenStatsResponse, 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, zTokenApiError500Error, zTokenStatsDto, 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
@@ -2290,6 +2290,14 @@ type StakingTreasuryApiError500Error = {
2290
2290
  */
2291
2291
  type StakingTreasuryDto = {
2292
2292
  address: PubkeyDto;
2293
+ /**
2294
+ * Rolling 7-day realized APR in percentage points (12.0 = 12%): the
2295
+ * reward deposited over the trailing 7 days, each deposit against the
2296
+ * stake it streamed to, valued at the live prices and annualized.
2297
+ * `null` until a deposit lands in the window or while the staked
2298
+ * token has no price.
2299
+ */
2300
+ apr?: number | null;
2293
2301
  /**
2294
2302
  * Token users earn (8 decimals).
2295
2303
  */
@@ -2314,10 +2322,20 @@ type StakingTreasuryDto = {
2314
2322
  * Staked base units across every position.
2315
2323
  */
2316
2324
  totalStaked: U64Dto;
2325
+ /**
2326
+ * `total_staked` valued in dollars at the live staked-token price;
2327
+ * `null` while no price is known.
2328
+ */
2329
+ totalStakedUsd?: number | null;
2317
2330
  /**
2318
2331
  * Positions with a non-zero stake right now.
2319
2332
  */
2320
2333
  totalStakers: number;
2334
+ /**
2335
+ * Reward base units scheduled but not yet streamed to stakers as of
2336
+ * the request: the stream between now and the period's end.
2337
+ */
2338
+ unstreamedReward: U64Dto;
2321
2339
  };
2322
2340
  /**
2323
2341
  * Strike jackpot balances tracked on the board.
@@ -2380,6 +2398,37 @@ type TileStakeDto = {
2380
2398
  deployCount: number;
2381
2399
  stake: U64Dto;
2382
2400
  };
2401
+ type TokenApiError500Error = {
2402
+ code: 'internal';
2403
+ };
2404
+ /**
2405
+ * Protocol token figures that live only in the database. Token amounts
2406
+ * are mint base units (9 decimals); `total_buyback_usd` is USD-mint base
2407
+ * units (6 decimals).
2408
+ */
2409
+ type TokenStatsDto = {
2410
+ /**
2411
+ * Tokens the protocol bought back and burned (`buyback_burn_token`).
2412
+ */
2413
+ buybackBurned: U64Dto;
2414
+ /**
2415
+ * Tokens the LP wallet burned itself.
2416
+ */
2417
+ lpBurned: U64Dto;
2418
+ /**
2419
+ * `buyback_burned + lp_burned`.
2420
+ */
2421
+ totalBurned: U64Dto;
2422
+ /**
2423
+ * USD the treasury spent on those buybacks.
2424
+ */
2425
+ totalBuybackUsd: U64Dto;
2426
+ /**
2427
+ * Tokens the mint program issued over revealed rounds, including the
2428
+ * strike legs.
2429
+ */
2430
+ totalMined: U64Dto;
2431
+ };
2383
2432
  /**
2384
2433
  * Token vault balances: the SatRush tokens backing the shares issued against
2385
2434
  * them. Same share math as the sats vault.
@@ -3077,6 +3126,22 @@ type SseResponses = {
3077
3126
  200: SseResponse;
3078
3127
  };
3079
3128
  type SseResponse2 = SseResponses[keyof SseResponses];
3129
+ type GetTokenStatsData = {
3130
+ body?: never;
3131
+ path?: never;
3132
+ query?: never;
3133
+ url: '/v1/token/stats';
3134
+ };
3135
+ type GetTokenStatsErrors = {
3136
+ 500: TokenApiError500Error;
3137
+ };
3138
+ type GetTokenStatsError = GetTokenStatsErrors[keyof GetTokenStatsErrors];
3139
+ type GetTokenStatsResponses = {
3140
+ 200: {
3141
+ data: TokenStatsDto;
3142
+ };
3143
+ };
3144
+ type GetTokenStatsResponse = GetTokenStatsResponses[keyof GetTokenStatsResponses];
3080
3145
  type GetUserProfileData = {
3081
3146
  body?: never;
3082
3147
  path: {
@@ -3530,6 +3595,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
3530
3595
  sse<ThrowOnError extends boolean = false>(parameters?: {
3531
3596
  wallet?: string;
3532
3597
  }, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
3598
+ /**
3599
+ * Request the protocol token stats: lifetime burned tokens (the protocol's buyback burns plus the LP wallet's burns), the USD spent on buybacks and the tokens mined
3600
+ */
3601
+ getTokenStats<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetTokenStatsResponses, GetTokenStatsErrors, ThrowOnError, "fields">;
3533
3602
  /**
3534
3603
  * Request user profile
3535
3604
  */
@@ -3987,6 +4056,11 @@ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
3987
4056
  internal: "internal";
3988
4057
  }>;
3989
4058
  }, z.core.$strip>;
4059
+ declare const zTokenApiError500Error: z.ZodObject<{
4060
+ code: z.ZodEnum<{
4061
+ internal: "internal";
4062
+ }>;
4063
+ }, z.core.$strip>;
3990
4064
  /**
3991
4065
  * Unsigned 128-bit integer encoded as a decimal string.
3992
4066
  */
@@ -4796,13 +4870,16 @@ declare const zStakingPositionDto: z.ZodObject<{
4796
4870
  */
4797
4871
  declare const zStakingTreasuryDto: z.ZodObject<{
4798
4872
  address: z.ZodString;
4873
+ apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4799
4874
  rewardTokenMint: z.ZodString;
4800
4875
  rewardVault: z.ZodString;
4801
4876
  stakedTokenMint: z.ZodString;
4802
4877
  stakedVault: z.ZodString;
4803
4878
  totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
4804
4879
  totalStaked: z.ZodCoercedBigInt<unknown>;
4880
+ totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
4805
4881
  totalStakers: z.ZodInt;
4882
+ unstreamedReward: z.ZodCoercedBigInt<unknown>;
4806
4883
  }, z.core.$strip>;
4807
4884
  /**
4808
4885
  * Strike jackpot balances tracked on the board.
@@ -4860,6 +4937,18 @@ declare const zRoundDto: z.ZodObject<{
4860
4937
  winnersCount: z.ZodInt;
4861
4938
  winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
4862
4939
  }, z.core.$strip>;
4940
+ /**
4941
+ * Protocol token figures that live only in the database. Token amounts
4942
+ * are mint base units (9 decimals); `total_buyback_usd` is USD-mint base
4943
+ * units (6 decimals).
4944
+ */
4945
+ declare const zTokenStatsDto: z.ZodObject<{
4946
+ buybackBurned: z.ZodCoercedBigInt<unknown>;
4947
+ lpBurned: z.ZodCoercedBigInt<unknown>;
4948
+ totalBurned: z.ZodCoercedBigInt<unknown>;
4949
+ totalBuybackUsd: z.ZodCoercedBigInt<unknown>;
4950
+ totalMined: z.ZodCoercedBigInt<unknown>;
4951
+ }, z.core.$strip>;
4863
4952
  /**
4864
4953
  * Token vault balances: the SatRush tokens backing the shares issued against
4865
4954
  * them. Same share math as the sats vault.
@@ -6825,13 +6914,16 @@ declare const zGetStakingTreasuryData: z.ZodObject<{
6825
6914
  declare const zGetStakingTreasuryResponse: z.ZodObject<{
6826
6915
  data: z.ZodObject<{
6827
6916
  address: z.ZodString;
6917
+ apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6828
6918
  rewardTokenMint: z.ZodString;
6829
6919
  rewardVault: z.ZodString;
6830
6920
  stakedTokenMint: z.ZodString;
6831
6921
  stakedVault: z.ZodString;
6832
6922
  totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
6833
6923
  totalStaked: z.ZodCoercedBigInt<unknown>;
6924
+ totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
6834
6925
  totalStakers: z.ZodInt;
6926
+ unstreamedReward: z.ZodCoercedBigInt<unknown>;
6835
6927
  }, z.core.$strip>;
6836
6928
  }, z.core.$strip>;
6837
6929
  type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
@@ -7105,6 +7197,21 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7105
7197
  }>;
7106
7198
  }, z.core.$strip>>>;
7107
7199
  type SseResponseZodType = z.infer<typeof zSseResponse2>;
7200
+ declare const zGetTokenStatsData: z.ZodObject<{
7201
+ body: z.ZodOptional<z.ZodNever>;
7202
+ path: z.ZodOptional<z.ZodNever>;
7203
+ query: z.ZodOptional<z.ZodNever>;
7204
+ }, z.core.$strip>;
7205
+ declare const zGetTokenStatsResponse: z.ZodObject<{
7206
+ data: z.ZodObject<{
7207
+ buybackBurned: z.ZodCoercedBigInt<unknown>;
7208
+ lpBurned: z.ZodCoercedBigInt<unknown>;
7209
+ totalBurned: z.ZodCoercedBigInt<unknown>;
7210
+ totalBuybackUsd: z.ZodCoercedBigInt<unknown>;
7211
+ totalMined: z.ZodCoercedBigInt<unknown>;
7212
+ }, z.core.$strip>;
7213
+ }, z.core.$strip>;
7214
+ type GetTokenStatsResponseZodType = z.infer<typeof zGetTokenStatsResponse>;
7108
7215
  declare const zGetUserProfileData: z.ZodObject<{
7109
7216
  body: z.ZodOptional<z.ZodNever>;
7110
7217
  path: z.ZodObject<{
@@ -7429,4 +7536,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
7429
7536
  declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
7430
7537
  declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
7431
7538
 
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 };
7539
+ 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 GetTokenStatsData, type GetTokenStatsError, type GetTokenStatsErrors, type GetTokenStatsResponse, type GetTokenStatsResponseZodType, type GetTokenStatsResponses, 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 TokenApiError500Error, type TokenStatsDto, 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, zGetTokenStatsData, zGetTokenStatsResponse, 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, zTokenApiError500Error, zTokenStatsDto, 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
@@ -1429,6 +1429,7 @@ var getRoundResponseTransformer = async (data) => {
1429
1429
  var stakingTreasuryDtoSchemaResponseTransformer = (data) => {
1430
1430
  data.totalRewardDeposited = u64DtoSchemaResponseTransformer(data.totalRewardDeposited);
1431
1431
  data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
1432
+ data.unstreamedReward = u64DtoSchemaResponseTransformer(data.unstreamedReward);
1432
1433
  return data;
1433
1434
  };
1434
1435
  var getStakingTreasuryResponseTransformer = async (data) => {
@@ -1519,6 +1520,18 @@ var sseResponseTransformer = async (data) => {
1519
1520
  data = sseResponseSchemaResponseTransformer(data);
1520
1521
  return data;
1521
1522
  };
1523
+ var tokenStatsDtoSchemaResponseTransformer = (data) => {
1524
+ data.buybackBurned = u64DtoSchemaResponseTransformer(data.buybackBurned);
1525
+ data.lpBurned = u64DtoSchemaResponseTransformer(data.lpBurned);
1526
+ data.totalBurned = u64DtoSchemaResponseTransformer(data.totalBurned);
1527
+ data.totalBuybackUsd = u64DtoSchemaResponseTransformer(data.totalBuybackUsd);
1528
+ data.totalMined = u64DtoSchemaResponseTransformer(data.totalMined);
1529
+ return data;
1530
+ };
1531
+ var getTokenStatsResponseTransformer = async (data) => {
1532
+ data.data = tokenStatsDtoSchemaResponseTransformer(data.data);
1533
+ return data;
1534
+ };
1522
1535
  var getUserProfileResponseTransformer = async (data) => {
1523
1536
  data.data = profileDtoSchemaResponseTransformer(data.data);
1524
1537
  return data;
@@ -1906,6 +1919,9 @@ var zStakingTreasuryApiError404Error = z.object({
1906
1919
  var zStakingTreasuryApiError500Error = z.object({
1907
1920
  code: z.enum(["internal"])
1908
1921
  });
1922
+ var zTokenApiError500Error = z.object({
1923
+ code: z.enum(["internal"])
1924
+ });
1909
1925
  var zU128Dto = z.string();
1910
1926
  var zU64Dto = z.coerce.bigint().min(BigInt("0"), { error: "Invalid value: Expected uint64 to be >= 0" }).max(BigInt("18446744073709551615"), { error: "Invalid value: Expected uint64 to be <= 18446744073709551615" });
1911
1927
  var zAffiliateStatsDto = z.object({
@@ -2772,13 +2788,22 @@ var zStakingPositionDto = z.object({
2772
2788
  });
2773
2789
  var zStakingTreasuryDto = z.object({
2774
2790
  address: zPubkeyDto,
2791
+ apr: z.optional(z.union([
2792
+ z.number(),
2793
+ z.null()
2794
+ ])),
2775
2795
  rewardTokenMint: zPubkeyDto,
2776
2796
  rewardVault: zPubkeyDto,
2777
2797
  stakedTokenMint: zPubkeyDto,
2778
2798
  stakedVault: zPubkeyDto,
2779
2799
  totalRewardDeposited: zU64Dto,
2780
2800
  totalStaked: zU64Dto,
2781
- totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
2801
+ totalStakedUsd: z.optional(z.union([
2802
+ z.number(),
2803
+ z.null()
2804
+ ])),
2805
+ totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2806
+ unstreamedReward: zU64Dto
2782
2807
  });
2783
2808
  var zStrikeJackpotDto = z.object({
2784
2809
  btcAmount: zU64Dto,
@@ -2825,6 +2850,13 @@ var zRoundDto = z.object({
2825
2850
  z.null()
2826
2851
  ]))
2827
2852
  });
2853
+ var zTokenStatsDto = z.object({
2854
+ buybackBurned: zU64Dto,
2855
+ lpBurned: zU64Dto,
2856
+ totalBurned: zU64Dto,
2857
+ totalBuybackUsd: zU64Dto,
2858
+ totalMined: zU64Dto
2859
+ });
2828
2860
  var zTokenVaultDto = z.object({
2829
2861
  address: zPubkeyDto,
2830
2862
  apr: z.optional(z.union([
@@ -3310,6 +3342,14 @@ var zSseData = z.object({
3310
3342
  }))
3311
3343
  });
3312
3344
  var zSseResponse2 = zSseResponse;
3345
+ var zGetTokenStatsData = z.object({
3346
+ body: z.optional(z.never()),
3347
+ path: z.optional(z.never()),
3348
+ query: z.optional(z.never())
3349
+ });
3350
+ var zGetTokenStatsResponse = z.object({
3351
+ data: zTokenStatsDto
3352
+ });
3313
3353
  var zGetUserProfileData = z.object({
3314
3354
  body: z.optional(z.never()),
3315
3355
  path: z.object({
@@ -3726,6 +3766,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
3726
3766
  ...params
3727
3767
  });
3728
3768
  }
3769
+ /**
3770
+ * Request the protocol token stats: lifetime burned tokens (the protocol's buyback burns plus the LP wallet's burns), the USD spent on buybacks and the tokens mined
3771
+ */
3772
+ getTokenStats(options) {
3773
+ return (options?.client ?? this.client).get({
3774
+ requestValidator: async (data) => await zGetTokenStatsData.parseAsync(data),
3775
+ responseTransformer: getTokenStatsResponseTransformer,
3776
+ responseValidator: async (data) => await zGetTokenStatsResponse.parseAsync(data),
3777
+ url: "/v1/token/stats",
3778
+ ...options
3779
+ });
3780
+ }
3729
3781
  /**
3730
3782
  * Request user profile
3731
3783
  */
@@ -4061,6 +4113,8 @@ export {
4061
4113
  zGetSatsEarnedLeaderboardResponse,
4062
4114
  zGetStakingTreasuryData,
4063
4115
  zGetStakingTreasuryResponse,
4116
+ zGetTokenStatsData,
4117
+ zGetTokenStatsResponse,
4064
4118
  zGetUserAffiliateData,
4065
4119
  zGetUserAffiliateResponse,
4066
4120
  zGetUserClaimsData,
@@ -4150,6 +4204,8 @@ export {
4150
4204
  zStakingTreasuryDto,
4151
4205
  zStrikeJackpotDto,
4152
4206
  zTileStakeDto,
4207
+ zTokenApiError500Error,
4208
+ zTokenStatsDto,
4153
4209
  zTokenVaultDto,
4154
4210
  zU128Dto,
4155
4211
  zU64Dto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",