@canton-network/core-splice-client 1.8.0 → 1.9.0

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.
@@ -194,6 +194,23 @@ export interface paths {
194
194
  patch?: never;
195
195
  trace?: never;
196
196
  };
197
+ '/v0/lsu': {
198
+ parameters: {
199
+ query?: never;
200
+ header?: never;
201
+ path?: never;
202
+ cookie?: never;
203
+ };
204
+ /** @description Retrieve information on the next logical synchronizer upgrade (LSU) */
205
+ get: operations['getLsu'];
206
+ put?: never;
207
+ post?: never;
208
+ delete?: never;
209
+ options?: never;
210
+ head?: never;
211
+ patch?: never;
212
+ trace?: never;
213
+ };
197
214
  '/v0/active-synchronizer-serial': {
198
215
  parameters: {
199
216
  query?: never;
@@ -589,7 +606,8 @@ export interface paths {
589
606
  get?: never;
590
607
  put?: never;
591
608
  /**
592
- * @description Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
609
+ * @deprecated
610
+ * @description Deprecated. Please use /v1/holdings/summary instead. Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
593
611
  * This is an aggregate of `/v0/holdings/state` by owner party ID with better performance than client-side computation.
594
612
  */
595
613
  post: operations['getHoldingsSummaryAt'];
@@ -599,6 +617,28 @@ export interface paths {
599
617
  patch?: never;
600
618
  trace?: never;
601
619
  };
620
+ '/v1/holdings/summary': {
621
+ parameters: {
622
+ query?: never;
623
+ header?: never;
624
+ path?: never;
625
+ cookie?: never;
626
+ };
627
+ get?: never;
628
+ put?: never;
629
+ /**
630
+ * @description Returns the summary of active amulet contracts for a given migration id and record time, for the given parties.
631
+ * This is an aggregate of `/v0/holdings/state` by owner party ID with better performance than client-side computation.
632
+ * Unlike /v0/holdings/summary, this version does not include holding fee fields
633
+ * as they do not express a meaningful aggregate value.
634
+ */
635
+ post: operations['getHoldingsSummaryAtV1'];
636
+ delete?: never;
637
+ options?: never;
638
+ head?: never;
639
+ patch?: never;
640
+ trace?: never;
641
+ };
602
642
  '/v0/ans-entries': {
603
643
  parameters: {
604
644
  query?: never;
@@ -795,26 +835,6 @@ export interface paths {
795
835
  patch?: never;
796
836
  trace?: never;
797
837
  };
798
- '/v0/top-validators-by-validator-faucets': {
799
- parameters: {
800
- query?: never;
801
- header?: never;
802
- path?: never;
803
- cookie?: never;
804
- };
805
- /**
806
- * @description Get a list of top validators by number of rounds in which they collected
807
- * faucets, and basis statistics on their round collection history
808
- */
809
- get: operations['getTopValidatorsByValidatorFaucets'];
810
- put?: never;
811
- post?: never;
812
- delete?: never;
813
- options?: never;
814
- head?: never;
815
- patch?: never;
816
- trace?: never;
817
- };
818
838
  '/v0/transfer-preapprovals/by-party/{party}': {
819
839
  parameters: {
820
840
  query?: never;
@@ -886,6 +906,23 @@ export interface paths {
886
906
  patch?: never;
887
907
  trace?: never;
888
908
  };
909
+ '/v0/migrations/last': {
910
+ parameters: {
911
+ query?: never;
912
+ header?: never;
913
+ path?: never;
914
+ cookie?: never;
915
+ };
916
+ /** @description Returns the last migration id that was configured for the synchronizer upgrades. */
917
+ get: operations['getMigrationId'];
918
+ put?: never;
919
+ post?: never;
920
+ delete?: never;
921
+ options?: never;
922
+ head?: never;
923
+ patch?: never;
924
+ trace?: never;
925
+ };
889
926
  '/v0/synchronizer-identities/{domain_id_prefix}': {
890
927
  parameters: {
891
928
  query?: never;
@@ -1019,6 +1056,22 @@ export interface paths {
1019
1056
  patch?: never;
1020
1057
  trace?: never;
1021
1058
  };
1059
+ '/v0/admin/sv/previous-sv-reward-weight': {
1060
+ parameters: {
1061
+ query?: never;
1062
+ header?: never;
1063
+ path?: never;
1064
+ cookie?: never;
1065
+ };
1066
+ get?: never;
1067
+ put?: never;
1068
+ post: operations['getPreviousSvRewardWeight'];
1069
+ delete?: never;
1070
+ options?: never;
1071
+ head?: never;
1072
+ patch?: never;
1073
+ trace?: never;
1074
+ };
1022
1075
  '/v0/backfilling/migration-info': {
1023
1076
  parameters: {
1024
1077
  query?: never;
@@ -1093,66 +1146,6 @@ export interface paths {
1093
1146
  patch?: never;
1094
1147
  trace?: never;
1095
1148
  };
1096
- '/v0/aggregated-rounds': {
1097
- parameters: {
1098
- query?: never;
1099
- header?: never;
1100
- path?: never;
1101
- cookie?: never;
1102
- };
1103
- /**
1104
- * @deprecated
1105
- * @description **Deprecated**. Retrieve the current earliest and latest rounds aggregated for this Scan.
1106
- */
1107
- get: operations['getAggregatedRounds'];
1108
- put?: never;
1109
- post?: never;
1110
- delete?: never;
1111
- options?: never;
1112
- head?: never;
1113
- patch?: never;
1114
- trace?: never;
1115
- };
1116
- '/v0/round-totals': {
1117
- parameters: {
1118
- query?: never;
1119
- header?: never;
1120
- path?: never;
1121
- cookie?: never;
1122
- };
1123
- get?: never;
1124
- put?: never;
1125
- /**
1126
- * @deprecated
1127
- * @description **Deprecated**. List Amulet statistics for up to 200 closed rounds.
1128
- */
1129
- post: operations['listRoundTotals'];
1130
- delete?: never;
1131
- options?: never;
1132
- head?: never;
1133
- patch?: never;
1134
- trace?: never;
1135
- };
1136
- '/v0/round-party-totals': {
1137
- parameters: {
1138
- query?: never;
1139
- header?: never;
1140
- path?: never;
1141
- cookie?: never;
1142
- };
1143
- get?: never;
1144
- put?: never;
1145
- /**
1146
- * @deprecated
1147
- * @description **Deprecated**. Retrieve per-party Amulet statistics for up to 50 closed rounds.
1148
- */
1149
- post: operations['listRoundPartyTotals'];
1150
- delete?: never;
1151
- options?: never;
1152
- head?: never;
1153
- patch?: never;
1154
- trace?: never;
1155
- };
1156
1149
  '/v0/amulet-config-for-round': {
1157
1150
  parameters: {
1158
1151
  query?: never;
@@ -1173,130 +1166,6 @@ export interface paths {
1173
1166
  patch?: never;
1174
1167
  trace?: never;
1175
1168
  };
1176
- '/v0/round-of-latest-data': {
1177
- parameters: {
1178
- query?: never;
1179
- header?: never;
1180
- path?: never;
1181
- cookie?: never;
1182
- };
1183
- /**
1184
- * @deprecated
1185
- * @description **Deprecated**. Get the latest round number for which aggregated data is available and
1186
- * the ledger effective time at which the round was closed.
1187
- */
1188
- get: operations['getRoundOfLatestData'];
1189
- put?: never;
1190
- post?: never;
1191
- delete?: never;
1192
- options?: never;
1193
- head?: never;
1194
- patch?: never;
1195
- trace?: never;
1196
- };
1197
- '/v0/rewards-collected': {
1198
- parameters: {
1199
- query?: never;
1200
- header?: never;
1201
- path?: never;
1202
- cookie?: never;
1203
- };
1204
- /**
1205
- * @deprecated
1206
- * @description **Deprecated**. Get the total rewards collected ever
1207
- */
1208
- get: operations['getRewardsCollected'];
1209
- put?: never;
1210
- post?: never;
1211
- delete?: never;
1212
- options?: never;
1213
- head?: never;
1214
- patch?: never;
1215
- trace?: never;
1216
- };
1217
- '/v0/top-providers-by-app-rewards': {
1218
- parameters: {
1219
- query?: never;
1220
- header?: never;
1221
- path?: never;
1222
- cookie?: never;
1223
- };
1224
- /**
1225
- * @deprecated
1226
- * @description **Deprecated**. Get a list of top-earning app providers, and the total earned app
1227
- * rewards for each
1228
- */
1229
- get: operations['getTopProvidersByAppRewards'];
1230
- put?: never;
1231
- post?: never;
1232
- delete?: never;
1233
- options?: never;
1234
- head?: never;
1235
- patch?: never;
1236
- trace?: never;
1237
- };
1238
- '/v0/top-validators-by-validator-rewards': {
1239
- parameters: {
1240
- query?: never;
1241
- header?: never;
1242
- path?: never;
1243
- cookie?: never;
1244
- };
1245
- /**
1246
- * @deprecated
1247
- * @description **Deprecated**. Get a list of top-earning validators, and the total earned validator
1248
- * rewards for each
1249
- */
1250
- get: operations['getTopValidatorsByValidatorRewards'];
1251
- put?: never;
1252
- post?: never;
1253
- delete?: never;
1254
- options?: never;
1255
- head?: never;
1256
- patch?: never;
1257
- trace?: never;
1258
- };
1259
- '/v0/top-validators-by-purchased-traffic': {
1260
- parameters: {
1261
- query?: never;
1262
- header?: never;
1263
- path?: never;
1264
- cookie?: never;
1265
- };
1266
- /**
1267
- * @deprecated
1268
- * @description **Deprecated**. Get a list of validators and their domain fees spends, sorted by the
1269
- * amount of extra traffic purchased
1270
- */
1271
- get: operations['getTopValidatorsByPurchasedTraffic'];
1272
- put?: never;
1273
- post?: never;
1274
- delete?: never;
1275
- options?: never;
1276
- head?: never;
1277
- patch?: never;
1278
- trace?: never;
1279
- };
1280
- '/v0/activities': {
1281
- parameters: {
1282
- query?: never;
1283
- header?: never;
1284
- path?: never;
1285
- cookie?: never;
1286
- };
1287
- get?: never;
1288
- put?: never;
1289
- /**
1290
- * @deprecated
1291
- * @description **Deprecated**. Lists activities in descending order, paged, optionally starting after a provided event id.
1292
- */
1293
- post: operations['listActivity'];
1294
- delete?: never;
1295
- options?: never;
1296
- head?: never;
1297
- patch?: never;
1298
- trace?: never;
1299
- };
1300
1169
  '/v0/transactions': {
1301
1170
  parameters: {
1302
1171
  query?: never;
@@ -1454,7 +1323,7 @@ export interface paths {
1454
1323
  patch?: never;
1455
1324
  trace?: never;
1456
1325
  };
1457
- '/v0/reward-accounting-process/rounds/earliest-available': {
1326
+ '/v0/internal/reward-accounting-process/rounds/earliest-available': {
1458
1327
  parameters: {
1459
1328
  query?: never;
1460
1329
  header?: never;
@@ -1475,7 +1344,7 @@ export interface paths {
1475
1344
  patch?: never;
1476
1345
  trace?: never;
1477
1346
  };
1478
- '/v0/reward-accounting-process/rounds/{round_number}/activity-totals': {
1347
+ '/v0/internal/reward-accounting-process/rounds/{round_number}/activity-totals': {
1479
1348
  parameters: {
1480
1349
  query?: never;
1481
1350
  header?: never;
@@ -1496,7 +1365,7 @@ export interface paths {
1496
1365
  patch?: never;
1497
1366
  trace?: never;
1498
1367
  };
1499
- '/v0/reward-accounting-process/rounds/{round_number}/root-hash': {
1368
+ '/v0/internal/reward-accounting-process/rounds/{round_number}/root-hash': {
1500
1369
  parameters: {
1501
1370
  query?: never;
1502
1371
  header?: never;
@@ -1516,7 +1385,7 @@ export interface paths {
1516
1385
  patch?: never;
1517
1386
  trace?: never;
1518
1387
  };
1519
- '/v0/reward-accounting-process/rounds/{round_number}/batches/{batch_hash}': {
1388
+ '/v0/internal/reward-accounting-process/rounds/{round_number}/batches/{batch_hash}': {
1520
1389
  parameters: {
1521
1390
  query?: never;
1522
1391
  header?: never;
@@ -1692,15 +1561,6 @@ export interface components {
1692
1561
  amount: string;
1693
1562
  rate: string;
1694
1563
  };
1695
- GetRoundOfLatestDataResponse: {
1696
- /** Format: int64 */
1697
- round: number;
1698
- /** Format: date-time */
1699
- effectiveAt: string;
1700
- };
1701
- GetRewardsCollectedResponse: {
1702
- amount: string;
1703
- };
1704
1564
  GetValidatorTrafficBalanceResponse: {
1705
1565
  /** Format: double */
1706
1566
  remainingBalance: number;
@@ -1710,26 +1570,6 @@ export interface components {
1710
1570
  CheckAndUpdateValidatorTrafficBalanceResponse: {
1711
1571
  approved: boolean;
1712
1572
  };
1713
- GetTopProvidersByAppRewardsResponse: {
1714
- providersAndRewards: components['schemas']['PartyAndRewards'][];
1715
- };
1716
- GetTopValidatorsByValidatorRewardsResponse: {
1717
- validatorsAndRewards: components['schemas']['PartyAndRewards'][];
1718
- };
1719
- PartyAndRewards: {
1720
- provider: string;
1721
- rewards: string;
1722
- };
1723
- GetTopValidatorsByValidatorFaucetsResponse: {
1724
- /**
1725
- * @description Up to `limit` validators, sorted greatest number of rounds
1726
- * collected first
1727
- */
1728
- validatorsByReceivedFaucets: components['schemas']['ValidatorReceivedFaucets'][];
1729
- };
1730
- GetTopValidatorsByPurchasedTrafficResponse: {
1731
- validatorsByPurchasedTraffic: components['schemas']['ValidatorPurchasedTraffic'][];
1732
- };
1733
1573
  ValidatorPurchasedTraffic: {
1734
1574
  validator: string;
1735
1575
  /** Format: int64 */
@@ -1801,6 +1641,24 @@ export interface components {
1801
1641
  currentPhysicalSynchronizerId: string;
1802
1642
  successorPhysicalSynchronizerId: string;
1803
1643
  };
1644
+ GetLsuResponse: {
1645
+ /** @description Info on the next LSU */
1646
+ lsu?: components['schemas']['Lsu'];
1647
+ };
1648
+ Lsu: {
1649
+ /**
1650
+ * Format: date-time
1651
+ * @description The time when topology freeze starts
1652
+ */
1653
+ topologyFreezeTime: string;
1654
+ /**
1655
+ * Format: date-time
1656
+ * @description The time at which to upgrade
1657
+ */
1658
+ upgradeTime: string;
1659
+ /** @description The successor physical synchronizer ID */
1660
+ successorPhysicalSynchronizerId: string;
1661
+ };
1804
1662
  GetActivePhysicalSynchronizerSerialResponse: {
1805
1663
  /**
1806
1664
  * Format: int64
@@ -2344,7 +2202,31 @@ export interface components {
2344
2202
  */
2345
2203
  as_of_round?: number;
2346
2204
  };
2347
- ForceAcsSnapshotResponse: {
2205
+ HoldingsSummaryRequestV1: {
2206
+ /**
2207
+ * Format: int64
2208
+ * @description The migration id for which to return the summary.
2209
+ */
2210
+ migration_id: number;
2211
+ /**
2212
+ * Format: date-time
2213
+ * @description The timestamp at which the contract set was active.
2214
+ * This needs to be an exact timestamp, i.e.,
2215
+ * needs to correspond to a timestamp reported by `/v0/state/acs/snapshot-timestamp` if `record_time_match` is set to `exact` (which is the default).
2216
+ * If `record_time_match` is set to `at_or_before`, this can be any timestamp, and the most recent snapshot at or before the given `record_time` will be returned.
2217
+ */
2218
+ record_time: string;
2219
+ /**
2220
+ * @description How to match the record_time. "exact" requires the record_time to match exactly.
2221
+ * "at_or_before" finds the most recent snapshot at or before the given record_time.
2222
+ * @default exact
2223
+ * @enum {string}
2224
+ */
2225
+ record_time_match: 'exact' | 'at_or_before';
2226
+ /** @description The owners for which to compute the summary. */
2227
+ owner_party_ids: string[];
2228
+ };
2229
+ ForceAcsSnapshotResponse: {
2348
2230
  /**
2349
2231
  * Format: date-time
2350
2232
  * @description The [recent] time for which this ACS snapshot was persisted.
@@ -2454,55 +2336,35 @@ export interface components {
2454
2336
  /** @description Same as `total_unlocked_coin` - `accumulated_holding_fees_unlocked`. */
2455
2337
  total_available_coin: string;
2456
2338
  };
2457
- ListActivityRequest: {
2339
+ HoldingsSummaryResponseV1: {
2458
2340
  /**
2459
- * @description Minimal event_id for returned activities.
2460
- * Note that all activities carry some monotonically-increasing event_id. begin_after_id sets the minimum value for event_id's for the query.
2341
+ * Format: date-time
2342
+ * @description The same `record_time` as in the request.
2461
2343
  */
2462
- begin_after_id?: string;
2344
+ record_time: string;
2463
2345
  /**
2464
2346
  * Format: int64
2465
- * @description The maximum number of activity items returned for this request.
2347
+ * @description The same `migration_id` as in the request.
2466
2348
  */
2467
- page_size: number;
2468
- };
2469
- ListActivityResponse: {
2470
- activities: components['schemas']['ListActivityResponseItem'][];
2349
+ migration_id: number;
2350
+ summaries: components['schemas']['HoldingsSummaryV1'][];
2471
2351
  };
2472
- ListActivityResponseItem: {
2473
- /**
2474
- * @description Describes the type of activity that occurred.
2475
- * Determines if the data for the activity should be read
2476
- * from the `transfer`, `mint`, or `tap` property.
2477
- * @enum {string}
2478
- */
2479
- activity_type: 'transfer' | 'mint' | 'devnet_tap' | 'abort_transfer_instruction';
2480
- /** @description The event id. */
2481
- event_id: string;
2482
- /**
2483
- * @description The ledger offset of the event.
2484
- * Note that this field may not be the same across nodes, and therefore should not be compared between SVs.
2485
- */
2486
- offset?: string;
2352
+ /** @description Aggregate Amulet totals for a particular owner party ID. */
2353
+ HoldingsSummaryV1: {
2354
+ /** @description Owner party ID of the amulet. Guaranteed to be unique among `summaries`. */
2355
+ party_id: string;
2487
2356
  /**
2488
- * Format: date-time
2489
- * @description The effective date of the event.
2357
+ * @description Sum of unlocked amulet initial amounts, not counting holding
2358
+ * fees deducted since.
2490
2359
  */
2491
- date: string;
2492
- /** @description The id of the domain through which this transaction was sequenced. */
2493
- domain_id: string;
2360
+ total_unlocked_coin: string;
2494
2361
  /**
2495
- * Format: int64
2496
- * @description The round for which this transaction was registered.
2362
+ * @description Sum of locked amulet initial amounts, not
2363
+ * counting holding fees deducted since.
2497
2364
  */
2498
- round?: number;
2499
- /** @description A (batch) transfer from sender to receivers. */
2500
- transfer?: components['schemas']['Transfer'];
2501
- /** @description The DSO mints amulet for the cases where the DSO rules allow for that. */
2502
- mint?: components['schemas']['AmuletAmount'];
2503
- /** @description A tap creates a Amulet, only used for development purposes, and enabled only on DevNet. */
2504
- tap?: components['schemas']['AmuletAmount'];
2505
- abort_transfer_instruction?: components['schemas']['AbortTransferInstruction'];
2365
+ total_locked_coin: string;
2366
+ /** @description `total_unlocked_coin` + `total_locked_coin`. */
2367
+ total_coin_holdings: string;
2506
2368
  };
2507
2369
  /** @description A transfer between one sender and possibly many receivers */
2508
2370
  Transfer: {
@@ -2682,72 +2544,16 @@ export interface components {
2682
2544
  */
2683
2545
  expires_at?: string;
2684
2546
  };
2685
- GetAggregatedRoundsResponse: {
2686
- /** Format: int64 */
2687
- start: number;
2688
- /** Format: int64 */
2689
- end: number;
2690
- };
2691
- ListRoundTotalsRequest: {
2692
- /** Format: int64 */
2693
- start_round: number;
2694
- /** Format: int64 */
2695
- end_round: number;
2696
- };
2697
- ListRoundPartyTotalsRequest: {
2698
- /** Format: int64 */
2699
- start_round: number;
2700
- /** Format: int64 */
2701
- end_round: number;
2702
- };
2703
- ListRoundTotalsResponse: {
2704
- entries: components['schemas']['RoundTotals'][];
2705
- };
2706
- ListRoundPartyTotalsResponse: {
2707
- entries: components['schemas']['RoundPartyTotals'][];
2708
- };
2709
- RoundPartyTotals: {
2710
- /** Format: int64 */
2711
- closed_round: number;
2712
- party: string;
2713
- app_rewards: string;
2714
- validator_rewards: string;
2715
- /** Format: int64 */
2716
- traffic_purchased: number;
2717
- traffic_purchased_cc_spent: string;
2718
- /** Format: int64 */
2719
- traffic_num_purchases: number;
2720
- cumulative_app_rewards: string;
2721
- cumulative_validator_rewards: string;
2722
- cumulative_change_to_initial_amount_as_of_round_zero: string;
2723
- cumulative_change_to_holding_fees_rate: string;
2724
- /** Format: int64 */
2725
- cumulative_traffic_purchased: number;
2726
- cumulative_traffic_purchased_cc_spent: string;
2727
- /** Format: int64 */
2728
- cumulative_traffic_num_purchases: number;
2729
- };
2730
- RoundTotals: {
2731
- /** Format: int64 */
2732
- closed_round: number;
2733
- /** Format: date-time */
2734
- closed_round_effective_at: string;
2735
- app_rewards: string;
2736
- validator_rewards: string;
2737
- change_to_initial_amount_as_of_round_zero: string;
2738
- change_to_holding_fees_rate: string;
2739
- cumulative_app_rewards: string;
2740
- cumulative_validator_rewards: string;
2741
- cumulative_change_to_initial_amount_as_of_round_zero: string;
2742
- cumulative_change_to_holding_fees_rate: string;
2743
- total_amulet_balance: string;
2744
- };
2745
2547
  MigrationSchedule: {
2746
2548
  /** Format: date-time */
2747
2549
  time: string;
2748
2550
  /** Format: int64 */
2749
2551
  migration_id: number;
2750
2552
  };
2553
+ GetMigrationIdResponse: {
2554
+ /** Format: int64 */
2555
+ migration_id: number;
2556
+ };
2751
2557
  SynchronizerIdentities: {
2752
2558
  sequencer_id: string;
2753
2559
  sequencer_identity_transactions: string[];
@@ -2962,22 +2768,14 @@ export interface components {
2962
2768
  * If an event pertains to a transaction that is partially private, it may also bear verdict information for the private portions.
2963
2769
  * When both fields are present, the transaction and verdict have the same `update_id` and `record_time`.
2964
2770
  *
2965
- * **Experimental**: for networks where the SVs enable activity record
2966
- * computation, a traffic summary and app activity record are present when
2771
+ * For networks where the SVs enable activity record computation,
2772
+ * a traffic summary and app activity record are present when
2967
2773
  * a verdict is present.
2968
- *
2969
- * This support is experimental while the preview phase of CIP-104 is running.
2970
2774
  */
2971
2775
  EventHistoryItem: {
2972
2776
  update?: components['schemas']['UpdateHistoryItemV2'];
2973
2777
  verdict?: components['schemas']['EventHistoryVerdict'];
2974
- /**
2975
- * @description **EXPERIMENTAL**: This property is experimental and subject to change. Data may be incomplete or missing.
2976
- *
2977
- * This is our current best guess for how the summaries are served, but there remains a chance that the API needs to be adjusted.
2978
- */
2979
2778
  traffic_summary?: components['schemas']['EventHistoryTrafficSummary'];
2980
- /** @description **EXPERIMENTAL**: This property is experimental and subject to change. Data may be incomplete or missing. */
2981
2779
  app_activity_records?: components['schemas']['EventHistoryAppActivityRecords'];
2982
2780
  };
2983
2781
  EventHistoryVerdict: {
@@ -3125,7 +2923,13 @@ export interface components {
3125
2923
  /** Format: int64 */
3126
2924
  earliest_round: number;
3127
2925
  };
3128
- GetRewardAccountingActivityTotalsResponse: {
2926
+ GetRewardAccountingActivityTotalsResponse: components['schemas']['RewardAccountingActivityTotalsOk'] | components['schemas']['RewardAccountingActivityTotalsUndetermined'] | components['schemas']['RewardAccountingActivityTotalsCannotProvide'];
2927
+ RewardAccountingActivityTotalsOk: {
2928
+ /**
2929
+ * @description discriminator enum property added by openapi-typescript
2930
+ * @enum {string}
2931
+ */
2932
+ status: 'Ok';
3129
2933
  /** Format: int64 */
3130
2934
  round_number: number;
3131
2935
  /** Format: int64 */
@@ -3134,13 +2938,55 @@ export interface components {
3134
2938
  active_parties_count: number;
3135
2939
  /** Format: int64 */
3136
2940
  activity_records_count: number;
2941
+ /** @description The total of all minting allowances granted to app providers in this round. */
2942
+ total_app_reward_minting_allowance: string;
2943
+ /** @description Total amount of minting allowances that fell below the configured app reward threshold and was thus burned. */
2944
+ total_app_reward_thresholded: string;
2945
+ /** @description Total amount of app rewards which could not be attributed to app providers in this round because of limit on app rewards per activity (aka the app rewards cap). */
2946
+ total_app_reward_unclaimed: string;
2947
+ /** Format: int64 */
2948
+ rewarded_app_provider_parties_count: number;
2949
+ };
2950
+ RewardAccountingActivityTotalsUndetermined: {
2951
+ /**
2952
+ * @description discriminator enum property added by openapi-typescript
2953
+ * @enum {string}
2954
+ */
2955
+ status: 'Undetermined';
3137
2956
  };
3138
- GetRewardAccountingRootHashResponse: {
2957
+ RewardAccountingActivityTotalsCannotProvide: {
2958
+ /**
2959
+ * @description discriminator enum property added by openapi-typescript
2960
+ * @enum {string}
2961
+ */
2962
+ status: 'CannotProvide';
2963
+ };
2964
+ GetRewardAccountingRootHashResponse: components['schemas']['RewardAccountingRootHashOk'] | components['schemas']['RewardAccountingRootHashUndetermined'] | components['schemas']['RewardAccountingRootHashCannotProvide'];
2965
+ RewardAccountingRootHashOk: {
2966
+ /**
2967
+ * @description discriminator enum property added by openapi-typescript
2968
+ * @enum {string}
2969
+ */
2970
+ status: 'Ok';
3139
2971
  /** Format: int64 */
3140
2972
  round_number: number;
3141
2973
  /** @description Hex-encoded root hash */
3142
2974
  root_hash: string;
3143
2975
  };
2976
+ RewardAccountingRootHashUndetermined: {
2977
+ /**
2978
+ * @description discriminator enum property added by openapi-typescript
2979
+ * @enum {string}
2980
+ */
2981
+ status: 'Undetermined';
2982
+ };
2983
+ RewardAccountingRootHashCannotProvide: {
2984
+ /**
2985
+ * @description discriminator enum property added by openapi-typescript
2986
+ * @enum {string}
2987
+ */
2988
+ status: 'CannotProvide';
2989
+ };
3144
2990
  GetRewardAccountingBatchResponse: components['schemas']['RewardAccountingBatchOfBatches'] | components['schemas']['RewardAccountingBatchOfMintingAllowances'];
3145
2991
  BaseRewardAccountingBatch: {
3146
2992
  /**
@@ -3319,9 +3165,31 @@ export interface components {
3319
3165
  effectiveFrom?: string;
3320
3166
  effectiveTo?: string;
3321
3167
  limit: number;
3168
+ /**
3169
+ * @description Cursor for pagination. When requesting the next page of results, pass the `next_page_token` from the previous response.
3170
+ * Results are ordered by effective date (the accepted vote's effectiveAt, or the result's completedAt otherwise), descending.
3171
+ */
3172
+ pageToken?: number;
3322
3173
  };
3323
3174
  ListDsoRulesVoteResultsResponse: {
3324
3175
  dso_rules_vote_results: Record<string, never>[];
3176
+ /**
3177
+ * @description Cursor for the next page of results. Pass this as `pageToken` in the request.
3178
+ * If absent or `null`, there are no more pages.
3179
+ */
3180
+ next_page_token?: number;
3181
+ };
3182
+ PreviousSvRewardWeightRequest: {
3183
+ svParty: string;
3184
+ /** @description Only consider reward weight changes that took effect strictly before this time. */
3185
+ effectiveBefore?: string;
3186
+ };
3187
+ PreviousSvRewardWeightResponse: {
3188
+ /**
3189
+ * @description The SV's reward weight set by the most recent accepted `UpdateSvRewardWeight` proposal
3190
+ * before `effectiveBefore`, or absent if there is no such proposal.
3191
+ */
3192
+ rewardWeight?: string;
3325
3193
  };
3326
3194
  FeatureSupportResponse: {
3327
3195
  dummy?: boolean;
@@ -3615,6 +3483,26 @@ export interface operations {
3615
3483
  };
3616
3484
  };
3617
3485
  };
3486
+ getLsu: {
3487
+ parameters: {
3488
+ query?: never;
3489
+ header?: never;
3490
+ path?: never;
3491
+ cookie?: never;
3492
+ };
3493
+ requestBody?: never;
3494
+ responses: {
3495
+ /** @description ok */
3496
+ 200: {
3497
+ headers: {
3498
+ [name: string]: unknown;
3499
+ };
3500
+ content: {
3501
+ 'application/json': components['schemas']['GetLsuResponse'];
3502
+ };
3503
+ };
3504
+ };
3505
+ };
3618
3506
  getActivePhysicalSynchronizerSerial: {
3619
3507
  parameters: {
3620
3508
  query?: never;
@@ -4108,6 +3996,33 @@ export interface operations {
4108
3996
  500: components['responses']['500'];
4109
3997
  };
4110
3998
  };
3999
+ getHoldingsSummaryAtV1: {
4000
+ parameters: {
4001
+ query?: never;
4002
+ header?: never;
4003
+ path?: never;
4004
+ cookie?: never;
4005
+ };
4006
+ requestBody: {
4007
+ content: {
4008
+ 'application/json': components['schemas']['HoldingsSummaryRequestV1'];
4009
+ };
4010
+ };
4011
+ responses: {
4012
+ /** @description ok */
4013
+ 200: {
4014
+ headers: {
4015
+ [name: string]: unknown;
4016
+ };
4017
+ content: {
4018
+ 'application/json': components['schemas']['HoldingsSummaryResponseV1'];
4019
+ };
4020
+ };
4021
+ 400: components['responses']['400'];
4022
+ 404: components['responses']['404'];
4023
+ 500: components['responses']['500'];
4024
+ };
4025
+ };
4111
4026
  listAnsEntries: {
4112
4027
  parameters: {
4113
4028
  query: {
@@ -4365,34 +4280,6 @@ export interface operations {
4365
4280
  };
4366
4281
  };
4367
4282
  };
4368
- getTopValidatorsByValidatorFaucets: {
4369
- parameters: {
4370
- query: {
4371
- /**
4372
- * @description Maximum number of validator records that may be returned in the
4373
- * response
4374
- */
4375
- limit: number;
4376
- };
4377
- header?: never;
4378
- path?: never;
4379
- cookie?: never;
4380
- };
4381
- requestBody?: never;
4382
- responses: {
4383
- /** @description ok */
4384
- 200: {
4385
- headers: {
4386
- [name: string]: unknown;
4387
- };
4388
- content: {
4389
- 'application/json': components['schemas']['GetTopValidatorsByValidatorFaucetsResponse'];
4390
- };
4391
- };
4392
- 400: components['responses']['400'];
4393
- 404: components['responses']['404'];
4394
- };
4395
- };
4396
4283
  lookupTransferPreapprovalByParty: {
4397
4284
  parameters: {
4398
4285
  query?: never;
@@ -4492,6 +4379,26 @@ export interface operations {
4492
4379
  };
4493
4380
  };
4494
4381
  };
4382
+ getMigrationId: {
4383
+ parameters: {
4384
+ query?: never;
4385
+ header?: never;
4386
+ path?: never;
4387
+ cookie?: never;
4388
+ };
4389
+ requestBody?: never;
4390
+ responses: {
4391
+ /** @description ok */
4392
+ 200: {
4393
+ headers: {
4394
+ [name: string]: unknown;
4395
+ };
4396
+ content: {
4397
+ 'application/json': components['schemas']['GetMigrationIdResponse'];
4398
+ };
4399
+ };
4400
+ };
4401
+ };
4495
4402
  getSynchronizerIdentities: {
4496
4403
  parameters: {
4497
4404
  query?: never;
@@ -4678,7 +4585,7 @@ export interface operations {
4678
4585
  };
4679
4586
  };
4680
4587
  };
4681
- getMigrationInfo: {
4588
+ getPreviousSvRewardWeight: {
4682
4589
  parameters: {
4683
4590
  query?: never;
4684
4591
  header?: never;
@@ -4687,79 +4594,9 @@ export interface operations {
4687
4594
  };
4688
4595
  requestBody: {
4689
4596
  content: {
4690
- 'application/json': components['schemas']['GetMigrationInfoRequest'];
4691
- };
4692
- };
4693
- responses: {
4694
- /** @description ok */
4695
- 200: {
4696
- headers: {
4697
- [name: string]: unknown;
4698
- };
4699
- content: {
4700
- 'application/json': components['schemas']['GetMigrationInfoResponse'];
4701
- };
4702
- };
4703
- 404: components['responses']['404'];
4704
- };
4705
- };
4706
- getUpdatesBefore: {
4707
- parameters: {
4708
- query?: never;
4709
- header?: never;
4710
- path?: never;
4711
- cookie?: never;
4712
- };
4713
- requestBody: {
4714
- content: {
4715
- 'application/json': components['schemas']['GetUpdatesBeforeRequest'];
4716
- };
4717
- };
4718
- responses: {
4719
- /** @description ok */
4720
- 200: {
4721
- headers: {
4722
- [name: string]: unknown;
4723
- };
4724
- content: {
4725
- 'application/json': components['schemas']['GetUpdatesBeforeResponse'];
4726
- };
4727
- };
4728
- 404: components['responses']['404'];
4729
- };
4730
- };
4731
- getBackfillingStatus: {
4732
- parameters: {
4733
- query?: never;
4734
- header?: never;
4735
- path?: never;
4736
- cookie?: never;
4737
- };
4738
- requestBody?: never;
4739
- responses: {
4740
- /** @description ok */
4741
- 200: {
4742
- headers: {
4743
- [name: string]: unknown;
4744
- };
4745
- content: {
4746
- 'application/json': components['schemas']['GetBackfillingStatusResponse'];
4747
- };
4597
+ 'application/json': components['schemas']['PreviousSvRewardWeightRequest'];
4748
4598
  };
4749
4599
  };
4750
- };
4751
- getAcsSnapshot: {
4752
- parameters: {
4753
- query?: {
4754
- record_time?: string;
4755
- };
4756
- header?: never;
4757
- path: {
4758
- party: string;
4759
- };
4760
- cookie?: never;
4761
- };
4762
- requestBody?: never;
4763
4600
  responses: {
4764
4601
  /** @description ok */
4765
4602
  200: {
@@ -4767,33 +4604,12 @@ export interface operations {
4767
4604
  [name: string]: unknown;
4768
4605
  };
4769
4606
  content: {
4770
- 'application/json': components['schemas']['GetAcsSnapshotResponse'];
4607
+ 'application/json': components['schemas']['PreviousSvRewardWeightResponse'];
4771
4608
  };
4772
4609
  };
4773
4610
  };
4774
4611
  };
4775
- getAggregatedRounds: {
4776
- parameters: {
4777
- query?: never;
4778
- header?: never;
4779
- path?: never;
4780
- cookie?: never;
4781
- };
4782
- requestBody?: never;
4783
- responses: {
4784
- /** @description ok */
4785
- 200: {
4786
- headers: {
4787
- [name: string]: unknown;
4788
- };
4789
- content: {
4790
- 'application/json': components['schemas']['GetAggregatedRoundsResponse'];
4791
- };
4792
- };
4793
- 404: components['responses']['404'];
4794
- };
4795
- };
4796
- listRoundTotals: {
4612
+ getMigrationInfo: {
4797
4613
  parameters: {
4798
4614
  query?: never;
4799
4615
  header?: never;
@@ -4802,7 +4618,7 @@ export interface operations {
4802
4618
  };
4803
4619
  requestBody: {
4804
4620
  content: {
4805
- 'application/json': components['schemas']['ListRoundTotalsRequest'];
4621
+ 'application/json': components['schemas']['GetMigrationInfoRequest'];
4806
4622
  };
4807
4623
  };
4808
4624
  responses: {
@@ -4812,15 +4628,13 @@ export interface operations {
4812
4628
  [name: string]: unknown;
4813
4629
  };
4814
4630
  content: {
4815
- 'application/json': components['schemas']['ListRoundTotalsResponse'];
4631
+ 'application/json': components['schemas']['GetMigrationInfoResponse'];
4816
4632
  };
4817
4633
  };
4818
- 400: components['responses']['400'];
4819
4634
  404: components['responses']['404'];
4820
- 500: components['responses']['500'];
4821
4635
  };
4822
4636
  };
4823
- listRoundPartyTotals: {
4637
+ getUpdatesBefore: {
4824
4638
  parameters: {
4825
4639
  query?: never;
4826
4640
  header?: never;
@@ -4829,34 +4643,9 @@ export interface operations {
4829
4643
  };
4830
4644
  requestBody: {
4831
4645
  content: {
4832
- 'application/json': components['schemas']['ListRoundPartyTotalsRequest'];
4833
- };
4834
- };
4835
- responses: {
4836
- /** @description ok */
4837
- 200: {
4838
- headers: {
4839
- [name: string]: unknown;
4840
- };
4841
- content: {
4842
- 'application/json': components['schemas']['ListRoundPartyTotalsResponse'];
4843
- };
4844
- };
4845
- 400: components['responses']['400'];
4846
- 404: components['responses']['404'];
4847
- 500: components['responses']['500'];
4848
- };
4849
- };
4850
- getAmuletConfigForRound: {
4851
- parameters: {
4852
- query: {
4853
- round: number;
4646
+ 'application/json': components['schemas']['GetUpdatesBeforeRequest'];
4854
4647
  };
4855
- header?: never;
4856
- path?: never;
4857
- cookie?: never;
4858
4648
  };
4859
- requestBody?: never;
4860
4649
  responses: {
4861
4650
  /** @description ok */
4862
4651
  200: {
@@ -4864,13 +4653,13 @@ export interface operations {
4864
4653
  [name: string]: unknown;
4865
4654
  };
4866
4655
  content: {
4867
- 'application/json': components['schemas']['GetAmuletConfigForRoundResponse'];
4656
+ 'application/json': components['schemas']['GetUpdatesBeforeResponse'];
4868
4657
  };
4869
4658
  };
4870
4659
  404: components['responses']['404'];
4871
4660
  };
4872
4661
  };
4873
- getRoundOfLatestData: {
4662
+ getBackfillingStatus: {
4874
4663
  parameters: {
4875
4664
  query?: never;
4876
4665
  header?: never;
@@ -4885,68 +4674,20 @@ export interface operations {
4885
4674
  [name: string]: unknown;
4886
4675
  };
4887
4676
  content: {
4888
- 'application/json': components['schemas']['GetRoundOfLatestDataResponse'];
4677
+ 'application/json': components['schemas']['GetBackfillingStatusResponse'];
4889
4678
  };
4890
4679
  };
4891
- 404: components['responses']['404'];
4892
4680
  };
4893
4681
  };
4894
- getRewardsCollected: {
4682
+ getAcsSnapshot: {
4895
4683
  parameters: {
4896
4684
  query?: {
4897
- round?: number;
4898
- };
4899
- header?: never;
4900
- path?: never;
4901
- cookie?: never;
4902
- };
4903
- requestBody?: never;
4904
- responses: {
4905
- /** @description ok */
4906
- 200: {
4907
- headers: {
4908
- [name: string]: unknown;
4909
- };
4910
- content: {
4911
- 'application/json': components['schemas']['GetRewardsCollectedResponse'];
4912
- };
4913
- };
4914
- 404: components['responses']['404'];
4915
- };
4916
- };
4917
- getTopProvidersByAppRewards: {
4918
- parameters: {
4919
- query: {
4920
- round: number;
4921
- limit: number;
4685
+ record_time?: string;
4922
4686
  };
4923
4687
  header?: never;
4924
- path?: never;
4925
- cookie?: never;
4926
- };
4927
- requestBody?: never;
4928
- responses: {
4929
- /** @description ok */
4930
- 200: {
4931
- headers: {
4932
- [name: string]: unknown;
4933
- };
4934
- content: {
4935
- 'application/json': components['schemas']['GetTopProvidersByAppRewardsResponse'];
4936
- };
4937
- };
4938
- 400: components['responses']['400'];
4939
- 404: components['responses']['404'];
4940
- };
4941
- };
4942
- getTopValidatorsByValidatorRewards: {
4943
- parameters: {
4944
- query: {
4945
- round: number;
4946
- limit: number;
4688
+ path: {
4689
+ party: string;
4947
4690
  };
4948
- header?: never;
4949
- path?: never;
4950
4691
  cookie?: never;
4951
4692
  };
4952
4693
  requestBody?: never;
@@ -4957,18 +4698,15 @@ export interface operations {
4957
4698
  [name: string]: unknown;
4958
4699
  };
4959
4700
  content: {
4960
- 'application/json': components['schemas']['GetTopValidatorsByValidatorRewardsResponse'];
4701
+ 'application/json': components['schemas']['GetAcsSnapshotResponse'];
4961
4702
  };
4962
4703
  };
4963
- 400: components['responses']['400'];
4964
- 404: components['responses']['404'];
4965
4704
  };
4966
4705
  };
4967
- getTopValidatorsByPurchasedTraffic: {
4706
+ getAmuletConfigForRound: {
4968
4707
  parameters: {
4969
4708
  query: {
4970
4709
  round: number;
4971
- limit: number;
4972
4710
  };
4973
4711
  header?: never;
4974
4712
  path?: never;
@@ -4982,37 +4720,10 @@ export interface operations {
4982
4720
  [name: string]: unknown;
4983
4721
  };
4984
4722
  content: {
4985
- 'application/json': components['schemas']['GetTopValidatorsByPurchasedTrafficResponse'];
4986
- };
4987
- };
4988
- 400: components['responses']['400'];
4989
- 404: components['responses']['404'];
4990
- };
4991
- };
4992
- listActivity: {
4993
- parameters: {
4994
- query?: never;
4995
- header?: never;
4996
- path?: never;
4997
- cookie?: never;
4998
- };
4999
- requestBody: {
5000
- content: {
5001
- 'application/json': components['schemas']['ListActivityRequest'];
5002
- };
5003
- };
5004
- responses: {
5005
- /** @description ok */
5006
- 200: {
5007
- headers: {
5008
- [name: string]: unknown;
5009
- };
5010
- content: {
5011
- 'application/json': components['schemas']['ListActivityResponse'];
4723
+ 'application/json': components['schemas']['GetAmuletConfigForRoundResponse'];
5012
4724
  };
5013
4725
  };
5014
4726
  404: components['responses']['404'];
5015
- 500: components['responses']['500'];
5016
4727
  };
5017
4728
  };
5018
4729
  listTransactionHistory: {
@@ -5261,7 +4972,6 @@ export interface operations {
5261
4972
  'application/json': components['schemas']['GetRewardAccountingActivityTotalsResponse'];
5262
4973
  };
5263
4974
  };
5264
- 404: components['responses']['404'];
5265
4975
  };
5266
4976
  };
5267
4977
  getRewardAccountingRootHash: {
@@ -5284,7 +4994,6 @@ export interface operations {
5284
4994
  'application/json': components['schemas']['GetRewardAccountingRootHashResponse'];
5285
4995
  };
5286
4996
  };
5287
- 404: components['responses']['404'];
5288
4997
  };
5289
4998
  };
5290
4999
  getRewardAccountingBatch: {