@satrush/api 0.1.20 → 0.1.21
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 +130 -0
- package/dist/index.d.cts +239 -4
- package/dist/index.d.ts +239 -4
- package/dist/index.js +118 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -106,6 +106,8 @@ __export(index_exports, {
|
|
|
106
106
|
zGetRoundsResponse: () => zGetRoundsResponse,
|
|
107
107
|
zGetSatsEarnedLeaderboardData: () => zGetSatsEarnedLeaderboardData,
|
|
108
108
|
zGetSatsEarnedLeaderboardResponse: () => zGetSatsEarnedLeaderboardResponse,
|
|
109
|
+
zGetStakingTreasuryData: () => zGetStakingTreasuryData,
|
|
110
|
+
zGetStakingTreasuryResponse: () => zGetStakingTreasuryResponse,
|
|
109
111
|
zGetUserAffiliateData: () => zGetUserAffiliateData,
|
|
110
112
|
zGetUserAffiliateResponse: () => zGetUserAffiliateResponse,
|
|
111
113
|
zGetUserClaimsData: () => zGetUserClaimsData,
|
|
@@ -122,6 +124,8 @@ __export(index_exports, {
|
|
|
122
124
|
zGetUserProfileResponse: () => zGetUserProfileResponse,
|
|
123
125
|
zGetUserReferralsData: () => zGetUserReferralsData,
|
|
124
126
|
zGetUserReferralsResponse: () => zGetUserReferralsResponse,
|
|
127
|
+
zGetUserStakingData: () => zGetUserStakingData,
|
|
128
|
+
zGetUserStakingResponse: () => zGetUserStakingResponse,
|
|
125
129
|
zGetWalletLeaderboardData: () => zGetWalletLeaderboardData,
|
|
126
130
|
zGetWalletLeaderboardResponse: () => zGetWalletLeaderboardResponse,
|
|
127
131
|
zHashrateActionTypeDto: () => zHashrateActionTypeDto,
|
|
@@ -187,6 +191,10 @@ __export(index_exports, {
|
|
|
187
191
|
zSseResponse: () => zSseResponse,
|
|
188
192
|
zSseResponse2: () => zSseResponse2,
|
|
189
193
|
zSseResponseSnapshot: () => zSseResponseSnapshot,
|
|
194
|
+
zStakingPositionDto: () => zStakingPositionDto,
|
|
195
|
+
zStakingTreasuryApiError404Error: () => zStakingTreasuryApiError404Error,
|
|
196
|
+
zStakingTreasuryApiError500Error: () => zStakingTreasuryApiError500Error,
|
|
197
|
+
zStakingTreasuryDto: () => zStakingTreasuryDto,
|
|
190
198
|
zStrikeJackpotDto: () => zStrikeJackpotDto,
|
|
191
199
|
zTileStakeDto: () => zTileStakeDto,
|
|
192
200
|
zTokenVaultDto: () => zTokenVaultDto,
|
|
@@ -216,6 +224,10 @@ __export(index_exports, {
|
|
|
216
224
|
zUserReferralsApiError400Error: () => zUserReferralsApiError400Error,
|
|
217
225
|
zUserReferralsApiError400InvalidAddress: () => zUserReferralsApiError400InvalidAddress,
|
|
218
226
|
zUserReferralsApiError500Error: () => zUserReferralsApiError500Error,
|
|
227
|
+
zUserStakingApiError400Error: () => zUserStakingApiError400Error,
|
|
228
|
+
zUserStakingApiError400InvalidAddress: () => zUserStakingApiError400InvalidAddress,
|
|
229
|
+
zUserStakingApiError404Error: () => zUserStakingApiError404Error,
|
|
230
|
+
zUserStakingApiError500Error: () => zUserStakingApiError500Error,
|
|
219
231
|
zUserVaultEntriesApiError400Error: () => zUserVaultEntriesApiError400Error,
|
|
220
232
|
zUserVaultEntriesApiError400InvalidAddress: () => zUserVaultEntriesApiError400InvalidAddress,
|
|
221
233
|
zUserVaultEntriesApiError400InvalidBefore: () => zUserVaultEntriesApiError400InvalidBefore,
|
|
@@ -1658,6 +1670,15 @@ var getRoundResponseTransformer = async (data) => {
|
|
|
1658
1670
|
data.data = roundDetailsDtoSchemaResponseTransformer(data.data);
|
|
1659
1671
|
return data;
|
|
1660
1672
|
};
|
|
1673
|
+
var stakingTreasuryDtoSchemaResponseTransformer = (data) => {
|
|
1674
|
+
data.totalRewardDeposited = u64DtoSchemaResponseTransformer(data.totalRewardDeposited);
|
|
1675
|
+
data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
|
|
1676
|
+
return data;
|
|
1677
|
+
};
|
|
1678
|
+
var getStakingTreasuryResponseTransformer = async (data) => {
|
|
1679
|
+
data.data = stakingTreasuryDtoSchemaResponseTransformer(data.data);
|
|
1680
|
+
return data;
|
|
1681
|
+
};
|
|
1661
1682
|
var publicAutomationDtoSchemaResponseTransformer = (data) => {
|
|
1662
1683
|
data.perRoundUsdAmount = u64DtoSchemaResponseTransformer(data.perRoundUsdAmount);
|
|
1663
1684
|
data.remainingUsdAmount = u64DtoSchemaResponseTransformer(data.remainingUsdAmount);
|
|
@@ -1872,6 +1893,15 @@ var getUserReferralsResponseTransformer = async (data) => {
|
|
|
1872
1893
|
data.data = referralsPageDtoSchemaResponseTransformer(data.data);
|
|
1873
1894
|
return data;
|
|
1874
1895
|
};
|
|
1896
|
+
var stakingPositionDtoSchemaResponseTransformer = (data) => {
|
|
1897
|
+
data.shares = u64DtoSchemaResponseTransformer(data.shares);
|
|
1898
|
+
data.unclaimedReward = u64DtoSchemaResponseTransformer(data.unclaimedReward);
|
|
1899
|
+
return data;
|
|
1900
|
+
};
|
|
1901
|
+
var getUserStakingResponseTransformer = async (data) => {
|
|
1902
|
+
data.data = stakingPositionDtoSchemaResponseTransformer(data.data);
|
|
1903
|
+
return data;
|
|
1904
|
+
};
|
|
1875
1905
|
|
|
1876
1906
|
// src/generated/zod.gen.ts
|
|
1877
1907
|
var z = __toESM(require("zod"), 1);
|
|
@@ -2114,6 +2144,12 @@ var zRoundsApiError500Error = z.object({
|
|
|
2114
2144
|
code: z.enum(["internal"])
|
|
2115
2145
|
});
|
|
2116
2146
|
var zSortOrderDto = z.enum(["desc", "asc"]);
|
|
2147
|
+
var zStakingTreasuryApiError404Error = z.object({
|
|
2148
|
+
code: z.enum(["not_found"])
|
|
2149
|
+
});
|
|
2150
|
+
var zStakingTreasuryApiError500Error = z.object({
|
|
2151
|
+
code: z.enum(["internal"])
|
|
2152
|
+
});
|
|
2117
2153
|
var zU128Dto = z.string();
|
|
2118
2154
|
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" });
|
|
2119
2155
|
var zAffiliateStatsDto = z.object({
|
|
@@ -2959,6 +2995,22 @@ var zSatsVaultDto = z.object({
|
|
|
2959
2995
|
btcAmount: zU64Dto,
|
|
2960
2996
|
btcShares: zU64Dto
|
|
2961
2997
|
});
|
|
2998
|
+
var zStakingPositionDto = z.object({
|
|
2999
|
+
address: zPubkeyDto,
|
|
3000
|
+
authority: zPubkeyDto,
|
|
3001
|
+
shares: zU64Dto,
|
|
3002
|
+
unclaimedReward: zU64Dto
|
|
3003
|
+
});
|
|
3004
|
+
var zStakingTreasuryDto = z.object({
|
|
3005
|
+
address: zPubkeyDto,
|
|
3006
|
+
rewardTokenMint: zPubkeyDto,
|
|
3007
|
+
rewardVault: zPubkeyDto,
|
|
3008
|
+
stakedTokenMint: zPubkeyDto,
|
|
3009
|
+
stakedVault: zPubkeyDto,
|
|
3010
|
+
totalRewardDeposited: zU64Dto,
|
|
3011
|
+
totalStaked: zU64Dto,
|
|
3012
|
+
totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
3013
|
+
});
|
|
2962
3014
|
var zStrikeJackpotDto = z.object({
|
|
2963
3015
|
btcAmount: zU64Dto,
|
|
2964
3016
|
lastTriggerAt: z.optional(z.union([
|
|
@@ -3042,6 +3094,7 @@ var zBoardDto = z.object({
|
|
|
3042
3094
|
z.null()
|
|
3043
3095
|
])),
|
|
3044
3096
|
satsVault: zSatsVaultDto,
|
|
3097
|
+
slotDurationMs: z.number(),
|
|
3045
3098
|
startSlot: zU64Dto,
|
|
3046
3099
|
strike: zStrikeJackpotDto,
|
|
3047
3100
|
tokenVault: z.optional(z.union([
|
|
@@ -3207,6 +3260,27 @@ var zUserReferralsApiError400Error = z.union([
|
|
|
3207
3260
|
var zUserReferralsApiError500Error = z.object({
|
|
3208
3261
|
code: z.enum(["internal"])
|
|
3209
3262
|
});
|
|
3263
|
+
var zUserStakingApiError400InvalidAddress = z.object({
|
|
3264
|
+
code: z.enum(["invalid_address"])
|
|
3265
|
+
});
|
|
3266
|
+
var zUserStakingApiError400Error = z.union([
|
|
3267
|
+
z.object({
|
|
3268
|
+
code: z.literal("invalid_address")
|
|
3269
|
+
}).and(zUserStakingApiError400InvalidAddress),
|
|
3270
|
+
z.object({
|
|
3271
|
+
code: z.union([
|
|
3272
|
+
z.literal("invalid_body"),
|
|
3273
|
+
z.literal("invalid_path"),
|
|
3274
|
+
z.literal("invalid_query")
|
|
3275
|
+
])
|
|
3276
|
+
}).and(zBadRequestErrorCodeErrorBody)
|
|
3277
|
+
]);
|
|
3278
|
+
var zUserStakingApiError404Error = z.object({
|
|
3279
|
+
code: z.enum(["not_found"])
|
|
3280
|
+
});
|
|
3281
|
+
var zUserStakingApiError500Error = z.object({
|
|
3282
|
+
code: z.enum(["internal"])
|
|
3283
|
+
});
|
|
3210
3284
|
var zUserVaultEntriesApiError400InvalidAddress = z.object({
|
|
3211
3285
|
code: z.enum(["invalid_address"])
|
|
3212
3286
|
});
|
|
@@ -3454,6 +3528,14 @@ var zGetRoundData = z.object({
|
|
|
3454
3528
|
var zGetRoundResponse = z.object({
|
|
3455
3529
|
data: zRoundDetailsDto
|
|
3456
3530
|
});
|
|
3531
|
+
var zGetStakingTreasuryData = z.object({
|
|
3532
|
+
body: z.optional(z.never()),
|
|
3533
|
+
path: z.optional(z.never()),
|
|
3534
|
+
query: z.optional(z.never())
|
|
3535
|
+
});
|
|
3536
|
+
var zGetStakingTreasuryResponse = z.object({
|
|
3537
|
+
data: zStakingTreasuryDto
|
|
3538
|
+
});
|
|
3457
3539
|
var zSseData = z.object({
|
|
3458
3540
|
body: z.optional(z.never()),
|
|
3459
3541
|
path: z.optional(z.never()),
|
|
@@ -3569,6 +3651,16 @@ var zGetUserReferralsData = z.object({
|
|
|
3569
3651
|
var zGetUserReferralsResponse = z.object({
|
|
3570
3652
|
data: zReferralsPageDto
|
|
3571
3653
|
});
|
|
3654
|
+
var zGetUserStakingData = z.object({
|
|
3655
|
+
body: z.optional(z.never()),
|
|
3656
|
+
path: z.object({
|
|
3657
|
+
address: z.string()
|
|
3658
|
+
}),
|
|
3659
|
+
query: z.optional(z.never())
|
|
3660
|
+
});
|
|
3661
|
+
var zGetUserStakingResponse = z.object({
|
|
3662
|
+
data: zStakingPositionDto
|
|
3663
|
+
});
|
|
3572
3664
|
|
|
3573
3665
|
// src/generated/sdk.gen.ts
|
|
3574
3666
|
var HeyApiClient = class {
|
|
@@ -3842,6 +3934,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
3842
3934
|
...params
|
|
3843
3935
|
});
|
|
3844
3936
|
}
|
|
3937
|
+
/**
|
|
3938
|
+
* Request the staking treasury: configuration, authorities and the reward stream
|
|
3939
|
+
*/
|
|
3940
|
+
getStakingTreasury(options) {
|
|
3941
|
+
return (options?.client ?? this.client).get({
|
|
3942
|
+
requestValidator: async (data) => await zGetStakingTreasuryData.parseAsync(data),
|
|
3943
|
+
responseTransformer: getStakingTreasuryResponseTransformer,
|
|
3944
|
+
responseValidator: async (data) => await zGetStakingTreasuryResponse.parseAsync(data),
|
|
3945
|
+
url: "/v1/staking/treasury",
|
|
3946
|
+
...options
|
|
3947
|
+
});
|
|
3948
|
+
}
|
|
3845
3949
|
/**
|
|
3846
3950
|
* Subscribe for SSE stream
|
|
3847
3951
|
*/
|
|
@@ -4001,6 +4105,20 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
4001
4105
|
...params
|
|
4002
4106
|
});
|
|
4003
4107
|
}
|
|
4108
|
+
/**
|
|
4109
|
+
* Request a wallet's staking position with its claimable reward projected now
|
|
4110
|
+
*/
|
|
4111
|
+
getUserStaking(parameters, options) {
|
|
4112
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "address" }] }]);
|
|
4113
|
+
return (options?.client ?? this.client).get({
|
|
4114
|
+
requestValidator: async (data) => await zGetUserStakingData.parseAsync(data),
|
|
4115
|
+
responseTransformer: getUserStakingResponseTransformer,
|
|
4116
|
+
responseValidator: async (data) => await zGetUserStakingResponse.parseAsync(data),
|
|
4117
|
+
url: "/v1/users/{address}/staking",
|
|
4118
|
+
...options,
|
|
4119
|
+
...params
|
|
4120
|
+
});
|
|
4121
|
+
}
|
|
4004
4122
|
};
|
|
4005
4123
|
|
|
4006
4124
|
// src/generated/types.gen.ts
|
|
@@ -4176,6 +4294,8 @@ async function unwrap(promise) {
|
|
|
4176
4294
|
zGetRoundsResponse,
|
|
4177
4295
|
zGetSatsEarnedLeaderboardData,
|
|
4178
4296
|
zGetSatsEarnedLeaderboardResponse,
|
|
4297
|
+
zGetStakingTreasuryData,
|
|
4298
|
+
zGetStakingTreasuryResponse,
|
|
4179
4299
|
zGetUserAffiliateData,
|
|
4180
4300
|
zGetUserAffiliateResponse,
|
|
4181
4301
|
zGetUserClaimsData,
|
|
@@ -4192,6 +4312,8 @@ async function unwrap(promise) {
|
|
|
4192
4312
|
zGetUserProfileResponse,
|
|
4193
4313
|
zGetUserReferralsData,
|
|
4194
4314
|
zGetUserReferralsResponse,
|
|
4315
|
+
zGetUserStakingData,
|
|
4316
|
+
zGetUserStakingResponse,
|
|
4195
4317
|
zGetWalletLeaderboardData,
|
|
4196
4318
|
zGetWalletLeaderboardResponse,
|
|
4197
4319
|
zHashrateActionTypeDto,
|
|
@@ -4257,6 +4379,10 @@ async function unwrap(promise) {
|
|
|
4257
4379
|
zSseResponse,
|
|
4258
4380
|
zSseResponse2,
|
|
4259
4381
|
zSseResponseSnapshot,
|
|
4382
|
+
zStakingPositionDto,
|
|
4383
|
+
zStakingTreasuryApiError404Error,
|
|
4384
|
+
zStakingTreasuryApiError500Error,
|
|
4385
|
+
zStakingTreasuryDto,
|
|
4260
4386
|
zStrikeJackpotDto,
|
|
4261
4387
|
zTileStakeDto,
|
|
4262
4388
|
zTokenVaultDto,
|
|
@@ -4286,6 +4412,10 @@ async function unwrap(promise) {
|
|
|
4286
4412
|
zUserReferralsApiError400Error,
|
|
4287
4413
|
zUserReferralsApiError400InvalidAddress,
|
|
4288
4414
|
zUserReferralsApiError500Error,
|
|
4415
|
+
zUserStakingApiError400Error,
|
|
4416
|
+
zUserStakingApiError400InvalidAddress,
|
|
4417
|
+
zUserStakingApiError404Error,
|
|
4418
|
+
zUserStakingApiError500Error,
|
|
4289
4419
|
zUserVaultEntriesApiError400Error,
|
|
4290
4420
|
zUserVaultEntriesApiError400InvalidAddress,
|
|
4291
4421
|
zUserVaultEntriesApiError400InvalidBefore,
|
package/dist/index.d.cts
CHANGED
|
@@ -410,7 +410,7 @@ type BoardDto = {
|
|
|
410
410
|
roundId: number;
|
|
411
411
|
/**
|
|
412
412
|
* Wall-clock time of `start_slot`, derived from the current time and
|
|
413
|
-
* slot
|
|
413
|
+
* slot at `slot_duration_ms` per slot. Null while the round is pending
|
|
414
414
|
* and its slot window is not yet scheduled.
|
|
415
415
|
*/
|
|
416
416
|
roundStartedAt?: Date | null;
|
|
@@ -418,6 +418,13 @@ type BoardDto = {
|
|
|
418
418
|
* The sats vault balances.
|
|
419
419
|
*/
|
|
420
420
|
satsVault: SatsVaultDto;
|
|
421
|
+
/**
|
|
422
|
+
* Measured wall-clock milliseconds per slot: seeded from cluster
|
|
423
|
+
* performance samples at startup, then continuously measured from the
|
|
424
|
+
* slot stream. Clients ticking countdowns from `current_slot` should
|
|
425
|
+
* use this rather than assuming a fixed slot duration.
|
|
426
|
+
*/
|
|
427
|
+
slotDurationMs: number;
|
|
421
428
|
/**
|
|
422
429
|
* Slot at which the current round starts mining.
|
|
423
430
|
*/
|
|
@@ -690,8 +697,8 @@ type EpochVaultDto = {
|
|
|
690
697
|
iterationId: number;
|
|
691
698
|
/**
|
|
692
699
|
* Wall-clock time of `last_trigger_slot`, derived from the current time
|
|
693
|
-
* and slot
|
|
694
|
-
* the not-yet-scheduled sentinel.
|
|
700
|
+
* and slot at the board's measured `slot_duration_ms` per slot. Null
|
|
701
|
+
* when the slot carries the not-yet-scheduled sentinel.
|
|
695
702
|
*/
|
|
696
703
|
iterationStartedAt?: Date | null;
|
|
697
704
|
/**
|
|
@@ -2225,6 +2232,67 @@ type SseResponse = {
|
|
|
2225
2232
|
type SseResponseSnapshot = SnapshotDto & {
|
|
2226
2233
|
entity: 'state_snapshot';
|
|
2227
2234
|
};
|
|
2235
|
+
/**
|
|
2236
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
2237
|
+
*/
|
|
2238
|
+
type StakingPositionDto = {
|
|
2239
|
+
/**
|
|
2240
|
+
* The position account (`["position", authority]`).
|
|
2241
|
+
*/
|
|
2242
|
+
address: PubkeyDto;
|
|
2243
|
+
authority: PubkeyDto;
|
|
2244
|
+
/**
|
|
2245
|
+
* Staked base units (1 share = 1 unit).
|
|
2246
|
+
*/
|
|
2247
|
+
shares: U64Dto;
|
|
2248
|
+
/**
|
|
2249
|
+
* Everything a `claim_reward` sent now would pay (reward base units):
|
|
2250
|
+
* the reward settled on-chain plus the stream accrued since the
|
|
2251
|
+
* position's last snapshot, replayed from the treasury and position
|
|
2252
|
+
* accounts in state.
|
|
2253
|
+
*/
|
|
2254
|
+
unclaimedReward: U64Dto;
|
|
2255
|
+
};
|
|
2256
|
+
type StakingTreasuryApiError404Error = {
|
|
2257
|
+
code: 'not_found';
|
|
2258
|
+
};
|
|
2259
|
+
type StakingTreasuryApiError500Error = {
|
|
2260
|
+
code: 'internal';
|
|
2261
|
+
};
|
|
2262
|
+
/**
|
|
2263
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
2264
|
+
*/
|
|
2265
|
+
type StakingTreasuryDto = {
|
|
2266
|
+
address: PubkeyDto;
|
|
2267
|
+
/**
|
|
2268
|
+
* Token users earn (8 decimals).
|
|
2269
|
+
*/
|
|
2270
|
+
rewardTokenMint: PubkeyDto;
|
|
2271
|
+
/**
|
|
2272
|
+
* The treasury's associated token account the rewards are paid from.
|
|
2273
|
+
*/
|
|
2274
|
+
rewardVault: PubkeyDto;
|
|
2275
|
+
/**
|
|
2276
|
+
* Token users stake (9 decimals).
|
|
2277
|
+
*/
|
|
2278
|
+
stakedTokenMint: PubkeyDto;
|
|
2279
|
+
/**
|
|
2280
|
+
* The treasury's associated token account holding every stake.
|
|
2281
|
+
*/
|
|
2282
|
+
stakedVault: PubkeyDto;
|
|
2283
|
+
/**
|
|
2284
|
+
* Lifetime reward deposited through `deposit_reward` (reward base units).
|
|
2285
|
+
*/
|
|
2286
|
+
totalRewardDeposited: U64Dto;
|
|
2287
|
+
/**
|
|
2288
|
+
* Staked base units across every position.
|
|
2289
|
+
*/
|
|
2290
|
+
totalStaked: U64Dto;
|
|
2291
|
+
/**
|
|
2292
|
+
* Positions with a non-zero stake right now.
|
|
2293
|
+
*/
|
|
2294
|
+
totalStakers: number;
|
|
2295
|
+
};
|
|
2228
2296
|
/**
|
|
2229
2297
|
* Strike jackpot balances tracked on the board.
|
|
2230
2298
|
*/
|
|
@@ -2414,6 +2482,20 @@ type UserReferralsApiError400InvalidAddress = {
|
|
|
2414
2482
|
type UserReferralsApiError500Error = {
|
|
2415
2483
|
code: 'internal';
|
|
2416
2484
|
};
|
|
2485
|
+
type UserStakingApiError400Error = ({
|
|
2486
|
+
code: 'invalid_address';
|
|
2487
|
+
} & UserStakingApiError400InvalidAddress) | ({
|
|
2488
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2489
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2490
|
+
type UserStakingApiError400InvalidAddress = {
|
|
2491
|
+
code: 'invalid_address';
|
|
2492
|
+
};
|
|
2493
|
+
type UserStakingApiError404Error = {
|
|
2494
|
+
code: 'not_found';
|
|
2495
|
+
};
|
|
2496
|
+
type UserStakingApiError500Error = {
|
|
2497
|
+
code: 'internal';
|
|
2498
|
+
};
|
|
2417
2499
|
type UserVaultEntriesApiError400Error = ({
|
|
2418
2500
|
code: 'invalid_address';
|
|
2419
2501
|
} & UserVaultEntriesApiError400InvalidAddress) | ({
|
|
@@ -2926,6 +3008,23 @@ type GetRoundResponses = {
|
|
|
2926
3008
|
};
|
|
2927
3009
|
};
|
|
2928
3010
|
type GetRoundResponse = GetRoundResponses[keyof GetRoundResponses];
|
|
3011
|
+
type GetStakingTreasuryData = {
|
|
3012
|
+
body?: never;
|
|
3013
|
+
path?: never;
|
|
3014
|
+
query?: never;
|
|
3015
|
+
url: '/v1/staking/treasury';
|
|
3016
|
+
};
|
|
3017
|
+
type GetStakingTreasuryErrors = {
|
|
3018
|
+
404: StakingTreasuryApiError404Error;
|
|
3019
|
+
500: StakingTreasuryApiError500Error;
|
|
3020
|
+
};
|
|
3021
|
+
type GetStakingTreasuryError = GetStakingTreasuryErrors[keyof GetStakingTreasuryErrors];
|
|
3022
|
+
type GetStakingTreasuryResponses = {
|
|
3023
|
+
200: {
|
|
3024
|
+
data: StakingTreasuryDto;
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
type GetStakingTreasuryResponse = GetStakingTreasuryResponses[keyof GetStakingTreasuryResponses];
|
|
2929
3028
|
type SseData = {
|
|
2930
3029
|
body?: never;
|
|
2931
3030
|
path?: never;
|
|
@@ -3239,6 +3338,30 @@ type GetUserReferralsResponses = {
|
|
|
3239
3338
|
};
|
|
3240
3339
|
};
|
|
3241
3340
|
type GetUserReferralsResponse = GetUserReferralsResponses[keyof GetUserReferralsResponses];
|
|
3341
|
+
type GetUserStakingData = {
|
|
3342
|
+
body?: never;
|
|
3343
|
+
path: {
|
|
3344
|
+
/**
|
|
3345
|
+
* Staker wallet address (base58)
|
|
3346
|
+
*/
|
|
3347
|
+
address: string;
|
|
3348
|
+
};
|
|
3349
|
+
query?: never;
|
|
3350
|
+
url: '/v1/users/{address}/staking';
|
|
3351
|
+
};
|
|
3352
|
+
type GetUserStakingErrors = {
|
|
3353
|
+
400: UserStakingApiError400Error;
|
|
3354
|
+
404: UserStakingApiError404Error;
|
|
3355
|
+
422: ValidationErrorCodeErrorBody;
|
|
3356
|
+
500: UserStakingApiError500Error;
|
|
3357
|
+
};
|
|
3358
|
+
type GetUserStakingError = GetUserStakingErrors[keyof GetUserStakingErrors];
|
|
3359
|
+
type GetUserStakingResponses = {
|
|
3360
|
+
200: {
|
|
3361
|
+
data: StakingPositionDto;
|
|
3362
|
+
};
|
|
3363
|
+
};
|
|
3364
|
+
type GetUserStakingResponse = GetUserStakingResponses[keyof GetUserStakingResponses];
|
|
3242
3365
|
|
|
3243
3366
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
3244
3367
|
/**
|
|
@@ -3374,6 +3497,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3374
3497
|
getRound<ThrowOnError extends boolean = false>(parameters: {
|
|
3375
3498
|
id: number;
|
|
3376
3499
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundResponses, GetRoundErrors, ThrowOnError, "fields">;
|
|
3500
|
+
/**
|
|
3501
|
+
* Request the staking treasury: configuration, authorities and the reward stream
|
|
3502
|
+
*/
|
|
3503
|
+
getStakingTreasury<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetStakingTreasuryResponses, GetStakingTreasuryErrors, ThrowOnError, "fields">;
|
|
3377
3504
|
/**
|
|
3378
3505
|
* Subscribe for SSE stream
|
|
3379
3506
|
*/
|
|
@@ -3449,6 +3576,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3449
3576
|
offset?: number;
|
|
3450
3577
|
limit?: number;
|
|
3451
3578
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
|
|
3579
|
+
/**
|
|
3580
|
+
* Request a wallet's staking position with its claimable reward projected now
|
|
3581
|
+
*/
|
|
3582
|
+
getUserStaking<ThrowOnError extends boolean = false>(parameters: {
|
|
3583
|
+
address: string;
|
|
3584
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserStakingResponses, GetUserStakingErrors, ThrowOnError, "fields">;
|
|
3452
3585
|
}
|
|
3453
3586
|
|
|
3454
3587
|
/**
|
|
@@ -3821,6 +3954,16 @@ declare const zSortOrderDto: z.ZodEnum<{
|
|
|
3821
3954
|
desc: "desc";
|
|
3822
3955
|
asc: "asc";
|
|
3823
3956
|
}>;
|
|
3957
|
+
declare const zStakingTreasuryApiError404Error: z.ZodObject<{
|
|
3958
|
+
code: z.ZodEnum<{
|
|
3959
|
+
not_found: "not_found";
|
|
3960
|
+
}>;
|
|
3961
|
+
}, z.core.$strip>;
|
|
3962
|
+
declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
3963
|
+
code: z.ZodEnum<{
|
|
3964
|
+
internal: "internal";
|
|
3965
|
+
}>;
|
|
3966
|
+
}, z.core.$strip>;
|
|
3824
3967
|
/**
|
|
3825
3968
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3826
3969
|
*/
|
|
@@ -4610,6 +4753,28 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
4610
4753
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4611
4754
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4612
4755
|
}, z.core.$strip>;
|
|
4756
|
+
/**
|
|
4757
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
4758
|
+
*/
|
|
4759
|
+
declare const zStakingPositionDto: z.ZodObject<{
|
|
4760
|
+
address: z.ZodString;
|
|
4761
|
+
authority: z.ZodString;
|
|
4762
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
4763
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
4764
|
+
}, z.core.$strip>;
|
|
4765
|
+
/**
|
|
4766
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
4767
|
+
*/
|
|
4768
|
+
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4769
|
+
address: z.ZodString;
|
|
4770
|
+
rewardTokenMint: z.ZodString;
|
|
4771
|
+
rewardVault: z.ZodString;
|
|
4772
|
+
stakedTokenMint: z.ZodString;
|
|
4773
|
+
stakedVault: z.ZodString;
|
|
4774
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4775
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4776
|
+
totalStakers: z.ZodInt;
|
|
4777
|
+
}, z.core.$strip>;
|
|
4613
4778
|
/**
|
|
4614
4779
|
* Strike jackpot balances tracked on the board.
|
|
4615
4780
|
*/
|
|
@@ -4833,6 +4998,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4833
4998
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4834
4999
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4835
5000
|
}, z.core.$strip>;
|
|
5001
|
+
slotDurationMs: z.ZodNumber;
|
|
4836
5002
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4837
5003
|
strike: z.ZodObject<{
|
|
4838
5004
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5008,6 +5174,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
5008
5174
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5009
5175
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5010
5176
|
}, z.core.$strip>;
|
|
5177
|
+
slotDurationMs: z.ZodNumber;
|
|
5011
5178
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5012
5179
|
strike: z.ZodObject<{
|
|
5013
5180
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5260,6 +5427,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
5260
5427
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5261
5428
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5262
5429
|
}, z.core.$strip>;
|
|
5430
|
+
slotDurationMs: z.ZodNumber;
|
|
5263
5431
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5264
5432
|
strike: z.ZodObject<{
|
|
5265
5433
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5518,6 +5686,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
5518
5686
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5519
5687
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5520
5688
|
}, z.core.$strip>;
|
|
5689
|
+
slotDurationMs: z.ZodNumber;
|
|
5521
5690
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5522
5691
|
strike: z.ZodObject<{
|
|
5523
5692
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5837,6 +6006,36 @@ declare const zUserReferralsApiError500Error: z.ZodObject<{
|
|
|
5837
6006
|
internal: "internal";
|
|
5838
6007
|
}>;
|
|
5839
6008
|
}, z.core.$strip>;
|
|
6009
|
+
declare const zUserStakingApiError400InvalidAddress: z.ZodObject<{
|
|
6010
|
+
code: z.ZodEnum<{
|
|
6011
|
+
invalid_address: "invalid_address";
|
|
6012
|
+
}>;
|
|
6013
|
+
}, z.core.$strip>;
|
|
6014
|
+
declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
6015
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
6016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6017
|
+
code: z.ZodEnum<{
|
|
6018
|
+
invalid_address: "invalid_address";
|
|
6019
|
+
}>;
|
|
6020
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
6021
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
6022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6023
|
+
code: z.ZodEnum<{
|
|
6024
|
+
invalid_path: "invalid_path";
|
|
6025
|
+
invalid_query: "invalid_query";
|
|
6026
|
+
invalid_body: "invalid_body";
|
|
6027
|
+
}>;
|
|
6028
|
+
}, z.core.$strip>>]>;
|
|
6029
|
+
declare const zUserStakingApiError404Error: z.ZodObject<{
|
|
6030
|
+
code: z.ZodEnum<{
|
|
6031
|
+
not_found: "not_found";
|
|
6032
|
+
}>;
|
|
6033
|
+
}, z.core.$strip>;
|
|
6034
|
+
declare const zUserStakingApiError500Error: z.ZodObject<{
|
|
6035
|
+
code: z.ZodEnum<{
|
|
6036
|
+
internal: "internal";
|
|
6037
|
+
}>;
|
|
6038
|
+
}, z.core.$strip>;
|
|
5840
6039
|
declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
|
|
5841
6040
|
code: z.ZodEnum<{
|
|
5842
6041
|
invalid_address: "invalid_address";
|
|
@@ -6122,6 +6321,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
6122
6321
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6123
6322
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
6124
6323
|
}, z.core.$strip>;
|
|
6324
|
+
slotDurationMs: z.ZodNumber;
|
|
6125
6325
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
6126
6326
|
strike: z.ZodObject<{
|
|
6127
6327
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6590,6 +6790,24 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
6590
6790
|
}, z.core.$strip>;
|
|
6591
6791
|
}, z.core.$strip>;
|
|
6592
6792
|
type GetRoundResponseZodType = z.infer<typeof zGetRoundResponse>;
|
|
6793
|
+
declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
6794
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
6795
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
6796
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
6797
|
+
}, z.core.$strip>;
|
|
6798
|
+
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6799
|
+
data: z.ZodObject<{
|
|
6800
|
+
address: z.ZodString;
|
|
6801
|
+
rewardTokenMint: z.ZodString;
|
|
6802
|
+
rewardVault: z.ZodString;
|
|
6803
|
+
stakedTokenMint: z.ZodString;
|
|
6804
|
+
stakedVault: z.ZodString;
|
|
6805
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6806
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6807
|
+
totalStakers: z.ZodInt;
|
|
6808
|
+
}, z.core.$strip>;
|
|
6809
|
+
}, z.core.$strip>;
|
|
6810
|
+
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
6593
6811
|
declare const zSseData: z.ZodObject<{
|
|
6594
6812
|
body: z.ZodOptional<z.ZodNever>;
|
|
6595
6813
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -6755,6 +6973,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6755
6973
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6756
6974
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
6757
6975
|
}, z.core.$strip>;
|
|
6976
|
+
slotDurationMs: z.ZodNumber;
|
|
6758
6977
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
6759
6978
|
strike: z.ZodObject<{
|
|
6760
6979
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -7143,6 +7362,22 @@ declare const zGetUserReferralsResponse: z.ZodObject<{
|
|
|
7143
7362
|
}, z.core.$strip>;
|
|
7144
7363
|
}, z.core.$strip>;
|
|
7145
7364
|
type GetUserReferralsResponseZodType = z.infer<typeof zGetUserReferralsResponse>;
|
|
7365
|
+
declare const zGetUserStakingData: z.ZodObject<{
|
|
7366
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7367
|
+
path: z.ZodObject<{
|
|
7368
|
+
address: z.ZodString;
|
|
7369
|
+
}, z.core.$strip>;
|
|
7370
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7371
|
+
}, z.core.$strip>;
|
|
7372
|
+
declare const zGetUserStakingResponse: z.ZodObject<{
|
|
7373
|
+
data: z.ZodObject<{
|
|
7374
|
+
address: z.ZodString;
|
|
7375
|
+
authority: z.ZodString;
|
|
7376
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
7377
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
7378
|
+
}, z.core.$strip>;
|
|
7379
|
+
}, z.core.$strip>;
|
|
7380
|
+
type GetUserStakingResponseZodType = z.infer<typeof zGetUserStakingResponse>;
|
|
7146
7381
|
|
|
7147
7382
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
7148
7383
|
type UnwrapData<T> = T extends {
|
|
@@ -7166,4 +7401,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
7166
7401
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
7167
7402
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
7168
7403
|
|
|
7169
|
-
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|
|
7404
|
+
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetUserStakingData, type GetUserStakingError, type GetUserStakingErrors, type GetUserStakingResponse, type GetUserStakingResponseZodType, type GetUserStakingResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StakingPositionDto, type StakingTreasuryApiError404Error, type StakingTreasuryApiError500Error, type StakingTreasuryDto, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserStakingApiError400Error, type UserStakingApiError400InvalidAddress, type UserStakingApiError404Error, type UserStakingApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetUserStakingData, zGetUserStakingResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStakingPositionDto, zStakingTreasuryApiError404Error, zStakingTreasuryApiError500Error, zStakingTreasuryDto, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserStakingApiError400Error, zUserStakingApiError400InvalidAddress, zUserStakingApiError404Error, zUserStakingApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|
package/dist/index.d.ts
CHANGED
|
@@ -410,7 +410,7 @@ type BoardDto = {
|
|
|
410
410
|
roundId: number;
|
|
411
411
|
/**
|
|
412
412
|
* Wall-clock time of `start_slot`, derived from the current time and
|
|
413
|
-
* slot
|
|
413
|
+
* slot at `slot_duration_ms` per slot. Null while the round is pending
|
|
414
414
|
* and its slot window is not yet scheduled.
|
|
415
415
|
*/
|
|
416
416
|
roundStartedAt?: Date | null;
|
|
@@ -418,6 +418,13 @@ type BoardDto = {
|
|
|
418
418
|
* The sats vault balances.
|
|
419
419
|
*/
|
|
420
420
|
satsVault: SatsVaultDto;
|
|
421
|
+
/**
|
|
422
|
+
* Measured wall-clock milliseconds per slot: seeded from cluster
|
|
423
|
+
* performance samples at startup, then continuously measured from the
|
|
424
|
+
* slot stream. Clients ticking countdowns from `current_slot` should
|
|
425
|
+
* use this rather than assuming a fixed slot duration.
|
|
426
|
+
*/
|
|
427
|
+
slotDurationMs: number;
|
|
421
428
|
/**
|
|
422
429
|
* Slot at which the current round starts mining.
|
|
423
430
|
*/
|
|
@@ -690,8 +697,8 @@ type EpochVaultDto = {
|
|
|
690
697
|
iterationId: number;
|
|
691
698
|
/**
|
|
692
699
|
* Wall-clock time of `last_trigger_slot`, derived from the current time
|
|
693
|
-
* and slot
|
|
694
|
-
* the not-yet-scheduled sentinel.
|
|
700
|
+
* and slot at the board's measured `slot_duration_ms` per slot. Null
|
|
701
|
+
* when the slot carries the not-yet-scheduled sentinel.
|
|
695
702
|
*/
|
|
696
703
|
iterationStartedAt?: Date | null;
|
|
697
704
|
/**
|
|
@@ -2225,6 +2232,67 @@ type SseResponse = {
|
|
|
2225
2232
|
type SseResponseSnapshot = SnapshotDto & {
|
|
2226
2233
|
entity: 'state_snapshot';
|
|
2227
2234
|
};
|
|
2235
|
+
/**
|
|
2236
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
2237
|
+
*/
|
|
2238
|
+
type StakingPositionDto = {
|
|
2239
|
+
/**
|
|
2240
|
+
* The position account (`["position", authority]`).
|
|
2241
|
+
*/
|
|
2242
|
+
address: PubkeyDto;
|
|
2243
|
+
authority: PubkeyDto;
|
|
2244
|
+
/**
|
|
2245
|
+
* Staked base units (1 share = 1 unit).
|
|
2246
|
+
*/
|
|
2247
|
+
shares: U64Dto;
|
|
2248
|
+
/**
|
|
2249
|
+
* Everything a `claim_reward` sent now would pay (reward base units):
|
|
2250
|
+
* the reward settled on-chain plus the stream accrued since the
|
|
2251
|
+
* position's last snapshot, replayed from the treasury and position
|
|
2252
|
+
* accounts in state.
|
|
2253
|
+
*/
|
|
2254
|
+
unclaimedReward: U64Dto;
|
|
2255
|
+
};
|
|
2256
|
+
type StakingTreasuryApiError404Error = {
|
|
2257
|
+
code: 'not_found';
|
|
2258
|
+
};
|
|
2259
|
+
type StakingTreasuryApiError500Error = {
|
|
2260
|
+
code: 'internal';
|
|
2261
|
+
};
|
|
2262
|
+
/**
|
|
2263
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
2264
|
+
*/
|
|
2265
|
+
type StakingTreasuryDto = {
|
|
2266
|
+
address: PubkeyDto;
|
|
2267
|
+
/**
|
|
2268
|
+
* Token users earn (8 decimals).
|
|
2269
|
+
*/
|
|
2270
|
+
rewardTokenMint: PubkeyDto;
|
|
2271
|
+
/**
|
|
2272
|
+
* The treasury's associated token account the rewards are paid from.
|
|
2273
|
+
*/
|
|
2274
|
+
rewardVault: PubkeyDto;
|
|
2275
|
+
/**
|
|
2276
|
+
* Token users stake (9 decimals).
|
|
2277
|
+
*/
|
|
2278
|
+
stakedTokenMint: PubkeyDto;
|
|
2279
|
+
/**
|
|
2280
|
+
* The treasury's associated token account holding every stake.
|
|
2281
|
+
*/
|
|
2282
|
+
stakedVault: PubkeyDto;
|
|
2283
|
+
/**
|
|
2284
|
+
* Lifetime reward deposited through `deposit_reward` (reward base units).
|
|
2285
|
+
*/
|
|
2286
|
+
totalRewardDeposited: U64Dto;
|
|
2287
|
+
/**
|
|
2288
|
+
* Staked base units across every position.
|
|
2289
|
+
*/
|
|
2290
|
+
totalStaked: U64Dto;
|
|
2291
|
+
/**
|
|
2292
|
+
* Positions with a non-zero stake right now.
|
|
2293
|
+
*/
|
|
2294
|
+
totalStakers: number;
|
|
2295
|
+
};
|
|
2228
2296
|
/**
|
|
2229
2297
|
* Strike jackpot balances tracked on the board.
|
|
2230
2298
|
*/
|
|
@@ -2414,6 +2482,20 @@ type UserReferralsApiError400InvalidAddress = {
|
|
|
2414
2482
|
type UserReferralsApiError500Error = {
|
|
2415
2483
|
code: 'internal';
|
|
2416
2484
|
};
|
|
2485
|
+
type UserStakingApiError400Error = ({
|
|
2486
|
+
code: 'invalid_address';
|
|
2487
|
+
} & UserStakingApiError400InvalidAddress) | ({
|
|
2488
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2489
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2490
|
+
type UserStakingApiError400InvalidAddress = {
|
|
2491
|
+
code: 'invalid_address';
|
|
2492
|
+
};
|
|
2493
|
+
type UserStakingApiError404Error = {
|
|
2494
|
+
code: 'not_found';
|
|
2495
|
+
};
|
|
2496
|
+
type UserStakingApiError500Error = {
|
|
2497
|
+
code: 'internal';
|
|
2498
|
+
};
|
|
2417
2499
|
type UserVaultEntriesApiError400Error = ({
|
|
2418
2500
|
code: 'invalid_address';
|
|
2419
2501
|
} & UserVaultEntriesApiError400InvalidAddress) | ({
|
|
@@ -2926,6 +3008,23 @@ type GetRoundResponses = {
|
|
|
2926
3008
|
};
|
|
2927
3009
|
};
|
|
2928
3010
|
type GetRoundResponse = GetRoundResponses[keyof GetRoundResponses];
|
|
3011
|
+
type GetStakingTreasuryData = {
|
|
3012
|
+
body?: never;
|
|
3013
|
+
path?: never;
|
|
3014
|
+
query?: never;
|
|
3015
|
+
url: '/v1/staking/treasury';
|
|
3016
|
+
};
|
|
3017
|
+
type GetStakingTreasuryErrors = {
|
|
3018
|
+
404: StakingTreasuryApiError404Error;
|
|
3019
|
+
500: StakingTreasuryApiError500Error;
|
|
3020
|
+
};
|
|
3021
|
+
type GetStakingTreasuryError = GetStakingTreasuryErrors[keyof GetStakingTreasuryErrors];
|
|
3022
|
+
type GetStakingTreasuryResponses = {
|
|
3023
|
+
200: {
|
|
3024
|
+
data: StakingTreasuryDto;
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
3027
|
+
type GetStakingTreasuryResponse = GetStakingTreasuryResponses[keyof GetStakingTreasuryResponses];
|
|
2929
3028
|
type SseData = {
|
|
2930
3029
|
body?: never;
|
|
2931
3030
|
path?: never;
|
|
@@ -3239,6 +3338,30 @@ type GetUserReferralsResponses = {
|
|
|
3239
3338
|
};
|
|
3240
3339
|
};
|
|
3241
3340
|
type GetUserReferralsResponse = GetUserReferralsResponses[keyof GetUserReferralsResponses];
|
|
3341
|
+
type GetUserStakingData = {
|
|
3342
|
+
body?: never;
|
|
3343
|
+
path: {
|
|
3344
|
+
/**
|
|
3345
|
+
* Staker wallet address (base58)
|
|
3346
|
+
*/
|
|
3347
|
+
address: string;
|
|
3348
|
+
};
|
|
3349
|
+
query?: never;
|
|
3350
|
+
url: '/v1/users/{address}/staking';
|
|
3351
|
+
};
|
|
3352
|
+
type GetUserStakingErrors = {
|
|
3353
|
+
400: UserStakingApiError400Error;
|
|
3354
|
+
404: UserStakingApiError404Error;
|
|
3355
|
+
422: ValidationErrorCodeErrorBody;
|
|
3356
|
+
500: UserStakingApiError500Error;
|
|
3357
|
+
};
|
|
3358
|
+
type GetUserStakingError = GetUserStakingErrors[keyof GetUserStakingErrors];
|
|
3359
|
+
type GetUserStakingResponses = {
|
|
3360
|
+
200: {
|
|
3361
|
+
data: StakingPositionDto;
|
|
3362
|
+
};
|
|
3363
|
+
};
|
|
3364
|
+
type GetUserStakingResponse = GetUserStakingResponses[keyof GetUserStakingResponses];
|
|
3242
3365
|
|
|
3243
3366
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
3244
3367
|
/**
|
|
@@ -3374,6 +3497,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3374
3497
|
getRound<ThrowOnError extends boolean = false>(parameters: {
|
|
3375
3498
|
id: number;
|
|
3376
3499
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundResponses, GetRoundErrors, ThrowOnError, "fields">;
|
|
3500
|
+
/**
|
|
3501
|
+
* Request the staking treasury: configuration, authorities and the reward stream
|
|
3502
|
+
*/
|
|
3503
|
+
getStakingTreasury<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetStakingTreasuryResponses, GetStakingTreasuryErrors, ThrowOnError, "fields">;
|
|
3377
3504
|
/**
|
|
3378
3505
|
* Subscribe for SSE stream
|
|
3379
3506
|
*/
|
|
@@ -3449,6 +3576,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3449
3576
|
offset?: number;
|
|
3450
3577
|
limit?: number;
|
|
3451
3578
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
|
|
3579
|
+
/**
|
|
3580
|
+
* Request a wallet's staking position with its claimable reward projected now
|
|
3581
|
+
*/
|
|
3582
|
+
getUserStaking<ThrowOnError extends boolean = false>(parameters: {
|
|
3583
|
+
address: string;
|
|
3584
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserStakingResponses, GetUserStakingErrors, ThrowOnError, "fields">;
|
|
3452
3585
|
}
|
|
3453
3586
|
|
|
3454
3587
|
/**
|
|
@@ -3821,6 +3954,16 @@ declare const zSortOrderDto: z.ZodEnum<{
|
|
|
3821
3954
|
desc: "desc";
|
|
3822
3955
|
asc: "asc";
|
|
3823
3956
|
}>;
|
|
3957
|
+
declare const zStakingTreasuryApiError404Error: z.ZodObject<{
|
|
3958
|
+
code: z.ZodEnum<{
|
|
3959
|
+
not_found: "not_found";
|
|
3960
|
+
}>;
|
|
3961
|
+
}, z.core.$strip>;
|
|
3962
|
+
declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
3963
|
+
code: z.ZodEnum<{
|
|
3964
|
+
internal: "internal";
|
|
3965
|
+
}>;
|
|
3966
|
+
}, z.core.$strip>;
|
|
3824
3967
|
/**
|
|
3825
3968
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3826
3969
|
*/
|
|
@@ -4610,6 +4753,28 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
4610
4753
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4611
4754
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4612
4755
|
}, z.core.$strip>;
|
|
4756
|
+
/**
|
|
4757
|
+
* A wallet's staking position, projected to the moment of the request.
|
|
4758
|
+
*/
|
|
4759
|
+
declare const zStakingPositionDto: z.ZodObject<{
|
|
4760
|
+
address: z.ZodString;
|
|
4761
|
+
authority: z.ZodString;
|
|
4762
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
4763
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
4764
|
+
}, z.core.$strip>;
|
|
4765
|
+
/**
|
|
4766
|
+
* The staking treasury: the two tokens, their vaults and the totals.
|
|
4767
|
+
*/
|
|
4768
|
+
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4769
|
+
address: z.ZodString;
|
|
4770
|
+
rewardTokenMint: z.ZodString;
|
|
4771
|
+
rewardVault: z.ZodString;
|
|
4772
|
+
stakedTokenMint: z.ZodString;
|
|
4773
|
+
stakedVault: z.ZodString;
|
|
4774
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4775
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4776
|
+
totalStakers: z.ZodInt;
|
|
4777
|
+
}, z.core.$strip>;
|
|
4613
4778
|
/**
|
|
4614
4779
|
* Strike jackpot balances tracked on the board.
|
|
4615
4780
|
*/
|
|
@@ -4833,6 +4998,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
4833
4998
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4834
4999
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4835
5000
|
}, z.core.$strip>;
|
|
5001
|
+
slotDurationMs: z.ZodNumber;
|
|
4836
5002
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
4837
5003
|
strike: z.ZodObject<{
|
|
4838
5004
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5008,6 +5174,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
5008
5174
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5009
5175
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5010
5176
|
}, z.core.$strip>;
|
|
5177
|
+
slotDurationMs: z.ZodNumber;
|
|
5011
5178
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5012
5179
|
strike: z.ZodObject<{
|
|
5013
5180
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5260,6 +5427,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
5260
5427
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5261
5428
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5262
5429
|
}, z.core.$strip>;
|
|
5430
|
+
slotDurationMs: z.ZodNumber;
|
|
5263
5431
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5264
5432
|
strike: z.ZodObject<{
|
|
5265
5433
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5518,6 +5686,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
5518
5686
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
5519
5687
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
5520
5688
|
}, z.core.$strip>;
|
|
5689
|
+
slotDurationMs: z.ZodNumber;
|
|
5521
5690
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
5522
5691
|
strike: z.ZodObject<{
|
|
5523
5692
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -5837,6 +6006,36 @@ declare const zUserReferralsApiError500Error: z.ZodObject<{
|
|
|
5837
6006
|
internal: "internal";
|
|
5838
6007
|
}>;
|
|
5839
6008
|
}, z.core.$strip>;
|
|
6009
|
+
declare const zUserStakingApiError400InvalidAddress: z.ZodObject<{
|
|
6010
|
+
code: z.ZodEnum<{
|
|
6011
|
+
invalid_address: "invalid_address";
|
|
6012
|
+
}>;
|
|
6013
|
+
}, z.core.$strip>;
|
|
6014
|
+
declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
6015
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
6016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6017
|
+
code: z.ZodEnum<{
|
|
6018
|
+
invalid_address: "invalid_address";
|
|
6019
|
+
}>;
|
|
6020
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
6021
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
6022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6023
|
+
code: z.ZodEnum<{
|
|
6024
|
+
invalid_path: "invalid_path";
|
|
6025
|
+
invalid_query: "invalid_query";
|
|
6026
|
+
invalid_body: "invalid_body";
|
|
6027
|
+
}>;
|
|
6028
|
+
}, z.core.$strip>>]>;
|
|
6029
|
+
declare const zUserStakingApiError404Error: z.ZodObject<{
|
|
6030
|
+
code: z.ZodEnum<{
|
|
6031
|
+
not_found: "not_found";
|
|
6032
|
+
}>;
|
|
6033
|
+
}, z.core.$strip>;
|
|
6034
|
+
declare const zUserStakingApiError500Error: z.ZodObject<{
|
|
6035
|
+
code: z.ZodEnum<{
|
|
6036
|
+
internal: "internal";
|
|
6037
|
+
}>;
|
|
6038
|
+
}, z.core.$strip>;
|
|
5840
6039
|
declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
|
|
5841
6040
|
code: z.ZodEnum<{
|
|
5842
6041
|
invalid_address: "invalid_address";
|
|
@@ -6122,6 +6321,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
6122
6321
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6123
6322
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
6124
6323
|
}, z.core.$strip>;
|
|
6324
|
+
slotDurationMs: z.ZodNumber;
|
|
6125
6325
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
6126
6326
|
strike: z.ZodObject<{
|
|
6127
6327
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6590,6 +6790,24 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
6590
6790
|
}, z.core.$strip>;
|
|
6591
6791
|
}, z.core.$strip>;
|
|
6592
6792
|
type GetRoundResponseZodType = z.infer<typeof zGetRoundResponse>;
|
|
6793
|
+
declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
6794
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
6795
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
6796
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
6797
|
+
}, z.core.$strip>;
|
|
6798
|
+
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6799
|
+
data: z.ZodObject<{
|
|
6800
|
+
address: z.ZodString;
|
|
6801
|
+
rewardTokenMint: z.ZodString;
|
|
6802
|
+
rewardVault: z.ZodString;
|
|
6803
|
+
stakedTokenMint: z.ZodString;
|
|
6804
|
+
stakedVault: z.ZodString;
|
|
6805
|
+
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6806
|
+
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6807
|
+
totalStakers: z.ZodInt;
|
|
6808
|
+
}, z.core.$strip>;
|
|
6809
|
+
}, z.core.$strip>;
|
|
6810
|
+
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
6593
6811
|
declare const zSseData: z.ZodObject<{
|
|
6594
6812
|
body: z.ZodOptional<z.ZodNever>;
|
|
6595
6813
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -6755,6 +6973,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
6755
6973
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6756
6974
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
6757
6975
|
}, z.core.$strip>;
|
|
6976
|
+
slotDurationMs: z.ZodNumber;
|
|
6758
6977
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
6759
6978
|
strike: z.ZodObject<{
|
|
6760
6979
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -7143,6 +7362,22 @@ declare const zGetUserReferralsResponse: z.ZodObject<{
|
|
|
7143
7362
|
}, z.core.$strip>;
|
|
7144
7363
|
}, z.core.$strip>;
|
|
7145
7364
|
type GetUserReferralsResponseZodType = z.infer<typeof zGetUserReferralsResponse>;
|
|
7365
|
+
declare const zGetUserStakingData: z.ZodObject<{
|
|
7366
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7367
|
+
path: z.ZodObject<{
|
|
7368
|
+
address: z.ZodString;
|
|
7369
|
+
}, z.core.$strip>;
|
|
7370
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7371
|
+
}, z.core.$strip>;
|
|
7372
|
+
declare const zGetUserStakingResponse: z.ZodObject<{
|
|
7373
|
+
data: z.ZodObject<{
|
|
7374
|
+
address: z.ZodString;
|
|
7375
|
+
authority: z.ZodString;
|
|
7376
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
7377
|
+
unclaimedReward: z.ZodCoercedBigInt<unknown>;
|
|
7378
|
+
}, z.core.$strip>;
|
|
7379
|
+
}, z.core.$strip>;
|
|
7380
|
+
type GetUserStakingResponseZodType = z.infer<typeof zGetUserStakingResponse>;
|
|
7146
7381
|
|
|
7147
7382
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
7148
7383
|
type UnwrapData<T> = T extends {
|
|
@@ -7166,4 +7401,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
7166
7401
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
7167
7402
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
7168
7403
|
|
|
7169
|
-
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|
|
7404
|
+
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetUserStakingData, type GetUserStakingError, type GetUserStakingErrors, type GetUserStakingResponse, type GetUserStakingResponseZodType, type GetUserStakingResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StakingPositionDto, type StakingTreasuryApiError404Error, type StakingTreasuryApiError500Error, type StakingTreasuryDto, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserStakingApiError400Error, type UserStakingApiError400InvalidAddress, type UserStakingApiError404Error, type UserStakingApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetUserStakingData, zGetUserStakingResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStakingPositionDto, zStakingTreasuryApiError404Error, zStakingTreasuryApiError500Error, zStakingTreasuryDto, zStrikeJackpotDto, zTileStakeDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserStakingApiError400Error, zUserStakingApiError400InvalidAddress, zUserStakingApiError404Error, zUserStakingApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|
package/dist/index.js
CHANGED
|
@@ -1425,6 +1425,15 @@ var getRoundResponseTransformer = async (data) => {
|
|
|
1425
1425
|
data.data = roundDetailsDtoSchemaResponseTransformer(data.data);
|
|
1426
1426
|
return data;
|
|
1427
1427
|
};
|
|
1428
|
+
var stakingTreasuryDtoSchemaResponseTransformer = (data) => {
|
|
1429
|
+
data.totalRewardDeposited = u64DtoSchemaResponseTransformer(data.totalRewardDeposited);
|
|
1430
|
+
data.totalStaked = u64DtoSchemaResponseTransformer(data.totalStaked);
|
|
1431
|
+
return data;
|
|
1432
|
+
};
|
|
1433
|
+
var getStakingTreasuryResponseTransformer = async (data) => {
|
|
1434
|
+
data.data = stakingTreasuryDtoSchemaResponseTransformer(data.data);
|
|
1435
|
+
return data;
|
|
1436
|
+
};
|
|
1428
1437
|
var publicAutomationDtoSchemaResponseTransformer = (data) => {
|
|
1429
1438
|
data.perRoundUsdAmount = u64DtoSchemaResponseTransformer(data.perRoundUsdAmount);
|
|
1430
1439
|
data.remainingUsdAmount = u64DtoSchemaResponseTransformer(data.remainingUsdAmount);
|
|
@@ -1639,6 +1648,15 @@ var getUserReferralsResponseTransformer = async (data) => {
|
|
|
1639
1648
|
data.data = referralsPageDtoSchemaResponseTransformer(data.data);
|
|
1640
1649
|
return data;
|
|
1641
1650
|
};
|
|
1651
|
+
var stakingPositionDtoSchemaResponseTransformer = (data) => {
|
|
1652
|
+
data.shares = u64DtoSchemaResponseTransformer(data.shares);
|
|
1653
|
+
data.unclaimedReward = u64DtoSchemaResponseTransformer(data.unclaimedReward);
|
|
1654
|
+
return data;
|
|
1655
|
+
};
|
|
1656
|
+
var getUserStakingResponseTransformer = async (data) => {
|
|
1657
|
+
data.data = stakingPositionDtoSchemaResponseTransformer(data.data);
|
|
1658
|
+
return data;
|
|
1659
|
+
};
|
|
1642
1660
|
|
|
1643
1661
|
// src/generated/zod.gen.ts
|
|
1644
1662
|
import * as z from "zod";
|
|
@@ -1881,6 +1899,12 @@ var zRoundsApiError500Error = z.object({
|
|
|
1881
1899
|
code: z.enum(["internal"])
|
|
1882
1900
|
});
|
|
1883
1901
|
var zSortOrderDto = z.enum(["desc", "asc"]);
|
|
1902
|
+
var zStakingTreasuryApiError404Error = z.object({
|
|
1903
|
+
code: z.enum(["not_found"])
|
|
1904
|
+
});
|
|
1905
|
+
var zStakingTreasuryApiError500Error = z.object({
|
|
1906
|
+
code: z.enum(["internal"])
|
|
1907
|
+
});
|
|
1884
1908
|
var zU128Dto = z.string();
|
|
1885
1909
|
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" });
|
|
1886
1910
|
var zAffiliateStatsDto = z.object({
|
|
@@ -2726,6 +2750,22 @@ var zSatsVaultDto = z.object({
|
|
|
2726
2750
|
btcAmount: zU64Dto,
|
|
2727
2751
|
btcShares: zU64Dto
|
|
2728
2752
|
});
|
|
2753
|
+
var zStakingPositionDto = z.object({
|
|
2754
|
+
address: zPubkeyDto,
|
|
2755
|
+
authority: zPubkeyDto,
|
|
2756
|
+
shares: zU64Dto,
|
|
2757
|
+
unclaimedReward: zU64Dto
|
|
2758
|
+
});
|
|
2759
|
+
var zStakingTreasuryDto = z.object({
|
|
2760
|
+
address: zPubkeyDto,
|
|
2761
|
+
rewardTokenMint: zPubkeyDto,
|
|
2762
|
+
rewardVault: zPubkeyDto,
|
|
2763
|
+
stakedTokenMint: zPubkeyDto,
|
|
2764
|
+
stakedVault: zPubkeyDto,
|
|
2765
|
+
totalRewardDeposited: zU64Dto,
|
|
2766
|
+
totalStaked: zU64Dto,
|
|
2767
|
+
totalStakers: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
2768
|
+
});
|
|
2729
2769
|
var zStrikeJackpotDto = z.object({
|
|
2730
2770
|
btcAmount: zU64Dto,
|
|
2731
2771
|
lastTriggerAt: z.optional(z.union([
|
|
@@ -2809,6 +2849,7 @@ var zBoardDto = z.object({
|
|
|
2809
2849
|
z.null()
|
|
2810
2850
|
])),
|
|
2811
2851
|
satsVault: zSatsVaultDto,
|
|
2852
|
+
slotDurationMs: z.number(),
|
|
2812
2853
|
startSlot: zU64Dto,
|
|
2813
2854
|
strike: zStrikeJackpotDto,
|
|
2814
2855
|
tokenVault: z.optional(z.union([
|
|
@@ -2974,6 +3015,27 @@ var zUserReferralsApiError400Error = z.union([
|
|
|
2974
3015
|
var zUserReferralsApiError500Error = z.object({
|
|
2975
3016
|
code: z.enum(["internal"])
|
|
2976
3017
|
});
|
|
3018
|
+
var zUserStakingApiError400InvalidAddress = z.object({
|
|
3019
|
+
code: z.enum(["invalid_address"])
|
|
3020
|
+
});
|
|
3021
|
+
var zUserStakingApiError400Error = z.union([
|
|
3022
|
+
z.object({
|
|
3023
|
+
code: z.literal("invalid_address")
|
|
3024
|
+
}).and(zUserStakingApiError400InvalidAddress),
|
|
3025
|
+
z.object({
|
|
3026
|
+
code: z.union([
|
|
3027
|
+
z.literal("invalid_body"),
|
|
3028
|
+
z.literal("invalid_path"),
|
|
3029
|
+
z.literal("invalid_query")
|
|
3030
|
+
])
|
|
3031
|
+
}).and(zBadRequestErrorCodeErrorBody)
|
|
3032
|
+
]);
|
|
3033
|
+
var zUserStakingApiError404Error = z.object({
|
|
3034
|
+
code: z.enum(["not_found"])
|
|
3035
|
+
});
|
|
3036
|
+
var zUserStakingApiError500Error = z.object({
|
|
3037
|
+
code: z.enum(["internal"])
|
|
3038
|
+
});
|
|
2977
3039
|
var zUserVaultEntriesApiError400InvalidAddress = z.object({
|
|
2978
3040
|
code: z.enum(["invalid_address"])
|
|
2979
3041
|
});
|
|
@@ -3221,6 +3283,14 @@ var zGetRoundData = z.object({
|
|
|
3221
3283
|
var zGetRoundResponse = z.object({
|
|
3222
3284
|
data: zRoundDetailsDto
|
|
3223
3285
|
});
|
|
3286
|
+
var zGetStakingTreasuryData = z.object({
|
|
3287
|
+
body: z.optional(z.never()),
|
|
3288
|
+
path: z.optional(z.never()),
|
|
3289
|
+
query: z.optional(z.never())
|
|
3290
|
+
});
|
|
3291
|
+
var zGetStakingTreasuryResponse = z.object({
|
|
3292
|
+
data: zStakingTreasuryDto
|
|
3293
|
+
});
|
|
3224
3294
|
var zSseData = z.object({
|
|
3225
3295
|
body: z.optional(z.never()),
|
|
3226
3296
|
path: z.optional(z.never()),
|
|
@@ -3336,6 +3406,16 @@ var zGetUserReferralsData = z.object({
|
|
|
3336
3406
|
var zGetUserReferralsResponse = z.object({
|
|
3337
3407
|
data: zReferralsPageDto
|
|
3338
3408
|
});
|
|
3409
|
+
var zGetUserStakingData = z.object({
|
|
3410
|
+
body: z.optional(z.never()),
|
|
3411
|
+
path: z.object({
|
|
3412
|
+
address: z.string()
|
|
3413
|
+
}),
|
|
3414
|
+
query: z.optional(z.never())
|
|
3415
|
+
});
|
|
3416
|
+
var zGetUserStakingResponse = z.object({
|
|
3417
|
+
data: zStakingPositionDto
|
|
3418
|
+
});
|
|
3339
3419
|
|
|
3340
3420
|
// src/generated/sdk.gen.ts
|
|
3341
3421
|
var HeyApiClient = class {
|
|
@@ -3609,6 +3689,18 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
3609
3689
|
...params
|
|
3610
3690
|
});
|
|
3611
3691
|
}
|
|
3692
|
+
/**
|
|
3693
|
+
* Request the staking treasury: configuration, authorities and the reward stream
|
|
3694
|
+
*/
|
|
3695
|
+
getStakingTreasury(options) {
|
|
3696
|
+
return (options?.client ?? this.client).get({
|
|
3697
|
+
requestValidator: async (data) => await zGetStakingTreasuryData.parseAsync(data),
|
|
3698
|
+
responseTransformer: getStakingTreasuryResponseTransformer,
|
|
3699
|
+
responseValidator: async (data) => await zGetStakingTreasuryResponse.parseAsync(data),
|
|
3700
|
+
url: "/v1/staking/treasury",
|
|
3701
|
+
...options
|
|
3702
|
+
});
|
|
3703
|
+
}
|
|
3612
3704
|
/**
|
|
3613
3705
|
* Subscribe for SSE stream
|
|
3614
3706
|
*/
|
|
@@ -3768,6 +3860,20 @@ var SatrushBackendSdk = class _SatrushBackendSdk extends HeyApiClient {
|
|
|
3768
3860
|
...params
|
|
3769
3861
|
});
|
|
3770
3862
|
}
|
|
3863
|
+
/**
|
|
3864
|
+
* Request a wallet's staking position with its claimable reward projected now
|
|
3865
|
+
*/
|
|
3866
|
+
getUserStaking(parameters, options) {
|
|
3867
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "address" }] }]);
|
|
3868
|
+
return (options?.client ?? this.client).get({
|
|
3869
|
+
requestValidator: async (data) => await zGetUserStakingData.parseAsync(data),
|
|
3870
|
+
responseTransformer: getUserStakingResponseTransformer,
|
|
3871
|
+
responseValidator: async (data) => await zGetUserStakingResponse.parseAsync(data),
|
|
3872
|
+
url: "/v1/users/{address}/staking",
|
|
3873
|
+
...options,
|
|
3874
|
+
...params
|
|
3875
|
+
});
|
|
3876
|
+
}
|
|
3771
3877
|
};
|
|
3772
3878
|
|
|
3773
3879
|
// src/generated/types.gen.ts
|
|
@@ -3942,6 +4048,8 @@ export {
|
|
|
3942
4048
|
zGetRoundsResponse,
|
|
3943
4049
|
zGetSatsEarnedLeaderboardData,
|
|
3944
4050
|
zGetSatsEarnedLeaderboardResponse,
|
|
4051
|
+
zGetStakingTreasuryData,
|
|
4052
|
+
zGetStakingTreasuryResponse,
|
|
3945
4053
|
zGetUserAffiliateData,
|
|
3946
4054
|
zGetUserAffiliateResponse,
|
|
3947
4055
|
zGetUserClaimsData,
|
|
@@ -3958,6 +4066,8 @@ export {
|
|
|
3958
4066
|
zGetUserProfileResponse,
|
|
3959
4067
|
zGetUserReferralsData,
|
|
3960
4068
|
zGetUserReferralsResponse,
|
|
4069
|
+
zGetUserStakingData,
|
|
4070
|
+
zGetUserStakingResponse,
|
|
3961
4071
|
zGetWalletLeaderboardData,
|
|
3962
4072
|
zGetWalletLeaderboardResponse,
|
|
3963
4073
|
zHashrateActionTypeDto,
|
|
@@ -4023,6 +4133,10 @@ export {
|
|
|
4023
4133
|
zSseResponse,
|
|
4024
4134
|
zSseResponse2,
|
|
4025
4135
|
zSseResponseSnapshot,
|
|
4136
|
+
zStakingPositionDto,
|
|
4137
|
+
zStakingTreasuryApiError404Error,
|
|
4138
|
+
zStakingTreasuryApiError500Error,
|
|
4139
|
+
zStakingTreasuryDto,
|
|
4026
4140
|
zStrikeJackpotDto,
|
|
4027
4141
|
zTileStakeDto,
|
|
4028
4142
|
zTokenVaultDto,
|
|
@@ -4052,6 +4166,10 @@ export {
|
|
|
4052
4166
|
zUserReferralsApiError400Error,
|
|
4053
4167
|
zUserReferralsApiError400InvalidAddress,
|
|
4054
4168
|
zUserReferralsApiError500Error,
|
|
4169
|
+
zUserStakingApiError400Error,
|
|
4170
|
+
zUserStakingApiError400InvalidAddress,
|
|
4171
|
+
zUserStakingApiError404Error,
|
|
4172
|
+
zUserStakingApiError500Error,
|
|
4055
4173
|
zUserVaultEntriesApiError400Error,
|
|
4056
4174
|
zUserVaultEntriesApiError400InvalidAddress,
|
|
4057
4175
|
zUserVaultEntriesApiError400InvalidBefore,
|