@satrush/api 0.1.6 → 0.1.8
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 +1049 -23
- package/dist/index.d.cts +1745 -55
- package/dist/index.d.ts +1745 -55
- package/dist/index.js +979 -23
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -365,7 +365,17 @@ type BoardDto = {
|
|
|
365
365
|
* Round duration in slots.
|
|
366
366
|
*/
|
|
367
367
|
roundDuration: number;
|
|
368
|
+
/**
|
|
369
|
+
* Wall-clock time of `end_slot` (in the future while the round is
|
|
370
|
+
* mining), derived the same way.
|
|
371
|
+
*/
|
|
372
|
+
roundEndsAt: Date;
|
|
368
373
|
roundId: number;
|
|
374
|
+
/**
|
|
375
|
+
* Wall-clock time of `start_slot`, derived from the current time and
|
|
376
|
+
* slot assuming exactly 400ms per slot.
|
|
377
|
+
*/
|
|
378
|
+
roundStartedAt: Date;
|
|
369
379
|
/**
|
|
370
380
|
* The sats vault balances.
|
|
371
381
|
*/
|
|
@@ -376,6 +386,60 @@ type BoardDto = {
|
|
|
376
386
|
startSlot: U64Dto;
|
|
377
387
|
strike: StrikeJackpotDto;
|
|
378
388
|
};
|
|
389
|
+
/**
|
|
390
|
+
* Kind of an indexed claim.
|
|
391
|
+
*/
|
|
392
|
+
declare const ClaimTypeDto: {
|
|
393
|
+
readonly USD: "usd";
|
|
394
|
+
readonly SATS: "sats";
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Kind of an indexed claim.
|
|
398
|
+
*/
|
|
399
|
+
type ClaimTypeDto = typeof ClaimTypeDto[keyof typeof ClaimTypeDto];
|
|
400
|
+
type EpochHistoryApiError400Error = ({
|
|
401
|
+
code: 'invalid_range';
|
|
402
|
+
} & EpochHistoryApiError400InvalidRange) | ({
|
|
403
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
404
|
+
} & BadRequestErrorCodeErrorBody);
|
|
405
|
+
type EpochHistoryApiError400InvalidRange = {
|
|
406
|
+
code: 'invalid_range';
|
|
407
|
+
};
|
|
408
|
+
type EpochHistoryApiError500Error = {
|
|
409
|
+
code: 'internal';
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* An Epoch Vault iteration as recorded by the rounds indexer.
|
|
413
|
+
*/
|
|
414
|
+
type EpochIterationHistoryDto = {
|
|
415
|
+
/**
|
|
416
|
+
* The on-chain EpochVaultIteration account address.
|
|
417
|
+
*/
|
|
418
|
+
address: PubkeyDto;
|
|
419
|
+
/**
|
|
420
|
+
* When the last winner was selected; `null` until the draw resolves.
|
|
421
|
+
*/
|
|
422
|
+
endedAt?: Date | null;
|
|
423
|
+
/**
|
|
424
|
+
* Iteration id; the pagination cursor.
|
|
425
|
+
*/
|
|
426
|
+
id: number;
|
|
427
|
+
/**
|
|
428
|
+
* BTC pot sealed into the draw at trigger time; 0 while accumulating.
|
|
429
|
+
*/
|
|
430
|
+
poolBtcAmount: U64Dto;
|
|
431
|
+
/**
|
|
432
|
+
* USD pot sealed into the draw at trigger time; 0 while accumulating.
|
|
433
|
+
*/
|
|
434
|
+
poolUsdAmount: U64Dto;
|
|
435
|
+
startedAt: Date;
|
|
436
|
+
totalParticipants: number;
|
|
437
|
+
totalTickets: U64Dto;
|
|
438
|
+
/**
|
|
439
|
+
* When the draw was triggered; `null` while still accumulating.
|
|
440
|
+
*/
|
|
441
|
+
triggeredAt?: Date | null;
|
|
442
|
+
};
|
|
379
443
|
/**
|
|
380
444
|
* Lifecycle state of an epoch vault iteration.
|
|
381
445
|
*/
|
|
@@ -395,7 +459,17 @@ type EpochStateDto = typeof EpochStateDto[keyof typeof EpochStateDto];
|
|
|
395
459
|
type EpochVaultDto = {
|
|
396
460
|
address: PubkeyDto;
|
|
397
461
|
currentIteration?: null | EpochVaultIterationDto;
|
|
462
|
+
/**
|
|
463
|
+
* Wall-clock time the iteration's window closes (start plus the
|
|
464
|
+
* configured iteration duration), derived the same way.
|
|
465
|
+
*/
|
|
466
|
+
iterationEndsAt: Date;
|
|
398
467
|
iterationId: number;
|
|
468
|
+
/**
|
|
469
|
+
* Wall-clock time of `last_trigger_slot`, derived from the current time
|
|
470
|
+
* and slot assuming exactly 400ms per slot.
|
|
471
|
+
*/
|
|
472
|
+
iterationStartedAt: Date;
|
|
399
473
|
/**
|
|
400
474
|
* Slot at which the current iteration's window started.
|
|
401
475
|
*/
|
|
@@ -475,6 +549,57 @@ type EpochWinnerDto = {
|
|
|
475
549
|
*/
|
|
476
550
|
tickets: U64Dto;
|
|
477
551
|
};
|
|
552
|
+
/**
|
|
553
|
+
* An Epoch Vault draw winner as recorded by the rounds indexer.
|
|
554
|
+
*/
|
|
555
|
+
type EpochWinnerHistoryDto = {
|
|
556
|
+
authority: PubkeyDto;
|
|
557
|
+
/**
|
|
558
|
+
* Winning entry id; the pagination cursor.
|
|
559
|
+
*/
|
|
560
|
+
id: number;
|
|
561
|
+
/**
|
|
562
|
+
* Iteration whose draw this wallet won.
|
|
563
|
+
*/
|
|
564
|
+
iterationId: number;
|
|
565
|
+
/**
|
|
566
|
+
* 0-based selection order; determines the pot share.
|
|
567
|
+
*/
|
|
568
|
+
rank: number;
|
|
569
|
+
/**
|
|
570
|
+
* When the iteration's draw resolved; `null` if not yet indexed.
|
|
571
|
+
*/
|
|
572
|
+
settledAt?: Date | null;
|
|
573
|
+
settledAtSlot?: null | U64Dto;
|
|
574
|
+
/**
|
|
575
|
+
* The winner's total tickets in the iteration.
|
|
576
|
+
*/
|
|
577
|
+
tickets: U64Dto;
|
|
578
|
+
/**
|
|
579
|
+
* BTC share of the pot; 0 for wins indexed from pre-extension events.
|
|
580
|
+
*/
|
|
581
|
+
wonBtcAmount: U64Dto;
|
|
582
|
+
/**
|
|
583
|
+
* USD share of the pot; 0 for wins indexed from pre-extension events.
|
|
584
|
+
*/
|
|
585
|
+
wonUsdAmount: U64Dto;
|
|
586
|
+
};
|
|
587
|
+
type EpochWinnersApiError400Error = ({
|
|
588
|
+
code: 'invalid_before';
|
|
589
|
+
} & EpochWinnersApiError400InvalidBefore) | ({
|
|
590
|
+
code: 'invalid_range';
|
|
591
|
+
} & EpochWinnersApiError400InvalidRange) | ({
|
|
592
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
593
|
+
} & BadRequestErrorCodeErrorBody);
|
|
594
|
+
type EpochWinnersApiError400InvalidBefore = {
|
|
595
|
+
code: 'invalid_before';
|
|
596
|
+
};
|
|
597
|
+
type EpochWinnersApiError400InvalidRange = {
|
|
598
|
+
code: 'invalid_range';
|
|
599
|
+
};
|
|
600
|
+
type EpochWinnersApiError500Error = {
|
|
601
|
+
code: 'internal';
|
|
602
|
+
};
|
|
478
603
|
type FieldError = {
|
|
479
604
|
/**
|
|
480
605
|
* Field name in request.
|
|
@@ -485,6 +610,17 @@ type FieldError = {
|
|
|
485
610
|
*/
|
|
486
611
|
message: string;
|
|
487
612
|
};
|
|
613
|
+
/**
|
|
614
|
+
* Kind of an indexed hashrate spend.
|
|
615
|
+
*/
|
|
616
|
+
declare const HashrateActionTypeDto: {
|
|
617
|
+
readonly BUY_EPOCH_TICKETS: "buy_epoch_tickets";
|
|
618
|
+
readonly BUY_ONE_BTC_TICKETS: "buy_one_btc_tickets";
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Kind of an indexed hashrate spend.
|
|
622
|
+
*/
|
|
623
|
+
type HashrateActionTypeDto = typeof HashrateActionTypeDto[keyof typeof HashrateActionTypeDto];
|
|
488
624
|
/**
|
|
489
625
|
* Signed 128-bit integer encoded as a decimal string.
|
|
490
626
|
*/
|
|
@@ -496,6 +632,57 @@ type I64Dto = bigint;
|
|
|
496
632
|
type InternalErrorCodeErrorBody = {
|
|
497
633
|
code: 'internal_error';
|
|
498
634
|
};
|
|
635
|
+
/**
|
|
636
|
+
* A miner's position on a lifetime-stats leaderboard.
|
|
637
|
+
*/
|
|
638
|
+
type LeaderboardEntryDto = {
|
|
639
|
+
authority: PubkeyDto;
|
|
640
|
+
/**
|
|
641
|
+
* Longest streak of consecutive rounds ever played.
|
|
642
|
+
*/
|
|
643
|
+
maxStreak: number;
|
|
644
|
+
/**
|
|
645
|
+
* 1-based position, ordered by the leaderboard's sort key descending.
|
|
646
|
+
*/
|
|
647
|
+
rank: number;
|
|
648
|
+
/**
|
|
649
|
+
* Lifetime hashrate earned.
|
|
650
|
+
*/
|
|
651
|
+
totalHashrateEarned: U64Dto;
|
|
652
|
+
/**
|
|
653
|
+
* Lifetime count of rounds played.
|
|
654
|
+
*/
|
|
655
|
+
totalRoundsPlayed: number;
|
|
656
|
+
/**
|
|
657
|
+
* Lifetime sats earned.
|
|
658
|
+
*/
|
|
659
|
+
totalSatsEarned: U64Dto;
|
|
660
|
+
/**
|
|
661
|
+
* Lifetime gross USD deployed.
|
|
662
|
+
*/
|
|
663
|
+
totalUsdDeployed: U64Dto;
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
667
|
+
* `claim_sats` instruction.
|
|
668
|
+
*/
|
|
669
|
+
type MinerClaimDto = {
|
|
670
|
+
authority: PubkeyDto;
|
|
671
|
+
btcReceived?: null | U64Dto;
|
|
672
|
+
claimType: ClaimTypeDto;
|
|
673
|
+
claimedAt: Date;
|
|
674
|
+
hashrateClaimed?: null | U64Dto;
|
|
675
|
+
/**
|
|
676
|
+
* Monotonic claim id; the pagination cursor.
|
|
677
|
+
*/
|
|
678
|
+
id: number;
|
|
679
|
+
satsClaimed?: null | U64Dto;
|
|
680
|
+
/**
|
|
681
|
+
* Signature of the claiming transaction.
|
|
682
|
+
*/
|
|
683
|
+
signature: string;
|
|
684
|
+
usdClaimed?: null | U64Dto;
|
|
685
|
+
};
|
|
499
686
|
/**
|
|
500
687
|
* A miner's deployment as recorded by the rounds indexer: the deploy itself
|
|
501
688
|
* plus its settlement outcome once the round is settled.
|
|
@@ -630,10 +817,147 @@ type MinerDto = {
|
|
|
630
817
|
*/
|
|
631
818
|
unsettledUsdAmount: U64Dto;
|
|
632
819
|
};
|
|
820
|
+
/**
|
|
821
|
+
* A miner's Epoch Vault participation as recorded by the rounds indexer: one
|
|
822
|
+
* row per iteration, accumulating the wallet's ticket buys, plus the draw
|
|
823
|
+
* outcome once resolved.
|
|
824
|
+
*/
|
|
825
|
+
type MinerEpochEntryDto = {
|
|
826
|
+
/**
|
|
827
|
+
* The on-chain EpochVaultEntry account address.
|
|
828
|
+
*/
|
|
829
|
+
address: PubkeyDto;
|
|
830
|
+
authority: PubkeyDto;
|
|
831
|
+
/**
|
|
832
|
+
* When the win was claimed; `null` until claimed.
|
|
833
|
+
*/
|
|
834
|
+
claimedAt?: Date | null;
|
|
835
|
+
createdAt: Date;
|
|
836
|
+
/**
|
|
837
|
+
* Entry id; the pagination cursor.
|
|
838
|
+
*/
|
|
839
|
+
id: number;
|
|
840
|
+
/**
|
|
841
|
+
* Draw outcome; `null` until the iteration's draw resolves the entry.
|
|
842
|
+
*/
|
|
843
|
+
isWon?: boolean | null;
|
|
844
|
+
/**
|
|
845
|
+
* Iteration this entry belongs to.
|
|
846
|
+
*/
|
|
847
|
+
iterationId: number;
|
|
848
|
+
/**
|
|
849
|
+
* 0-based selection order of the win; only set on winning entries.
|
|
850
|
+
*/
|
|
851
|
+
rank?: number | null;
|
|
852
|
+
/**
|
|
853
|
+
* The wallet's total tickets in the iteration.
|
|
854
|
+
*/
|
|
855
|
+
tickets: U64Dto;
|
|
856
|
+
wonBtcAmount?: null | U64Dto;
|
|
857
|
+
wonUsdAmount?: null | U64Dto;
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* A miner's hashrate spend as recorded by the rounds indexer from a
|
|
861
|
+
* `buy_epoch_tickets` or `buy_one_btc_tickets` instruction.
|
|
862
|
+
*/
|
|
863
|
+
type MinerHashrateActionDto = {
|
|
864
|
+
actionType: HashrateActionTypeDto;
|
|
865
|
+
authority: PubkeyDto;
|
|
866
|
+
executedAt: Date;
|
|
867
|
+
/**
|
|
868
|
+
* Raw hashrate units spent (1 ticket = 100 units).
|
|
869
|
+
*/
|
|
870
|
+
hashrateSpent: U64Dto;
|
|
871
|
+
/**
|
|
872
|
+
* Monotonic action id; the pagination cursor.
|
|
873
|
+
*/
|
|
874
|
+
id: number;
|
|
875
|
+
/**
|
|
876
|
+
* Signature of the buying transaction.
|
|
877
|
+
*/
|
|
878
|
+
signature: string;
|
|
879
|
+
ticketsBought: U64Dto;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* A miner's 1 BTC Vault ticket purchase as recorded by the rounds indexer:
|
|
883
|
+
* one row per buy holding the contiguous range
|
|
884
|
+
* `[start_ticket_id, start_ticket_id + tickets)`, plus the draw outcome once
|
|
885
|
+
* resolved.
|
|
886
|
+
*/
|
|
887
|
+
type MinerOneBtcEntryDto = {
|
|
888
|
+
/**
|
|
889
|
+
* The on-chain ticket receipt account address.
|
|
890
|
+
*/
|
|
891
|
+
address: PubkeyDto;
|
|
892
|
+
authority: PubkeyDto;
|
|
893
|
+
/**
|
|
894
|
+
* When the prize was claimed; `null` until claimed.
|
|
895
|
+
*/
|
|
896
|
+
claimedAt?: Date | null;
|
|
897
|
+
createdAt: Date;
|
|
898
|
+
/**
|
|
899
|
+
* Entry id; the pagination cursor.
|
|
900
|
+
*/
|
|
901
|
+
id: number;
|
|
902
|
+
/**
|
|
903
|
+
* Draw outcome; `null` until the iteration's draw resolves the entry.
|
|
904
|
+
*/
|
|
905
|
+
isWon?: boolean | null;
|
|
906
|
+
/**
|
|
907
|
+
* Iteration this purchase belongs to.
|
|
908
|
+
*/
|
|
909
|
+
iterationId: number;
|
|
910
|
+
/**
|
|
911
|
+
* First ticket id of this purchase's range.
|
|
912
|
+
*/
|
|
913
|
+
startTicketId: U64Dto;
|
|
914
|
+
/**
|
|
915
|
+
* Number of tickets in this purchase.
|
|
916
|
+
*/
|
|
917
|
+
tickets: U64Dto;
|
|
918
|
+
};
|
|
633
919
|
declare const NotificationEntity: {
|
|
634
920
|
readonly STATE_SNAPSHOT: "state_snapshot";
|
|
635
921
|
};
|
|
636
922
|
type NotificationEntity = typeof NotificationEntity[keyof typeof NotificationEntity];
|
|
923
|
+
type OneBtcHistoryApiError400Error = ({
|
|
924
|
+
code: 'invalid_range';
|
|
925
|
+
} & OneBtcHistoryApiError400InvalidRange) | ({
|
|
926
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
927
|
+
} & BadRequestErrorCodeErrorBody);
|
|
928
|
+
type OneBtcHistoryApiError400InvalidRange = {
|
|
929
|
+
code: 'invalid_range';
|
|
930
|
+
};
|
|
931
|
+
type OneBtcHistoryApiError500Error = {
|
|
932
|
+
code: 'internal';
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* A 1 BTC Vault iteration as recorded by the rounds indexer, including the
|
|
936
|
+
* draw's winner once settled.
|
|
937
|
+
*/
|
|
938
|
+
type OneBtcIterationHistoryDto = {
|
|
939
|
+
/**
|
|
940
|
+
* The on-chain OneBtcVaultIteration account address.
|
|
941
|
+
*/
|
|
942
|
+
address: PubkeyDto;
|
|
943
|
+
/**
|
|
944
|
+
* When the winner claimed the prize; `null` until claimed.
|
|
945
|
+
*/
|
|
946
|
+
endedAt?: Date | null;
|
|
947
|
+
/**
|
|
948
|
+
* Iteration id; the pagination cursor.
|
|
949
|
+
*/
|
|
950
|
+
id: number;
|
|
951
|
+
/**
|
|
952
|
+
* When the draw was triggered and the winning ticket fixed; `null` while
|
|
953
|
+
* still accumulating.
|
|
954
|
+
*/
|
|
955
|
+
settledAt?: Date | null;
|
|
956
|
+
startedAt: Date;
|
|
957
|
+
totalParticipants: number;
|
|
958
|
+
totalTickets: U64Dto;
|
|
959
|
+
winner?: null | PubkeyDto;
|
|
960
|
+
};
|
|
637
961
|
/**
|
|
638
962
|
* Lifecycle state of a 1 BTC vault iteration.
|
|
639
963
|
*/
|
|
@@ -709,9 +1033,7 @@ type OneBtcVaultIterationDto = {
|
|
|
709
1033
|
* A past round's outcome from the indexed history.
|
|
710
1034
|
*/
|
|
711
1035
|
type PreviousRoundDto = {
|
|
712
|
-
|
|
713
|
-
* The tile that won the round.
|
|
714
|
-
*/
|
|
1036
|
+
roundId: number;
|
|
715
1037
|
winningTile: number;
|
|
716
1038
|
};
|
|
717
1039
|
/**
|
|
@@ -733,10 +1055,6 @@ type PricesDto = {
|
|
|
733
1055
|
*/
|
|
734
1056
|
type ProfileDto = {
|
|
735
1057
|
automation?: null | PublicAutomationDto;
|
|
736
|
-
/**
|
|
737
|
-
* The authority's open public deployments.
|
|
738
|
-
*/
|
|
739
|
-
deployments: Array<PublicDeploymentDto>;
|
|
740
1058
|
/**
|
|
741
1059
|
* The authority's open epoch vault entries.
|
|
742
1060
|
*/
|
|
@@ -746,6 +1064,10 @@ type ProfileDto = {
|
|
|
746
1064
|
* The authority's open 1 BTC vault entries.
|
|
747
1065
|
*/
|
|
748
1066
|
oneBtcVaultEntries: Array<OneBtcVaultEntryDto>;
|
|
1067
|
+
/**
|
|
1068
|
+
* The authority's open public deployments.
|
|
1069
|
+
*/
|
|
1070
|
+
unsettledDeployments: Array<PublicDeploymentDto>;
|
|
749
1071
|
};
|
|
750
1072
|
/**
|
|
751
1073
|
* Pubkey represented as base58 string in JSON and OpenAPI.
|
|
@@ -845,6 +1167,56 @@ type RoundDto = {
|
|
|
845
1167
|
winnersCount: number;
|
|
846
1168
|
winningTile?: number | null;
|
|
847
1169
|
};
|
|
1170
|
+
/**
|
|
1171
|
+
* A round's outcome as recorded by the rounds indexer.
|
|
1172
|
+
*/
|
|
1173
|
+
type RoundHistoryDto = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Round id; the pagination cursor.
|
|
1176
|
+
*/
|
|
1177
|
+
id: number;
|
|
1178
|
+
/**
|
|
1179
|
+
* Whether the reveal triggered the sat strike; unset until revealed.
|
|
1180
|
+
*/
|
|
1181
|
+
isSatStrike?: boolean | null;
|
|
1182
|
+
minersCount: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* When the round's pots were settled.
|
|
1185
|
+
*/
|
|
1186
|
+
settledAt?: Date | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* When the first deployment activated the round.
|
|
1189
|
+
*/
|
|
1190
|
+
startedAt?: Date | null;
|
|
1191
|
+
state: RoundHistoryStateDto;
|
|
1192
|
+
strikeBonusBtc?: null | U64Dto;
|
|
1193
|
+
strikeBonusUsd?: null | U64Dto;
|
|
1194
|
+
totalDeployedUsd: U64Dto;
|
|
1195
|
+
totalPotBtc?: null | U64Dto;
|
|
1196
|
+
totalPotUsd?: null | U64Dto;
|
|
1197
|
+
/**
|
|
1198
|
+
* Miners on the winning tile; unset until revealed.
|
|
1199
|
+
*/
|
|
1200
|
+
winnersCount?: number | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Winning tile of the reveal; unset until revealed.
|
|
1203
|
+
*/
|
|
1204
|
+
winningTile?: number | null;
|
|
1205
|
+
};
|
|
1206
|
+
/**
|
|
1207
|
+
* Lifecycle state of an indexed round.
|
|
1208
|
+
*/
|
|
1209
|
+
declare const RoundHistoryStateDto: {
|
|
1210
|
+
readonly PENDING: "pending";
|
|
1211
|
+
readonly ACTIVE: "active";
|
|
1212
|
+
readonly REVEALED: "revealed";
|
|
1213
|
+
readonly SETTLED: "settled";
|
|
1214
|
+
readonly FINISHED: "finished";
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* Lifecycle state of an indexed round.
|
|
1218
|
+
*/
|
|
1219
|
+
type RoundHistoryStateDto = typeof RoundHistoryStateDto[keyof typeof RoundHistoryStateDto];
|
|
848
1220
|
/**
|
|
849
1221
|
* Lifecycle state of a round.
|
|
850
1222
|
*/
|
|
@@ -858,6 +1230,27 @@ declare const RoundStateDto: {
|
|
|
858
1230
|
* Lifecycle state of a round.
|
|
859
1231
|
*/
|
|
860
1232
|
type RoundStateDto = typeof RoundStateDto[keyof typeof RoundStateDto];
|
|
1233
|
+
type RoundsApiError400Error = ({
|
|
1234
|
+
code: 'invalid_before';
|
|
1235
|
+
} & RoundsApiError400InvalidBefore) | ({
|
|
1236
|
+
code: 'invalid_range';
|
|
1237
|
+
} & RoundsApiError400InvalidRange) | ({
|
|
1238
|
+
code: 'invalid_is_sat_strike';
|
|
1239
|
+
} & RoundsApiError400InvalidIsSatStrike) | ({
|
|
1240
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1241
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1242
|
+
type RoundsApiError400InvalidBefore = {
|
|
1243
|
+
code: 'invalid_before';
|
|
1244
|
+
};
|
|
1245
|
+
type RoundsApiError400InvalidIsSatStrike = {
|
|
1246
|
+
code: 'invalid_is_sat_strike';
|
|
1247
|
+
};
|
|
1248
|
+
type RoundsApiError400InvalidRange = {
|
|
1249
|
+
code: 'invalid_range';
|
|
1250
|
+
};
|
|
1251
|
+
type RoundsApiError500Error = {
|
|
1252
|
+
code: 'internal';
|
|
1253
|
+
};
|
|
861
1254
|
/**
|
|
862
1255
|
* Protocol configuration: token mints and fee rates.
|
|
863
1256
|
*/
|
|
@@ -941,6 +1334,11 @@ type StrikeJackpotDto = {
|
|
|
941
1334
|
* BTC held after the swap.
|
|
942
1335
|
*/
|
|
943
1336
|
btcAmount: U64Dto;
|
|
1337
|
+
/**
|
|
1338
|
+
* When the last triggering round was settled (indexed history). Null when
|
|
1339
|
+
* the jackpot was never triggered or that round is not indexed/settled.
|
|
1340
|
+
*/
|
|
1341
|
+
lastTriggerAt?: Date | null;
|
|
944
1342
|
/**
|
|
945
1343
|
* Last round id at which the strike jackpot was triggered.
|
|
946
1344
|
*/
|
|
@@ -969,17 +1367,69 @@ type U128Dto = bigint;
|
|
|
969
1367
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
970
1368
|
*/
|
|
971
1369
|
type U64Dto = bigint;
|
|
1370
|
+
type UserClaimsApiError400Error = ({
|
|
1371
|
+
code: 'invalid_address';
|
|
1372
|
+
} & UserClaimsApiError400InvalidAddress) | ({
|
|
1373
|
+
code: 'invalid_before';
|
|
1374
|
+
} & UserClaimsApiError400InvalidBefore) | ({
|
|
1375
|
+
code: 'invalid_range';
|
|
1376
|
+
} & UserClaimsApiError400InvalidRange) | ({
|
|
1377
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1378
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1379
|
+
type UserClaimsApiError400InvalidAddress = {
|
|
1380
|
+
code: 'invalid_address';
|
|
1381
|
+
};
|
|
1382
|
+
type UserClaimsApiError400InvalidBefore = {
|
|
1383
|
+
code: 'invalid_before';
|
|
1384
|
+
};
|
|
1385
|
+
type UserClaimsApiError400InvalidRange = {
|
|
1386
|
+
code: 'invalid_range';
|
|
1387
|
+
};
|
|
1388
|
+
type UserClaimsApiError500Error = {
|
|
1389
|
+
code: 'internal';
|
|
1390
|
+
};
|
|
972
1391
|
type UserDeploymentsApiError400Error = ({
|
|
973
1392
|
code: 'invalid_address';
|
|
974
1393
|
} & UserDeploymentsApiError400InvalidAddress) | ({
|
|
1394
|
+
code: 'invalid_before';
|
|
1395
|
+
} & UserDeploymentsApiError400InvalidBefore) | ({
|
|
1396
|
+
code: 'invalid_range';
|
|
1397
|
+
} & UserDeploymentsApiError400InvalidRange) | ({
|
|
975
1398
|
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
976
1399
|
} & BadRequestErrorCodeErrorBody);
|
|
977
1400
|
type UserDeploymentsApiError400InvalidAddress = {
|
|
978
1401
|
code: 'invalid_address';
|
|
979
1402
|
};
|
|
1403
|
+
type UserDeploymentsApiError400InvalidBefore = {
|
|
1404
|
+
code: 'invalid_before';
|
|
1405
|
+
};
|
|
1406
|
+
type UserDeploymentsApiError400InvalidRange = {
|
|
1407
|
+
code: 'invalid_range';
|
|
1408
|
+
};
|
|
980
1409
|
type UserDeploymentsApiError500Error = {
|
|
981
1410
|
code: 'internal';
|
|
982
1411
|
};
|
|
1412
|
+
type UserHashrateApiError400Error = ({
|
|
1413
|
+
code: 'invalid_address';
|
|
1414
|
+
} & UserHashrateApiError400InvalidAddress) | ({
|
|
1415
|
+
code: 'invalid_before';
|
|
1416
|
+
} & UserHashrateApiError400InvalidBefore) | ({
|
|
1417
|
+
code: 'invalid_range';
|
|
1418
|
+
} & UserHashrateApiError400InvalidRange) | ({
|
|
1419
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1420
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1421
|
+
type UserHashrateApiError400InvalidAddress = {
|
|
1422
|
+
code: 'invalid_address';
|
|
1423
|
+
};
|
|
1424
|
+
type UserHashrateApiError400InvalidBefore = {
|
|
1425
|
+
code: 'invalid_before';
|
|
1426
|
+
};
|
|
1427
|
+
type UserHashrateApiError400InvalidRange = {
|
|
1428
|
+
code: 'invalid_range';
|
|
1429
|
+
};
|
|
1430
|
+
type UserHashrateApiError500Error = {
|
|
1431
|
+
code: 'internal';
|
|
1432
|
+
};
|
|
983
1433
|
type UserProfileApiError400Error = ({
|
|
984
1434
|
code: 'invalid_address';
|
|
985
1435
|
} & UserProfileApiError400InvalidAddress) | ({
|
|
@@ -988,13 +1438,39 @@ type UserProfileApiError400Error = ({
|
|
|
988
1438
|
type UserProfileApiError400InvalidAddress = {
|
|
989
1439
|
code: 'invalid_address';
|
|
990
1440
|
};
|
|
991
|
-
type
|
|
992
|
-
code: '
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1441
|
+
type UserVaultEntriesApiError400Error = ({
|
|
1442
|
+
code: 'invalid_address';
|
|
1443
|
+
} & UserVaultEntriesApiError400InvalidAddress) | ({
|
|
1444
|
+
code: 'invalid_before';
|
|
1445
|
+
} & UserVaultEntriesApiError400InvalidBefore) | ({
|
|
1446
|
+
code: 'invalid_range';
|
|
1447
|
+
} & UserVaultEntriesApiError400InvalidRange) | ({
|
|
1448
|
+
code: 'invalid_wins_only';
|
|
1449
|
+
} & UserVaultEntriesApiError400InvalidWinsOnly) | ({
|
|
1450
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1451
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1452
|
+
type UserVaultEntriesApiError400InvalidAddress = {
|
|
1453
|
+
code: 'invalid_address';
|
|
1454
|
+
};
|
|
1455
|
+
type UserVaultEntriesApiError400InvalidBefore = {
|
|
1456
|
+
code: 'invalid_before';
|
|
1457
|
+
};
|
|
1458
|
+
type UserVaultEntriesApiError400InvalidRange = {
|
|
1459
|
+
code: 'invalid_range';
|
|
1460
|
+
};
|
|
1461
|
+
type UserVaultEntriesApiError400InvalidWinsOnly = {
|
|
1462
|
+
code: 'invalid_wins_only';
|
|
1463
|
+
};
|
|
1464
|
+
type UserVaultEntriesApiError500Error = {
|
|
1465
|
+
code: 'internal';
|
|
1466
|
+
};
|
|
1467
|
+
type ValidationErrorCodeErrorBody = {
|
|
1468
|
+
code: 'validation_failed';
|
|
1469
|
+
data?: {
|
|
1470
|
+
errors: Array<FieldError>;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
type ValidationErrorCodeValidationDetailsErrorBody = {
|
|
998
1474
|
code: 'validation_failed';
|
|
999
1475
|
data?: {
|
|
1000
1476
|
errors: Array<FieldError>;
|
|
@@ -1032,6 +1508,191 @@ type GetConfigResponses = {
|
|
|
1032
1508
|
};
|
|
1033
1509
|
};
|
|
1034
1510
|
type GetConfigResponse = GetConfigResponses[keyof GetConfigResponses];
|
|
1511
|
+
type GetEpochHistoryData = {
|
|
1512
|
+
body?: never;
|
|
1513
|
+
path?: never;
|
|
1514
|
+
query?: {
|
|
1515
|
+
/**
|
|
1516
|
+
* Only iterations with `id` strictly below this cursor; pass the last
|
|
1517
|
+
* `id` of the previous page to fetch the next one.
|
|
1518
|
+
*/
|
|
1519
|
+
before?: number;
|
|
1520
|
+
/**
|
|
1521
|
+
* Only iterations with `id` strictly above this cursor; pass the first
|
|
1522
|
+
* `id` of a page to fetch newer iterations.
|
|
1523
|
+
*/
|
|
1524
|
+
after?: number;
|
|
1525
|
+
/**
|
|
1526
|
+
* Page size, 1..=100; defaults to 50.
|
|
1527
|
+
*/
|
|
1528
|
+
limit?: number;
|
|
1529
|
+
};
|
|
1530
|
+
url: '/v1/epoch/history';
|
|
1531
|
+
};
|
|
1532
|
+
type GetEpochHistoryErrors = {
|
|
1533
|
+
400: EpochHistoryApiError400Error;
|
|
1534
|
+
422: ValidationErrorCodeErrorBody;
|
|
1535
|
+
500: EpochHistoryApiError500Error;
|
|
1536
|
+
};
|
|
1537
|
+
type GetEpochHistoryError = GetEpochHistoryErrors[keyof GetEpochHistoryErrors];
|
|
1538
|
+
type GetEpochHistoryResponses = {
|
|
1539
|
+
200: {
|
|
1540
|
+
data: Array<EpochIterationHistoryDto>;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
type GetEpochHistoryResponse = GetEpochHistoryResponses[keyof GetEpochHistoryResponses];
|
|
1544
|
+
type GetEpochWinnersData = {
|
|
1545
|
+
body?: never;
|
|
1546
|
+
path?: never;
|
|
1547
|
+
query?: {
|
|
1548
|
+
/**
|
|
1549
|
+
* Only winners with entry `id` strictly below this cursor; pass the last
|
|
1550
|
+
* `id` of the previous page to fetch the next one.
|
|
1551
|
+
*/
|
|
1552
|
+
before?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* Only winners with entry `id` strictly above this cursor; pass the
|
|
1555
|
+
* first `id` of a page to fetch newer winners.
|
|
1556
|
+
*/
|
|
1557
|
+
after?: number;
|
|
1558
|
+
/**
|
|
1559
|
+
* Page size, 1..=100; defaults to 50.
|
|
1560
|
+
*/
|
|
1561
|
+
limit?: number;
|
|
1562
|
+
};
|
|
1563
|
+
url: '/v1/epoch/winners';
|
|
1564
|
+
};
|
|
1565
|
+
type GetEpochWinnersErrors = {
|
|
1566
|
+
400: EpochWinnersApiError400Error;
|
|
1567
|
+
422: ValidationErrorCodeErrorBody;
|
|
1568
|
+
500: EpochWinnersApiError500Error;
|
|
1569
|
+
};
|
|
1570
|
+
type GetEpochWinnersError = GetEpochWinnersErrors[keyof GetEpochWinnersErrors];
|
|
1571
|
+
type GetEpochWinnersResponses = {
|
|
1572
|
+
200: {
|
|
1573
|
+
data: Array<EpochWinnerHistoryDto>;
|
|
1574
|
+
};
|
|
1575
|
+
};
|
|
1576
|
+
type GetEpochWinnersResponse = GetEpochWinnersResponses[keyof GetEpochWinnersResponses];
|
|
1577
|
+
type GetHashrateEarnedLeaderboardData = {
|
|
1578
|
+
body?: never;
|
|
1579
|
+
path?: never;
|
|
1580
|
+
query?: never;
|
|
1581
|
+
url: '/v1/leaderboard/hashrate-earned';
|
|
1582
|
+
};
|
|
1583
|
+
type GetHashrateEarnedLeaderboardErrors = {
|
|
1584
|
+
500: InternalErrorCodeErrorBody;
|
|
1585
|
+
};
|
|
1586
|
+
type GetHashrateEarnedLeaderboardError = GetHashrateEarnedLeaderboardErrors[keyof GetHashrateEarnedLeaderboardErrors];
|
|
1587
|
+
type GetHashrateEarnedLeaderboardResponses = {
|
|
1588
|
+
200: {
|
|
1589
|
+
data: Array<LeaderboardEntryDto>;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
type GetHashrateEarnedLeaderboardResponse = GetHashrateEarnedLeaderboardResponses[keyof GetHashrateEarnedLeaderboardResponses];
|
|
1593
|
+
type GetRoundsPlayedLeaderboardData = {
|
|
1594
|
+
body?: never;
|
|
1595
|
+
path?: never;
|
|
1596
|
+
query?: never;
|
|
1597
|
+
url: '/v1/leaderboard/rounds-played';
|
|
1598
|
+
};
|
|
1599
|
+
type GetRoundsPlayedLeaderboardErrors = {
|
|
1600
|
+
500: InternalErrorCodeErrorBody;
|
|
1601
|
+
};
|
|
1602
|
+
type GetRoundsPlayedLeaderboardError = GetRoundsPlayedLeaderboardErrors[keyof GetRoundsPlayedLeaderboardErrors];
|
|
1603
|
+
type GetRoundsPlayedLeaderboardResponses = {
|
|
1604
|
+
200: {
|
|
1605
|
+
data: Array<LeaderboardEntryDto>;
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
type GetRoundsPlayedLeaderboardResponse = GetRoundsPlayedLeaderboardResponses[keyof GetRoundsPlayedLeaderboardResponses];
|
|
1609
|
+
type GetSatsEarnedLeaderboardData = {
|
|
1610
|
+
body?: never;
|
|
1611
|
+
path?: never;
|
|
1612
|
+
query?: never;
|
|
1613
|
+
url: '/v1/leaderboard/sats-earned';
|
|
1614
|
+
};
|
|
1615
|
+
type GetSatsEarnedLeaderboardErrors = {
|
|
1616
|
+
500: InternalErrorCodeErrorBody;
|
|
1617
|
+
};
|
|
1618
|
+
type GetSatsEarnedLeaderboardError = GetSatsEarnedLeaderboardErrors[keyof GetSatsEarnedLeaderboardErrors];
|
|
1619
|
+
type GetSatsEarnedLeaderboardResponses = {
|
|
1620
|
+
200: {
|
|
1621
|
+
data: Array<LeaderboardEntryDto>;
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
type GetSatsEarnedLeaderboardResponse = GetSatsEarnedLeaderboardResponses[keyof GetSatsEarnedLeaderboardResponses];
|
|
1625
|
+
type GetOneBtcHistoryData = {
|
|
1626
|
+
body?: never;
|
|
1627
|
+
path?: never;
|
|
1628
|
+
query?: {
|
|
1629
|
+
/**
|
|
1630
|
+
* Only iterations with `id` strictly below this cursor; pass the last
|
|
1631
|
+
* `id` of the previous page to fetch the next one.
|
|
1632
|
+
*/
|
|
1633
|
+
before?: number;
|
|
1634
|
+
/**
|
|
1635
|
+
* Only iterations with `id` strictly above this cursor; pass the first
|
|
1636
|
+
* `id` of a page to fetch newer iterations.
|
|
1637
|
+
*/
|
|
1638
|
+
after?: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* Page size, 1..=100; defaults to 50.
|
|
1641
|
+
*/
|
|
1642
|
+
limit?: number;
|
|
1643
|
+
};
|
|
1644
|
+
url: '/v1/one-btc/history';
|
|
1645
|
+
};
|
|
1646
|
+
type GetOneBtcHistoryErrors = {
|
|
1647
|
+
400: OneBtcHistoryApiError400Error;
|
|
1648
|
+
422: ValidationErrorCodeErrorBody;
|
|
1649
|
+
500: OneBtcHistoryApiError500Error;
|
|
1650
|
+
};
|
|
1651
|
+
type GetOneBtcHistoryError = GetOneBtcHistoryErrors[keyof GetOneBtcHistoryErrors];
|
|
1652
|
+
type GetOneBtcHistoryResponses = {
|
|
1653
|
+
200: {
|
|
1654
|
+
data: Array<OneBtcIterationHistoryDto>;
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
type GetOneBtcHistoryResponse = GetOneBtcHistoryResponses[keyof GetOneBtcHistoryResponses];
|
|
1658
|
+
type GetRoundsData = {
|
|
1659
|
+
body?: never;
|
|
1660
|
+
path?: never;
|
|
1661
|
+
query?: {
|
|
1662
|
+
/**
|
|
1663
|
+
* Only rounds with `id` strictly below this cursor; pass the last `id`
|
|
1664
|
+
* of the previous page to fetch the next one.
|
|
1665
|
+
*/
|
|
1666
|
+
before?: number;
|
|
1667
|
+
/**
|
|
1668
|
+
* Only rounds with `id` strictly above this cursor; pass the first `id`
|
|
1669
|
+
* of a page to fetch newer rounds.
|
|
1670
|
+
*/
|
|
1671
|
+
after?: number;
|
|
1672
|
+
/**
|
|
1673
|
+
* Page size, 1..=100; defaults to 50.
|
|
1674
|
+
*/
|
|
1675
|
+
limit?: number;
|
|
1676
|
+
/**
|
|
1677
|
+
* Pass 1 to return only rounds where the sat strike was triggered; 0 or
|
|
1678
|
+
* omitted applies no filter.
|
|
1679
|
+
*/
|
|
1680
|
+
isSatStrike?: number;
|
|
1681
|
+
};
|
|
1682
|
+
url: '/v1/rounds';
|
|
1683
|
+
};
|
|
1684
|
+
type GetRoundsErrors = {
|
|
1685
|
+
400: RoundsApiError400Error;
|
|
1686
|
+
422: ValidationErrorCodeErrorBody;
|
|
1687
|
+
500: RoundsApiError500Error;
|
|
1688
|
+
};
|
|
1689
|
+
type GetRoundsError = GetRoundsErrors[keyof GetRoundsErrors];
|
|
1690
|
+
type GetRoundsResponses = {
|
|
1691
|
+
200: {
|
|
1692
|
+
data: Array<RoundHistoryDto>;
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
type GetRoundsResponse = GetRoundsResponses[keyof GetRoundsResponses];
|
|
1035
1696
|
type SseData = {
|
|
1036
1697
|
body?: never;
|
|
1037
1698
|
path?: never;
|
|
@@ -1083,6 +1744,44 @@ type GetUserProfileResponses = {
|
|
|
1083
1744
|
};
|
|
1084
1745
|
};
|
|
1085
1746
|
type GetUserProfileResponse = GetUserProfileResponses[keyof GetUserProfileResponses];
|
|
1747
|
+
type GetUserClaimsData = {
|
|
1748
|
+
body?: never;
|
|
1749
|
+
path: {
|
|
1750
|
+
/**
|
|
1751
|
+
* User wallet address (base58)
|
|
1752
|
+
*/
|
|
1753
|
+
address: string;
|
|
1754
|
+
};
|
|
1755
|
+
query?: {
|
|
1756
|
+
/**
|
|
1757
|
+
* Only claims with `id` strictly below this cursor; pass the last `id`
|
|
1758
|
+
* of the previous page to fetch the next one.
|
|
1759
|
+
*/
|
|
1760
|
+
before?: number;
|
|
1761
|
+
/**
|
|
1762
|
+
* Only claims with `id` strictly above this cursor; pass the first `id`
|
|
1763
|
+
* of a page to fetch newer claims.
|
|
1764
|
+
*/
|
|
1765
|
+
after?: number;
|
|
1766
|
+
/**
|
|
1767
|
+
* Page size, 1..=100; defaults to 50.
|
|
1768
|
+
*/
|
|
1769
|
+
limit?: number;
|
|
1770
|
+
};
|
|
1771
|
+
url: '/v1/users/{address}/claims';
|
|
1772
|
+
};
|
|
1773
|
+
type GetUserClaimsErrors = {
|
|
1774
|
+
400: UserClaimsApiError400Error;
|
|
1775
|
+
422: ValidationErrorCodeErrorBody;
|
|
1776
|
+
500: UserClaimsApiError500Error;
|
|
1777
|
+
};
|
|
1778
|
+
type GetUserClaimsError = GetUserClaimsErrors[keyof GetUserClaimsErrors];
|
|
1779
|
+
type GetUserClaimsResponses = {
|
|
1780
|
+
200: {
|
|
1781
|
+
data: Array<MinerClaimDto>;
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
type GetUserClaimsResponse = GetUserClaimsResponses[keyof GetUserClaimsResponses];
|
|
1086
1785
|
type GetUserDeploymentsData = {
|
|
1087
1786
|
body?: never;
|
|
1088
1787
|
path: {
|
|
@@ -1097,6 +1796,11 @@ type GetUserDeploymentsData = {
|
|
|
1097
1796
|
* last `round_id` of the previous page to fetch the next one.
|
|
1098
1797
|
*/
|
|
1099
1798
|
before?: number;
|
|
1799
|
+
/**
|
|
1800
|
+
* Only deployments with `round_id` strictly above this cursor; pass the
|
|
1801
|
+
* first `round_id` of a page to fetch newer deployments.
|
|
1802
|
+
*/
|
|
1803
|
+
after?: number;
|
|
1100
1804
|
/**
|
|
1101
1805
|
* Page size, 1..=100; defaults to 50.
|
|
1102
1806
|
*/
|
|
@@ -1116,6 +1820,128 @@ type GetUserDeploymentsResponses = {
|
|
|
1116
1820
|
};
|
|
1117
1821
|
};
|
|
1118
1822
|
type GetUserDeploymentsResponse = GetUserDeploymentsResponses[keyof GetUserDeploymentsResponses];
|
|
1823
|
+
type GetUserEpochEntriesData = {
|
|
1824
|
+
body?: never;
|
|
1825
|
+
path: {
|
|
1826
|
+
/**
|
|
1827
|
+
* User wallet address (base58)
|
|
1828
|
+
*/
|
|
1829
|
+
address: string;
|
|
1830
|
+
};
|
|
1831
|
+
query?: {
|
|
1832
|
+
/**
|
|
1833
|
+
* Only entries with `id` strictly below this cursor; pass the last `id`
|
|
1834
|
+
* of the previous page to fetch the next one.
|
|
1835
|
+
*/
|
|
1836
|
+
before?: number;
|
|
1837
|
+
/**
|
|
1838
|
+
* Only entries with `id` strictly above this cursor; pass the first
|
|
1839
|
+
* `id` of a page to fetch newer entries.
|
|
1840
|
+
*/
|
|
1841
|
+
after?: number;
|
|
1842
|
+
/**
|
|
1843
|
+
* Page size, 1..=100; defaults to 50.
|
|
1844
|
+
*/
|
|
1845
|
+
limit?: number;
|
|
1846
|
+
/**
|
|
1847
|
+
* Pass 1 to return only winning entries; 0 or omitted applies no filter.
|
|
1848
|
+
*/
|
|
1849
|
+
winsOnly?: number;
|
|
1850
|
+
};
|
|
1851
|
+
url: '/v1/users/{address}/epoch';
|
|
1852
|
+
};
|
|
1853
|
+
type GetUserEpochEntriesErrors = {
|
|
1854
|
+
400: UserVaultEntriesApiError400Error;
|
|
1855
|
+
422: ValidationErrorCodeErrorBody;
|
|
1856
|
+
500: UserVaultEntriesApiError500Error;
|
|
1857
|
+
};
|
|
1858
|
+
type GetUserEpochEntriesError = GetUserEpochEntriesErrors[keyof GetUserEpochEntriesErrors];
|
|
1859
|
+
type GetUserEpochEntriesResponses = {
|
|
1860
|
+
200: {
|
|
1861
|
+
data: Array<MinerEpochEntryDto>;
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
type GetUserEpochEntriesResponse = GetUserEpochEntriesResponses[keyof GetUserEpochEntriesResponses];
|
|
1865
|
+
type GetUserHashrateActionsData = {
|
|
1866
|
+
body?: never;
|
|
1867
|
+
path: {
|
|
1868
|
+
/**
|
|
1869
|
+
* User wallet address (base58)
|
|
1870
|
+
*/
|
|
1871
|
+
address: string;
|
|
1872
|
+
};
|
|
1873
|
+
query?: {
|
|
1874
|
+
/**
|
|
1875
|
+
* Only actions with `id` strictly below this cursor; pass the last `id`
|
|
1876
|
+
* of the previous page to fetch the next one.
|
|
1877
|
+
*/
|
|
1878
|
+
before?: number;
|
|
1879
|
+
/**
|
|
1880
|
+
* Only actions with `id` strictly above this cursor; pass the first
|
|
1881
|
+
* `id` of a page to fetch newer actions.
|
|
1882
|
+
*/
|
|
1883
|
+
after?: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* Page size, 1..=100; defaults to 50.
|
|
1886
|
+
*/
|
|
1887
|
+
limit?: number;
|
|
1888
|
+
};
|
|
1889
|
+
url: '/v1/users/{address}/hashrate';
|
|
1890
|
+
};
|
|
1891
|
+
type GetUserHashrateActionsErrors = {
|
|
1892
|
+
400: UserHashrateApiError400Error;
|
|
1893
|
+
422: ValidationErrorCodeErrorBody;
|
|
1894
|
+
500: UserHashrateApiError500Error;
|
|
1895
|
+
};
|
|
1896
|
+
type GetUserHashrateActionsError = GetUserHashrateActionsErrors[keyof GetUserHashrateActionsErrors];
|
|
1897
|
+
type GetUserHashrateActionsResponses = {
|
|
1898
|
+
200: {
|
|
1899
|
+
data: Array<MinerHashrateActionDto>;
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
type GetUserHashrateActionsResponse = GetUserHashrateActionsResponses[keyof GetUserHashrateActionsResponses];
|
|
1903
|
+
type GetUserOneBtcEntriesData = {
|
|
1904
|
+
body?: never;
|
|
1905
|
+
path: {
|
|
1906
|
+
/**
|
|
1907
|
+
* User wallet address (base58)
|
|
1908
|
+
*/
|
|
1909
|
+
address: string;
|
|
1910
|
+
};
|
|
1911
|
+
query?: {
|
|
1912
|
+
/**
|
|
1913
|
+
* Only entries with `id` strictly below this cursor; pass the last `id`
|
|
1914
|
+
* of the previous page to fetch the next one.
|
|
1915
|
+
*/
|
|
1916
|
+
before?: number;
|
|
1917
|
+
/**
|
|
1918
|
+
* Only entries with `id` strictly above this cursor; pass the first
|
|
1919
|
+
* `id` of a page to fetch newer entries.
|
|
1920
|
+
*/
|
|
1921
|
+
after?: number;
|
|
1922
|
+
/**
|
|
1923
|
+
* Page size, 1..=100; defaults to 50.
|
|
1924
|
+
*/
|
|
1925
|
+
limit?: number;
|
|
1926
|
+
/**
|
|
1927
|
+
* Pass 1 to return only winning entries; 0 or omitted applies no filter.
|
|
1928
|
+
*/
|
|
1929
|
+
winsOnly?: number;
|
|
1930
|
+
};
|
|
1931
|
+
url: '/v1/users/{address}/one-btc';
|
|
1932
|
+
};
|
|
1933
|
+
type GetUserOneBtcEntriesErrors = {
|
|
1934
|
+
400: UserVaultEntriesApiError400Error;
|
|
1935
|
+
422: ValidationErrorCodeErrorBody;
|
|
1936
|
+
500: UserVaultEntriesApiError500Error;
|
|
1937
|
+
};
|
|
1938
|
+
type GetUserOneBtcEntriesError = GetUserOneBtcEntriesErrors[keyof GetUserOneBtcEntriesErrors];
|
|
1939
|
+
type GetUserOneBtcEntriesResponses = {
|
|
1940
|
+
200: {
|
|
1941
|
+
data: Array<MinerOneBtcEntryDto>;
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
type GetUserOneBtcEntriesResponse = GetUserOneBtcEntriesResponses[keyof GetUserOneBtcEntriesResponses];
|
|
1119
1945
|
|
|
1120
1946
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
1121
1947
|
/**
|
|
@@ -1156,6 +1982,51 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
1156
1982
|
* Request config
|
|
1157
1983
|
*/
|
|
1158
1984
|
getConfig<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetConfigResponses, GetConfigErrors, ThrowOnError, "fields">;
|
|
1985
|
+
/**
|
|
1986
|
+
* Request Epoch Vault history
|
|
1987
|
+
*/
|
|
1988
|
+
getEpochHistory<ThrowOnError extends boolean = false>(parameters?: {
|
|
1989
|
+
before?: number;
|
|
1990
|
+
after?: number;
|
|
1991
|
+
limit?: number;
|
|
1992
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochHistoryResponses, GetEpochHistoryErrors, ThrowOnError, "fields">;
|
|
1993
|
+
/**
|
|
1994
|
+
* Request Epoch Vault winners
|
|
1995
|
+
*/
|
|
1996
|
+
getEpochWinners<ThrowOnError extends boolean = false>(parameters?: {
|
|
1997
|
+
before?: number;
|
|
1998
|
+
after?: number;
|
|
1999
|
+
limit?: number;
|
|
2000
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetEpochWinnersResponses, GetEpochWinnersErrors, ThrowOnError, "fields">;
|
|
2001
|
+
/**
|
|
2002
|
+
* Request the top miners by lifetime hashrate earned
|
|
2003
|
+
*/
|
|
2004
|
+
getHashrateEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetHashrateEarnedLeaderboardResponses, GetHashrateEarnedLeaderboardErrors, ThrowOnError, "fields">;
|
|
2005
|
+
/**
|
|
2006
|
+
* Request the top miners by lifetime rounds played
|
|
2007
|
+
*/
|
|
2008
|
+
getRoundsPlayedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetRoundsPlayedLeaderboardResponses, GetRoundsPlayedLeaderboardErrors, ThrowOnError, "fields">;
|
|
2009
|
+
/**
|
|
2010
|
+
* Request the top miners by lifetime sats earned
|
|
2011
|
+
*/
|
|
2012
|
+
getSatsEarnedLeaderboard<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): RequestResult<GetSatsEarnedLeaderboardResponses, GetSatsEarnedLeaderboardErrors, ThrowOnError, "fields">;
|
|
2013
|
+
/**
|
|
2014
|
+
* Request 1 BTC Vault history
|
|
2015
|
+
*/
|
|
2016
|
+
getOneBtcHistory<ThrowOnError extends boolean = false>(parameters?: {
|
|
2017
|
+
before?: number;
|
|
2018
|
+
after?: number;
|
|
2019
|
+
limit?: number;
|
|
2020
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetOneBtcHistoryResponses, GetOneBtcHistoryErrors, ThrowOnError, "fields">;
|
|
2021
|
+
/**
|
|
2022
|
+
* Request rounds history
|
|
2023
|
+
*/
|
|
2024
|
+
getRounds<ThrowOnError extends boolean = false>(parameters?: {
|
|
2025
|
+
before?: number;
|
|
2026
|
+
after?: number;
|
|
2027
|
+
limit?: number;
|
|
2028
|
+
isSatStrike?: number;
|
|
2029
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetRoundsResponses, GetRoundsErrors, ThrowOnError, "fields">;
|
|
1159
2030
|
/**
|
|
1160
2031
|
* Subscribe for SSE stream
|
|
1161
2032
|
*/
|
|
@@ -1168,14 +2039,53 @@ declare class SatrushBackendSdk extends HeyApiClient {
|
|
|
1168
2039
|
getUserProfile<ThrowOnError extends boolean = false>(parameters: {
|
|
1169
2040
|
address: string;
|
|
1170
2041
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserProfileResponses, GetUserProfileErrors, ThrowOnError, "fields">;
|
|
2042
|
+
/**
|
|
2043
|
+
* Request user claims
|
|
2044
|
+
*/
|
|
2045
|
+
getUserClaims<ThrowOnError extends boolean = false>(parameters: {
|
|
2046
|
+
address: string;
|
|
2047
|
+
before?: number;
|
|
2048
|
+
after?: number;
|
|
2049
|
+
limit?: number;
|
|
2050
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserClaimsResponses, GetUserClaimsErrors, ThrowOnError, "fields">;
|
|
1171
2051
|
/**
|
|
1172
2052
|
* Request user deployments
|
|
1173
2053
|
*/
|
|
1174
2054
|
getUserDeployments<ThrowOnError extends boolean = false>(parameters: {
|
|
1175
2055
|
address: string;
|
|
1176
2056
|
before?: number;
|
|
2057
|
+
after?: number;
|
|
1177
2058
|
limit?: number;
|
|
1178
2059
|
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserDeploymentsResponses, GetUserDeploymentsErrors, ThrowOnError, "fields">;
|
|
2060
|
+
/**
|
|
2061
|
+
* Request user Epoch Vault entries
|
|
2062
|
+
*/
|
|
2063
|
+
getUserEpochEntries<ThrowOnError extends boolean = false>(parameters: {
|
|
2064
|
+
address: string;
|
|
2065
|
+
before?: number;
|
|
2066
|
+
after?: number;
|
|
2067
|
+
limit?: number;
|
|
2068
|
+
winsOnly?: number;
|
|
2069
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserEpochEntriesResponses, GetUserEpochEntriesErrors, ThrowOnError, "fields">;
|
|
2070
|
+
/**
|
|
2071
|
+
* Request user hashrate history
|
|
2072
|
+
*/
|
|
2073
|
+
getUserHashrateActions<ThrowOnError extends boolean = false>(parameters: {
|
|
2074
|
+
address: string;
|
|
2075
|
+
before?: number;
|
|
2076
|
+
after?: number;
|
|
2077
|
+
limit?: number;
|
|
2078
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserHashrateActionsResponses, GetUserHashrateActionsErrors, ThrowOnError, "fields">;
|
|
2079
|
+
/**
|
|
2080
|
+
* Request user 1 BTC Vault entries
|
|
2081
|
+
*/
|
|
2082
|
+
getUserOneBtcEntries<ThrowOnError extends boolean = false>(parameters: {
|
|
2083
|
+
address: string;
|
|
2084
|
+
before?: number;
|
|
2085
|
+
after?: number;
|
|
2086
|
+
limit?: number;
|
|
2087
|
+
winsOnly?: number;
|
|
2088
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetUserOneBtcEntriesResponses, GetUserOneBtcEntriesErrors, ThrowOnError, "fields">;
|
|
1179
2089
|
}
|
|
1180
2090
|
|
|
1181
2091
|
/**
|
|
@@ -1193,6 +2103,38 @@ declare const zBadRequestErrorCodeErrorBody: z.ZodObject<{
|
|
|
1193
2103
|
invalid_body: "invalid_body";
|
|
1194
2104
|
}>;
|
|
1195
2105
|
}, z.core.$strip>;
|
|
2106
|
+
/**
|
|
2107
|
+
* Kind of an indexed claim.
|
|
2108
|
+
*/
|
|
2109
|
+
declare const zClaimTypeDto: z.ZodEnum<{
|
|
2110
|
+
usd: "usd";
|
|
2111
|
+
sats: "sats";
|
|
2112
|
+
}>;
|
|
2113
|
+
declare const zEpochHistoryApiError400InvalidRange: z.ZodObject<{
|
|
2114
|
+
code: z.ZodEnum<{
|
|
2115
|
+
invalid_range: "invalid_range";
|
|
2116
|
+
}>;
|
|
2117
|
+
}, z.core.$strip>;
|
|
2118
|
+
declare const zEpochHistoryApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2119
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2121
|
+
code: z.ZodEnum<{
|
|
2122
|
+
invalid_range: "invalid_range";
|
|
2123
|
+
}>;
|
|
2124
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2125
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2127
|
+
code: z.ZodEnum<{
|
|
2128
|
+
invalid_path: "invalid_path";
|
|
2129
|
+
invalid_query: "invalid_query";
|
|
2130
|
+
invalid_body: "invalid_body";
|
|
2131
|
+
}>;
|
|
2132
|
+
}, z.core.$strip>>]>;
|
|
2133
|
+
declare const zEpochHistoryApiError500Error: z.ZodObject<{
|
|
2134
|
+
code: z.ZodEnum<{
|
|
2135
|
+
internal: "internal";
|
|
2136
|
+
}>;
|
|
2137
|
+
}, z.core.$strip>;
|
|
1196
2138
|
/**
|
|
1197
2139
|
* Lifecycle state of an epoch vault iteration.
|
|
1198
2140
|
*/
|
|
@@ -1202,10 +2144,53 @@ declare const zEpochStateDto: z.ZodEnum<{
|
|
|
1202
2144
|
settled: "settled";
|
|
1203
2145
|
complete: "complete";
|
|
1204
2146
|
}>;
|
|
2147
|
+
declare const zEpochWinnersApiError400InvalidBefore: z.ZodObject<{
|
|
2148
|
+
code: z.ZodEnum<{
|
|
2149
|
+
invalid_before: "invalid_before";
|
|
2150
|
+
}>;
|
|
2151
|
+
}, z.core.$strip>;
|
|
2152
|
+
declare const zEpochWinnersApiError400InvalidRange: z.ZodObject<{
|
|
2153
|
+
code: z.ZodEnum<{
|
|
2154
|
+
invalid_range: "invalid_range";
|
|
2155
|
+
}>;
|
|
2156
|
+
}, z.core.$strip>;
|
|
2157
|
+
declare const zEpochWinnersApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2158
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
2159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2160
|
+
code: z.ZodEnum<{
|
|
2161
|
+
invalid_before: "invalid_before";
|
|
2162
|
+
}>;
|
|
2163
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2164
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2166
|
+
code: z.ZodEnum<{
|
|
2167
|
+
invalid_range: "invalid_range";
|
|
2168
|
+
}>;
|
|
2169
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2170
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2172
|
+
code: z.ZodEnum<{
|
|
2173
|
+
invalid_path: "invalid_path";
|
|
2174
|
+
invalid_query: "invalid_query";
|
|
2175
|
+
invalid_body: "invalid_body";
|
|
2176
|
+
}>;
|
|
2177
|
+
}, z.core.$strip>>]>;
|
|
2178
|
+
declare const zEpochWinnersApiError500Error: z.ZodObject<{
|
|
2179
|
+
code: z.ZodEnum<{
|
|
2180
|
+
internal: "internal";
|
|
2181
|
+
}>;
|
|
2182
|
+
}, z.core.$strip>;
|
|
1205
2183
|
declare const zFieldError: z.ZodObject<{
|
|
1206
2184
|
field: z.ZodString;
|
|
1207
2185
|
message: z.ZodString;
|
|
1208
2186
|
}, z.core.$strip>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Kind of an indexed hashrate spend.
|
|
2189
|
+
*/
|
|
2190
|
+
declare const zHashrateActionTypeDto: z.ZodEnum<{
|
|
2191
|
+
buy_epoch_tickets: "buy_epoch_tickets";
|
|
2192
|
+
buy_one_btc_tickets: "buy_one_btc_tickets";
|
|
2193
|
+
}>;
|
|
1209
2194
|
/**
|
|
1210
2195
|
* Signed 128-bit integer encoded as a decimal string.
|
|
1211
2196
|
*/
|
|
@@ -1222,6 +2207,31 @@ declare const zInternalErrorCodeErrorBody: z.ZodObject<{
|
|
|
1222
2207
|
declare const zNotificationEntity: z.ZodEnum<{
|
|
1223
2208
|
state_snapshot: "state_snapshot";
|
|
1224
2209
|
}>;
|
|
2210
|
+
declare const zOneBtcHistoryApiError400InvalidRange: z.ZodObject<{
|
|
2211
|
+
code: z.ZodEnum<{
|
|
2212
|
+
invalid_range: "invalid_range";
|
|
2213
|
+
}>;
|
|
2214
|
+
}, z.core.$strip>;
|
|
2215
|
+
declare const zOneBtcHistoryApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2216
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2218
|
+
code: z.ZodEnum<{
|
|
2219
|
+
invalid_range: "invalid_range";
|
|
2220
|
+
}>;
|
|
2221
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2222
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2224
|
+
code: z.ZodEnum<{
|
|
2225
|
+
invalid_path: "invalid_path";
|
|
2226
|
+
invalid_query: "invalid_query";
|
|
2227
|
+
invalid_body: "invalid_body";
|
|
2228
|
+
}>;
|
|
2229
|
+
}, z.core.$strip>>]>;
|
|
2230
|
+
declare const zOneBtcHistoryApiError500Error: z.ZodObject<{
|
|
2231
|
+
code: z.ZodEnum<{
|
|
2232
|
+
internal: "internal";
|
|
2233
|
+
}>;
|
|
2234
|
+
}, z.core.$strip>;
|
|
1225
2235
|
/**
|
|
1226
2236
|
* Lifecycle state of a 1 BTC vault iteration.
|
|
1227
2237
|
*/
|
|
@@ -1234,6 +2244,7 @@ declare const zOneBtcStateDto: z.ZodEnum<{
|
|
|
1234
2244
|
* A past round's outcome from the indexed history.
|
|
1235
2245
|
*/
|
|
1236
2246
|
declare const zPreviousRoundDto: z.ZodObject<{
|
|
2247
|
+
roundId: z.ZodInt;
|
|
1237
2248
|
winningTile: z.ZodInt;
|
|
1238
2249
|
}, z.core.$strip>;
|
|
1239
2250
|
/**
|
|
@@ -1250,6 +2261,16 @@ declare const zPricesDto: z.ZodObject<{
|
|
|
1250
2261
|
* - OpenAPI: `type: string`, pattern for base58, optional format
|
|
1251
2262
|
*/
|
|
1252
2263
|
declare const zPubkeyDto: z.ZodString;
|
|
2264
|
+
/**
|
|
2265
|
+
* Lifecycle state of an indexed round.
|
|
2266
|
+
*/
|
|
2267
|
+
declare const zRoundHistoryStateDto: z.ZodEnum<{
|
|
2268
|
+
settled: "settled";
|
|
2269
|
+
active: "active";
|
|
2270
|
+
revealed: "revealed";
|
|
2271
|
+
finished: "finished";
|
|
2272
|
+
pending: "pending";
|
|
2273
|
+
}>;
|
|
1253
2274
|
/**
|
|
1254
2275
|
* Lifecycle state of a round.
|
|
1255
2276
|
*/
|
|
@@ -1259,6 +2280,53 @@ declare const zRoundStateDto: z.ZodEnum<{
|
|
|
1259
2280
|
revealed: "revealed";
|
|
1260
2281
|
finished: "finished";
|
|
1261
2282
|
}>;
|
|
2283
|
+
declare const zRoundsApiError400InvalidBefore: z.ZodObject<{
|
|
2284
|
+
code: z.ZodEnum<{
|
|
2285
|
+
invalid_before: "invalid_before";
|
|
2286
|
+
}>;
|
|
2287
|
+
}, z.core.$strip>;
|
|
2288
|
+
declare const zRoundsApiError400InvalidIsSatStrike: z.ZodObject<{
|
|
2289
|
+
code: z.ZodEnum<{
|
|
2290
|
+
invalid_is_sat_strike: "invalid_is_sat_strike";
|
|
2291
|
+
}>;
|
|
2292
|
+
}, z.core.$strip>;
|
|
2293
|
+
declare const zRoundsApiError400InvalidRange: z.ZodObject<{
|
|
2294
|
+
code: z.ZodEnum<{
|
|
2295
|
+
invalid_range: "invalid_range";
|
|
2296
|
+
}>;
|
|
2297
|
+
}, z.core.$strip>;
|
|
2298
|
+
declare const zRoundsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2299
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
2300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2301
|
+
code: z.ZodEnum<{
|
|
2302
|
+
invalid_before: "invalid_before";
|
|
2303
|
+
}>;
|
|
2304
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2305
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
2306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2307
|
+
code: z.ZodEnum<{
|
|
2308
|
+
invalid_range: "invalid_range";
|
|
2309
|
+
}>;
|
|
2310
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2311
|
+
code: z.ZodLiteral<"invalid_is_sat_strike">;
|
|
2312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2313
|
+
code: z.ZodEnum<{
|
|
2314
|
+
invalid_is_sat_strike: "invalid_is_sat_strike";
|
|
2315
|
+
}>;
|
|
2316
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2317
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2319
|
+
code: z.ZodEnum<{
|
|
2320
|
+
invalid_path: "invalid_path";
|
|
2321
|
+
invalid_query: "invalid_query";
|
|
2322
|
+
invalid_body: "invalid_body";
|
|
2323
|
+
}>;
|
|
2324
|
+
}, z.core.$strip>>]>;
|
|
2325
|
+
declare const zRoundsApiError500Error: z.ZodObject<{
|
|
2326
|
+
code: z.ZodEnum<{
|
|
2327
|
+
internal: "internal";
|
|
2328
|
+
}>;
|
|
2329
|
+
}, z.core.$strip>;
|
|
1262
2330
|
/**
|
|
1263
2331
|
* Unsigned 128-bit integer encoded as a decimal string.
|
|
1264
2332
|
*/
|
|
@@ -1267,6 +2335,20 @@ declare const zU128Dto: z.ZodString;
|
|
|
1267
2335
|
* Unsigned 64-bit integer encoded as a decimal string.
|
|
1268
2336
|
*/
|
|
1269
2337
|
declare const zU64Dto: z.ZodCoercedBigInt<unknown>;
|
|
2338
|
+
/**
|
|
2339
|
+
* An Epoch Vault iteration as recorded by the rounds indexer.
|
|
2340
|
+
*/
|
|
2341
|
+
declare const zEpochIterationHistoryDto: z.ZodObject<{
|
|
2342
|
+
address: z.ZodString;
|
|
2343
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2344
|
+
id: z.ZodInt;
|
|
2345
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2346
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2347
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2348
|
+
totalParticipants: z.ZodInt;
|
|
2349
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
2350
|
+
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2351
|
+
}, z.core.$strip>;
|
|
1270
2352
|
/**
|
|
1271
2353
|
* A user's participation in an epoch vault iteration.
|
|
1272
2354
|
*/
|
|
@@ -1336,7 +2418,9 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
1336
2418
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1337
2419
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1338
2420
|
}, z.core.$strip>]>>;
|
|
2421
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1339
2422
|
iterationId: z.ZodInt;
|
|
2423
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1340
2424
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1341
2425
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1342
2426
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1344,6 +2428,50 @@ declare const zEpochVaultDto: z.ZodObject<{
|
|
|
1344
2428
|
reservedBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
1345
2429
|
reservedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1346
2430
|
}, z.core.$strip>;
|
|
2431
|
+
/**
|
|
2432
|
+
* An Epoch Vault draw winner as recorded by the rounds indexer.
|
|
2433
|
+
*/
|
|
2434
|
+
declare const zEpochWinnerHistoryDto: z.ZodObject<{
|
|
2435
|
+
authority: z.ZodString;
|
|
2436
|
+
id: z.ZodInt;
|
|
2437
|
+
iterationId: z.ZodInt;
|
|
2438
|
+
rank: z.ZodInt;
|
|
2439
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2440
|
+
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2441
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2442
|
+
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2443
|
+
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2444
|
+
}, z.core.$strip>;
|
|
2445
|
+
/**
|
|
2446
|
+
* A miner's position on a lifetime-stats leaderboard.
|
|
2447
|
+
*/
|
|
2448
|
+
declare const zLeaderboardEntryDto: z.ZodObject<{
|
|
2449
|
+
authority: z.ZodString;
|
|
2450
|
+
maxStreak: z.ZodInt;
|
|
2451
|
+
rank: z.ZodInt;
|
|
2452
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
2453
|
+
totalRoundsPlayed: z.ZodInt;
|
|
2454
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
2455
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2456
|
+
}, z.core.$strip>;
|
|
2457
|
+
/**
|
|
2458
|
+
* A miner's claim as recorded by the rounds indexer from a `claim_usd` or
|
|
2459
|
+
* `claim_sats` instruction.
|
|
2460
|
+
*/
|
|
2461
|
+
declare const zMinerClaimDto: z.ZodObject<{
|
|
2462
|
+
authority: z.ZodString;
|
|
2463
|
+
btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2464
|
+
claimType: z.ZodEnum<{
|
|
2465
|
+
usd: "usd";
|
|
2466
|
+
sats: "sats";
|
|
2467
|
+
}>;
|
|
2468
|
+
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2469
|
+
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2470
|
+
id: z.ZodInt;
|
|
2471
|
+
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2472
|
+
signature: z.ZodString;
|
|
2473
|
+
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2474
|
+
}, z.core.$strip>;
|
|
1347
2475
|
/**
|
|
1348
2476
|
* A miner's deployment as recorded by the rounds indexer: the deploy itself
|
|
1349
2477
|
* plus its settlement outcome once the round is settled.
|
|
@@ -1387,6 +2515,71 @@ declare const zMinerDto: z.ZodObject<{
|
|
|
1387
2515
|
unsettledSatsShares: z.ZodCoercedBigInt<unknown>;
|
|
1388
2516
|
unsettledUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1389
2517
|
}, z.core.$strip>;
|
|
2518
|
+
/**
|
|
2519
|
+
* A miner's Epoch Vault participation as recorded by the rounds indexer: one
|
|
2520
|
+
* row per iteration, accumulating the wallet's ticket buys, plus the draw
|
|
2521
|
+
* outcome once resolved.
|
|
2522
|
+
*/
|
|
2523
|
+
declare const zMinerEpochEntryDto: z.ZodObject<{
|
|
2524
|
+
address: z.ZodString;
|
|
2525
|
+
authority: z.ZodString;
|
|
2526
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2527
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2528
|
+
id: z.ZodInt;
|
|
2529
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2530
|
+
iterationId: z.ZodInt;
|
|
2531
|
+
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2532
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2533
|
+
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2534
|
+
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2535
|
+
}, z.core.$strip>;
|
|
2536
|
+
/**
|
|
2537
|
+
* A miner's hashrate spend as recorded by the rounds indexer from a
|
|
2538
|
+
* `buy_epoch_tickets` or `buy_one_btc_tickets` instruction.
|
|
2539
|
+
*/
|
|
2540
|
+
declare const zMinerHashrateActionDto: z.ZodObject<{
|
|
2541
|
+
actionType: z.ZodEnum<{
|
|
2542
|
+
buy_epoch_tickets: "buy_epoch_tickets";
|
|
2543
|
+
buy_one_btc_tickets: "buy_one_btc_tickets";
|
|
2544
|
+
}>;
|
|
2545
|
+
authority: z.ZodString;
|
|
2546
|
+
executedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2547
|
+
hashrateSpent: z.ZodCoercedBigInt<unknown>;
|
|
2548
|
+
id: z.ZodInt;
|
|
2549
|
+
signature: z.ZodString;
|
|
2550
|
+
ticketsBought: z.ZodCoercedBigInt<unknown>;
|
|
2551
|
+
}, z.core.$strip>;
|
|
2552
|
+
/**
|
|
2553
|
+
* A miner's 1 BTC Vault ticket purchase as recorded by the rounds indexer:
|
|
2554
|
+
* one row per buy holding the contiguous range
|
|
2555
|
+
* `[start_ticket_id, start_ticket_id + tickets)`, plus the draw outcome once
|
|
2556
|
+
* resolved.
|
|
2557
|
+
*/
|
|
2558
|
+
declare const zMinerOneBtcEntryDto: z.ZodObject<{
|
|
2559
|
+
address: z.ZodString;
|
|
2560
|
+
authority: z.ZodString;
|
|
2561
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2562
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2563
|
+
id: z.ZodInt;
|
|
2564
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2565
|
+
iterationId: z.ZodInt;
|
|
2566
|
+
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2567
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
2568
|
+
}, z.core.$strip>;
|
|
2569
|
+
/**
|
|
2570
|
+
* A 1 BTC Vault iteration as recorded by the rounds indexer, including the
|
|
2571
|
+
* draw's winner once settled.
|
|
2572
|
+
*/
|
|
2573
|
+
declare const zOneBtcIterationHistoryDto: z.ZodObject<{
|
|
2574
|
+
address: z.ZodString;
|
|
2575
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2576
|
+
id: z.ZodInt;
|
|
2577
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2578
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2579
|
+
totalParticipants: z.ZodInt;
|
|
2580
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
2581
|
+
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
2582
|
+
}, z.core.$strip>;
|
|
1390
2583
|
/**
|
|
1391
2584
|
* A user's ticket purchase in a 1 BTC vault iteration.
|
|
1392
2585
|
*/
|
|
@@ -1488,12 +2681,6 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
1488
2681
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1489
2682
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1490
2683
|
}, z.core.$strip>]>>;
|
|
1491
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1492
|
-
address: z.ZodString;
|
|
1493
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1494
|
-
roundId: z.ZodInt;
|
|
1495
|
-
selectionMask: z.ZodInt;
|
|
1496
|
-
}, z.core.$strip>>;
|
|
1497
2684
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1498
2685
|
address: z.ZodString;
|
|
1499
2686
|
iterationId: z.ZodInt;
|
|
@@ -1526,6 +2713,36 @@ declare const zProfileDto: z.ZodObject<{
|
|
|
1526
2713
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1527
2714
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1528
2715
|
}, z.core.$strip>>;
|
|
2716
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
2717
|
+
address: z.ZodString;
|
|
2718
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2719
|
+
roundId: z.ZodInt;
|
|
2720
|
+
selectionMask: z.ZodInt;
|
|
2721
|
+
}, z.core.$strip>>;
|
|
2722
|
+
}, z.core.$strip>;
|
|
2723
|
+
/**
|
|
2724
|
+
* A round's outcome as recorded by the rounds indexer.
|
|
2725
|
+
*/
|
|
2726
|
+
declare const zRoundHistoryDto: z.ZodObject<{
|
|
2727
|
+
id: z.ZodInt;
|
|
2728
|
+
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
2729
|
+
minersCount: z.ZodInt;
|
|
2730
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2731
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2732
|
+
state: z.ZodEnum<{
|
|
2733
|
+
settled: "settled";
|
|
2734
|
+
active: "active";
|
|
2735
|
+
revealed: "revealed";
|
|
2736
|
+
finished: "finished";
|
|
2737
|
+
pending: "pending";
|
|
2738
|
+
}>;
|
|
2739
|
+
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2740
|
+
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2741
|
+
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
2742
|
+
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2743
|
+
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
2744
|
+
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2745
|
+
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1529
2746
|
}, z.core.$strip>;
|
|
1530
2747
|
/**
|
|
1531
2748
|
* Protocol configuration: token mints and fee rates.
|
|
@@ -1557,6 +2774,7 @@ declare const zSatsVaultDto: z.ZodObject<{
|
|
|
1557
2774
|
*/
|
|
1558
2775
|
declare const zStrikeJackpotDto: z.ZodObject<{
|
|
1559
2776
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2777
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1560
2778
|
lastTriggerRoundId: z.ZodInt;
|
|
1561
2779
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1562
2780
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1653,7 +2871,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1653
2871
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1654
2872
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1655
2873
|
}, z.core.$strip>]>>;
|
|
2874
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1656
2875
|
iterationId: z.ZodInt;
|
|
2876
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1657
2877
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1658
2878
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1659
2879
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1707,6 +2927,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1707
2927
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1708
2928
|
}, z.core.$strip>]>>;
|
|
1709
2929
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
2930
|
+
roundId: z.ZodInt;
|
|
1710
2931
|
winningTile: z.ZodInt;
|
|
1711
2932
|
}, z.core.$strip>>;
|
|
1712
2933
|
prices: z.ZodObject<{
|
|
@@ -1714,7 +2935,9 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1714
2935
|
sat: z.ZodNumber;
|
|
1715
2936
|
}, z.core.$strip>;
|
|
1716
2937
|
roundDuration: z.ZodInt;
|
|
2938
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1717
2939
|
roundId: z.ZodInt;
|
|
2940
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1718
2941
|
satsVault: z.ZodObject<{
|
|
1719
2942
|
address: z.ZodString;
|
|
1720
2943
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1723,6 +2946,7 @@ declare const zBoardDto: z.ZodObject<{
|
|
|
1723
2946
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1724
2947
|
strike: z.ZodObject<{
|
|
1725
2948
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
2949
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1726
2950
|
lastTriggerRoundId: z.ZodInt;
|
|
1727
2951
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1728
2952
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1782,7 +3006,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1782
3006
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1783
3007
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1784
3008
|
}, z.core.$strip>]>>;
|
|
3009
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1785
3010
|
iterationId: z.ZodInt;
|
|
3011
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1786
3012
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1787
3013
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1788
3014
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1836,6 +3062,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1836
3062
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1837
3063
|
}, z.core.$strip>]>>;
|
|
1838
3064
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
3065
|
+
roundId: z.ZodInt;
|
|
1839
3066
|
winningTile: z.ZodInt;
|
|
1840
3067
|
}, z.core.$strip>>;
|
|
1841
3068
|
prices: z.ZodObject<{
|
|
@@ -1843,7 +3070,9 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1843
3070
|
sat: z.ZodNumber;
|
|
1844
3071
|
}, z.core.$strip>;
|
|
1845
3072
|
roundDuration: z.ZodInt;
|
|
3073
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1846
3074
|
roundId: z.ZodInt;
|
|
3075
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1847
3076
|
satsVault: z.ZodObject<{
|
|
1848
3077
|
address: z.ZodString;
|
|
1849
3078
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1852,6 +3081,7 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1852
3081
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
1853
3082
|
strike: z.ZodObject<{
|
|
1854
3083
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3084
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
1855
3085
|
lastTriggerRoundId: z.ZodInt;
|
|
1856
3086
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1857
3087
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1879,12 +3109,6 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1879
3109
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
1880
3110
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
1881
3111
|
}, z.core.$strip>]>>;
|
|
1882
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
1883
|
-
address: z.ZodString;
|
|
1884
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1885
|
-
roundId: z.ZodInt;
|
|
1886
|
-
selectionMask: z.ZodInt;
|
|
1887
|
-
}, z.core.$strip>>;
|
|
1888
3112
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
1889
3113
|
address: z.ZodString;
|
|
1890
3114
|
iterationId: z.ZodInt;
|
|
@@ -1917,6 +3141,12 @@ declare const zSnapshotDto: z.ZodObject<{
|
|
|
1917
3141
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
1918
3142
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
1919
3143
|
}, z.core.$strip>>;
|
|
3144
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
3145
|
+
address: z.ZodString;
|
|
3146
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3147
|
+
roundId: z.ZodInt;
|
|
3148
|
+
selectionMask: z.ZodInt;
|
|
3149
|
+
}, z.core.$strip>>;
|
|
1920
3150
|
}, z.core.$strip>]>>;
|
|
1921
3151
|
}, z.core.$strip>;
|
|
1922
3152
|
declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
@@ -1973,7 +3203,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
1973
3203
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1974
3204
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
1975
3205
|
}, z.core.$strip>]>>;
|
|
3206
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1976
3207
|
iterationId: z.ZodInt;
|
|
3208
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
1977
3209
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
1978
3210
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
1979
3211
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2027,6 +3259,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
2027
3259
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2028
3260
|
}, z.core.$strip>]>>;
|
|
2029
3261
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
3262
|
+
roundId: z.ZodInt;
|
|
2030
3263
|
winningTile: z.ZodInt;
|
|
2031
3264
|
}, z.core.$strip>>;
|
|
2032
3265
|
prices: z.ZodObject<{
|
|
@@ -2034,7 +3267,9 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
2034
3267
|
sat: z.ZodNumber;
|
|
2035
3268
|
}, z.core.$strip>;
|
|
2036
3269
|
roundDuration: z.ZodInt;
|
|
3270
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2037
3271
|
roundId: z.ZodInt;
|
|
3272
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2038
3273
|
satsVault: z.ZodObject<{
|
|
2039
3274
|
address: z.ZodString;
|
|
2040
3275
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2043,6 +3278,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
2043
3278
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2044
3279
|
strike: z.ZodObject<{
|
|
2045
3280
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3281
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2046
3282
|
lastTriggerRoundId: z.ZodInt;
|
|
2047
3283
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2048
3284
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2070,12 +3306,6 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
2070
3306
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2071
3307
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2072
3308
|
}, z.core.$strip>]>>;
|
|
2073
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2074
|
-
address: z.ZodString;
|
|
2075
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2076
|
-
roundId: z.ZodInt;
|
|
2077
|
-
selectionMask: z.ZodInt;
|
|
2078
|
-
}, z.core.$strip>>;
|
|
2079
3309
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2080
3310
|
address: z.ZodString;
|
|
2081
3311
|
iterationId: z.ZodInt;
|
|
@@ -2108,6 +3338,12 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
2108
3338
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2109
3339
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2110
3340
|
}, z.core.$strip>>;
|
|
3341
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
3342
|
+
address: z.ZodString;
|
|
3343
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3344
|
+
roundId: z.ZodInt;
|
|
3345
|
+
selectionMask: z.ZodInt;
|
|
3346
|
+
}, z.core.$strip>>;
|
|
2111
3347
|
}, z.core.$strip>]>>;
|
|
2112
3348
|
}, z.core.$strip>, z.ZodObject<{
|
|
2113
3349
|
entity: z.ZodEnum<{
|
|
@@ -2170,7 +3406,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2170
3406
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2171
3407
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2172
3408
|
}, z.core.$strip>]>>;
|
|
3409
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2173
3410
|
iterationId: z.ZodInt;
|
|
3411
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2174
3412
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
2175
3413
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2176
3414
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2224,6 +3462,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2224
3462
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2225
3463
|
}, z.core.$strip>]>>;
|
|
2226
3464
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
3465
|
+
roundId: z.ZodInt;
|
|
2227
3466
|
winningTile: z.ZodInt;
|
|
2228
3467
|
}, z.core.$strip>>;
|
|
2229
3468
|
prices: z.ZodObject<{
|
|
@@ -2231,7 +3470,9 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2231
3470
|
sat: z.ZodNumber;
|
|
2232
3471
|
}, z.core.$strip>;
|
|
2233
3472
|
roundDuration: z.ZodInt;
|
|
3473
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2234
3474
|
roundId: z.ZodInt;
|
|
3475
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2235
3476
|
satsVault: z.ZodObject<{
|
|
2236
3477
|
address: z.ZodString;
|
|
2237
3478
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2240,6 +3481,7 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2240
3481
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2241
3482
|
strike: z.ZodObject<{
|
|
2242
3483
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3484
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2243
3485
|
lastTriggerRoundId: z.ZodInt;
|
|
2244
3486
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2245
3487
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2267,12 +3509,6 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2267
3509
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2268
3510
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2269
3511
|
}, z.core.$strip>]>>;
|
|
2270
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2271
|
-
address: z.ZodString;
|
|
2272
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2273
|
-
roundId: z.ZodInt;
|
|
2274
|
-
selectionMask: z.ZodInt;
|
|
2275
|
-
}, z.core.$strip>>;
|
|
2276
3512
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2277
3513
|
address: z.ZodString;
|
|
2278
3514
|
iterationId: z.ZodInt;
|
|
@@ -2305,23 +3541,145 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2305
3541
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2306
3542
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2307
3543
|
}, z.core.$strip>>;
|
|
3544
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
3545
|
+
address: z.ZodString;
|
|
3546
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3547
|
+
roundId: z.ZodInt;
|
|
3548
|
+
selectionMask: z.ZodInt;
|
|
3549
|
+
}, z.core.$strip>>;
|
|
2308
3550
|
}, z.core.$strip>]>>;
|
|
2309
3551
|
}, z.core.$strip>, z.ZodObject<{
|
|
2310
3552
|
entity: z.ZodEnum<{
|
|
2311
3553
|
state_snapshot: "state_snapshot";
|
|
2312
3554
|
}>;
|
|
2313
|
-
}, z.core.$strip>>>;
|
|
2314
|
-
declare const
|
|
3555
|
+
}, z.core.$strip>>>;
|
|
3556
|
+
declare const zUserClaimsApiError400InvalidAddress: z.ZodObject<{
|
|
3557
|
+
code: z.ZodEnum<{
|
|
3558
|
+
invalid_address: "invalid_address";
|
|
3559
|
+
}>;
|
|
3560
|
+
}, z.core.$strip>;
|
|
3561
|
+
declare const zUserClaimsApiError400InvalidBefore: z.ZodObject<{
|
|
3562
|
+
code: z.ZodEnum<{
|
|
3563
|
+
invalid_before: "invalid_before";
|
|
3564
|
+
}>;
|
|
3565
|
+
}, z.core.$strip>;
|
|
3566
|
+
declare const zUserClaimsApiError400InvalidRange: z.ZodObject<{
|
|
3567
|
+
code: z.ZodEnum<{
|
|
3568
|
+
invalid_range: "invalid_range";
|
|
3569
|
+
}>;
|
|
3570
|
+
}, z.core.$strip>;
|
|
3571
|
+
declare const zUserClaimsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3572
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
3573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3574
|
+
code: z.ZodEnum<{
|
|
3575
|
+
invalid_address: "invalid_address";
|
|
3576
|
+
}>;
|
|
3577
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3578
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
3579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3580
|
+
code: z.ZodEnum<{
|
|
3581
|
+
invalid_before: "invalid_before";
|
|
3582
|
+
}>;
|
|
3583
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3584
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
3585
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3586
|
+
code: z.ZodEnum<{
|
|
3587
|
+
invalid_range: "invalid_range";
|
|
3588
|
+
}>;
|
|
3589
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3590
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
3591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3592
|
+
code: z.ZodEnum<{
|
|
3593
|
+
invalid_path: "invalid_path";
|
|
3594
|
+
invalid_query: "invalid_query";
|
|
3595
|
+
invalid_body: "invalid_body";
|
|
3596
|
+
}>;
|
|
3597
|
+
}, z.core.$strip>>]>;
|
|
3598
|
+
declare const zUserClaimsApiError500Error: z.ZodObject<{
|
|
3599
|
+
code: z.ZodEnum<{
|
|
3600
|
+
internal: "internal";
|
|
3601
|
+
}>;
|
|
3602
|
+
}, z.core.$strip>;
|
|
3603
|
+
declare const zUserDeploymentsApiError400InvalidAddress: z.ZodObject<{
|
|
3604
|
+
code: z.ZodEnum<{
|
|
3605
|
+
invalid_address: "invalid_address";
|
|
3606
|
+
}>;
|
|
3607
|
+
}, z.core.$strip>;
|
|
3608
|
+
declare const zUserDeploymentsApiError400InvalidBefore: z.ZodObject<{
|
|
3609
|
+
code: z.ZodEnum<{
|
|
3610
|
+
invalid_before: "invalid_before";
|
|
3611
|
+
}>;
|
|
3612
|
+
}, z.core.$strip>;
|
|
3613
|
+
declare const zUserDeploymentsApiError400InvalidRange: z.ZodObject<{
|
|
3614
|
+
code: z.ZodEnum<{
|
|
3615
|
+
invalid_range: "invalid_range";
|
|
3616
|
+
}>;
|
|
3617
|
+
}, z.core.$strip>;
|
|
3618
|
+
declare const zUserDeploymentsApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3619
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
3620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3621
|
+
code: z.ZodEnum<{
|
|
3622
|
+
invalid_address: "invalid_address";
|
|
3623
|
+
}>;
|
|
3624
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3625
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
3626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3627
|
+
code: z.ZodEnum<{
|
|
3628
|
+
invalid_before: "invalid_before";
|
|
3629
|
+
}>;
|
|
3630
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3631
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
3632
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3633
|
+
code: z.ZodEnum<{
|
|
3634
|
+
invalid_range: "invalid_range";
|
|
3635
|
+
}>;
|
|
3636
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3637
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
3638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3639
|
+
code: z.ZodEnum<{
|
|
3640
|
+
invalid_path: "invalid_path";
|
|
3641
|
+
invalid_query: "invalid_query";
|
|
3642
|
+
invalid_body: "invalid_body";
|
|
3643
|
+
}>;
|
|
3644
|
+
}, z.core.$strip>>]>;
|
|
3645
|
+
declare const zUserDeploymentsApiError500Error: z.ZodObject<{
|
|
3646
|
+
code: z.ZodEnum<{
|
|
3647
|
+
internal: "internal";
|
|
3648
|
+
}>;
|
|
3649
|
+
}, z.core.$strip>;
|
|
3650
|
+
declare const zUserHashrateApiError400InvalidAddress: z.ZodObject<{
|
|
2315
3651
|
code: z.ZodEnum<{
|
|
2316
3652
|
invalid_address: "invalid_address";
|
|
2317
3653
|
}>;
|
|
2318
3654
|
}, z.core.$strip>;
|
|
2319
|
-
declare const
|
|
3655
|
+
declare const zUserHashrateApiError400InvalidBefore: z.ZodObject<{
|
|
3656
|
+
code: z.ZodEnum<{
|
|
3657
|
+
invalid_before: "invalid_before";
|
|
3658
|
+
}>;
|
|
3659
|
+
}, z.core.$strip>;
|
|
3660
|
+
declare const zUserHashrateApiError400InvalidRange: z.ZodObject<{
|
|
3661
|
+
code: z.ZodEnum<{
|
|
3662
|
+
invalid_range: "invalid_range";
|
|
3663
|
+
}>;
|
|
3664
|
+
}, z.core.$strip>;
|
|
3665
|
+
declare const zUserHashrateApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2320
3666
|
code: z.ZodLiteral<"invalid_address">;
|
|
2321
3667
|
}, z.core.$strip>, z.ZodObject<{
|
|
2322
3668
|
code: z.ZodEnum<{
|
|
2323
3669
|
invalid_address: "invalid_address";
|
|
2324
3670
|
}>;
|
|
3671
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3672
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
3673
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3674
|
+
code: z.ZodEnum<{
|
|
3675
|
+
invalid_before: "invalid_before";
|
|
3676
|
+
}>;
|
|
3677
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3678
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
3679
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3680
|
+
code: z.ZodEnum<{
|
|
3681
|
+
invalid_range: "invalid_range";
|
|
3682
|
+
}>;
|
|
2325
3683
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2326
3684
|
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
2327
3685
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2331,7 +3689,7 @@ declare const zUserDeploymentsApiError400Error: z.ZodUnion<readonly [z.ZodInters
|
|
|
2331
3689
|
invalid_body: "invalid_body";
|
|
2332
3690
|
}>;
|
|
2333
3691
|
}, z.core.$strip>>]>;
|
|
2334
|
-
declare const
|
|
3692
|
+
declare const zUserHashrateApiError500Error: z.ZodObject<{
|
|
2335
3693
|
code: z.ZodEnum<{
|
|
2336
3694
|
internal: "internal";
|
|
2337
3695
|
}>;
|
|
@@ -2356,6 +3714,64 @@ declare const zUserProfileApiError400Error: z.ZodUnion<readonly [z.ZodIntersecti
|
|
|
2356
3714
|
invalid_body: "invalid_body";
|
|
2357
3715
|
}>;
|
|
2358
3716
|
}, z.core.$strip>>]>;
|
|
3717
|
+
declare const zUserVaultEntriesApiError400InvalidAddress: z.ZodObject<{
|
|
3718
|
+
code: z.ZodEnum<{
|
|
3719
|
+
invalid_address: "invalid_address";
|
|
3720
|
+
}>;
|
|
3721
|
+
}, z.core.$strip>;
|
|
3722
|
+
declare const zUserVaultEntriesApiError400InvalidBefore: z.ZodObject<{
|
|
3723
|
+
code: z.ZodEnum<{
|
|
3724
|
+
invalid_before: "invalid_before";
|
|
3725
|
+
}>;
|
|
3726
|
+
}, z.core.$strip>;
|
|
3727
|
+
declare const zUserVaultEntriesApiError400InvalidRange: z.ZodObject<{
|
|
3728
|
+
code: z.ZodEnum<{
|
|
3729
|
+
invalid_range: "invalid_range";
|
|
3730
|
+
}>;
|
|
3731
|
+
}, z.core.$strip>;
|
|
3732
|
+
declare const zUserVaultEntriesApiError400InvalidWinsOnly: z.ZodObject<{
|
|
3733
|
+
code: z.ZodEnum<{
|
|
3734
|
+
invalid_wins_only: "invalid_wins_only";
|
|
3735
|
+
}>;
|
|
3736
|
+
}, z.core.$strip>;
|
|
3737
|
+
declare const zUserVaultEntriesApiError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3738
|
+
code: z.ZodLiteral<"invalid_address">;
|
|
3739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3740
|
+
code: z.ZodEnum<{
|
|
3741
|
+
invalid_address: "invalid_address";
|
|
3742
|
+
}>;
|
|
3743
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3744
|
+
code: z.ZodLiteral<"invalid_before">;
|
|
3745
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3746
|
+
code: z.ZodEnum<{
|
|
3747
|
+
invalid_before: "invalid_before";
|
|
3748
|
+
}>;
|
|
3749
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3750
|
+
code: z.ZodLiteral<"invalid_range">;
|
|
3751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3752
|
+
code: z.ZodEnum<{
|
|
3753
|
+
invalid_range: "invalid_range";
|
|
3754
|
+
}>;
|
|
3755
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3756
|
+
code: z.ZodLiteral<"invalid_wins_only">;
|
|
3757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3758
|
+
code: z.ZodEnum<{
|
|
3759
|
+
invalid_wins_only: "invalid_wins_only";
|
|
3760
|
+
}>;
|
|
3761
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3762
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
3763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3764
|
+
code: z.ZodEnum<{
|
|
3765
|
+
invalid_path: "invalid_path";
|
|
3766
|
+
invalid_query: "invalid_query";
|
|
3767
|
+
invalid_body: "invalid_body";
|
|
3768
|
+
}>;
|
|
3769
|
+
}, z.core.$strip>>]>;
|
|
3770
|
+
declare const zUserVaultEntriesApiError500Error: z.ZodObject<{
|
|
3771
|
+
code: z.ZodEnum<{
|
|
3772
|
+
internal: "internal";
|
|
3773
|
+
}>;
|
|
3774
|
+
}, z.core.$strip>;
|
|
2359
3775
|
declare const zValidationErrorCodeErrorBody: z.ZodObject<{
|
|
2360
3776
|
code: z.ZodEnum<{
|
|
2361
3777
|
validation_failed: "validation_failed";
|
|
@@ -2437,7 +3853,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2437
3853
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2438
3854
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2439
3855
|
}, z.core.$strip>]>>;
|
|
3856
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2440
3857
|
iterationId: z.ZodInt;
|
|
3858
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2441
3859
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
2442
3860
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2443
3861
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2491,6 +3909,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2491
3909
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2492
3910
|
}, z.core.$strip>]>>;
|
|
2493
3911
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
3912
|
+
roundId: z.ZodInt;
|
|
2494
3913
|
winningTile: z.ZodInt;
|
|
2495
3914
|
}, z.core.$strip>>;
|
|
2496
3915
|
prices: z.ZodObject<{
|
|
@@ -2498,7 +3917,9 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2498
3917
|
sat: z.ZodNumber;
|
|
2499
3918
|
}, z.core.$strip>;
|
|
2500
3919
|
roundDuration: z.ZodInt;
|
|
3920
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2501
3921
|
roundId: z.ZodInt;
|
|
3922
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2502
3923
|
satsVault: z.ZodObject<{
|
|
2503
3924
|
address: z.ZodString;
|
|
2504
3925
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2507,6 +3928,7 @@ declare const zGetBoardResponse: z.ZodObject<{
|
|
|
2507
3928
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2508
3929
|
strike: z.ZodObject<{
|
|
2509
3930
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3931
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2510
3932
|
lastTriggerRoundId: z.ZodInt;
|
|
2511
3933
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2512
3934
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2536,6 +3958,159 @@ declare const zGetConfigResponse: z.ZodObject<{
|
|
|
2536
3958
|
}, z.core.$strip>;
|
|
2537
3959
|
}, z.core.$strip>;
|
|
2538
3960
|
type GetConfigResponseZodType = z.infer<typeof zGetConfigResponse>;
|
|
3961
|
+
declare const zGetEpochHistoryData: z.ZodObject<{
|
|
3962
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3963
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3964
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
3965
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
3966
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
3967
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3968
|
+
}, z.core.$strip>>;
|
|
3969
|
+
}, z.core.$strip>;
|
|
3970
|
+
declare const zGetEpochHistoryResponse: z.ZodObject<{
|
|
3971
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3972
|
+
address: z.ZodString;
|
|
3973
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3974
|
+
id: z.ZodInt;
|
|
3975
|
+
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
3976
|
+
poolUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
3977
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
3978
|
+
totalParticipants: z.ZodInt;
|
|
3979
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
3980
|
+
triggeredAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
3981
|
+
}, z.core.$strip>>;
|
|
3982
|
+
}, z.core.$strip>;
|
|
3983
|
+
type GetEpochHistoryResponseZodType = z.infer<typeof zGetEpochHistoryResponse>;
|
|
3984
|
+
declare const zGetEpochWinnersData: z.ZodObject<{
|
|
3985
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3986
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3987
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
3988
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
3989
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
3990
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
3991
|
+
}, z.core.$strip>>;
|
|
3992
|
+
}, z.core.$strip>;
|
|
3993
|
+
declare const zGetEpochWinnersResponse: z.ZodObject<{
|
|
3994
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3995
|
+
authority: z.ZodString;
|
|
3996
|
+
id: z.ZodInt;
|
|
3997
|
+
iterationId: z.ZodInt;
|
|
3998
|
+
rank: z.ZodInt;
|
|
3999
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4000
|
+
settledAtSlot: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4001
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4002
|
+
wonBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4003
|
+
wonUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4004
|
+
}, z.core.$strip>>;
|
|
4005
|
+
}, z.core.$strip>;
|
|
4006
|
+
type GetEpochWinnersResponseZodType = z.infer<typeof zGetEpochWinnersResponse>;
|
|
4007
|
+
declare const zGetHashrateEarnedLeaderboardData: z.ZodObject<{
|
|
4008
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4009
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
4010
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
4011
|
+
}, z.core.$strip>;
|
|
4012
|
+
declare const zGetHashrateEarnedLeaderboardResponse: z.ZodObject<{
|
|
4013
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4014
|
+
authority: z.ZodString;
|
|
4015
|
+
maxStreak: z.ZodInt;
|
|
4016
|
+
rank: z.ZodInt;
|
|
4017
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
4018
|
+
totalRoundsPlayed: z.ZodInt;
|
|
4019
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4020
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4021
|
+
}, z.core.$strip>>;
|
|
4022
|
+
}, z.core.$strip>;
|
|
4023
|
+
type GetHashrateEarnedLeaderboardResponseZodType = z.infer<typeof zGetHashrateEarnedLeaderboardResponse>;
|
|
4024
|
+
declare const zGetRoundsPlayedLeaderboardData: z.ZodObject<{
|
|
4025
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4026
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
4027
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
4028
|
+
}, z.core.$strip>;
|
|
4029
|
+
declare const zGetRoundsPlayedLeaderboardResponse: z.ZodObject<{
|
|
4030
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4031
|
+
authority: z.ZodString;
|
|
4032
|
+
maxStreak: z.ZodInt;
|
|
4033
|
+
rank: z.ZodInt;
|
|
4034
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
4035
|
+
totalRoundsPlayed: z.ZodInt;
|
|
4036
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4037
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4038
|
+
}, z.core.$strip>>;
|
|
4039
|
+
}, z.core.$strip>;
|
|
4040
|
+
type GetRoundsPlayedLeaderboardResponseZodType = z.infer<typeof zGetRoundsPlayedLeaderboardResponse>;
|
|
4041
|
+
declare const zGetSatsEarnedLeaderboardData: z.ZodObject<{
|
|
4042
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4043
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
4044
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
4045
|
+
}, z.core.$strip>;
|
|
4046
|
+
declare const zGetSatsEarnedLeaderboardResponse: z.ZodObject<{
|
|
4047
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4048
|
+
authority: z.ZodString;
|
|
4049
|
+
maxStreak: z.ZodInt;
|
|
4050
|
+
rank: z.ZodInt;
|
|
4051
|
+
totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
|
|
4052
|
+
totalRoundsPlayed: z.ZodInt;
|
|
4053
|
+
totalSatsEarned: z.ZodCoercedBigInt<unknown>;
|
|
4054
|
+
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
4055
|
+
}, z.core.$strip>>;
|
|
4056
|
+
}, z.core.$strip>;
|
|
4057
|
+
type GetSatsEarnedLeaderboardResponseZodType = z.infer<typeof zGetSatsEarnedLeaderboardResponse>;
|
|
4058
|
+
declare const zGetOneBtcHistoryData: z.ZodObject<{
|
|
4059
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4060
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
4061
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4062
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4063
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4064
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4065
|
+
}, z.core.$strip>>;
|
|
4066
|
+
}, z.core.$strip>;
|
|
4067
|
+
declare const zGetOneBtcHistoryResponse: z.ZodObject<{
|
|
4068
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4069
|
+
address: z.ZodString;
|
|
4070
|
+
endedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4071
|
+
id: z.ZodInt;
|
|
4072
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4073
|
+
startedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4074
|
+
totalParticipants: z.ZodInt;
|
|
4075
|
+
totalTickets: z.ZodCoercedBigInt<unknown>;
|
|
4076
|
+
winner: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4077
|
+
}, z.core.$strip>>;
|
|
4078
|
+
}, z.core.$strip>;
|
|
4079
|
+
type GetOneBtcHistoryResponseZodType = z.infer<typeof zGetOneBtcHistoryResponse>;
|
|
4080
|
+
declare const zGetRoundsData: z.ZodObject<{
|
|
4081
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4082
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
4083
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4084
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4085
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4086
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4087
|
+
isSatStrike: z.ZodOptional<z.ZodInt>;
|
|
4088
|
+
}, z.core.$strip>>;
|
|
4089
|
+
}, z.core.$strip>;
|
|
4090
|
+
declare const zGetRoundsResponse: z.ZodObject<{
|
|
4091
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4092
|
+
id: z.ZodInt;
|
|
4093
|
+
isSatStrike: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4094
|
+
minersCount: z.ZodInt;
|
|
4095
|
+
settledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4096
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4097
|
+
state: z.ZodEnum<{
|
|
4098
|
+
settled: "settled";
|
|
4099
|
+
active: "active";
|
|
4100
|
+
revealed: "revealed";
|
|
4101
|
+
finished: "finished";
|
|
4102
|
+
pending: "pending";
|
|
4103
|
+
}>;
|
|
4104
|
+
strikeBonusBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4105
|
+
strikeBonusUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4106
|
+
totalDeployedUsd: z.ZodCoercedBigInt<unknown>;
|
|
4107
|
+
totalPotBtc: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4108
|
+
totalPotUsd: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4109
|
+
winnersCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4110
|
+
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4111
|
+
}, z.core.$strip>>;
|
|
4112
|
+
}, z.core.$strip>;
|
|
4113
|
+
type GetRoundsResponseZodType = z.infer<typeof zGetRoundsResponse>;
|
|
2539
4114
|
declare const zSseData: z.ZodObject<{
|
|
2540
4115
|
body: z.ZodOptional<z.ZodNever>;
|
|
2541
4116
|
path: z.ZodOptional<z.ZodNever>;
|
|
@@ -2602,7 +4177,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2602
4177
|
winnersClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2603
4178
|
winnersSelected: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2604
4179
|
}, z.core.$strip>]>>;
|
|
4180
|
+
iterationEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2605
4181
|
iterationId: z.ZodInt;
|
|
4182
|
+
iterationStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2606
4183
|
lastTriggerSlot: z.ZodCoercedBigInt<unknown>;
|
|
2607
4184
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2608
4185
|
poolBtcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2656,6 +4233,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2656
4233
|
winningTile: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
2657
4234
|
}, z.core.$strip>]>>;
|
|
2658
4235
|
previousRounds: z.ZodArray<z.ZodObject<{
|
|
4236
|
+
roundId: z.ZodInt;
|
|
2659
4237
|
winningTile: z.ZodInt;
|
|
2660
4238
|
}, z.core.$strip>>;
|
|
2661
4239
|
prices: z.ZodObject<{
|
|
@@ -2663,7 +4241,9 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2663
4241
|
sat: z.ZodNumber;
|
|
2664
4242
|
}, z.core.$strip>;
|
|
2665
4243
|
roundDuration: z.ZodInt;
|
|
4244
|
+
roundEndsAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2666
4245
|
roundId: z.ZodInt;
|
|
4246
|
+
roundStartedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
2667
4247
|
satsVault: z.ZodObject<{
|
|
2668
4248
|
address: z.ZodString;
|
|
2669
4249
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2672,6 +4252,7 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2672
4252
|
startSlot: z.ZodCoercedBigInt<unknown>;
|
|
2673
4253
|
strike: z.ZodObject<{
|
|
2674
4254
|
btcAmount: z.ZodCoercedBigInt<unknown>;
|
|
4255
|
+
lastTriggerAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
2675
4256
|
lastTriggerRoundId: z.ZodInt;
|
|
2676
4257
|
pendingUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2677
4258
|
usdAmount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2699,12 +4280,6 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2699
4280
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2700
4281
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2701
4282
|
}, z.core.$strip>]>>;
|
|
2702
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2703
|
-
address: z.ZodString;
|
|
2704
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2705
|
-
roundId: z.ZodInt;
|
|
2706
|
-
selectionMask: z.ZodInt;
|
|
2707
|
-
}, z.core.$strip>>;
|
|
2708
4283
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2709
4284
|
address: z.ZodString;
|
|
2710
4285
|
iterationId: z.ZodInt;
|
|
@@ -2737,6 +4312,12 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
|
|
|
2737
4312
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2738
4313
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2739
4314
|
}, z.core.$strip>>;
|
|
4315
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
4316
|
+
address: z.ZodString;
|
|
4317
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4318
|
+
roundId: z.ZodInt;
|
|
4319
|
+
selectionMask: z.ZodInt;
|
|
4320
|
+
}, z.core.$strip>>;
|
|
2740
4321
|
}, z.core.$strip>]>>;
|
|
2741
4322
|
}, z.core.$strip>, z.ZodObject<{
|
|
2742
4323
|
entity: z.ZodEnum<{
|
|
@@ -2771,12 +4352,6 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2771
4352
|
totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
|
|
2772
4353
|
totalUsdEarned: z.ZodCoercedBigInt<unknown>;
|
|
2773
4354
|
}, z.core.$strip>]>>;
|
|
2774
|
-
deployments: z.ZodArray<z.ZodObject<{
|
|
2775
|
-
address: z.ZodString;
|
|
2776
|
-
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
2777
|
-
roundId: z.ZodInt;
|
|
2778
|
-
selectionMask: z.ZodInt;
|
|
2779
|
-
}, z.core.$strip>>;
|
|
2780
4355
|
epochVaultEntries: z.ZodArray<z.ZodObject<{
|
|
2781
4356
|
address: z.ZodString;
|
|
2782
4357
|
iterationId: z.ZodInt;
|
|
@@ -2809,9 +4384,43 @@ declare const zGetUserProfileResponse: z.ZodObject<{
|
|
|
2809
4384
|
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
2810
4385
|
ticketsCount: z.ZodCoercedBigInt<unknown>;
|
|
2811
4386
|
}, z.core.$strip>>;
|
|
4387
|
+
unsettledDeployments: z.ZodArray<z.ZodObject<{
|
|
4388
|
+
address: z.ZodString;
|
|
4389
|
+
deployedUsdAmount: z.ZodCoercedBigInt<unknown>;
|
|
4390
|
+
roundId: z.ZodInt;
|
|
4391
|
+
selectionMask: z.ZodInt;
|
|
4392
|
+
}, z.core.$strip>>;
|
|
2812
4393
|
}, z.core.$strip>;
|
|
2813
4394
|
}, z.core.$strip>;
|
|
2814
4395
|
type GetUserProfileResponseZodType = z.infer<typeof zGetUserProfileResponse>;
|
|
4396
|
+
declare const zGetUserClaimsData: z.ZodObject<{
|
|
4397
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4398
|
+
path: z.ZodObject<{
|
|
4399
|
+
address: z.ZodString;
|
|
4400
|
+
}, z.core.$strip>;
|
|
4401
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4402
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4403
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4404
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4405
|
+
}, z.core.$strip>>;
|
|
4406
|
+
}, z.core.$strip>;
|
|
4407
|
+
declare const zGetUserClaimsResponse: z.ZodObject<{
|
|
4408
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4409
|
+
authority: z.ZodString;
|
|
4410
|
+
btcReceived: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4411
|
+
claimType: z.ZodEnum<{
|
|
4412
|
+
usd: "usd";
|
|
4413
|
+
sats: "sats";
|
|
4414
|
+
}>;
|
|
4415
|
+
claimedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4416
|
+
hashrateClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4417
|
+
id: z.ZodInt;
|
|
4418
|
+
satsClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4419
|
+
signature: z.ZodString;
|
|
4420
|
+
usdClaimed: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4421
|
+
}, z.core.$strip>>;
|
|
4422
|
+
}, z.core.$strip>;
|
|
4423
|
+
type GetUserClaimsResponseZodType = z.infer<typeof zGetUserClaimsResponse>;
|
|
2815
4424
|
declare const zGetUserDeploymentsData: z.ZodObject<{
|
|
2816
4425
|
body: z.ZodOptional<z.ZodNever>;
|
|
2817
4426
|
path: z.ZodObject<{
|
|
@@ -2819,6 +4428,7 @@ declare const zGetUserDeploymentsData: z.ZodObject<{
|
|
|
2819
4428
|
}, z.core.$strip>;
|
|
2820
4429
|
query: z.ZodOptional<z.ZodObject<{
|
|
2821
4430
|
before: z.ZodOptional<z.ZodInt>;
|
|
4431
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
2822
4432
|
limit: z.ZodOptional<z.ZodInt>;
|
|
2823
4433
|
}, z.core.$strip>>;
|
|
2824
4434
|
}, z.core.$strip>;
|
|
@@ -2841,6 +4451,86 @@ declare const zGetUserDeploymentsResponse: z.ZodObject<{
|
|
|
2841
4451
|
}, z.core.$strip>>;
|
|
2842
4452
|
}, z.core.$strip>;
|
|
2843
4453
|
type GetUserDeploymentsResponseZodType = z.infer<typeof zGetUserDeploymentsResponse>;
|
|
4454
|
+
declare const zGetUserEpochEntriesData: z.ZodObject<{
|
|
4455
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4456
|
+
path: z.ZodObject<{
|
|
4457
|
+
address: z.ZodString;
|
|
4458
|
+
}, z.core.$strip>;
|
|
4459
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4460
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4461
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4462
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4463
|
+
winsOnly: z.ZodOptional<z.ZodInt>;
|
|
4464
|
+
}, z.core.$strip>>;
|
|
4465
|
+
}, z.core.$strip>;
|
|
4466
|
+
declare const zGetUserEpochEntriesResponse: z.ZodObject<{
|
|
4467
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4468
|
+
address: z.ZodString;
|
|
4469
|
+
authority: z.ZodString;
|
|
4470
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4471
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4472
|
+
id: z.ZodInt;
|
|
4473
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4474
|
+
iterationId: z.ZodInt;
|
|
4475
|
+
rank: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
4476
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4477
|
+
wonBtcAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4478
|
+
wonUsdAmount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodCoercedBigInt<unknown>]>>;
|
|
4479
|
+
}, z.core.$strip>>;
|
|
4480
|
+
}, z.core.$strip>;
|
|
4481
|
+
type GetUserEpochEntriesResponseZodType = z.infer<typeof zGetUserEpochEntriesResponse>;
|
|
4482
|
+
declare const zGetUserHashrateActionsData: z.ZodObject<{
|
|
4483
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4484
|
+
path: z.ZodObject<{
|
|
4485
|
+
address: z.ZodString;
|
|
4486
|
+
}, z.core.$strip>;
|
|
4487
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4488
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4489
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4490
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4491
|
+
}, z.core.$strip>>;
|
|
4492
|
+
}, z.core.$strip>;
|
|
4493
|
+
declare const zGetUserHashrateActionsResponse: z.ZodObject<{
|
|
4494
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4495
|
+
actionType: z.ZodEnum<{
|
|
4496
|
+
buy_epoch_tickets: "buy_epoch_tickets";
|
|
4497
|
+
buy_one_btc_tickets: "buy_one_btc_tickets";
|
|
4498
|
+
}>;
|
|
4499
|
+
authority: z.ZodString;
|
|
4500
|
+
executedAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4501
|
+
hashrateSpent: z.ZodCoercedBigInt<unknown>;
|
|
4502
|
+
id: z.ZodInt;
|
|
4503
|
+
signature: z.ZodString;
|
|
4504
|
+
ticketsBought: z.ZodCoercedBigInt<unknown>;
|
|
4505
|
+
}, z.core.$strip>>;
|
|
4506
|
+
}, z.core.$strip>;
|
|
4507
|
+
type GetUserHashrateActionsResponseZodType = z.infer<typeof zGetUserHashrateActionsResponse>;
|
|
4508
|
+
declare const zGetUserOneBtcEntriesData: z.ZodObject<{
|
|
4509
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
4510
|
+
path: z.ZodObject<{
|
|
4511
|
+
address: z.ZodString;
|
|
4512
|
+
}, z.core.$strip>;
|
|
4513
|
+
query: z.ZodOptional<z.ZodObject<{
|
|
4514
|
+
before: z.ZodOptional<z.ZodInt>;
|
|
4515
|
+
after: z.ZodOptional<z.ZodInt>;
|
|
4516
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
4517
|
+
winsOnly: z.ZodOptional<z.ZodInt>;
|
|
4518
|
+
}, z.core.$strip>>;
|
|
4519
|
+
}, z.core.$strip>;
|
|
4520
|
+
declare const zGetUserOneBtcEntriesResponse: z.ZodObject<{
|
|
4521
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4522
|
+
address: z.ZodString;
|
|
4523
|
+
authority: z.ZodString;
|
|
4524
|
+
claimedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPreprocess<z.ZodISODateTime>, z.ZodNull]>>;
|
|
4525
|
+
createdAt: z.ZodPreprocess<z.ZodISODateTime>;
|
|
4526
|
+
id: z.ZodInt;
|
|
4527
|
+
isWon: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4528
|
+
iterationId: z.ZodInt;
|
|
4529
|
+
startTicketId: z.ZodCoercedBigInt<unknown>;
|
|
4530
|
+
tickets: z.ZodCoercedBigInt<unknown>;
|
|
4531
|
+
}, z.core.$strip>>;
|
|
4532
|
+
}, z.core.$strip>;
|
|
4533
|
+
type GetUserOneBtcEntriesResponseZodType = z.infer<typeof zGetUserOneBtcEntriesResponse>;
|
|
2844
4534
|
|
|
2845
4535
|
type HasOnlyDataKey<T> = T extends object ? Exclude<keyof T, 'data'> extends never ? true : false : false;
|
|
2846
4536
|
type UnwrapData<T> = T extends {
|
|
@@ -2864,4 +4554,4 @@ declare class SatrushBackendSdkError<TCause = unknown> extends Error {
|
|
|
2864
4554
|
declare const satrushSdkErrorInterceptor: (error: unknown, response?: Response) => SatrushBackendSdkError<unknown>;
|
|
2865
4555
|
declare const isSatrushSdkError: <TCause = unknown>(error: unknown) => error is SatrushBackendSdkError<TCause>;
|
|
2866
4556
|
|
|
2867
|
-
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, type ClientOptions, EpochStateDto, type EpochVaultDto, type EpochVaultEntryDto, type EpochVaultIterationDto, type EpochWinnerDto, 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 GetUserDeploymentsData, type GetUserDeploymentsError, type GetUserDeploymentsErrors, type GetUserDeploymentsResponse, type GetUserDeploymentsResponseZodType, type GetUserDeploymentsResponses, type GetUserProfileData, type GetUserProfileError, type GetUserProfileErrors, type GetUserProfileResponse, type GetUserProfileResponseZodType, type GetUserProfileResponses, type I128Dto, type I64Dto, type InternalErrorCodeErrorBody, type MinerDeploymentDto, type MinerDto, NotificationEntity, OneBtcStateDto, type OneBtcVaultDto, type OneBtcVaultEntryDto, type OneBtcVaultIterationDto, type Options, type PreviousRoundDto, type PricesDto, type ProfileDto, type PubkeyDto, type PublicAutomationDto, type PublicDeploymentDto, type RoundDto, RoundStateDto, 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 UserDeploymentsApiError400Error, type UserDeploymentsApiError400InvalidAddress, type UserDeploymentsApiError500Error, type UserProfileApiError400Error, type UserProfileApiError400InvalidAddress, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, createClient, createSseClient, isSatrushSdkError, satrushSdkErrorInterceptor, unwrap, zAutomationStrategyDto, zBadRequestErrorCodeErrorBody, zBoardDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetUserDeploymentsData, zGetUserDeploymentsResponse, zGetUserProfileData, zGetUserProfileResponse, zI128Dto, zI64Dto, zInternalErrorCodeErrorBody, zMinerDeploymentDto, zMinerDto, zNotificationEntity, zOneBtcStateDto, zOneBtcVaultDto, zOneBtcVaultEntryDto, zOneBtcVaultIterationDto, zPreviousRoundDto, zPricesDto, zProfileDto, zPubkeyDto, zPublicAutomationDto, zPublicDeploymentDto, zRoundDto, zRoundStateDto, zSatrushConfigDto, zSatsVaultDto, zSnapshotDto, zSseData, zSseResponse, zSseResponse2, zSseResponseSnapshot, zStrikeJackpotDto, zTileStakeDto, zU128Dto, zU64Dto, zUserDeploymentsApiError400Error, zUserDeploymentsApiError400InvalidAddress, zUserDeploymentsApiError500Error, zUserProfileApiError400Error, zUserProfileApiError400InvalidAddress, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody };
|
|
4557
|
+
export { AutomationStrategyDto, type BadRequestErrorCodeErrorBody, type BoardDto, ClaimTypeDto, type ClientOptions, type EpochHistoryApiError400Error, type EpochHistoryApiError400InvalidRange, type EpochHistoryApiError500Error, type EpochIterationHistoryDto, 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 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 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 OneBtcIterationHistoryDto, 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, zEpochIterationHistoryDto, zEpochStateDto, zEpochVaultDto, zEpochVaultEntryDto, zEpochVaultIterationDto, zEpochWinnerDto, zEpochWinnerHistoryDto, zEpochWinnersApiError400Error, zEpochWinnersApiError400InvalidBefore, zEpochWinnersApiError400InvalidRange, zEpochWinnersApiError500Error, zFieldError, zGetBoardData, zGetBoardResponse, zGetConfigData, zGetConfigResponse, zGetEpochHistoryData, zGetEpochHistoryResponse, zGetEpochWinnersData, zGetEpochWinnersResponse, zGetHashrateEarnedLeaderboardData, zGetHashrateEarnedLeaderboardResponse, zGetOneBtcHistoryData, zGetOneBtcHistoryResponse, 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, zOneBtcIterationHistoryDto, 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 };
|