@satrush/api 0.1.24 → 0.1.26

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 CHANGED
@@ -1687,8 +1687,11 @@ var getStakingTreasuryResponseTransformer = async (data) => {
1687
1687
  var publicAutomationDtoSchemaResponseTransformer = (data) => {
1688
1688
  data.perRoundUsdAmount = u64DtoSchemaResponseTransformer(data.perRoundUsdAmount);
1689
1689
  data.remainingUsdAmount = u64DtoSchemaResponseTransformer(data.remainingUsdAmount);
1690
+ data.totalBtcEarned = u64DtoSchemaResponseTransformer(data.totalBtcEarned);
1690
1691
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1691
1692
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1693
+ data.totalTokenEarned = u64DtoSchemaResponseTransformer(data.totalTokenEarned);
1694
+ data.totalTokenSharesEarned = u64DtoSchemaResponseTransformer(data.totalTokenSharesEarned);
1692
1695
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1693
1696
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1694
1697
  return data;
@@ -1719,8 +1722,10 @@ var minerDtoSchemaResponseTransformer = (data) => {
1719
1722
  data.totalUsdClaimed = u64DtoSchemaResponseTransformer(data.totalUsdClaimed);
1720
1723
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1721
1724
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1725
+ data.unclaimedBtcAmount = u64DtoSchemaResponseTransformer(data.unclaimedBtcAmount);
1722
1726
  data.unclaimedHashrateAmount = u64DtoSchemaResponseTransformer(data.unclaimedHashrateAmount);
1723
1727
  data.unclaimedSatsShares = u64DtoSchemaResponseTransformer(data.unclaimedSatsShares);
1728
+ data.unclaimedTokenAmount = u64DtoSchemaResponseTransformer(data.unclaimedTokenAmount);
1724
1729
  data.unclaimedTokenShares = u64DtoSchemaResponseTransformer(data.unclaimedTokenShares);
1725
1730
  data.unclaimedUsdAmount = u64DtoSchemaResponseTransformer(data.unclaimedUsdAmount);
1726
1731
  data.unrealizedBtcPnl = i64DtoSchemaResponseTransformer(data.unrealizedBtcPnl);
@@ -2524,8 +2529,10 @@ var zMinerDto = z.object({
2524
2529
  totalUsdClaimed: zU64Dto,
2525
2530
  totalUsdDeployed: zU64Dto,
2526
2531
  totalUsdEarned: zU64Dto,
2532
+ unclaimedBtcAmount: zU64Dto,
2527
2533
  unclaimedHashrateAmount: zU64Dto,
2528
2534
  unclaimedSatsShares: zU64Dto,
2535
+ unclaimedTokenAmount: zU64Dto,
2529
2536
  unclaimedTokenShares: zU64Dto,
2530
2537
  unclaimedUsdAmount: zU64Dto,
2531
2538
  unrealizedBtcPnl: zI64Dto,
@@ -2726,8 +2733,11 @@ var zPublicAutomationDto = z.object({
2726
2733
  remainingUsdAmount: zU64Dto,
2727
2734
  selectionMask: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2728
2735
  strategy: zAutomationStrategyDto,
2736
+ totalBtcEarned: zU64Dto,
2729
2737
  totalHashrateEarned: zU64Dto,
2730
2738
  totalSatsEarned: zU64Dto,
2739
+ totalTokenEarned: zU64Dto,
2740
+ totalTokenSharesEarned: zU64Dto,
2731
2741
  totalUsdDeployed: zU64Dto,
2732
2742
  totalUsdEarned: zU64Dto
2733
2743
  });
package/dist/index.d.cts CHANGED
@@ -1218,6 +1218,12 @@ type MinerDto = {
1218
1218
  * Lifetime USD winnings settled.
1219
1219
  */
1220
1220
  totalUsdEarned: U64Dto;
1221
+ /**
1222
+ * Satoshis `unclaimed_sats_shares` redeem for at the Sats Vault's
1223
+ * exchange rate when the profile is served (gross, before the claim
1224
+ * fee). Zero while the vault account is not loaded.
1225
+ */
1226
+ unclaimedBtcAmount: U64Dto;
1221
1227
  /**
1222
1228
  * Deferred hashrate bonus, converted into `hashrate_amount` on sats claim.
1223
1229
  */
@@ -1226,6 +1232,12 @@ type MinerDto = {
1226
1232
  * BTC shares in the Sats Vault not yet claimed.
1227
1233
  */
1228
1234
  unclaimedSatsShares: U64Dto;
1235
+ /**
1236
+ * SatRush tokens (base units) `unclaimed_token_shares` redeem for at the
1237
+ * Token Vault's exchange rate when the profile is served (gross, before
1238
+ * the claim fee). Zero while the vault account is not loaded.
1239
+ */
1240
+ unclaimedTokenAmount: U64Dto;
1229
1241
  /**
1230
1242
  * Shares in the Token Vault not yet claimed.
1231
1243
  */
@@ -1693,14 +1705,27 @@ type PublicAutomationDto = {
1693
1705
  * Tile-selection strategy.
1694
1706
  */
1695
1707
  strategy: AutomationStrategyDto;
1708
+ /**
1709
+ * Exact BTC (satoshis) deposited into the Sats Vault for those shares.
1710
+ */
1711
+ totalBtcEarned: U64Dto;
1696
1712
  /**
1697
1713
  * Hashrate points earned across the session's rounds.
1698
1714
  */
1699
1715
  totalHashrateEarned: U64Dto;
1700
1716
  /**
1701
- * Sats winnings settled across the session's rounds.
1717
+ * Sats Vault shares settled across the session's rounds.
1702
1718
  */
1703
1719
  totalSatsEarned: U64Dto;
1720
+ /**
1721
+ * Exact SatRush tokens (base units) deposited into the Token Vault
1722
+ * across the session's rounds; 0 for pre-mint settles or dust winnings.
1723
+ */
1724
+ totalTokenEarned: U64Dto;
1725
+ /**
1726
+ * Token Vault shares minted for `total_token_earned`.
1727
+ */
1728
+ totalTokenSharesEarned: U64Dto;
1704
1729
  /**
1705
1730
  * Gross USD deployed across the session's rounds.
1706
1731
  */
@@ -4389,8 +4414,10 @@ declare const zMinerDto: z.ZodObject<{
4389
4414
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4390
4415
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4391
4416
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4417
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4392
4418
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4393
4419
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4420
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4394
4421
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4395
4422
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4396
4423
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -4578,8 +4605,11 @@ declare const zPublicAutomationDto: z.ZodObject<{
4578
4605
  random: "random";
4579
4606
  discretionary: "discretionary";
4580
4607
  }>;
4608
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
4581
4609
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4582
4610
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4611
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
4612
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4583
4613
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4584
4614
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4585
4615
  }, z.core.$strip>;
@@ -4611,8 +4641,11 @@ declare const zProfileDto: z.ZodObject<{
4611
4641
  random: "random";
4612
4642
  discretionary: "discretionary";
4613
4643
  }>;
4644
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
4614
4645
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4615
4646
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4647
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
4648
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4616
4649
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4617
4650
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4618
4651
  }, z.core.$strip>]>>;
@@ -4646,8 +4679,10 @@ declare const zProfileDto: z.ZodObject<{
4646
4679
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4647
4680
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4648
4681
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4682
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4649
4683
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4650
4684
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4685
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4651
4686
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4652
4687
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4653
4688
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5333,8 +5368,11 @@ declare const zSnapshotDto: z.ZodObject<{
5333
5368
  random: "random";
5334
5369
  discretionary: "discretionary";
5335
5370
  }>;
5371
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5336
5372
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5337
5373
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5374
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5375
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5338
5376
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5339
5377
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5340
5378
  }, z.core.$strip>]>>;
@@ -5368,8 +5406,10 @@ declare const zSnapshotDto: z.ZodObject<{
5368
5406
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5369
5407
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5370
5408
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5409
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5371
5410
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5372
5411
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5412
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5373
5413
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5374
5414
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5375
5415
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5586,8 +5626,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5586
5626
  random: "random";
5587
5627
  discretionary: "discretionary";
5588
5628
  }>;
5629
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5589
5630
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5590
5631
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5632
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5633
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5591
5634
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5592
5635
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5593
5636
  }, z.core.$strip>]>>;
@@ -5621,8 +5664,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5621
5664
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5622
5665
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5623
5666
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5667
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5624
5668
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5625
5669
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5670
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5626
5671
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5627
5672
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5628
5673
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5845,8 +5890,11 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5845
5890
  random: "random";
5846
5891
  discretionary: "discretionary";
5847
5892
  }>;
5893
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5848
5894
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5849
5895
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5896
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5897
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5850
5898
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5851
5899
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5852
5900
  }, z.core.$strip>]>>;
@@ -5880,8 +5928,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5880
5928
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5881
5929
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5882
5930
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5931
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5883
5932
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5884
5933
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5934
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5885
5935
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5886
5936
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5887
5937
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7133,8 +7183,11 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7133
7183
  random: "random";
7134
7184
  discretionary: "discretionary";
7135
7185
  }>;
7186
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
7136
7187
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
7137
7188
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
7189
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
7190
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7138
7191
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7139
7192
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7140
7193
  }, z.core.$strip>]>>;
@@ -7168,8 +7221,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7168
7221
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7169
7222
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7170
7223
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7224
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7171
7225
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7172
7226
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7227
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7173
7228
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7174
7229
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7175
7230
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7235,8 +7290,11 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7235
7290
  random: "random";
7236
7291
  discretionary: "discretionary";
7237
7292
  }>;
7293
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
7238
7294
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
7239
7295
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
7296
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
7297
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7240
7298
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7241
7299
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7242
7300
  }, z.core.$strip>]>>;
@@ -7270,8 +7328,10 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7270
7328
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7271
7329
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7272
7330
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7331
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7273
7332
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7274
7333
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7334
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7275
7335
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7276
7336
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7277
7337
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
package/dist/index.d.ts CHANGED
@@ -1218,6 +1218,12 @@ type MinerDto = {
1218
1218
  * Lifetime USD winnings settled.
1219
1219
  */
1220
1220
  totalUsdEarned: U64Dto;
1221
+ /**
1222
+ * Satoshis `unclaimed_sats_shares` redeem for at the Sats Vault's
1223
+ * exchange rate when the profile is served (gross, before the claim
1224
+ * fee). Zero while the vault account is not loaded.
1225
+ */
1226
+ unclaimedBtcAmount: U64Dto;
1221
1227
  /**
1222
1228
  * Deferred hashrate bonus, converted into `hashrate_amount` on sats claim.
1223
1229
  */
@@ -1226,6 +1232,12 @@ type MinerDto = {
1226
1232
  * BTC shares in the Sats Vault not yet claimed.
1227
1233
  */
1228
1234
  unclaimedSatsShares: U64Dto;
1235
+ /**
1236
+ * SatRush tokens (base units) `unclaimed_token_shares` redeem for at the
1237
+ * Token Vault's exchange rate when the profile is served (gross, before
1238
+ * the claim fee). Zero while the vault account is not loaded.
1239
+ */
1240
+ unclaimedTokenAmount: U64Dto;
1229
1241
  /**
1230
1242
  * Shares in the Token Vault not yet claimed.
1231
1243
  */
@@ -1693,14 +1705,27 @@ type PublicAutomationDto = {
1693
1705
  * Tile-selection strategy.
1694
1706
  */
1695
1707
  strategy: AutomationStrategyDto;
1708
+ /**
1709
+ * Exact BTC (satoshis) deposited into the Sats Vault for those shares.
1710
+ */
1711
+ totalBtcEarned: U64Dto;
1696
1712
  /**
1697
1713
  * Hashrate points earned across the session's rounds.
1698
1714
  */
1699
1715
  totalHashrateEarned: U64Dto;
1700
1716
  /**
1701
- * Sats winnings settled across the session's rounds.
1717
+ * Sats Vault shares settled across the session's rounds.
1702
1718
  */
1703
1719
  totalSatsEarned: U64Dto;
1720
+ /**
1721
+ * Exact SatRush tokens (base units) deposited into the Token Vault
1722
+ * across the session's rounds; 0 for pre-mint settles or dust winnings.
1723
+ */
1724
+ totalTokenEarned: U64Dto;
1725
+ /**
1726
+ * Token Vault shares minted for `total_token_earned`.
1727
+ */
1728
+ totalTokenSharesEarned: U64Dto;
1704
1729
  /**
1705
1730
  * Gross USD deployed across the session's rounds.
1706
1731
  */
@@ -4389,8 +4414,10 @@ declare const zMinerDto: z.ZodObject<{
4389
4414
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4390
4415
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4391
4416
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4417
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4392
4418
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4393
4419
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4420
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4394
4421
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4395
4422
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4396
4423
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -4578,8 +4605,11 @@ declare const zPublicAutomationDto: z.ZodObject<{
4578
4605
  random: "random";
4579
4606
  discretionary: "discretionary";
4580
4607
  }>;
4608
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
4581
4609
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4582
4610
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4611
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
4612
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4583
4613
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4584
4614
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4585
4615
  }, z.core.$strip>;
@@ -4611,8 +4641,11 @@ declare const zProfileDto: z.ZodObject<{
4611
4641
  random: "random";
4612
4642
  discretionary: "discretionary";
4613
4643
  }>;
4644
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
4614
4645
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
4615
4646
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
4647
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
4648
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
4616
4649
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4617
4650
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4618
4651
  }, z.core.$strip>]>>;
@@ -4646,8 +4679,10 @@ declare const zProfileDto: z.ZodObject<{
4646
4679
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
4647
4680
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
4648
4681
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
4682
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
4649
4683
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
4650
4684
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
4685
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
4651
4686
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
4652
4687
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
4653
4688
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5333,8 +5368,11 @@ declare const zSnapshotDto: z.ZodObject<{
5333
5368
  random: "random";
5334
5369
  discretionary: "discretionary";
5335
5370
  }>;
5371
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5336
5372
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5337
5373
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5374
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5375
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5338
5376
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5339
5377
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5340
5378
  }, z.core.$strip>]>>;
@@ -5368,8 +5406,10 @@ declare const zSnapshotDto: z.ZodObject<{
5368
5406
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5369
5407
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5370
5408
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5409
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5371
5410
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5372
5411
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5412
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5373
5413
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5374
5414
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5375
5415
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5586,8 +5626,11 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5586
5626
  random: "random";
5587
5627
  discretionary: "discretionary";
5588
5628
  }>;
5629
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5589
5630
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5590
5631
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5632
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5633
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5591
5634
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5592
5635
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5593
5636
  }, z.core.$strip>]>>;
@@ -5621,8 +5664,10 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
5621
5664
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5622
5665
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5623
5666
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5667
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5624
5668
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5625
5669
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5670
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5626
5671
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5627
5672
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5628
5673
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -5845,8 +5890,11 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5845
5890
  random: "random";
5846
5891
  discretionary: "discretionary";
5847
5892
  }>;
5893
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
5848
5894
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
5849
5895
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
5896
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
5897
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
5850
5898
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5851
5899
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5852
5900
  }, z.core.$strip>]>>;
@@ -5880,8 +5928,10 @@ declare const zSseResponse: z.ZodIntersection<z.ZodObject<{
5880
5928
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
5881
5929
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
5882
5930
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
5931
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
5883
5932
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
5884
5933
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
5934
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
5885
5935
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
5886
5936
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
5887
5937
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7133,8 +7183,11 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7133
7183
  random: "random";
7134
7184
  discretionary: "discretionary";
7135
7185
  }>;
7186
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
7136
7187
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
7137
7188
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
7189
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
7190
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7138
7191
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7139
7192
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7140
7193
  }, z.core.$strip>]>>;
@@ -7168,8 +7221,10 @@ declare const zSseResponse2: z.ZodIntersection<z.ZodObject<{
7168
7221
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7169
7222
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7170
7223
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7224
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7171
7225
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7172
7226
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7227
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7173
7228
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7174
7229
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7175
7230
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
@@ -7235,8 +7290,11 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7235
7290
  random: "random";
7236
7291
  discretionary: "discretionary";
7237
7292
  }>;
7293
+ totalBtcEarned: z.ZodCoercedBigInt<unknown>;
7238
7294
  totalHashrateEarned: z.ZodCoercedBigInt<unknown>;
7239
7295
  totalSatsEarned: z.ZodCoercedBigInt<unknown>;
7296
+ totalTokenEarned: z.ZodCoercedBigInt<unknown>;
7297
+ totalTokenSharesEarned: z.ZodCoercedBigInt<unknown>;
7240
7298
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7241
7299
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7242
7300
  }, z.core.$strip>]>>;
@@ -7270,8 +7328,10 @@ declare const zGetUserProfileResponse: z.ZodObject<{
7270
7328
  totalUsdClaimed: z.ZodCoercedBigInt<unknown>;
7271
7329
  totalUsdDeployed: z.ZodCoercedBigInt<unknown>;
7272
7330
  totalUsdEarned: z.ZodCoercedBigInt<unknown>;
7331
+ unclaimedBtcAmount: z.ZodCoercedBigInt<unknown>;
7273
7332
  unclaimedHashrateAmount: z.ZodCoercedBigInt<unknown>;
7274
7333
  unclaimedSatsShares: z.ZodCoercedBigInt<unknown>;
7334
+ unclaimedTokenAmount: z.ZodCoercedBigInt<unknown>;
7275
7335
  unclaimedTokenShares: z.ZodCoercedBigInt<unknown>;
7276
7336
  unclaimedUsdAmount: z.ZodCoercedBigInt<unknown>;
7277
7337
  unrealizedBtcPnl: z.ZodCoercedBigInt<unknown>;
package/dist/index.js CHANGED
@@ -1439,8 +1439,11 @@ var getStakingTreasuryResponseTransformer = async (data) => {
1439
1439
  var publicAutomationDtoSchemaResponseTransformer = (data) => {
1440
1440
  data.perRoundUsdAmount = u64DtoSchemaResponseTransformer(data.perRoundUsdAmount);
1441
1441
  data.remainingUsdAmount = u64DtoSchemaResponseTransformer(data.remainingUsdAmount);
1442
+ data.totalBtcEarned = u64DtoSchemaResponseTransformer(data.totalBtcEarned);
1442
1443
  data.totalHashrateEarned = u64DtoSchemaResponseTransformer(data.totalHashrateEarned);
1443
1444
  data.totalSatsEarned = u64DtoSchemaResponseTransformer(data.totalSatsEarned);
1445
+ data.totalTokenEarned = u64DtoSchemaResponseTransformer(data.totalTokenEarned);
1446
+ data.totalTokenSharesEarned = u64DtoSchemaResponseTransformer(data.totalTokenSharesEarned);
1444
1447
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1445
1448
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1446
1449
  return data;
@@ -1471,8 +1474,10 @@ var minerDtoSchemaResponseTransformer = (data) => {
1471
1474
  data.totalUsdClaimed = u64DtoSchemaResponseTransformer(data.totalUsdClaimed);
1472
1475
  data.totalUsdDeployed = u64DtoSchemaResponseTransformer(data.totalUsdDeployed);
1473
1476
  data.totalUsdEarned = u64DtoSchemaResponseTransformer(data.totalUsdEarned);
1477
+ data.unclaimedBtcAmount = u64DtoSchemaResponseTransformer(data.unclaimedBtcAmount);
1474
1478
  data.unclaimedHashrateAmount = u64DtoSchemaResponseTransformer(data.unclaimedHashrateAmount);
1475
1479
  data.unclaimedSatsShares = u64DtoSchemaResponseTransformer(data.unclaimedSatsShares);
1480
+ data.unclaimedTokenAmount = u64DtoSchemaResponseTransformer(data.unclaimedTokenAmount);
1476
1481
  data.unclaimedTokenShares = u64DtoSchemaResponseTransformer(data.unclaimedTokenShares);
1477
1482
  data.unclaimedUsdAmount = u64DtoSchemaResponseTransformer(data.unclaimedUsdAmount);
1478
1483
  data.unrealizedBtcPnl = i64DtoSchemaResponseTransformer(data.unrealizedBtcPnl);
@@ -2276,8 +2281,10 @@ var zMinerDto = z.object({
2276
2281
  totalUsdClaimed: zU64Dto,
2277
2282
  totalUsdDeployed: zU64Dto,
2278
2283
  totalUsdEarned: zU64Dto,
2284
+ unclaimedBtcAmount: zU64Dto,
2279
2285
  unclaimedHashrateAmount: zU64Dto,
2280
2286
  unclaimedSatsShares: zU64Dto,
2287
+ unclaimedTokenAmount: zU64Dto,
2281
2288
  unclaimedTokenShares: zU64Dto,
2282
2289
  unclaimedUsdAmount: zU64Dto,
2283
2290
  unrealizedBtcPnl: zI64Dto,
@@ -2478,8 +2485,11 @@ var zPublicAutomationDto = z.object({
2478
2485
  remainingUsdAmount: zU64Dto,
2479
2486
  selectionMask: z.int().gte(0).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
2480
2487
  strategy: zAutomationStrategyDto,
2488
+ totalBtcEarned: zU64Dto,
2481
2489
  totalHashrateEarned: zU64Dto,
2482
2490
  totalSatsEarned: zU64Dto,
2491
+ totalTokenEarned: zU64Dto,
2492
+ totalTokenSharesEarned: zU64Dto,
2483
2493
  totalUsdDeployed: zU64Dto,
2484
2494
  totalUsdEarned: zU64Dto
2485
2495
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@satrush/api",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",