@satrush/api 0.1.22 → 0.1.23
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 +57 -1
- package/dist/index.d.cts +93 -1
- package/dist/index.d.ts +93 -1
- package/dist/index.js +53 -1
- package/package.json +1 -1
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,16 @@ 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
|
+
return data;
|
|
1776
|
+
};
|
|
1777
|
+
var getTokenStatsResponseTransformer = async (data) => {
|
|
1778
|
+
data.data = tokenStatsDtoSchemaResponseTransformer(data.data);
|
|
1779
|
+
return data;
|
|
1780
|
+
};
|
|
1766
1781
|
var getUserProfileResponseTransformer = async (data) => {
|
|
1767
1782
|
data.data = profileDtoSchemaResponseTransformer(data.data);
|
|
1768
1783
|
return data;
|
|
@@ -2150,6 +2165,9 @@ var zStakingTreasuryApiError404Error = z.object({
|
|
|
2150
2165
|
var zStakingTreasuryApiError500Error = z.object({
|
|
2151
2166
|
code: z.enum(["internal"])
|
|
2152
2167
|
});
|
|
2168
|
+
var zTokenApiError500Error = z.object({
|
|
2169
|
+
code: z.enum(["internal"])
|
|
2170
|
+
});
|
|
2153
2171
|
var zU128Dto = z.string();
|
|
2154
2172
|
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
2173
|
var zAffiliateStatsDto = z.object({
|
|
@@ -3016,13 +3034,22 @@ var zStakingPositionDto = z.object({
|
|
|
3016
3034
|
});
|
|
3017
3035
|
var zStakingTreasuryDto = z.object({
|
|
3018
3036
|
address: zPubkeyDto,
|
|
3037
|
+
apr: z.optional(z.union([
|
|
3038
|
+
z.number(),
|
|
3039
|
+
z.null()
|
|
3040
|
+
])),
|
|
3019
3041
|
rewardTokenMint: zPubkeyDto,
|
|
3020
3042
|
rewardVault: zPubkeyDto,
|
|
3021
3043
|
stakedTokenMint: zPubkeyDto,
|
|
3022
3044
|
stakedVault: zPubkeyDto,
|
|
3023
3045
|
totalRewardDeposited: zU64Dto,
|
|
3024
3046
|
totalStaked: zU64Dto,
|
|
3025
|
-
|
|
3047
|
+
totalStakedUsd: z.optional(z.union([
|
|
3048
|
+
z.number(),
|
|
3049
|
+
z.null()
|
|
3050
|
+
])),
|
|
3051
|
+
totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
3052
|
+
unstreamedReward: zU64Dto
|
|
3026
3053
|
});
|
|
3027
3054
|
var zStrikeJackpotDto = z.object({
|
|
3028
3055
|
btcAmount: zU64Dto,
|
|
@@ -3069,6 +3096,11 @@ var zRoundDto = z.object({
|
|
|
3069
3096
|
z.null()
|
|
3070
3097
|
]))
|
|
3071
3098
|
});
|
|
3099
|
+
var zTokenStatsDto = z.object({
|
|
3100
|
+
buybackBurned: zU64Dto,
|
|
3101
|
+
lpBurned: zU64Dto,
|
|
3102
|
+
totalBurned: zU64Dto
|
|
3103
|
+
});
|
|
3072
3104
|
var zTokenVaultDto = z.object({
|
|
3073
3105
|
address: zPubkeyDto,
|
|
3074
3106
|
apr: z.optional(z.union([
|
|
@@ -3554,6 +3586,14 @@ var zSseData = z.object({
|
|
|
3554
3586
|
}))
|
|
3555
3587
|
});
|
|
3556
3588
|
var zSseResponse2 = zSseResponse;
|
|
3589
|
+
var zGetTokenStatsData = z.object({
|
|
3590
|
+
body: z.optional(z.never()),
|
|
3591
|
+
path: z.optional(z.never()),
|
|
3592
|
+
query: z.optional(z.never())
|
|
3593
|
+
});
|
|
3594
|
+
var zGetTokenStatsResponse = z.object({
|
|
3595
|
+
data: zTokenStatsDto
|
|
3596
|
+
});
|
|
3557
3597
|
var zGetUserProfileData = z.object({
|
|
3558
3598
|
body: z.optional(z.never()),
|
|
3559
3599
|
path: z.object({
|
|
@@ -3970,6 +4010,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
3970
4010
|
...params
|
|
3971
4011
|
});
|
|
3972
4012
|
}
|
|
4013
|
+
/**
|
|
4014
|
+
* Request the protocol token stats: lifetime burned tokens, the protocol's buyback burns plus the LP wallet's burns
|
|
4015
|
+
*/
|
|
4016
|
+
getTokenStats(options) {
|
|
4017
|
+
return (options?.client ?? this.client).get({
|
|
4018
|
+
requestValidator: async (data) => await zGetTokenStatsData.parseAsync(data),
|
|
4019
|
+
responseTransformer: getTokenStatsResponseTransformer,
|
|
4020
|
+
responseValidator: async (data) => await zGetTokenStatsResponse.parseAsync(data),
|
|
4021
|
+
url: "/v1/token/stats",
|
|
4022
|
+
...options
|
|
4023
|
+
});
|
|
4024
|
+
}
|
|
3973
4025
|
/**
|
|
3974
4026
|
* Request user profile
|
|
3975
4027
|
*/
|
|
@@ -4306,6 +4358,8 @@ async function unwrap(promise) {
|
|
|
4306
4358
|
zGetSatsEarnedLeaderboardResponse,
|
|
4307
4359
|
zGetStakingTreasuryData,
|
|
4308
4360
|
zGetStakingTreasuryResponse,
|
|
4361
|
+
zGetTokenStatsData,
|
|
4362
|
+
zGetTokenStatsResponse,
|
|
4309
4363
|
zGetUserAffiliateData,
|
|
4310
4364
|
zGetUserAffiliateResponse,
|
|
4311
4365
|
zGetUserClaimsData,
|
|
@@ -4395,6 +4449,8 @@ async function unwrap(promise) {
|
|
|
4395
4449
|
zStakingTreasuryDto,
|
|
4396
4450
|
zStrikeJackpotDto,
|
|
4397
4451
|
zTileStakeDto,
|
|
4452
|
+
zTokenApiError500Error,
|
|
4453
|
+
zTokenStatsDto,
|
|
4398
4454
|
zTokenVaultDto,
|
|
4399
4455
|
zU128Dto,
|
|
4400
4456
|
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,27 @@ 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. Amounts are
|
|
2406
|
+
* mint base units (9 decimals).
|
|
2407
|
+
*/
|
|
2408
|
+
type TokenStatsDto = {
|
|
2409
|
+
/**
|
|
2410
|
+
* Tokens the protocol bought back and burned (`buyback_burn_token`).
|
|
2411
|
+
*/
|
|
2412
|
+
buybackBurned: U64Dto;
|
|
2413
|
+
/**
|
|
2414
|
+
* Tokens the LP wallet burned itself.
|
|
2415
|
+
*/
|
|
2416
|
+
lpBurned: U64Dto;
|
|
2417
|
+
/**
|
|
2418
|
+
* `buyback_burned + lp_burned`.
|
|
2419
|
+
*/
|
|
2420
|
+
totalBurned: U64Dto;
|
|
2421
|
+
};
|
|
2383
2422
|
/**
|
|
2384
2423
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
2385
2424
|
* them. Same share math as the sats vault.
|
|
@@ -3077,6 +3116,22 @@ type SseResponses = {
|
|
|
3077
3116
|
200: SseResponse;
|
|
3078
3117
|
};
|
|
3079
3118
|
type SseResponse2 = SseResponses[keyof SseResponses];
|
|
3119
|
+
type GetTokenStatsData = {
|
|
3120
|
+
body?: never;
|
|
3121
|
+
path?: never;
|
|
3122
|
+
query?: never;
|
|
3123
|
+
url: '/v1/token/stats';
|
|
3124
|
+
};
|
|
3125
|
+
type GetTokenStatsErrors = {
|
|
3126
|
+
500: TokenApiError500Error;
|
|
3127
|
+
};
|
|
3128
|
+
type GetTokenStatsError = GetTokenStatsErrors[keyof GetTokenStatsErrors];
|
|
3129
|
+
type GetTokenStatsResponses = {
|
|
3130
|
+
200: {
|
|
3131
|
+
data: TokenStatsDto;
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3134
|
+
type GetTokenStatsResponse = GetTokenStatsResponses[keyof GetTokenStatsResponses];
|
|
3080
3135
|
type GetUserProfileData = {
|
|
3081
3136
|
body?: never;
|
|
3082
3137
|
path: {
|
|
@@ -3530,6 +3585,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3530
3585
|
sse<ThrowOnError extends boolean = false>(parameters?: {
|
|
3531
3586
|
wallet?: string;
|
|
3532
3587
|
}, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Request the protocol token stats: lifetime burned tokens, the protocol's buyback burns plus the LP wallet's burns
|
|
3590
|
+
*/
|
|
3591
|
+
getTokenStats<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetTokenStatsResponses, GetTokenStatsErrors, ThrowOnError, "fields">;
|
|
3533
3592
|
/**
|
|
3534
3593
|
* Request user profile
|
|
3535
3594
|
*/
|
|
@@ -3987,6 +4046,11 @@ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
|
3987
4046
|
internal: "internal";
|
|
3988
4047
|
}>;
|
|
3989
4048
|
}, z.core.$strip>;
|
|
4049
|
+
declare const zTokenApiError500Error: z.ZodObject<{
|
|
4050
|
+
code: z.ZodEnum<{
|
|
4051
|
+
internal: "internal";
|
|
4052
|
+
}>;
|
|
4053
|
+
}, z.core.$strip>;
|
|
3990
4054
|
/**
|
|
3991
4055
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3992
4056
|
*/
|
|
@@ -4796,13 +4860,16 @@ declare const zStakingPositionDto: z.ZodObject<{
|
|
|
4796
4860
|
*/
|
|
4797
4861
|
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4798
4862
|
address: z.ZodString;
|
|
4863
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4799
4864
|
rewardTokenMint: z.ZodString;
|
|
4800
4865
|
rewardVault: z.ZodString;
|
|
4801
4866
|
stakedTokenMint: z.ZodString;
|
|
4802
4867
|
stakedVault: z.ZodString;
|
|
4803
4868
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4804
4869
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4870
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4805
4871
|
totalStakers: z.ZodInt;
|
|
4872
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
4806
4873
|
}, z.core.$strip>;
|
|
4807
4874
|
/**
|
|
4808
4875
|
* Strike jackpot balances tracked on the board.
|
|
@@ -4860,6 +4927,15 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4860
4927
|
winnersCount: z.ZodInt;
|
|
4861
4928
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4862
4929
|
}, z.core.$strip>;
|
|
4930
|
+
/**
|
|
4931
|
+
* Protocol token figures that live only in the database. Amounts are
|
|
4932
|
+
* mint base units (9 decimals).
|
|
4933
|
+
*/
|
|
4934
|
+
declare const zTokenStatsDto: z.ZodObject<{
|
|
4935
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
4936
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
4937
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
4938
|
+
}, z.core.$strip>;
|
|
4863
4939
|
/**
|
|
4864
4940
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
4865
4941
|
* them. Same share math as the sats vault.
|
|
@@ -6825,13 +6901,16 @@ declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
|
6825
6901
|
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6826
6902
|
data: z.ZodObject<{
|
|
6827
6903
|
address: z.ZodString;
|
|
6904
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6828
6905
|
rewardTokenMint: z.ZodString;
|
|
6829
6906
|
rewardVault: z.ZodString;
|
|
6830
6907
|
stakedTokenMint: z.ZodString;
|
|
6831
6908
|
stakedVault: z.ZodString;
|
|
6832
6909
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6833
6910
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6911
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6834
6912
|
totalStakers: z.ZodInt;
|
|
6913
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
6835
6914
|
}, z.core.$strip>;
|
|
6836
6915
|
}, z.core.$strip>;
|
|
6837
6916
|
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
@@ -7105,6 +7184,19 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
7105
7184
|
}>;
|
|
7106
7185
|
}, z.core.$strip>>>;
|
|
7107
7186
|
type SseResponseZodType = z.infer<typeof zSseResponse2>;
|
|
7187
|
+
declare const zGetTokenStatsData: z.ZodObject<{
|
|
7188
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7189
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
7190
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7191
|
+
}, z.core.$strip>;
|
|
7192
|
+
declare const zGetTokenStatsResponse: z.ZodObject<{
|
|
7193
|
+
data: z.ZodObject<{
|
|
7194
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
7195
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
7196
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
7197
|
+
}, z.core.$strip>;
|
|
7198
|
+
}, z.core.$strip>;
|
|
7199
|
+
type GetTokenStatsResponseZodType = z.infer<typeof zGetTokenStatsResponse>;
|
|
7108
7200
|
declare const zGetUserProfileData: z.ZodObject<{
|
|
7109
7201
|
body: z.ZodOptional<z.ZodNever>;
|
|
7110
7202
|
path: z.ZodObject<{
|
|
@@ -7429,4 +7521,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
7429
7521
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
7430
7522
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
7431
7523
|
|
|
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 };
|
|
7524
|
+
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,27 @@ 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. Amounts are
|
|
2406
|
+
* mint base units (9 decimals).
|
|
2407
|
+
*/
|
|
2408
|
+
type TokenStatsDto = {
|
|
2409
|
+
/**
|
|
2410
|
+
* Tokens the protocol bought back and burned (`buyback_burn_token`).
|
|
2411
|
+
*/
|
|
2412
|
+
buybackBurned: U64Dto;
|
|
2413
|
+
/**
|
|
2414
|
+
* Tokens the LP wallet burned itself.
|
|
2415
|
+
*/
|
|
2416
|
+
lpBurned: U64Dto;
|
|
2417
|
+
/**
|
|
2418
|
+
* `buyback_burned + lp_burned`.
|
|
2419
|
+
*/
|
|
2420
|
+
totalBurned: U64Dto;
|
|
2421
|
+
};
|
|
2383
2422
|
/**
|
|
2384
2423
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
2385
2424
|
* them. Same share math as the sats vault.
|
|
@@ -3077,6 +3116,22 @@ type SseResponses = {
|
|
|
3077
3116
|
200: SseResponse;
|
|
3078
3117
|
};
|
|
3079
3118
|
type SseResponse2 = SseResponses[keyof SseResponses];
|
|
3119
|
+
type GetTokenStatsData = {
|
|
3120
|
+
body?: never;
|
|
3121
|
+
path?: never;
|
|
3122
|
+
query?: never;
|
|
3123
|
+
url: '/v1/token/stats';
|
|
3124
|
+
};
|
|
3125
|
+
type GetTokenStatsErrors = {
|
|
3126
|
+
500: TokenApiError500Error;
|
|
3127
|
+
};
|
|
3128
|
+
type GetTokenStatsError = GetTokenStatsErrors[keyof GetTokenStatsErrors];
|
|
3129
|
+
type GetTokenStatsResponses = {
|
|
3130
|
+
200: {
|
|
3131
|
+
data: TokenStatsDto;
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3134
|
+
type GetTokenStatsResponse = GetTokenStatsResponses[keyof GetTokenStatsResponses];
|
|
3080
3135
|
type GetUserProfileData = {
|
|
3081
3136
|
body?: never;
|
|
3082
3137
|
path: {
|
|
@@ -3530,6 +3585,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3530
3585
|
sse<ThrowOnError extends boolean = false>(parameters?: {
|
|
3531
3586
|
wallet?: string;
|
|
3532
3587
|
}, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Request the protocol token stats: lifetime burned tokens, the protocol's buyback burns plus the LP wallet's burns
|
|
3590
|
+
*/
|
|
3591
|
+
getTokenStats<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetTokenStatsResponses, GetTokenStatsErrors, ThrowOnError, "fields">;
|
|
3533
3592
|
/**
|
|
3534
3593
|
* Request user profile
|
|
3535
3594
|
*/
|
|
@@ -3987,6 +4046,11 @@ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
|
3987
4046
|
internal: "internal";
|
|
3988
4047
|
}>;
|
|
3989
4048
|
}, z.core.$strip>;
|
|
4049
|
+
declare const zTokenApiError500Error: z.ZodObject<{
|
|
4050
|
+
code: z.ZodEnum<{
|
|
4051
|
+
internal: "internal";
|
|
4052
|
+
}>;
|
|
4053
|
+
}, z.core.$strip>;
|
|
3990
4054
|
/**
|
|
3991
4055
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3992
4056
|
*/
|
|
@@ -4796,13 +4860,16 @@ declare const zStakingPositionDto: z.ZodObject<{
|
|
|
4796
4860
|
*/
|
|
4797
4861
|
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4798
4862
|
address: z.ZodString;
|
|
4863
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4799
4864
|
rewardTokenMint: z.ZodString;
|
|
4800
4865
|
rewardVault: z.ZodString;
|
|
4801
4866
|
stakedTokenMint: z.ZodString;
|
|
4802
4867
|
stakedVault: z.ZodString;
|
|
4803
4868
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4804
4869
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4870
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4805
4871
|
totalStakers: z.ZodInt;
|
|
4872
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
4806
4873
|
}, z.core.$strip>;
|
|
4807
4874
|
/**
|
|
4808
4875
|
* Strike jackpot balances tracked on the board.
|
|
@@ -4860,6 +4927,15 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4860
4927
|
winnersCount: z.ZodInt;
|
|
4861
4928
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4862
4929
|
}, z.core.$strip>;
|
|
4930
|
+
/**
|
|
4931
|
+
* Protocol token figures that live only in the database. Amounts are
|
|
4932
|
+
* mint base units (9 decimals).
|
|
4933
|
+
*/
|
|
4934
|
+
declare const zTokenStatsDto: z.ZodObject<{
|
|
4935
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
4936
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
4937
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
4938
|
+
}, z.core.$strip>;
|
|
4863
4939
|
/**
|
|
4864
4940
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
4865
4941
|
* them. Same share math as the sats vault.
|
|
@@ -6825,13 +6901,16 @@ declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
|
6825
6901
|
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6826
6902
|
data: z.ZodObject<{
|
|
6827
6903
|
address: z.ZodString;
|
|
6904
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6828
6905
|
rewardTokenMint: z.ZodString;
|
|
6829
6906
|
rewardVault: z.ZodString;
|
|
6830
6907
|
stakedTokenMint: z.ZodString;
|
|
6831
6908
|
stakedVault: z.ZodString;
|
|
6832
6909
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6833
6910
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6911
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6834
6912
|
totalStakers: z.ZodInt;
|
|
6913
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
6835
6914
|
}, z.core.$strip>;
|
|
6836
6915
|
}, z.core.$strip>;
|
|
6837
6916
|
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
@@ -7105,6 +7184,19 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
7105
7184
|
}>;
|
|
7106
7185
|
}, z.core.$strip>>>;
|
|
7107
7186
|
type SseResponseZodType = z.infer<typeof zSseResponse2>;
|
|
7187
|
+
declare const zGetTokenStatsData: z.ZodObject<{
|
|
7188
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7189
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
7190
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7191
|
+
}, z.core.$strip>;
|
|
7192
|
+
declare const zGetTokenStatsResponse: z.ZodObject<{
|
|
7193
|
+
data: z.ZodObject<{
|
|
7194
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
7195
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
7196
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
7197
|
+
}, z.core.$strip>;
|
|
7198
|
+
}, z.core.$strip>;
|
|
7199
|
+
type GetTokenStatsResponseZodType = z.infer<typeof zGetTokenStatsResponse>;
|
|
7108
7200
|
declare const zGetUserProfileData: z.ZodObject<{
|
|
7109
7201
|
body: z.ZodOptional<z.ZodNever>;
|
|
7110
7202
|
path: z.ZodObject<{
|
|
@@ -7429,4 +7521,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
7429
7521
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
7430
7522
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
7431
7523
|
|
|
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 };
|
|
7524
|
+
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,16 @@ 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
|
+
return data;
|
|
1528
|
+
};
|
|
1529
|
+
var getTokenStatsResponseTransformer = async (data) => {
|
|
1530
|
+
data.data = tokenStatsDtoSchemaResponseTransformer(data.data);
|
|
1531
|
+
return data;
|
|
1532
|
+
};
|
|
1522
1533
|
var getUserProfileResponseTransformer = async (data) => {
|
|
1523
1534
|
data.data = profileDtoSchemaResponseTransformer(data.data);
|
|
1524
1535
|
return data;
|
|
@@ -1906,6 +1917,9 @@ var zStakingTreasuryApiError404Error = z.object({
|
|
|
1906
1917
|
var zStakingTreasuryApiError500Error = z.object({
|
|
1907
1918
|
code: z.enum(["internal"])
|
|
1908
1919
|
});
|
|
1920
|
+
var zTokenApiError500Error = z.object({
|
|
1921
|
+
code: z.enum(["internal"])
|
|
1922
|
+
});
|
|
1909
1923
|
var zU128Dto = z.string();
|
|
1910
1924
|
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
1925
|
var zAffiliateStatsDto = z.object({
|
|
@@ -2772,13 +2786,22 @@ var zStakingPositionDto = z.object({
|
|
|
2772
2786
|
});
|
|
2773
2787
|
var zStakingTreasuryDto = z.object({
|
|
2774
2788
|
address: zPubkeyDto,
|
|
2789
|
+
apr: z.optional(z.union([
|
|
2790
|
+
z.number(),
|
|
2791
|
+
z.null()
|
|
2792
|
+
])),
|
|
2775
2793
|
rewardTokenMint: zPubkeyDto,
|
|
2776
2794
|
rewardVault: zPubkeyDto,
|
|
2777
2795
|
stakedTokenMint: zPubkeyDto,
|
|
2778
2796
|
stakedVault: zPubkeyDto,
|
|
2779
2797
|
totalRewardDeposited: zU64Dto,
|
|
2780
2798
|
totalStaked: zU64Dto,
|
|
2781
|
-
|
|
2799
|
+
totalStakedUsd: z.optional(z.union([
|
|
2800
|
+
z.number(),
|
|
2801
|
+
z.null()
|
|
2802
|
+
])),
|
|
2803
|
+
totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2804
|
+
unstreamedReward: zU64Dto
|
|
2782
2805
|
});
|
|
2783
2806
|
var zStrikeJackpotDto = z.object({
|
|
2784
2807
|
btcAmount: zU64Dto,
|
|
@@ -2825,6 +2848,11 @@ var zRoundDto = z.object({
|
|
|
2825
2848
|
z.null()
|
|
2826
2849
|
]))
|
|
2827
2850
|
});
|
|
2851
|
+
var zTokenStatsDto = z.object({
|
|
2852
|
+
buybackBurned: zU64Dto,
|
|
2853
|
+
lpBurned: zU64Dto,
|
|
2854
|
+
totalBurned: zU64Dto
|
|
2855
|
+
});
|
|
2828
2856
|
var zTokenVaultDto = z.object({
|
|
2829
2857
|
address: zPubkeyDto,
|
|
2830
2858
|
apr: z.optional(z.union([
|
|
@@ -3310,6 +3338,14 @@ var zSseData = z.object({
|
|
|
3310
3338
|
}))
|
|
3311
3339
|
});
|
|
3312
3340
|
var zSseResponse2 = zSseResponse;
|
|
3341
|
+
var zGetTokenStatsData = z.object({
|
|
3342
|
+
body: z.optional(z.never()),
|
|
3343
|
+
path: z.optional(z.never()),
|
|
3344
|
+
query: z.optional(z.never())
|
|
3345
|
+
});
|
|
3346
|
+
var zGetTokenStatsResponse = z.object({
|
|
3347
|
+
data: zTokenStatsDto
|
|
3348
|
+
});
|
|
3313
3349
|
var zGetUserProfileData = z.object({
|
|
3314
3350
|
body: z.optional(z.never()),
|
|
3315
3351
|
path: z.object({
|
|
@@ -3726,6 +3762,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
3726
3762
|
...params
|
|
3727
3763
|
});
|
|
3728
3764
|
}
|
|
3765
|
+
/**
|
|
3766
|
+
* Request the protocol token stats: lifetime burned tokens, the protocol's buyback burns plus the LP wallet's burns
|
|
3767
|
+
*/
|
|
3768
|
+
getTokenStats(options) {
|
|
3769
|
+
return (options?.client ?? this.client).get({
|
|
3770
|
+
requestValidator: async (data) => await zGetTokenStatsData.parseAsync(data),
|
|
3771
|
+
responseTransformer: getTokenStatsResponseTransformer,
|
|
3772
|
+
responseValidator: async (data) => await zGetTokenStatsResponse.parseAsync(data),
|
|
3773
|
+
url: "/v1/token/stats",
|
|
3774
|
+
...options
|
|
3775
|
+
});
|
|
3776
|
+
}
|
|
3729
3777
|
/**
|
|
3730
3778
|
* Request user profile
|
|
3731
3779
|
*/
|
|
@@ -4061,6 +4109,8 @@ export {
|
|
|
4061
4109
|
zGetSatsEarnedLeaderboardResponse,
|
|
4062
4110
|
zGetStakingTreasuryData,
|
|
4063
4111
|
zGetStakingTreasuryResponse,
|
|
4112
|
+
zGetTokenStatsData,
|
|
4113
|
+
zGetTokenStatsResponse,
|
|
4064
4114
|
zGetUserAffiliateData,
|
|
4065
4115
|
zGetUserAffiliateResponse,
|
|
4066
4116
|
zGetUserClaimsData,
|
|
@@ -4150,6 +4200,8 @@ export {
|
|
|
4150
4200
|
zStakingTreasuryDto,
|
|
4151
4201
|
zStrikeJackpotDto,
|
|
4152
4202
|
zTileStakeDto,
|
|
4203
|
+
zTokenApiError500Error,
|
|
4204
|
+
zTokenStatsDto,
|
|
4153
4205
|
zTokenVaultDto,
|
|
4154
4206
|
zU128Dto,
|
|
4155
4207
|
zU64Dto,
|