@satrush/api 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +72 -7
- package/dist/index.d.cts +151 -31
- package/dist/index.d.ts +151 -31
- package/dist/index.js +68 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -463,7 +463,7 @@ type EpochIterationApiError500Error = {
|
|
|
463
463
|
};
|
|
464
464
|
/**
|
|
465
465
|
* One Epoch Vault iteration in full: the pot, its dollar valuation at the
|
|
466
|
-
* draw-time BTC
|
|
466
|
+
* draw-time BTC and token prices, and the resolved winners.
|
|
467
467
|
*/
|
|
468
468
|
type EpochIterationDetailsDto = {
|
|
469
469
|
/**
|
|
@@ -491,10 +491,17 @@ type EpochIterationDetailsDto = {
|
|
|
491
491
|
*/
|
|
492
492
|
poolBtcAmount: U64Dto;
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
495
|
-
* unknown
|
|
494
|
+
* All pools in dollars at `btc_price` and `token_price`; `null` when a
|
|
495
|
+
* nonzero pool's price is unknown (live, the token leg is left out
|
|
496
|
+
* while its price is unavailable).
|
|
496
497
|
*/
|
|
497
498
|
poolCombinedUsdAmount?: number | null;
|
|
499
|
+
/**
|
|
500
|
+
* SatRush token (base units) pot: sealed at trigger time for past
|
|
501
|
+
* iterations, the drawable share of the vault's live token pool for
|
|
502
|
+
* the current one.
|
|
503
|
+
*/
|
|
504
|
+
poolTokenAmount: U64Dto;
|
|
498
505
|
/**
|
|
499
506
|
* USD pot: sealed at trigger time for past iterations, the drawable
|
|
500
507
|
* (rollover-excluded) share of the vault's live accumulating USDC for
|
|
@@ -502,6 +509,12 @@ type EpochIterationDetailsDto = {
|
|
|
502
509
|
*/
|
|
503
510
|
poolUsdAmount: U64Dto;
|
|
504
511
|
startedAt: Date;
|
|
512
|
+
/**
|
|
513
|
+
* The token price valuing the pot: the draw-time indexed price for past
|
|
514
|
+
* iterations, the live price for the current one; `null` when no
|
|
515
|
+
* price was indexed near the draw (or, live, none is available yet).
|
|
516
|
+
*/
|
|
517
|
+
tokenPrice?: number | null;
|
|
505
518
|
totalParticipants: number;
|
|
506
519
|
totalTickets: U64Dto;
|
|
507
520
|
/**
|
|
@@ -509,8 +522,8 @@ type EpochIterationDetailsDto = {
|
|
|
509
522
|
*/
|
|
510
523
|
triggeredAt?: Date | null;
|
|
511
524
|
/**
|
|
512
|
-
* Winners in rank order with their winnings valued at `btc_price
|
|
513
|
-
* `null` until the draw resolves.
|
|
525
|
+
* Winners in rank order with their winnings valued at `btc_price` and
|
|
526
|
+
* `token_price`; `null` until the draw resolves.
|
|
514
527
|
*/
|
|
515
528
|
winners?: Array<EpochIterationWinnerDto> | null;
|
|
516
529
|
};
|
|
@@ -588,8 +601,9 @@ type EpochIterationParticipantDto = {
|
|
|
588
601
|
tickets: U64Dto;
|
|
589
602
|
wonBtcAmount?: null | U64Dto;
|
|
590
603
|
/**
|
|
591
|
-
* The win in dollars — USDC at face value, BTC at the
|
|
592
|
-
* draw-time
|
|
604
|
+
* The win in dollars — USDC at face value, BTC and the token at the
|
|
605
|
+
* iteration's draw-time prices; `null` for non-winners or when a
|
|
606
|
+
* nonzero share's price is unknown.
|
|
593
607
|
*/
|
|
594
608
|
wonCombinedUsdAmount?: number | null;
|
|
595
609
|
wonTokenAmount?: null | U64Dto;
|
|
@@ -611,7 +625,7 @@ type EpochIterationParticipantsApiError500Error = {
|
|
|
611
625
|
};
|
|
612
626
|
/**
|
|
613
627
|
* A winner of an Epoch Vault iteration's draw, with its winnings valued at
|
|
614
|
-
* the iteration's draw-time BTC
|
|
628
|
+
* the iteration's draw-time BTC and token prices.
|
|
615
629
|
*/
|
|
616
630
|
type EpochIterationWinnerDto = {
|
|
617
631
|
authority: PubkeyDto;
|
|
@@ -632,8 +646,9 @@ type EpochIterationWinnerDto = {
|
|
|
632
646
|
*/
|
|
633
647
|
wonBtcAmount: U64Dto;
|
|
634
648
|
/**
|
|
635
|
-
*
|
|
636
|
-
* draw-time
|
|
649
|
+
* All shares in dollars — USDC at face value, BTC and the token at the
|
|
650
|
+
* iteration's draw-time prices; `null` when a nonzero share's price is
|
|
651
|
+
* unknown.
|
|
637
652
|
*/
|
|
638
653
|
wonCombinedUsdAmount?: number | null;
|
|
639
654
|
/**
|
|
@@ -1092,6 +1107,11 @@ type MinerDeploymentDto = {
|
|
|
1092
1107
|
* pre-mint settles.
|
|
1093
1108
|
*/
|
|
1094
1109
|
tokenEarned: U64Dto;
|
|
1110
|
+
/**
|
|
1111
|
+
* `token_earned` in dollars at the settle-time token price; `null`
|
|
1112
|
+
* until settled or when no token price was indexed near that moment.
|
|
1113
|
+
*/
|
|
1114
|
+
tokenEarnedUsd?: number | null;
|
|
1095
1115
|
/**
|
|
1096
1116
|
* Token Vault shares minted for `token_earned`; 0 until settled.
|
|
1097
1117
|
*/
|
|
@@ -1595,14 +1615,14 @@ type PricesDto = {
|
|
|
1595
1615
|
*/
|
|
1596
1616
|
sat: number;
|
|
1597
1617
|
/**
|
|
1598
|
-
* USD price of one whole SatRush token,
|
|
1599
|
-
* on-chain oracle spot
|
|
1600
|
-
*
|
|
1618
|
+
* USD price of one whole SatRush token from Jupiter, falling back to
|
|
1619
|
+
* the mint program's latest on-chain oracle spot while Jupiter has not
|
|
1620
|
+
* priced it; `null` until either is available.
|
|
1601
1621
|
*/
|
|
1602
1622
|
token?: number | null;
|
|
1603
1623
|
/**
|
|
1604
1624
|
* USD price of a single token-vault share; `null` until both the token
|
|
1605
|
-
* vault and
|
|
1625
|
+
* vault and a token price are available.
|
|
1606
1626
|
*/
|
|
1607
1627
|
tokenShare?: number | null;
|
|
1608
1628
|
};
|
|
@@ -1809,6 +1829,11 @@ type RoundDeploymentDto = {
|
|
|
1809
1829
|
* pre-mint settles.
|
|
1810
1830
|
*/
|
|
1811
1831
|
tokenEarned: U64Dto;
|
|
1832
|
+
/**
|
|
1833
|
+
* `token_earned` in dollars at the settle-time token price; `null`
|
|
1834
|
+
* until settled or when no token price was indexed near that moment.
|
|
1835
|
+
*/
|
|
1836
|
+
tokenEarnedUsd?: number | null;
|
|
1812
1837
|
/**
|
|
1813
1838
|
* Token-vault shares minted for `token_earned`; 0 until settled.
|
|
1814
1839
|
*/
|
|
@@ -2233,7 +2258,8 @@ type SseResponseSnapshot = SnapshotDto & {
|
|
|
2233
2258
|
entity: 'state_snapshot';
|
|
2234
2259
|
};
|
|
2235
2260
|
/**
|
|
2236
|
-
* A wallet's staking position, projected to the moment of the request.
|
|
2261
|
+
* A wallet's staking position, projected to the moment of the request. A
|
|
2262
|
+
* wallet that never staked gets the zero position at its would-be address.
|
|
2237
2263
|
*/
|
|
2238
2264
|
type StakingPositionDto = {
|
|
2239
2265
|
/**
|
|
@@ -2264,6 +2290,14 @@ type StakingTreasuryApiError500Error = {
|
|
|
2264
2290
|
*/
|
|
2265
2291
|
type StakingTreasuryDto = {
|
|
2266
2292
|
address: PubkeyDto;
|
|
2293
|
+
/**
|
|
2294
|
+
* Rolling 7-day realized APR in percentage points (12.0 = 12%): the
|
|
2295
|
+
* reward deposited over the trailing 7 days, each deposit against the
|
|
2296
|
+
* stake it streamed to, valued at the live prices and annualized.
|
|
2297
|
+
* `null` until a deposit lands in the window or while the staked
|
|
2298
|
+
* token has no price.
|
|
2299
|
+
*/
|
|
2300
|
+
apr?: number | null;
|
|
2267
2301
|
/**
|
|
2268
2302
|
* Token users earn (8 decimals).
|
|
2269
2303
|
*/
|
|
@@ -2288,10 +2322,20 @@ type StakingTreasuryDto = {
|
|
|
2288
2322
|
* Staked base units across every position.
|
|
2289
2323
|
*/
|
|
2290
2324
|
totalStaked: U64Dto;
|
|
2325
|
+
/**
|
|
2326
|
+
* `total_staked` valued in dollars at the live staked-token price;
|
|
2327
|
+
* `null` while no price is known.
|
|
2328
|
+
*/
|
|
2329
|
+
totalStakedUsd?: number | null;
|
|
2291
2330
|
/**
|
|
2292
2331
|
* Positions with a non-zero stake right now.
|
|
2293
2332
|
*/
|
|
2294
2333
|
totalStakers: number;
|
|
2334
|
+
/**
|
|
2335
|
+
* Reward base units scheduled but not yet streamed to stakers as of
|
|
2336
|
+
* the request: the stream between now and the period's end.
|
|
2337
|
+
*/
|
|
2338
|
+
unstreamedReward: U64Dto;
|
|
2295
2339
|
};
|
|
2296
2340
|
/**
|
|
2297
2341
|
* Strike jackpot balances tracked on the board.
|
|
@@ -2319,8 +2363,9 @@ type StrikeJackpotDto = {
|
|
|
2319
2363
|
*/
|
|
2320
2364
|
poolBtcAmount: U64Dto;
|
|
2321
2365
|
/**
|
|
2322
|
-
*
|
|
2323
|
-
* price
|
|
2366
|
+
* All pool legs in dollars — USDC at face value, BTC and the token at
|
|
2367
|
+
* their live prices (the token leg is left out while its price is
|
|
2368
|
+
* unknown).
|
|
2324
2369
|
*/
|
|
2325
2370
|
poolCombinedUsdAmount: number;
|
|
2326
2371
|
/**
|
|
@@ -2353,6 +2398,27 @@ type TileStakeDto = {
|
|
|
2353
2398
|
deployCount: number;
|
|
2354
2399
|
stake: U64Dto;
|
|
2355
2400
|
};
|
|
2401
|
+
type TokenApiError500Error = {
|
|
2402
|
+
code: 'internal';
|
|
2403
|
+
};
|
|
2404
|
+
/**
|
|
2405
|
+
* Protocol token figures that live only in the database. Amounts are
|
|
2406
|
+
* mint base units (9 decimals).
|
|
2407
|
+
*/
|
|
2408
|
+
type TokenStatsDto = {
|
|
2409
|
+
/**
|
|
2410
|
+
* Tokens the protocol bought back and burned (`buyback_burn_token`).
|
|
2411
|
+
*/
|
|
2412
|
+
buybackBurned: U64Dto;
|
|
2413
|
+
/**
|
|
2414
|
+
* Tokens the LP wallet burned itself.
|
|
2415
|
+
*/
|
|
2416
|
+
lpBurned: U64Dto;
|
|
2417
|
+
/**
|
|
2418
|
+
* `buyback_burned + lp_burned`.
|
|
2419
|
+
*/
|
|
2420
|
+
totalBurned: U64Dto;
|
|
2421
|
+
};
|
|
2356
2422
|
/**
|
|
2357
2423
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
2358
2424
|
* them. Same share math as the sats vault.
|
|
@@ -2490,9 +2556,6 @@ type UserStakingApiError400Error = ({
|
|
|
2490
2556
|
type UserStakingApiError400InvalidAddress = {
|
|
2491
2557
|
code: 'invalid_address';
|
|
2492
2558
|
};
|
|
2493
|
-
type UserStakingApiError404Error = {
|
|
2494
|
-
code: 'not_found';
|
|
2495
|
-
};
|
|
2496
2559
|
type UserStakingApiError500Error = {
|
|
2497
2560
|
code: 'internal';
|
|
2498
2561
|
};
|
|
@@ -3053,6 +3116,22 @@ type SseResponses = {
|
|
|
3053
3116
|
200: SseResponse;
|
|
3054
3117
|
};
|
|
3055
3118
|
type SseResponse2 = SseResponses[keyof SseResponses];
|
|
3119
|
+
type GetTokenStatsData = {
|
|
3120
|
+
body?: never;
|
|
3121
|
+
path?: never;
|
|
3122
|
+
query?: never;
|
|
3123
|
+
url: '/v1/token/stats';
|
|
3124
|
+
};
|
|
3125
|
+
type GetTokenStatsErrors = {
|
|
3126
|
+
500: TokenApiError500Error;
|
|
3127
|
+
};
|
|
3128
|
+
type GetTokenStatsError = GetTokenStatsErrors[keyof GetTokenStatsErrors];
|
|
3129
|
+
type GetTokenStatsResponses = {
|
|
3130
|
+
200: {
|
|
3131
|
+
data: TokenStatsDto;
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3134
|
+
type GetTokenStatsResponse = GetTokenStatsResponses[keyof GetTokenStatsResponses];
|
|
3056
3135
|
type GetUserProfileData = {
|
|
3057
3136
|
body?: never;
|
|
3058
3137
|
path: {
|
|
@@ -3351,7 +3430,6 @@ type GetUserStakingData = {
|
|
|
3351
3430
|
};
|
|
3352
3431
|
type GetUserStakingErrors = {
|
|
3353
3432
|
400: UserStakingApiError400Error;
|
|
3354
|
-
404: UserStakingApiError404Error;
|
|
3355
3433
|
422: ValidationErrorCodeErrorBody;
|
|
3356
3434
|
500: UserStakingApiError500Error;
|
|
3357
3435
|
};
|
|
@@ -3507,6 +3585,10 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3507
3585
|
sse<ThrowOnError extends boolean = false>(parameters?: {
|
|
3508
3586
|
wallet?: string;
|
|
3509
3587
|
}, options?: Options<never, ThrowOnError>): Promise<ServerSentEventsResult<SseResponses, SseErrors>>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Request the protocol token stats: lifetime burned tokens, the protocol's buyback burns plus the LP wallet's burns
|
|
3590
|
+
*/
|
|
3591
|
+
getTokenStats<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetTokenStatsResponses, GetTokenStatsErrors, ThrowOnError, "fields">;
|
|
3510
3592
|
/**
|
|
3511
3593
|
* Request user profile
|
|
3512
3594
|
*/
|
|
@@ -3577,7 +3659,7 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
3577
3659
|
limit?: number;
|
|
3578
3660
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserReferralsResponses, GetUserReferralsErrors, ThrowOnError, "fields">;
|
|
3579
3661
|
/**
|
|
3580
|
-
* Request a wallet's staking position with its claimable reward projected now
|
|
3662
|
+
* Request a wallet's staking position with its claimable reward projected now (the zero position for a wallet that never staked)
|
|
3581
3663
|
*/
|
|
3582
3664
|
getUserStaking<ThrowOnError extends boolean = false>(parameters: {
|
|
3583
3665
|
address: string;
|
|
@@ -3964,6 +4046,11 @@ declare const zStakingTreasuryApiError500Error: z.ZodObject<{
|
|
|
3964
4046
|
internal: "internal";
|
|
3965
4047
|
}>;
|
|
3966
4048
|
}, z.core.$strip>;
|
|
4049
|
+
declare const zTokenApiError500Error: z.ZodObject<{
|
|
4050
|
+
code: z.ZodEnum<{
|
|
4051
|
+
internal: "internal";
|
|
4052
|
+
}>;
|
|
4053
|
+
}, z.core.$strip>;
|
|
3967
4054
|
/**
|
|
3968
4055
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
3969
4056
|
*/
|
|
@@ -4019,7 +4106,7 @@ declare const zEpochIterationParticipantDto: z.ZodObject<{
|
|
|
4019
4106
|
}, z.core.$strip>;
|
|
4020
4107
|
/**
|
|
4021
4108
|
* A winner of an Epoch Vault iteration's draw, with its winnings valued at
|
|
4022
|
-
* the iteration's draw-time BTC
|
|
4109
|
+
* the iteration's draw-time BTC and token prices.
|
|
4023
4110
|
*/
|
|
4024
4111
|
declare const zEpochIterationWinnerDto: z.ZodObject<{
|
|
4025
4112
|
authority: z.ZodString;
|
|
@@ -4034,7 +4121,7 @@ declare const zEpochIterationWinnerDto: z.ZodObject<{
|
|
|
4034
4121
|
}, z.core.$strip>;
|
|
4035
4122
|
/**
|
|
4036
4123
|
* One Epoch Vault iteration in full: the pot, its dollar valuation at the
|
|
4037
|
-
* draw-time BTC
|
|
4124
|
+
* draw-time BTC and token prices, and the resolved winners.
|
|
4038
4125
|
*/
|
|
4039
4126
|
declare const zEpochIterationDetailsDto: z.ZodObject<{
|
|
4040
4127
|
address: z.ZodString;
|
|
@@ -4043,8 +4130,10 @@ declare const zEpochIterationDetailsDto: z.ZodObject<{
|
|
|
4043
4130
|
id: z.ZodInt;
|
|
4044
4131
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4045
4132
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4133
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
4046
4134
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4047
4135
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4136
|
+
tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4048
4137
|
totalParticipants: z.ZodInt;
|
|
4049
4138
|
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
4050
4139
|
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -4258,6 +4347,7 @@ declare const zMinerDeploymentDto: z.ZodObject<{
|
|
|
4258
4347
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4259
4348
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4260
4349
|
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4350
|
+
tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4261
4351
|
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4262
4352
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
4263
4353
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4611,6 +4701,7 @@ declare const zRoundDeploymentDto: z.ZodObject<{
|
|
|
4611
4701
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4612
4702
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4613
4703
|
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4704
|
+
tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4614
4705
|
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4615
4706
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
4616
4707
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4640,6 +4731,7 @@ declare const zRoundDetailsDto: z.ZodObject<{
|
|
|
4640
4731
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4641
4732
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4642
4733
|
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
4734
|
+
tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4643
4735
|
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
4644
4736
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
4645
4737
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
@@ -4754,7 +4846,8 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
4754
4846
|
btcShares: z.ZodCoercedBigInt<unknown>;
|
|
4755
4847
|
}, z.core.$strip>;
|
|
4756
4848
|
/**
|
|
4757
|
-
* A wallet's staking position, projected to the moment of the request.
|
|
4849
|
+
* A wallet's staking position, projected to the moment of the request. A
|
|
4850
|
+
* wallet that never staked gets the zero position at its would-be address.
|
|
4758
4851
|
*/
|
|
4759
4852
|
declare const zStakingPositionDto: z.ZodObject<{
|
|
4760
4853
|
address: z.ZodString;
|
|
@@ -4767,13 +4860,16 @@ declare const zStakingPositionDto: z.ZodObject<{
|
|
|
4767
4860
|
*/
|
|
4768
4861
|
declare const zStakingTreasuryDto: z.ZodObject<{
|
|
4769
4862
|
address: z.ZodString;
|
|
4863
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4770
4864
|
rewardTokenMint: z.ZodString;
|
|
4771
4865
|
rewardVault: z.ZodString;
|
|
4772
4866
|
stakedTokenMint: z.ZodString;
|
|
4773
4867
|
stakedVault: z.ZodString;
|
|
4774
4868
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
4775
4869
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
4870
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4776
4871
|
totalStakers: z.ZodInt;
|
|
4872
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
4777
4873
|
}, z.core.$strip>;
|
|
4778
4874
|
/**
|
|
4779
4875
|
* Strike jackpot balances tracked on the board.
|
|
@@ -4831,6 +4927,15 @@ declare const zRoundDto: z.ZodObject<{
|
|
|
4831
4927
|
winnersCount: z.ZodInt;
|
|
4832
4928
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4833
4929
|
}, z.core.$strip>;
|
|
4930
|
+
/**
|
|
4931
|
+
* Protocol token figures that live only in the database. Amounts are
|
|
4932
|
+
* mint base units (9 decimals).
|
|
4933
|
+
*/
|
|
4934
|
+
declare const zTokenStatsDto: z.ZodObject<{
|
|
4935
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
4936
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
4937
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
4938
|
+
}, z.core.$strip>;
|
|
4834
4939
|
/**
|
|
4835
4940
|
* Token vault balances: the SatRush tokens backing the shares issued against
|
|
4836
4941
|
* them. Same share math as the sats vault.
|
|
@@ -6026,11 +6131,6 @@ declare const zUserStakingApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
|
|
|
6026
6131
|
invalid_body: "invalid_body";
|
|
6027
6132
|
}>;
|
|
6028
6133
|
}, z.core.$strip>>]>;
|
|
6029
|
-
declare const zUserStakingApiError404Error: z.ZodObject<{
|
|
6030
|
-
code: z.ZodEnum<{
|
|
6031
|
-
not_found: "not_found";
|
|
6032
|
-
}>;
|
|
6033
|
-
}, z.core.$strip>;
|
|
6034
6134
|
declare const zUserStakingApiError500Error: z.ZodObject<{
|
|
6035
6135
|
code: z.ZodEnum<{
|
|
6036
6136
|
internal: "internal";
|
|
@@ -6409,8 +6509,10 @@ declare const zGetEpochIterationResponse: z.ZodObject<{
|
|
|
6409
6509
|
id: z.ZodInt;
|
|
6410
6510
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
6411
6511
|
poolCombinedUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6512
|
+
poolTokenAmount: z.ZodCoercedBigInt<unknown>;
|
|
6412
6513
|
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
6413
6514
|
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
6515
|
+
tokenPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6414
6516
|
totalParticipants: z.ZodInt;
|
|
6415
6517
|
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
6416
6518
|
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
@@ -6742,6 +6844,7 @@ declare const zGetRoundResponse: z.ZodObject<{
|
|
|
6742
6844
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
6743
6845
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
6744
6846
|
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
6847
|
+
tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6745
6848
|
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
6746
6849
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
6747
6850
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
@@ -6798,13 +6901,16 @@ declare const zGetStakingTreasuryData: z.ZodObject<{
|
|
|
6798
6901
|
declare const zGetStakingTreasuryResponse: z.ZodObject<{
|
|
6799
6902
|
data: z.ZodObject<{
|
|
6800
6903
|
address: z.ZodString;
|
|
6904
|
+
apr: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6801
6905
|
rewardTokenMint: z.ZodString;
|
|
6802
6906
|
rewardVault: z.ZodString;
|
|
6803
6907
|
stakedTokenMint: z.ZodString;
|
|
6804
6908
|
stakedVault: z.ZodString;
|
|
6805
6909
|
totalRewardDeposited: z.ZodCoercedBigInt<unknown>;
|
|
6806
6910
|
totalStaked: z.ZodCoercedBigInt<unknown>;
|
|
6911
|
+
totalStakedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
6807
6912
|
totalStakers: z.ZodInt;
|
|
6913
|
+
unstreamedReward: z.ZodCoercedBigInt<unknown>;
|
|
6808
6914
|
}, z.core.$strip>;
|
|
6809
6915
|
}, z.core.$strip>;
|
|
6810
6916
|
type GetStakingTreasuryResponseZodType = z.infer<typeof zGetStakingTreasuryResponse>;
|
|
@@ -7078,6 +7184,19 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
7078
7184
|
}>;
|
|
7079
7185
|
}, z.core.$strip>>>;
|
|
7080
7186
|
type SseResponseZodType = z.infer<typeof zSseResponse2>;
|
|
7187
|
+
declare const zGetTokenStatsData: z.ZodObject<{
|
|
7188
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
7189
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
7190
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
7191
|
+
}, z.core.$strip>;
|
|
7192
|
+
declare const zGetTokenStatsResponse: z.ZodObject<{
|
|
7193
|
+
data: z.ZodObject<{
|
|
7194
|
+
buybackBurned: z.ZodCoercedBigInt<unknown>;
|
|
7195
|
+
lpBurned: z.ZodCoercedBigInt<unknown>;
|
|
7196
|
+
totalBurned: z.ZodCoercedBigInt<unknown>;
|
|
7197
|
+
}, z.core.$strip>;
|
|
7198
|
+
}, z.core.$strip>;
|
|
7199
|
+
type GetTokenStatsResponseZodType = z.infer<typeof zGetTokenStatsResponse>;
|
|
7081
7200
|
declare const zGetUserProfileData: z.ZodObject<{
|
|
7082
7201
|
body: z.ZodOptional<z.ZodNever>;
|
|
7083
7202
|
path: z.ZodObject<{
|
|
@@ -7240,6 +7359,7 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
|
7240
7359
|
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7241
7360
|
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
7242
7361
|
tokenEarned: z.ZodCoercedBigInt<unknown>;
|
|
7362
|
+
tokenEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
7243
7363
|
tokenSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
7244
7364
|
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
7245
7365
|
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
@@ -7401,4 +7521,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
7401
7521
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
7402
7522
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
7403
7523
|
|
|
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 };
|
|
7524
|
+
export { type AffiliateStatsDto, AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationApiError404Error, type EpochIterationApiError500Error, type EpochIterationDetailsDto, type EpochIterationHistoryDto, type EpochIterationParticipantDto, type EpochIterationParticipantsApiError400Error, type EpochIterationParticipantsApiError400InvalidRange, type EpochIterationParticipantsApiError404Error, type EpochIterationParticipantsApiError500Error, type EpochIterationWinnerDto, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, type EpochWinnerHistoryDto, type EpochWinnersApiError400Error, type EpochWinnersApiError400InvalidBefore, type EpochWinnersApiError400InvalidRange, type EpochWinnersApiError500Error, type FieldError, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponseZodType, type GetBoardResponses, type GetConfigData, type GetConfigError, type GetConfigErrors, type GetConfigResponse, type GetConfigResponseZodType, type GetConfigResponses, type GetEpochHistoryData, type GetEpochHistoryError, type GetEpochHistoryErrors, type GetEpochHistoryResponse, type GetEpochHistoryResponseZodType, type GetEpochHistoryResponses, type GetEpochIterationData, type GetEpochIterationError, type GetEpochIterationErrors, type GetEpochIterationParticipantsData, type GetEpochIterationParticipantsError, type GetEpochIterationParticipantsErrors, type GetEpochIterationParticipantsResponse, type GetEpochIterationParticipantsResponseZodType, type GetEpochIterationParticipantsResponses, type GetEpochIterationResponse, type GetEpochIterationResponseZodType, type GetEpochIterationResponses, type GetEpochWinnersData, type GetEpochWinnersError, type GetEpochWinnersErrors, type GetEpochWinnersResponse, type GetEpochWinnersResponseZodType, type GetEpochWinnersResponses, type GetHashrateEarnedLeaderboardData, type GetHashrateEarnedLeaderboardError, type GetHashrateEarnedLeaderboardErrors, type GetHashrateEarnedLeaderboardResponse, type GetHashrateEarnedLeaderboardResponseZodType, type GetHashrateEarnedLeaderboardResponses, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardErrors, type GetLeaderboardResponse, type GetLeaderboardResponseZodType, type GetLeaderboardResponses, type GetOneBtcHistoryData, type GetOneBtcHistoryError, type GetOneBtcHistoryErrors, type GetOneBtcHistoryResponse, type GetOneBtcHistoryResponseZodType, type GetOneBtcHistoryResponses, type GetOneBtcIterationData, type GetOneBtcIterationError, type GetOneBtcIterationErrors, type GetOneBtcIterationParticipantsData, type GetOneBtcIterationParticipantsError, type GetOneBtcIterationParticipantsErrors, type GetOneBtcIterationParticipantsResponse, type GetOneBtcIterationParticipantsResponseZodType, type GetOneBtcIterationParticipantsResponses, type GetOneBtcIterationResponse, type GetOneBtcIterationResponseZodType, type GetOneBtcIterationResponses, type GetRoundData, type GetRoundError, type GetRoundErrors, type GetRoundResponse, type GetRoundResponseZodType, type GetRoundResponses, type GetRoundsData, type GetRoundsError, type GetRoundsErrors, type GetRoundsPlayedLeaderboardData, type GetRoundsPlayedLeaderboardError, type GetRoundsPlayedLeaderboardErrors, type GetRoundsPlayedLeaderboardResponse, type GetRoundsPlayedLeaderboardResponseZodType, type GetRoundsPlayedLeaderboardResponses, type GetRoundsResponse, type GetRoundsResponseZodType, type GetRoundsResponses, type GetSatsEarnedLeaderboardData, type GetSatsEarnedLeaderboardError, type GetSatsEarnedLeaderboardErrors, type GetSatsEarnedLeaderboardResponse, type GetSatsEarnedLeaderboardResponseZodType, type GetSatsEarnedLeaderboardResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetTokenStatsData, type GetTokenStatsError, type GetTokenStatsErrors, type GetTokenStatsResponse, type GetTokenStatsResponseZodType, type GetTokenStatsResponses, type GetUserAffiliateData, type GetUserAffiliateError, type GetUserAffiliateErrors, type GetUserAffiliateResponse, type GetUserAffiliateResponseZodType, type GetUserAffiliateResponses, type GetUserClaimsData, type GetUserClaimsError, type GetUserClaimsErrors, type GetUserClaimsResponse, type GetUserClaimsResponseZodType, type GetUserClaimsResponses, type GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserEpochEntriesData, type GetUserEpochEntriesError, type GetUserEpochEntriesErrors, type GetUserEpochEntriesResponse, type GetUserEpochEntriesResponseZodType, type GetUserEpochEntriesResponses, type GetUserHashrateActionsData, type GetUserHashrateActionsError, type GetUserHashrateActionsErrors, type GetUserHashrateActionsResponse, type GetUserHashrateActionsResponseZodType, type GetUserHashrateActionsResponses, type GetUserOneBtcEntriesData, type GetUserOneBtcEntriesError, type GetUserOneBtcEntriesErrors, type GetUserOneBtcEntriesResponse, type GetUserOneBtcEntriesResponseZodType, type GetUserOneBtcEntriesResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type GetUserReferralsData, type GetUserReferralsError, type GetUserReferralsErrors, type GetUserReferralsResponse, type GetUserReferralsResponseZodType, type GetUserReferralsResponses, type GetUserStakingData, type GetUserStakingError, type GetUserStakingErrors, type GetUserStakingResponse, type GetUserStakingResponseZodType, type GetUserStakingResponses, type GetWalletLeaderboardData, type GetWalletLeaderboardError, type GetWalletLeaderboardErrors, type GetWalletLeaderboardResponse, type GetWalletLeaderboardResponseZodType, type GetWalletLeaderboardResponses, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, type LeaderboardPageDto, type LeaderboardPageEntryDto, type LeaderboardRanksDto, LeaderboardSortDto, type MinerClaimDto, type MinerDeploymentDto, type MinerDto, type MinerEpochEntryDto, type MinerHashrateActionDto, type MinerOneBtcEntryDto, NotificationEntity, type OneBtcHistoryApiError400Error, type OneBtcHistoryApiError400InvalidRange, type OneBtcHistoryApiError500Error, type OneBtcIterationApiError404Error, type OneBtcIterationApiError500Error, type OneBtcIterationDetailsDto, type OneBtcIterationHistoryDto, type OneBtcIterationParticipantDto, type OneBtcIterationParticipantsApiError400Error, type OneBtcIterationParticipantsApiError400InvalidRange, type OneBtcIterationParticipantsApiError404Error, type OneBtcIterationParticipantsApiError500Error, type OneBtcIterationWinnerDto, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type ReferralDto, ReferralSortDto, type ReferralsPageDto, type RoundDeploymentDto, type RoundDetailsApiError404Error, type RoundDetailsApiError500Error, type RoundDetailsDto, type RoundDto, type RoundHistoryDto, RoundHistoryStateDto, RoundStateDto, type RoundsApiError400Error, type RoundsApiError400InvalidBefore, type RoundsApiError400InvalidIsSatStrike, type RoundsApiError400InvalidRange, type RoundsApiError500Error, SatrushBackendSdk, SatrushBackendSdkError, type SatrushConfigDto, type SatsVaultDto, type ServerSentEventsOptions, type ServerSentEventsResult, type SnapshotDto, SortOrderDto, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StakingPositionDto, type StakingTreasuryApiError404Error, type StakingTreasuryApiError500Error, type StakingTreasuryDto, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type TokenApiError500Error, type TokenStatsDto, type TokenVaultDto, type U128Dto, type U64Dto, type UserAffiliateApiError400Error, type UserAffiliateApiError400InvalidAddress, type UserAffiliateApiError404Error, type UserAffiliateApiError500Error, type UserClaimsApiError400Error, type UserClaimsApiError400InvalidAddress, type UserClaimsApiError400InvalidBefore, type UserClaimsApiError400InvalidRange, type UserClaimsApiError500Error, type UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError400InvalidBefore, type UserDeploymentsApiError400InvalidRange, type UserDeploymentsApiError500Error, type UserHashrateApiError400Error, type UserHashrateApiError400InvalidAddress, type UserHashrateApiError400InvalidBefore, type UserHashrateApiError400InvalidRange, type UserHashrateApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type UserReferralsApiError400Error, type UserReferralsApiError400InvalidAddress, type UserReferralsApiError500Error, type UserStakingApiError400Error, type UserStakingApiError400InvalidAddress, type UserStakingApiError500Error, type UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type WalletLeaderboardApiError400Error, type WalletLeaderboardApiError400InvalidAddress, type WalletLeaderboardApiError404Error, type WalletLeaderboardDto, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAffiliateStatsDto, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zClaimTypeDto, zEpochHistoryApiError400Error, zEpochHistoryApiError400InvalidRange, zEpochHistoryApiError500Error, zEpochIterationApiError404Error, zEpochIterationApiError500Error, zEpochIterationDetailsDto, zEpochIterationHistoryDto, zEpochIterationParticipantDto, zEpochIterationParticipantsApiError400Error, zEpochIterationParticipantsApiError400InvalidRange, zEpochIterationParticipantsApiError404Error, zEpochIterationParticipantsApiError500Error, zEpochIterationWinnerDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochIterationData, zGetEpochIterationParticipantsData, zGetEpochIterationParticipantsResponse, zGetEpochIterationResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetLeaderboardData, zGetLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundData, zGetRoundResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetTokenStatsData, zGetTokenStatsResponse, zGetUserAffiliateData, zGetUserAffiliateResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zGetUserReferralsData, zGetUserReferralsResponse, zGetUserStakingData, zGetUserStakingResponse, zGetWalletLeaderboardData, zGetWalletLeaderboardResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, zLeaderboardPageDto, zLeaderboardPageEntryDto, zLeaderboardRanksDto, zLeaderboardSortDto, zMinerClaimDto, zMinerDeploymentDto, zMinerDto, zMinerEpochEntryDto, zMinerHashrateActionDto, zMinerOneBtcEntryDto, zNotificationEntity, zOneBtcHistoryApiError400Error, zOneBtcHistoryApiError400InvalidRange, zOneBtcHistoryApiError500Error, zOneBtcIterationApiError404Error, zOneBtcIterationApiError500Error, zOneBtcIterationDetailsDto, zOneBtcIterationHistoryDto, zOneBtcIterationParticipantDto, zOneBtcIterationParticipantsApiError400Error, zOneBtcIterationParticipantsApiError400InvalidRange, zOneBtcIterationParticipantsApiError404Error, zOneBtcIterationParticipantsApiError500Error, zOneBtcIterationWinnerDto, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zReferralDto, zReferralSortDto, zReferralsPageDto, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSortOrderDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStakingPositionDto, zStakingTreasuryApiError404Error, zStakingTreasuryApiError500Error, zStakingTreasuryDto, zStrikeJackpotDto, zTileStakeDto, zTokenApiError500Error, zTokenStatsDto, zTokenVaultDto, zU128Dto, zU64Dto, zUserAffiliateApiError400Error, zUserAffiliateApiError400InvalidAddress, zUserAffiliateApiError404Error, zUserAffiliateApiError500Error, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserReferralsApiError400Error, zUserReferralsApiError400InvalidAddress, zUserReferralsApiError500Error, zUserStakingApiError400Error, zUserStakingApiError400InvalidAddress, zUserStakingApiError500Error, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|