@satrush/api 0.1.14 → 0.1.16
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 +429 -2
- package/dist/index.d.cts +691 -4
- package/dist/index.d.ts +691 -4
- package/dist/index.js +409 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -836,6 +836,86 @@ type LeaderboardEntryDto = {
|
|
|
836
836
|
*/
|
|
837
837
|
totalUsdDeployed: U64Dto;
|
|
838
838
|
};
|
|
839
|
+
/**
|
|
840
|
+
* One page of the general leaderboard.
|
|
841
|
+
*/
|
|
842
|
+
type LeaderboardPageDto = {
|
|
843
|
+
entries: Array<LeaderboardPageEntryDto>;
|
|
844
|
+
/**
|
|
845
|
+
* Ranked wallets across all pages.
|
|
846
|
+
*/
|
|
847
|
+
total: number;
|
|
848
|
+
/**
|
|
849
|
+
* When the snapshot backing this page was computed.
|
|
850
|
+
*/
|
|
851
|
+
updatedAt: Date;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* A miner's position on the general leaderboard under one sort key.
|
|
855
|
+
*/
|
|
856
|
+
type LeaderboardPageEntryDto = {
|
|
857
|
+
authority: PubkeyDto;
|
|
858
|
+
/**
|
|
859
|
+
* Distinct UTC days with at least one deployment.
|
|
860
|
+
*/
|
|
861
|
+
daysActive: number;
|
|
862
|
+
/**
|
|
863
|
+
* Longest streak of consecutive rounds ever played.
|
|
864
|
+
*/
|
|
865
|
+
maxStreak: number;
|
|
866
|
+
/**
|
|
867
|
+
* 1-based position under the requested sort key.
|
|
868
|
+
*/
|
|
869
|
+
rank: number;
|
|
870
|
+
/**
|
|
871
|
+
* Composite activity score:
|
|
872
|
+
* `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
|
|
873
|
+
* whole dollars.
|
|
874
|
+
*/
|
|
875
|
+
score: number;
|
|
876
|
+
/**
|
|
877
|
+
* Lifetime hashrate earned.
|
|
878
|
+
*/
|
|
879
|
+
totalHashrateEarned: U64Dto;
|
|
880
|
+
/**
|
|
881
|
+
* Lifetime count of rounds played.
|
|
882
|
+
*/
|
|
883
|
+
totalRoundsPlayed: number;
|
|
884
|
+
/**
|
|
885
|
+
* Lifetime sats earned.
|
|
886
|
+
*/
|
|
887
|
+
totalSatsEarned: U64Dto;
|
|
888
|
+
/**
|
|
889
|
+
* Lifetime gross USD deployed.
|
|
890
|
+
*/
|
|
891
|
+
totalUsdDeployed: U64Dto;
|
|
892
|
+
};
|
|
893
|
+
/**
|
|
894
|
+
* A wallet's 1-based rank under every leaderboard sort key.
|
|
895
|
+
*/
|
|
896
|
+
type LeaderboardRanksDto = {
|
|
897
|
+
deployed: number;
|
|
898
|
+
hashrate: number;
|
|
899
|
+
rounds: number;
|
|
900
|
+
satsEarned: number;
|
|
901
|
+
score: number;
|
|
902
|
+
streak: number;
|
|
903
|
+
};
|
|
904
|
+
/**
|
|
905
|
+
* Sort key of a general-leaderboard page; always descending.
|
|
906
|
+
*/
|
|
907
|
+
declare const LeaderboardSortDto: {
|
|
908
|
+
readonly SCORE: "score";
|
|
909
|
+
readonly DEPLOYED: "deployed";
|
|
910
|
+
readonly ROUNDS: "rounds";
|
|
911
|
+
readonly SATS_EARNED: "sats_earned";
|
|
912
|
+
readonly HASHRATE: "hashrate";
|
|
913
|
+
readonly STREAK: "streak";
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Sort key of a general-leaderboard page; always descending.
|
|
917
|
+
*/
|
|
918
|
+
type LeaderboardSortDto = typeof LeaderboardSortDto[keyof typeof LeaderboardSortDto];
|
|
839
919
|
/**
|
|
840
920
|
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
841
921
|
* `claim_sats` instruction.
|
|
@@ -1451,6 +1531,145 @@ type PublicDeploymentDto = {
|
|
|
1451
1531
|
*/
|
|
1452
1532
|
selectionMask: number;
|
|
1453
1533
|
};
|
|
1534
|
+
/**
|
|
1535
|
+
* One deployment onto a round: the deploy itself plus its settlement
|
|
1536
|
+
* outcome once the round is settled.
|
|
1537
|
+
*/
|
|
1538
|
+
type RoundDeploymentDto = {
|
|
1539
|
+
authority: PubkeyDto;
|
|
1540
|
+
btcEarned?: null | U64Dto;
|
|
1541
|
+
/**
|
|
1542
|
+
* `btc_earned` in dollars at the settle-time BTC price; `null` until
|
|
1543
|
+
* settled or when no price was indexed near that moment.
|
|
1544
|
+
*/
|
|
1545
|
+
btcEarnedUsd?: number | null;
|
|
1546
|
+
deployedAt: Date;
|
|
1547
|
+
/**
|
|
1548
|
+
* Gross USD deployed onto the round.
|
|
1549
|
+
*/
|
|
1550
|
+
deployedUsdAmount: U64Dto;
|
|
1551
|
+
/**
|
|
1552
|
+
* The on-chain PublicDeployment account address.
|
|
1553
|
+
*/
|
|
1554
|
+
deployment: PubkeyDto;
|
|
1555
|
+
/**
|
|
1556
|
+
* Hashrate points earned on settlement.
|
|
1557
|
+
*/
|
|
1558
|
+
hashrateEarned: U64Dto;
|
|
1559
|
+
/**
|
|
1560
|
+
* Whether the platform crank deployed on the miner's behalf.
|
|
1561
|
+
*/
|
|
1562
|
+
isAutomation: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* Settlement outcome; `null` until the deployment is settled.
|
|
1565
|
+
*/
|
|
1566
|
+
isWon?: boolean | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Sats Vault shares earned on settlement.
|
|
1569
|
+
*/
|
|
1570
|
+
satsSharesEarned: U64Dto;
|
|
1571
|
+
/**
|
|
1572
|
+
* 21-bit mask of the selected tiles; unknown until revealed.
|
|
1573
|
+
*/
|
|
1574
|
+
selectedTiles?: number | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* `null` until the deployment is settled.
|
|
1577
|
+
*/
|
|
1578
|
+
settledAt?: Date | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Total USD stake across the deployment's selected tiles.
|
|
1581
|
+
*/
|
|
1582
|
+
totalUsdStakeAmount: U64Dto;
|
|
1583
|
+
/**
|
|
1584
|
+
* USD winnings earned on settlement.
|
|
1585
|
+
*/
|
|
1586
|
+
usdEarned: U64Dto;
|
|
1587
|
+
winningUsdStakeAmount?: null | U64Dto;
|
|
1588
|
+
};
|
|
1589
|
+
type RoundDetailsApiError404Error = {
|
|
1590
|
+
code: 'not_found';
|
|
1591
|
+
};
|
|
1592
|
+
type RoundDetailsApiError500Error = {
|
|
1593
|
+
code: 'internal';
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* One indexed round in full: everything the history row carries plus the
|
|
1597
|
+
* fee legs, and every deployment made onto the round.
|
|
1598
|
+
*/
|
|
1599
|
+
type RoundDetailsDto = {
|
|
1600
|
+
/**
|
|
1601
|
+
* The on-chain Round account address.
|
|
1602
|
+
*/
|
|
1603
|
+
address: PubkeyDto;
|
|
1604
|
+
/**
|
|
1605
|
+
* When the round row was created by the indexer.
|
|
1606
|
+
*/
|
|
1607
|
+
deployedAt: Date;
|
|
1608
|
+
/**
|
|
1609
|
+
* Every deployment made onto the round, largest deploy first.
|
|
1610
|
+
*/
|
|
1611
|
+
deployments: Array<RoundDeploymentDto>;
|
|
1612
|
+
epochFeeUsd?: null | U64Dto;
|
|
1613
|
+
/**
|
|
1614
|
+
* Round id.
|
|
1615
|
+
*/
|
|
1616
|
+
id: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Whether the round ran under the post-strike hashrate boost (stamped
|
|
1619
|
+
* at creation); unset for rounds created before the strike rollover.
|
|
1620
|
+
*/
|
|
1621
|
+
isHashrateBoosted?: boolean | null;
|
|
1622
|
+
/**
|
|
1623
|
+
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1624
|
+
*/
|
|
1625
|
+
isSatStrike?: boolean | null;
|
|
1626
|
+
minersCount: number;
|
|
1627
|
+
oneBtcFeeUsd?: null | U64Dto;
|
|
1628
|
+
protocolFeeUsd?: null | U64Dto;
|
|
1629
|
+
/**
|
|
1630
|
+
* When the round's pots were settled.
|
|
1631
|
+
*/
|
|
1632
|
+
settledAt?: Date | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* Miners whose deployments are settled so far.
|
|
1635
|
+
*/
|
|
1636
|
+
settledMiners: number;
|
|
1637
|
+
/**
|
|
1638
|
+
* When the first deployment activated the round.
|
|
1639
|
+
*/
|
|
1640
|
+
startedAt?: Date | null;
|
|
1641
|
+
state: RoundHistoryStateDto;
|
|
1642
|
+
strikeBonusBtc?: null | U64Dto;
|
|
1643
|
+
/**
|
|
1644
|
+
* Both bonus legs in dollars at the reveal-time BTC price; unset until
|
|
1645
|
+
* revealed or when no price was indexed near that moment.
|
|
1646
|
+
*/
|
|
1647
|
+
strikeBonusCombinedUsd?: number | null;
|
|
1648
|
+
strikeBonusUsd?: null | U64Dto;
|
|
1649
|
+
strikeEpochBtc?: null | U64Dto;
|
|
1650
|
+
strikeEpochUsd?: null | U64Dto;
|
|
1651
|
+
strikeFeeUsd?: null | U64Dto;
|
|
1652
|
+
strikeReserveBtc?: null | U64Dto;
|
|
1653
|
+
strikeReserveUsd?: null | U64Dto;
|
|
1654
|
+
strikeSeedFromReserveBtc?: null | U64Dto;
|
|
1655
|
+
strikeSeedFromReserveUsd?: null | U64Dto;
|
|
1656
|
+
totalDeployedUsd: U64Dto;
|
|
1657
|
+
totalPotBtc?: null | U64Dto;
|
|
1658
|
+
/**
|
|
1659
|
+
* Both pot legs in dollars at the settle-time BTC price; unset until
|
|
1660
|
+
* settled or when no price was indexed near that moment.
|
|
1661
|
+
*/
|
|
1662
|
+
totalPotCombinedUsd?: number | null;
|
|
1663
|
+
totalPotUsd?: null | U64Dto;
|
|
1664
|
+
/**
|
|
1665
|
+
* Miners on the winning tile; unset until revealed.
|
|
1666
|
+
*/
|
|
1667
|
+
winnersCount?: number | null;
|
|
1668
|
+
/**
|
|
1669
|
+
* Winning tile of the reveal; unset until revealed.
|
|
1670
|
+
*/
|
|
1671
|
+
winningTile?: number | null;
|
|
1672
|
+
};
|
|
1454
1673
|
/**
|
|
1455
1674
|
* Core state of a mining round.
|
|
1456
1675
|
*/
|
|
@@ -1831,6 +2050,58 @@ type ValidationErrorCodeValidationDetailsErrorBody = {
|
|
|
1831
2050
|
errors: Array<FieldError>;
|
|
1832
2051
|
};
|
|
1833
2052
|
};
|
|
2053
|
+
type WalletLeaderboardApiError400Error = ({
|
|
2054
|
+
code: 'invalid_address';
|
|
2055
|
+
} & WalletLeaderboardApiError400InvalidAddress) | ({
|
|
2056
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
2057
|
+
} & BadRequestErrorCodeErrorBody);
|
|
2058
|
+
type WalletLeaderboardApiError400InvalidAddress = {
|
|
2059
|
+
code: 'invalid_address';
|
|
2060
|
+
};
|
|
2061
|
+
type WalletLeaderboardApiError404Error = {
|
|
2062
|
+
code: 'not_found';
|
|
2063
|
+
};
|
|
2064
|
+
/**
|
|
2065
|
+
* A single wallet's general-leaderboard stats and ranks.
|
|
2066
|
+
*/
|
|
2067
|
+
type WalletLeaderboardDto = {
|
|
2068
|
+
authority: PubkeyDto;
|
|
2069
|
+
/**
|
|
2070
|
+
* Distinct UTC days with at least one deployment.
|
|
2071
|
+
*/
|
|
2072
|
+
daysActive: number;
|
|
2073
|
+
/**
|
|
2074
|
+
* Longest streak of consecutive rounds ever played.
|
|
2075
|
+
*/
|
|
2076
|
+
maxStreak: number;
|
|
2077
|
+
ranks: LeaderboardRanksDto;
|
|
2078
|
+
/**
|
|
2079
|
+
* Composite activity score:
|
|
2080
|
+
* `(38·√usd_deployed + rounds) × (1 + days_active ÷ 24)`, with USD in
|
|
2081
|
+
* whole dollars.
|
|
2082
|
+
*/
|
|
2083
|
+
score: number;
|
|
2084
|
+
/**
|
|
2085
|
+
* Lifetime hashrate earned.
|
|
2086
|
+
*/
|
|
2087
|
+
totalHashrateEarned: U64Dto;
|
|
2088
|
+
/**
|
|
2089
|
+
* Lifetime count of rounds played.
|
|
2090
|
+
*/
|
|
2091
|
+
totalRoundsPlayed: number;
|
|
2092
|
+
/**
|
|
2093
|
+
* Lifetime sats earned.
|
|
2094
|
+
*/
|
|
2095
|
+
totalSatsEarned: U64Dto;
|
|
2096
|
+
/**
|
|
2097
|
+
* Lifetime gross USD deployed.
|
|
2098
|
+
*/
|
|
2099
|
+
totalUsdDeployed: U64Dto;
|
|
2100
|
+
/**
|
|
2101
|
+
* When the snapshot backing this response was computed.
|
|
2102
|
+
*/
|
|
2103
|
+
updatedAt: Date;
|
|
2104
|
+
};
|
|
1834
2105
|
type GetBoardData = {
|
|
1835
2106
|
body?: never;
|
|
1836
2107
|
path?: never;
|
|
@@ -1992,6 +2263,37 @@ type GetEpochWinnersResponses = {
|
|
|
1992
2263
|
};
|
|
1993
2264
|
};
|
|
1994
2265
|
type GetEpochWinnersResponse = GetEpochWinnersResponses[keyof GetEpochWinnersResponses];
|
|
2266
|
+
type GetLeaderboardData = {
|
|
2267
|
+
body?: never;
|
|
2268
|
+
path?: never;
|
|
2269
|
+
query?: {
|
|
2270
|
+
/**
|
|
2271
|
+
* Sort key; defaults to `score`. Always descending.
|
|
2272
|
+
*/
|
|
2273
|
+
sort?: LeaderboardSortDto;
|
|
2274
|
+
/**
|
|
2275
|
+
* Ranked wallets to skip; defaults to 0.
|
|
2276
|
+
*/
|
|
2277
|
+
offset?: number;
|
|
2278
|
+
/**
|
|
2279
|
+
* Page size, 1..=100; defaults to 50.
|
|
2280
|
+
*/
|
|
2281
|
+
limit?: number;
|
|
2282
|
+
};
|
|
2283
|
+
url: '/v1/leaderboard';
|
|
2284
|
+
};
|
|
2285
|
+
type GetLeaderboardErrors = {
|
|
2286
|
+
400: BadRequestErrorCodeErrorBody;
|
|
2287
|
+
422: ValidationErrorCodeErrorBody;
|
|
2288
|
+
500: InternalErrorCodeErrorBody;
|
|
2289
|
+
};
|
|
2290
|
+
type GetLeaderboardError = GetLeaderboardErrors[keyof GetLeaderboardErrors];
|
|
2291
|
+
type GetLeaderboardResponses = {
|
|
2292
|
+
200: {
|
|
2293
|
+
data: LeaderboardPageDto;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
type GetLeaderboardResponse = GetLeaderboardResponses[keyof GetLeaderboardResponses];
|
|
1995
2297
|
type GetHashrateEarnedLeaderboardData = {
|
|
1996
2298
|
body?: never;
|
|
1997
2299
|
path?: never;
|
|
@@ -2040,6 +2342,30 @@ type GetSatsEarnedLeaderboardResponses = {
|
|
|
2040
2342
|
};
|
|
2041
2343
|
};
|
|
2042
2344
|
type GetSatsEarnedLeaderboardResponse = GetSatsEarnedLeaderboardResponses[keyof GetSatsEarnedLeaderboardResponses];
|
|
2345
|
+
type GetWalletLeaderboardData = {
|
|
2346
|
+
body?: never;
|
|
2347
|
+
path: {
|
|
2348
|
+
/**
|
|
2349
|
+
* Wallet address (base58)
|
|
2350
|
+
*/
|
|
2351
|
+
address: string;
|
|
2352
|
+
};
|
|
2353
|
+
query?: never;
|
|
2354
|
+
url: '/v1/leaderboard/{address}';
|
|
2355
|
+
};
|
|
2356
|
+
type GetWalletLeaderboardErrors = {
|
|
2357
|
+
400: WalletLeaderboardApiError400Error;
|
|
2358
|
+
404: WalletLeaderboardApiError404Error;
|
|
2359
|
+
422: ValidationErrorCodeErrorBody;
|
|
2360
|
+
500: InternalErrorCodeErrorBody;
|
|
2361
|
+
};
|
|
2362
|
+
type GetWalletLeaderboardError = GetWalletLeaderboardErrors[keyof GetWalletLeaderboardErrors];
|
|
2363
|
+
type GetWalletLeaderboardResponses = {
|
|
2364
|
+
200: {
|
|
2365
|
+
data: WalletLeaderboardDto;
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
type GetWalletLeaderboardResponse = GetWalletLeaderboardResponses[keyof GetWalletLeaderboardResponses];
|
|
2043
2369
|
type GetOneBtcHistoryData = {
|
|
2044
2370
|
body?: never;
|
|
2045
2371
|
path?: never;
|
|
@@ -2174,6 +2500,30 @@ type GetRoundsResponses = {
|
|
|
2174
2500
|
};
|
|
2175
2501
|
};
|
|
2176
2502
|
type GetRoundsResponse = GetRoundsResponses[keyof GetRoundsResponses];
|
|
2503
|
+
type GetRoundData = {
|
|
2504
|
+
body?: never;
|
|
2505
|
+
path: {
|
|
2506
|
+
/**
|
|
2507
|
+
* Round id
|
|
2508
|
+
*/
|
|
2509
|
+
id: number;
|
|
2510
|
+
};
|
|
2511
|
+
query?: never;
|
|
2512
|
+
url: '/v1/rounds/{id}';
|
|
2513
|
+
};
|
|
2514
|
+
type GetRoundErrors = {
|
|
2515
|
+
400: BadRequestErrorCodeErrorBody;
|
|
2516
|
+
404: RoundDetailsApiError404Error;
|
|
2517
|
+
422: ValidationErrorCodeErrorBody;
|
|
2518
|
+
500: RoundDetailsApiError500Error;
|
|
2519
|
+
};
|
|
2520
|
+
type GetRoundError = GetRoundErrors[keyof GetRoundErrors];
|
|
2521
|
+
type GetRoundResponses = {
|
|
2522
|
+
200: {
|
|
2523
|
+
data: RoundDetailsDto;
|
|
2524
|
+
};
|
|
2525
|
+
};
|
|
2526
|
+
type GetRoundResponse = GetRoundResponses[keyof GetRoundResponses];
|
|
2177
2527
|
type SseData = {
|
|
2178
2528
|
body?: never;
|
|
2179
2529
|
path?: never;
|
|
@@ -2494,6 +2844,14 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2494
2844
|
after?: number;
|
|
2495
2845
|
limit?: number;
|
|
2496
2846
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochWinnersResponses, GetEpochWinnersErrors, ThrowOnError, "fields">;
|
|
2847
|
+
/**
|
|
2848
|
+
* Request a page of the general leaderboard
|
|
2849
|
+
*/
|
|
2850
|
+
getLeaderboard<ThrowOnError extends boolean = false>(parameters?: {
|
|
2851
|
+
sort?: LeaderboardSortDto;
|
|
2852
|
+
offset?: number;
|
|
2853
|
+
limit?: number;
|
|
2854
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetLeaderboardResponses, GetLeaderboardErrors, ThrowOnError, "fields">;
|
|
2497
2855
|
/**
|
|
2498
2856
|
* Request the top miners by lifetime hashrate earned
|
|
2499
2857
|
*/
|
|
@@ -2506,6 +2864,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2506
2864
|
* Request the top miners by lifetime sats earned
|
|
2507
2865
|
*/
|
|
2508
2866
|
getSatsEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetSatsEarnedLeaderboardResponses, GetSatsEarnedLeaderboardErrors, ThrowOnError, "fields">;
|
|
2867
|
+
/**
|
|
2868
|
+
* Request a wallet's general-leaderboard stats and ranks
|
|
2869
|
+
*/
|
|
2870
|
+
getWalletLeaderboard<ThrowOnError extends boolean = false>(parameters: {
|
|
2871
|
+
address: string;
|
|
2872
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetWalletLeaderboardResponses, GetWalletLeaderboardErrors, ThrowOnError, "fields">;
|
|
2509
2873
|
/**
|
|
2510
2874
|
* Request 1 BTC Vault history
|
|
2511
2875
|
*/
|
|
@@ -2538,6 +2902,12 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
2538
2902
|
limit?: number;
|
|
2539
2903
|
isSatStrike?: number;
|
|
2540
2904
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundsResponses, GetRoundsErrors, ThrowOnError, "fields">;
|
|
2905
|
+
/**
|
|
2906
|
+
* Request round details
|
|
2907
|
+
*/
|
|
2908
|
+
getRound<ThrowOnError extends boolean = false>(parameters: {
|
|
2909
|
+
id: number;
|
|
2910
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundResponses, GetRoundErrors, ThrowOnError, "fields">;
|
|
2541
2911
|
/**
|
|
2542
2912
|
* Subscribe for SSE stream
|
|
2543
2913
|
*/
|
|
@@ -2755,6 +3125,28 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
|
|
|
2755
3125
|
internal_error: "internal_error";
|
|
2756
3126
|
}>;
|
|
2757
3127
|
}, z.core.$strip>;
|
|
3128
|
+
/**
|
|
3129
|
+
* A wallet's 1-based rank under every leaderboard sort key.
|
|
3130
|
+
*/
|
|
3131
|
+
declare const zLeaderboardRanksDto: z.ZodObject<{
|
|
3132
|
+
deployed: z.ZodInt;
|
|
3133
|
+
hashrate: z.ZodInt;
|
|
3134
|
+
rounds: z.ZodInt;
|
|
3135
|
+
satsEarned: z.ZodInt;
|
|
3136
|
+
score: z.ZodInt;
|
|
3137
|
+
streak: z.ZodInt;
|
|
3138
|
+
}, z.core.$strip>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Sort key of a general-leaderboard page; always descending.
|
|
3141
|
+
*/
|
|
3142
|
+
declare const zLeaderboardSortDto: z.ZodEnum<{
|
|
3143
|
+
score: "score";
|
|
3144
|
+
deployed: "deployed";
|
|
3145
|
+
rounds: "rounds";
|
|
3146
|
+
sats_earned: "sats_earned";
|
|
3147
|
+
hashrate: "hashrate";
|
|
3148
|
+
streak: "streak";
|
|
3149
|
+
}>;
|
|
2758
3150
|
declare const zNotificationEntity: z.ZodEnum<{
|
|
2759
3151
|
state_snapshot: "state_snapshot";
|
|
2760
3152
|
}>;
|
|
@@ -2852,15 +3244,25 @@ declare const zPricesDto: z.ZodObject<{
|
|
|
2852
3244
|
* - OpenAPI: `type: string`, pattern for base58, optional format
|
|
2853
3245
|
*/
|
|
2854
3246
|
declare const zPubkeyDto: z.ZodString;
|
|
3247
|
+
declare const zRoundDetailsApiError404Error: z.ZodObject<{
|
|
3248
|
+
code: z.ZodEnum<{
|
|
3249
|
+
not_found: "not_found";
|
|
3250
|
+
}>;
|
|
3251
|
+
}, z.core.$strip>;
|
|
3252
|
+
declare const zRoundDetailsApiError500Error: z.ZodObject<{
|
|
3253
|
+
code: z.ZodEnum<{
|
|
3254
|
+
internal: "internal";
|
|
3255
|
+
}>;
|
|
3256
|
+
}, z.core.$strip>;
|
|
2855
3257
|
/**
|
|
2856
3258
|
* Lifecycle state of an indexed round.
|
|
2857
3259
|
*/
|
|
2858
3260
|
declare const zRoundHistoryStateDto: z.ZodEnum<{
|
|
2859
3261
|
settled: "settled";
|
|
3262
|
+
pending: "pending";
|
|
2860
3263
|
active: "active";
|
|
2861
3264
|
revealed: "revealed";
|
|
2862
3265
|
finished: "finished";
|
|
2863
|
-
pending: "pending";
|
|
2864
3266
|
}>;
|
|
2865
3267
|
/**
|
|
2866
3268
|
* Lifecycle state of a round.
|
|
@@ -3105,6 +3507,38 @@ declare const zLeaderboardEntryDto: z.ZodObject<{
|
|
|
3105
3507
|
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3106
3508
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3107
3509
|
}, z.core.$strip>;
|
|
3510
|
+
/**
|
|
3511
|
+
* A miner's position on the general leaderboard under one sort key.
|
|
3512
|
+
*/
|
|
3513
|
+
declare const zLeaderboardPageEntryDto: z.ZodObject<{
|
|
3514
|
+
authority: z.ZodString;
|
|
3515
|
+
daysActive: z.ZodInt;
|
|
3516
|
+
maxStreak: z.ZodInt;
|
|
3517
|
+
rank: z.ZodInt;
|
|
3518
|
+
score: z.ZodNumber;
|
|
3519
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3520
|
+
totalRoundsPlayed: z.ZodInt;
|
|
3521
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3522
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3523
|
+
}, z.core.$strip>;
|
|
3524
|
+
/**
|
|
3525
|
+
* One page of the general leaderboard.
|
|
3526
|
+
*/
|
|
3527
|
+
declare const zLeaderboardPageDto: z.ZodObject<{
|
|
3528
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3529
|
+
authority: z.ZodString;
|
|
3530
|
+
daysActive: z.ZodInt;
|
|
3531
|
+
maxStreak: z.ZodInt;
|
|
3532
|
+
rank: z.ZodInt;
|
|
3533
|
+
score: z.ZodNumber;
|
|
3534
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3535
|
+
totalRoundsPlayed: z.ZodInt;
|
|
3536
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
3537
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
3538
|
+
}, z.core.$strip>>;
|
|
3539
|
+
total: z.ZodInt;
|
|
3540
|
+
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3541
|
+
}, z.core.$strip>;
|
|
3108
3542
|
/**
|
|
3109
3543
|
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
3110
3544
|
* `claim_sats` instruction.
|
|
@@ -3420,6 +3854,85 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
3420
3854
|
selectionMask: z.ZodInt;
|
|
3421
3855
|
}, z.core.$strip>>;
|
|
3422
3856
|
}, z.core.$strip>;
|
|
3857
|
+
/**
|
|
3858
|
+
* One deployment onto a round: the deploy itself plus its settlement
|
|
3859
|
+
* outcome once the round is settled.
|
|
3860
|
+
*/
|
|
3861
|
+
declare const zRoundDeploymentDto: z.ZodObject<{
|
|
3862
|
+
authority: z.ZodString;
|
|
3863
|
+
btcEarned: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3864
|
+
btcEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3865
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3866
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3867
|
+
deployment: z.ZodString;
|
|
3868
|
+
hashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3869
|
+
isAutomation: z.ZodBoolean;
|
|
3870
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3871
|
+
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3872
|
+
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3873
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3874
|
+
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3875
|
+
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3876
|
+
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3877
|
+
}, z.core.$strip>;
|
|
3878
|
+
/**
|
|
3879
|
+
* One indexed round in full: everything the history row carries plus the
|
|
3880
|
+
* fee legs, and every deployment made onto the round.
|
|
3881
|
+
*/
|
|
3882
|
+
declare const zRoundDetailsDto: z.ZodObject<{
|
|
3883
|
+
address: z.ZodString;
|
|
3884
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3885
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
3886
|
+
authority: z.ZodString;
|
|
3887
|
+
btcEarned: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3888
|
+
btcEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3889
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3890
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3891
|
+
deployment: z.ZodString;
|
|
3892
|
+
hashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
3893
|
+
isAutomation: z.ZodBoolean;
|
|
3894
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3895
|
+
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
3896
|
+
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3897
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3898
|
+
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
3899
|
+
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
3900
|
+
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3901
|
+
}, z.core.$strip>>;
|
|
3902
|
+
epochFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3903
|
+
id: z.ZodInt;
|
|
3904
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3905
|
+
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3906
|
+
minersCount: z.ZodInt;
|
|
3907
|
+
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3908
|
+
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3909
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3910
|
+
settledMiners: z.ZodInt;
|
|
3911
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3912
|
+
state: z.ZodEnum<{
|
|
3913
|
+
settled: "settled";
|
|
3914
|
+
pending: "pending";
|
|
3915
|
+
active: "active";
|
|
3916
|
+
revealed: "revealed";
|
|
3917
|
+
finished: "finished";
|
|
3918
|
+
}>;
|
|
3919
|
+
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3920
|
+
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3921
|
+
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3922
|
+
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3923
|
+
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3924
|
+
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3925
|
+
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3926
|
+
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3927
|
+
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3928
|
+
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3929
|
+
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
3930
|
+
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3931
|
+
totalPotCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3932
|
+
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3933
|
+
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3934
|
+
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
3935
|
+
}, z.core.$strip>;
|
|
3423
3936
|
/**
|
|
3424
3937
|
* A round's outcome as recorded by the rounds indexer.
|
|
3425
3938
|
*/
|
|
@@ -3432,10 +3945,10 @@ declare const zRoundHistoryDto: z.ZodObject<{
|
|
|
3432
3945
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3433
3946
|
state: z.ZodEnum<{
|
|
3434
3947
|
settled: "settled";
|
|
3948
|
+
pending: "pending";
|
|
3435
3949
|
active: "active";
|
|
3436
3950
|
revealed: "revealed";
|
|
3437
3951
|
finished: "finished";
|
|
3438
|
-
pending: "pending";
|
|
3439
3952
|
}>;
|
|
3440
3953
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
3441
3954
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
@@ -4568,6 +5081,53 @@ declare const zValidationErrorCodeValidationDetailsErrorBody: z.ZodObject<{
|
|
|
4568
5081
|
}, z.core.$strip>>;
|
|
4569
5082
|
}, z.core.$strip>>;
|
|
4570
5083
|
}, z.core.$strip>;
|
|
5084
|
+
declare const zWalletLeaderboardApiError400InvalidAddress: z.ZodObject<{
|
|
5085
|
+
code: z.ZodEnum<{
|
|
5086
|
+
invalid_address: "invalid_address";
|
|
5087
|
+
}>;
|
|
5088
|
+
}, z.core.$strip>;
|
|
5089
|
+
declare const zWalletLeaderboardApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5090
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
5091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5092
|
+
code: z.ZodEnum<{
|
|
5093
|
+
invalid_address: "invalid_address";
|
|
5094
|
+
}>;
|
|
5095
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5096
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
5097
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5098
|
+
code: z.ZodEnum<{
|
|
5099
|
+
invalid_path: "invalid_path";
|
|
5100
|
+
invalid_query: "invalid_query";
|
|
5101
|
+
invalid_body: "invalid_body";
|
|
5102
|
+
}>;
|
|
5103
|
+
}, z.core.$strip>>]>;
|
|
5104
|
+
declare const zWalletLeaderboardApiError404Error: z.ZodObject<{
|
|
5105
|
+
code: z.ZodEnum<{
|
|
5106
|
+
not_found: "not_found";
|
|
5107
|
+
}>;
|
|
5108
|
+
}, z.core.$strip>;
|
|
5109
|
+
/**
|
|
5110
|
+
* A single wallet's general-leaderboard stats and ranks.
|
|
5111
|
+
*/
|
|
5112
|
+
declare const zWalletLeaderboardDto: z.ZodObject<{
|
|
5113
|
+
authority: z.ZodString;
|
|
5114
|
+
daysActive: z.ZodInt;
|
|
5115
|
+
maxStreak: z.ZodInt;
|
|
5116
|
+
ranks: z.ZodObject<{
|
|
5117
|
+
deployed: z.ZodInt;
|
|
5118
|
+
hashrate: z.ZodInt;
|
|
5119
|
+
rounds: z.ZodInt;
|
|
5120
|
+
satsEarned: z.ZodInt;
|
|
5121
|
+
score: z.ZodInt;
|
|
5122
|
+
streak: z.ZodInt;
|
|
5123
|
+
}, z.core.$strip>;
|
|
5124
|
+
score: z.ZodNumber;
|
|
5125
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
5126
|
+
totalRoundsPlayed: z.ZodInt;
|
|
5127
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5128
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
5129
|
+
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5130
|
+
}, z.core.$strip>;
|
|
4571
5131
|
declare const zGetBoardData: z.ZodObject<{
|
|
4572
5132
|
body: z.ZodOptional<z.ZodNever>;
|
|
4573
5133
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -4851,6 +5411,40 @@ declare const zGetEpochWinnersResponse: z.ZodObject<{
|
|
|
4851
5411
|
}, z.core.$strip>>;
|
|
4852
5412
|
}, z.core.$strip>;
|
|
4853
5413
|
type GetEpochWinnersResponseZodType = z.infer<typeof zGetEpochWinnersResponse>;
|
|
5414
|
+
declare const zGetLeaderboardData: z.ZodObject<{
|
|
5415
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
5416
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
5417
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
5418
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
5419
|
+
score: "score";
|
|
5420
|
+
deployed: "deployed";
|
|
5421
|
+
rounds: "rounds";
|
|
5422
|
+
sats_earned: "sats_earned";
|
|
5423
|
+
hashrate: "hashrate";
|
|
5424
|
+
streak: "streak";
|
|
5425
|
+
}>>;
|
|
5426
|
+
offset: z.ZodOptional<z.ZodInt>;
|
|
5427
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
5428
|
+
}, z.core.$strip>>;
|
|
5429
|
+
}, z.core.$strip>;
|
|
5430
|
+
declare const zGetLeaderboardResponse: z.ZodObject<{
|
|
5431
|
+
data: z.ZodObject<{
|
|
5432
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
5433
|
+
authority: z.ZodString;
|
|
5434
|
+
daysActive: z.ZodInt;
|
|
5435
|
+
maxStreak: z.ZodInt;
|
|
5436
|
+
rank: z.ZodInt;
|
|
5437
|
+
score: z.ZodNumber;
|
|
5438
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
5439
|
+
totalRoundsPlayed: z.ZodInt;
|
|
5440
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5441
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
5442
|
+
}, z.core.$strip>>;
|
|
5443
|
+
total: z.ZodInt;
|
|
5444
|
+
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5445
|
+
}, z.core.$strip>;
|
|
5446
|
+
}, z.core.$strip>;
|
|
5447
|
+
type GetLeaderboardResponseZodType = z.infer<typeof zGetLeaderboardResponse>;
|
|
4854
5448
|
declare const zGetHashrateEarnedLeaderboardData: z.ZodObject<{
|
|
4855
5449
|
body: z.ZodOptional<z.ZodNever>;
|
|
4856
5450
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -4902,6 +5496,35 @@ declare const zGetSatsEarnedLeaderboardResponse: z.ZodObject<{
|
|
|
4902
5496
|
}, z.core.$strip>>;
|
|
4903
5497
|
}, z.core.$strip>;
|
|
4904
5498
|
type GetSatsEarnedLeaderboardResponseZodType = z.infer<typeof zGetSatsEarnedLeaderboardResponse>;
|
|
5499
|
+
declare const zGetWalletLeaderboardData: z.ZodObject<{
|
|
5500
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
5501
|
+
path: z.ZodObject<{
|
|
5502
|
+
address: z.ZodString;
|
|
5503
|
+
}, z.core.$strip>;
|
|
5504
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
5505
|
+
}, z.core.$strip>;
|
|
5506
|
+
declare const zGetWalletLeaderboardResponse: z.ZodObject<{
|
|
5507
|
+
data: z.ZodObject<{
|
|
5508
|
+
authority: z.ZodString;
|
|
5509
|
+
daysActive: z.ZodInt;
|
|
5510
|
+
maxStreak: z.ZodInt;
|
|
5511
|
+
ranks: z.ZodObject<{
|
|
5512
|
+
deployed: z.ZodInt;
|
|
5513
|
+
hashrate: z.ZodInt;
|
|
5514
|
+
rounds: z.ZodInt;
|
|
5515
|
+
satsEarned: z.ZodInt;
|
|
5516
|
+
score: z.ZodInt;
|
|
5517
|
+
streak: z.ZodInt;
|
|
5518
|
+
}, z.core.$strip>;
|
|
5519
|
+
score: z.ZodNumber;
|
|
5520
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
5521
|
+
totalRoundsPlayed: z.ZodInt;
|
|
5522
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
5523
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
5524
|
+
updatedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5525
|
+
}, z.core.$strip>;
|
|
5526
|
+
}, z.core.$strip>;
|
|
5527
|
+
type GetWalletLeaderboardResponseZodType = z.infer<typeof zGetWalletLeaderboardResponse>;
|
|
4905
5528
|
declare const zGetOneBtcHistoryData: z.ZodObject<{
|
|
4906
5529
|
body: z.ZodOptional<z.ZodNever>;
|
|
4907
5530
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -4993,10 +5616,10 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
4993
5616
|
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4994
5617
|
state: z.ZodEnum<{
|
|
4995
5618
|
settled: "settled";
|
|
5619
|
+
pending: "pending";
|
|
4996
5620
|
active: "active";
|
|
4997
5621
|
revealed: "revealed";
|
|
4998
5622
|
finished: "finished";
|
|
4999
|
-
pending: "pending";
|
|
5000
5623
|
}>;
|
|
5001
5624
|
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5002
5625
|
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
@@ -5016,6 +5639,70 @@ declare const zGetRoundsResponse: z.ZodObject<{
|
|
|
5016
5639
|
}, z.core.$strip>>;
|
|
5017
5640
|
}, z.core.$strip>;
|
|
5018
5641
|
type GetRoundsResponseZodType = z.infer<typeof zGetRoundsResponse>;
|
|
5642
|
+
declare const zGetRoundData: z.ZodObject<{
|
|
5643
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
5644
|
+
path: z.ZodObject<{
|
|
5645
|
+
id: z.ZodInt;
|
|
5646
|
+
}, z.core.$strip>;
|
|
5647
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
5648
|
+
}, z.core.$strip>;
|
|
5649
|
+
declare const zGetRoundResponse: z.ZodObject<{
|
|
5650
|
+
data: z.ZodObject<{
|
|
5651
|
+
address: z.ZodString;
|
|
5652
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5653
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
5654
|
+
authority: z.ZodString;
|
|
5655
|
+
btcEarned: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5656
|
+
btcEarnedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5657
|
+
deployedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
5658
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
5659
|
+
deployment: z.ZodString;
|
|
5660
|
+
hashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
5661
|
+
isAutomation: z.ZodBoolean;
|
|
5662
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5663
|
+
satsSharesEarned: z.ZodCoercedBigInt<unknown>;
|
|
5664
|
+
selectedTiles: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5665
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5666
|
+
totalUsdStakeAmount: z.ZodCoercedBigInt<unknown>;
|
|
5667
|
+
usdEarned: z.ZodCoercedBigInt<unknown>;
|
|
5668
|
+
winningUsdStakeAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5669
|
+
}, z.core.$strip>>;
|
|
5670
|
+
epochFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5671
|
+
id: z.ZodInt;
|
|
5672
|
+
isHashrateBoosted: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5673
|
+
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
5674
|
+
minersCount: z.ZodInt;
|
|
5675
|
+
oneBtcFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5676
|
+
protocolFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5677
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5678
|
+
settledMiners: z.ZodInt;
|
|
5679
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
5680
|
+
state: z.ZodEnum<{
|
|
5681
|
+
settled: "settled";
|
|
5682
|
+
pending: "pending";
|
|
5683
|
+
active: "active";
|
|
5684
|
+
revealed: "revealed";
|
|
5685
|
+
finished: "finished";
|
|
5686
|
+
}>;
|
|
5687
|
+
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5688
|
+
strikeBonusCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5689
|
+
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5690
|
+
strikeEpochBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5691
|
+
strikeEpochUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5692
|
+
strikeFeeUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5693
|
+
strikeReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5694
|
+
strikeReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5695
|
+
strikeSeedFromReserveBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5696
|
+
strikeSeedFromReserveUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5697
|
+
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
5698
|
+
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5699
|
+
totalPotCombinedUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
5700
|
+
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
5701
|
+
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5702
|
+
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5703
|
+
}, z.core.$strip>;
|
|
5704
|
+
}, z.core.$strip>;
|
|
5705
|
+
type GetRoundResponseZodType = z.infer<typeof zGetRoundResponse>;
|
|
5019
5706
|
declare const zSseData: z.ZodObject<{
|
|
5020
5707
|
body: z.ZodOptional<z.ZodNever>;
|
|
5021
5708
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -5480,4 +6167,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
5480
6167
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
5481
6168
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
5482
6169
|
|
|
5483
|
-
export { 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 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 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 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, HashrateActionTypeDto, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type LeaderboardEntryDto, 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 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, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, 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 UserVaultEntriesApiError400Error, type UserVaultEntriesApiError400InvalidAddress, type UserVaultEntriesApiError400InvalidBefore, type UserVaultEntriesApiError400InvalidRange, type UserVaultEntriesApiError400InvalidWinsOnly, type UserVaultEntriesApiError500Error, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, 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, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, zGetOneBtcIterationData, zGetOneBtcIterationParticipantsData, zGetOneBtcIterationParticipantsResponse, zGetOneBtcIterationResponse, zGetRoundsData, zGetRoundsPlayedLeaderboardData, zGetRoundsPlayedLeaderboardResponse, zGetRoundsResponse, zGetSatsEarnedLeaderboardData, zGetSatsEarnedLeaderboardResponse, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, zHashrateActionTypeDto, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zLeaderboardEntryDto, 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, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
|
|
6170
|
+
export { 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 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 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 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, type SseData, type SseError, type SseErrors, type SseResponse, type SseResponse2, type SseResponseSnapshot, type SseResponseZodType, type SseResponses, type StreamEvent, type StrikeJackpotDto, type TileStakeDto, type U128Dto, type U64Dto, 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 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, 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, zGetUserClaimsData, zGetUserClaimsResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserEpochEntriesData, zGetUserEpochEntriesResponse, zGetUserHashrateActionsData, zGetUserHashrateActionsResponse, zGetUserOneBtcEntriesData, zGetUserOneBtcEntriesResponse, zGetUserProfileData, zGetUserProfileResponse, 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, zRoundDeploymentDto, zRoundDetailsApiError404Error, zRoundDetailsApiError500Error, zRoundDetailsDto, zRoundDto, zRoundHistoryDto, zRoundHistoryStateDto, zRoundStateDto, zRoundsApiError400Error, zRoundsApiError400InvalidBefore, zRoundsApiError400InvalidIsSatStrike, zRoundsApiError400InvalidRange, zRoundsApiError500Error, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserClaimsApiError400Error, zUserClaimsApiError400InvalidAddress, zUserClaimsApiError400InvalidBefore, zUserClaimsApiError400InvalidRange, zUserClaimsApiError500Error, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError400InvalidBefore, zUserDeploymentsApiError400InvalidRange, zUserDeploymentsApiError500Error, zUserHashrateApiError400Error, zUserHashrateApiError400InvalidAddress, zUserHashrateApiError400InvalidBefore, zUserHashrateApiError400InvalidRange, zUserHashrateApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zUserVaultEntriesApiError400Error, zUserVaultEntriesApiError400InvalidAddress, zUserVaultEntriesApiError400InvalidBefore, zUserVaultEntriesApiError400InvalidRange, zUserVaultEntriesApiError400InvalidWinsOnly, zUserVaultEntriesApiError500Error, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zWalletLeaderboardApiError400Error, zWalletLeaderboardApiError400InvalidAddress, zWalletLeaderboardApiError404Error, zWalletLeaderboardDto };
|