@canton-network/core-splice-client 1.1.0 → 1.1.1
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.
|
@@ -177,6 +177,40 @@ export interface paths {
|
|
|
177
177
|
patch?: never;
|
|
178
178
|
trace?: never;
|
|
179
179
|
};
|
|
180
|
+
'/v0/roll-forward-lsu': {
|
|
181
|
+
parameters: {
|
|
182
|
+
query?: never;
|
|
183
|
+
header?: never;
|
|
184
|
+
path?: never;
|
|
185
|
+
cookie?: never;
|
|
186
|
+
};
|
|
187
|
+
/** @description Retrieve information on a roll-forward LSU */
|
|
188
|
+
get: operations['getRollForwardLsu'];
|
|
189
|
+
put?: never;
|
|
190
|
+
post?: never;
|
|
191
|
+
delete?: never;
|
|
192
|
+
options?: never;
|
|
193
|
+
head?: never;
|
|
194
|
+
patch?: never;
|
|
195
|
+
trace?: never;
|
|
196
|
+
};
|
|
197
|
+
'/v0/active-synchronizer-serial': {
|
|
198
|
+
parameters: {
|
|
199
|
+
query?: never;
|
|
200
|
+
header?: never;
|
|
201
|
+
path?: never;
|
|
202
|
+
cookie?: never;
|
|
203
|
+
};
|
|
204
|
+
/** @description Get the current physical synchronizer serial as reported by the SV participant. */
|
|
205
|
+
get: operations['getActivePhysicalSynchronizerSerial'];
|
|
206
|
+
put?: never;
|
|
207
|
+
post?: never;
|
|
208
|
+
delete?: never;
|
|
209
|
+
options?: never;
|
|
210
|
+
head?: never;
|
|
211
|
+
patch?: never;
|
|
212
|
+
trace?: never;
|
|
213
|
+
};
|
|
180
214
|
'/v0/domains/{domain_id}/parties/{party_id}/participant-id': {
|
|
181
215
|
parameters: {
|
|
182
216
|
query?: never;
|
|
@@ -382,6 +416,32 @@ export interface paths {
|
|
|
382
416
|
patch?: never;
|
|
383
417
|
trace?: never;
|
|
384
418
|
};
|
|
419
|
+
'/v2/updates/hash/{hash}': {
|
|
420
|
+
parameters: {
|
|
421
|
+
query?: never;
|
|
422
|
+
header?: never;
|
|
423
|
+
path?: never;
|
|
424
|
+
cookie?: never;
|
|
425
|
+
};
|
|
426
|
+
/**
|
|
427
|
+
* @description Returns the update associated with the given hash of the prepared transaction.
|
|
428
|
+
*
|
|
429
|
+
* This endpoint is not always BFT safe.
|
|
430
|
+
* For transactions committed before a scan instance started indexing hashes, the instance will return a 404 error.
|
|
431
|
+
* For transactions committed around the time different scans started indexing hashes,
|
|
432
|
+
* some scan instances might return a 404 error while others return the matching update.
|
|
433
|
+
*
|
|
434
|
+
* This is in contrast to the `v2/updates` and `v2/updates/{update_id}` endpoints, which are guaranteed to be always BFT safe.
|
|
435
|
+
*/
|
|
436
|
+
get: operations['getUpdateByHash'];
|
|
437
|
+
put?: never;
|
|
438
|
+
post?: never;
|
|
439
|
+
delete?: never;
|
|
440
|
+
options?: never;
|
|
441
|
+
head?: never;
|
|
442
|
+
patch?: never;
|
|
443
|
+
trace?: never;
|
|
444
|
+
};
|
|
385
445
|
'/v0/state/acs/snapshot-timestamp': {
|
|
386
446
|
parameters: {
|
|
387
447
|
query?: never;
|
|
@@ -428,7 +488,10 @@ export interface paths {
|
|
|
428
488
|
};
|
|
429
489
|
get?: never;
|
|
430
490
|
put?: never;
|
|
431
|
-
/**
|
|
491
|
+
/**
|
|
492
|
+
* @deprecated
|
|
493
|
+
* @description Deprecated. Please use /v1/state/acs instead. Returns the ACS in creation date ascending order, paged, for a given migration id and record time.
|
|
494
|
+
*/
|
|
432
495
|
post: operations['getAcsSnapshotAt'];
|
|
433
496
|
delete?: never;
|
|
434
497
|
options?: never;
|
|
@@ -436,6 +499,29 @@ export interface paths {
|
|
|
436
499
|
patch?: never;
|
|
437
500
|
trace?: never;
|
|
438
501
|
};
|
|
502
|
+
'/v1/state/acs': {
|
|
503
|
+
parameters: {
|
|
504
|
+
query?: never;
|
|
505
|
+
header?: never;
|
|
506
|
+
path?: never;
|
|
507
|
+
cookie?: never;
|
|
508
|
+
};
|
|
509
|
+
get?: never;
|
|
510
|
+
put?: never;
|
|
511
|
+
/**
|
|
512
|
+
* @description Returns the ACS in creation date ascending order, paged, for a given migration id and record time.
|
|
513
|
+
* Unlike /v0/state/acs, every contract is identified by an (optional) update_id
|
|
514
|
+
* (as opposed to the event ID in /v0/state/acs, which was not BFT-safe).
|
|
515
|
+
* The update_id is the ID of the update in which the contract was created, and can be used to correlate with updates returned by /v2/updates.
|
|
516
|
+
* For contracts created in an earlier migration ID, the update_id will be absent.
|
|
517
|
+
*/
|
|
518
|
+
post: operations['getAcsSnapshotAtV1'];
|
|
519
|
+
delete?: never;
|
|
520
|
+
options?: never;
|
|
521
|
+
head?: never;
|
|
522
|
+
patch?: never;
|
|
523
|
+
trace?: never;
|
|
524
|
+
};
|
|
439
525
|
'/v0/state/acs/force': {
|
|
440
526
|
parameters: {
|
|
441
527
|
query?: never;
|
|
@@ -468,7 +554,7 @@ export interface paths {
|
|
|
468
554
|
};
|
|
469
555
|
get?: never;
|
|
470
556
|
put?: never;
|
|
471
|
-
/** @description Returns the active amulet contracts for a given migration id and record time, in creation date ascending order, paged. */
|
|
557
|
+
/** @description Deprecated. Please use /v1/holdings/state instead. Returns the active amulet contracts for a given migration id and record time, in creation date ascending order, paged. */
|
|
472
558
|
post: operations['getHoldingsStateAt'];
|
|
473
559
|
delete?: never;
|
|
474
560
|
options?: never;
|
|
@@ -476,6 +562,23 @@ export interface paths {
|
|
|
476
562
|
patch?: never;
|
|
477
563
|
trace?: never;
|
|
478
564
|
};
|
|
565
|
+
'/v1/holdings/state': {
|
|
566
|
+
parameters: {
|
|
567
|
+
query?: never;
|
|
568
|
+
header?: never;
|
|
569
|
+
path?: never;
|
|
570
|
+
cookie?: never;
|
|
571
|
+
};
|
|
572
|
+
get?: never;
|
|
573
|
+
put?: never;
|
|
574
|
+
/** @description Returns the active amulet contracts for a given migration id and record time, in creation date ascending order, paged. */
|
|
575
|
+
post: operations['getHoldingsStateAtV1'];
|
|
576
|
+
delete?: never;
|
|
577
|
+
options?: never;
|
|
578
|
+
head?: never;
|
|
579
|
+
patch?: never;
|
|
580
|
+
trace?: never;
|
|
581
|
+
};
|
|
479
582
|
'/v0/holdings/summary': {
|
|
480
583
|
parameters: {
|
|
481
584
|
query?: never;
|
|
@@ -655,6 +758,43 @@ export interface paths {
|
|
|
655
758
|
patch?: never;
|
|
656
759
|
trace?: never;
|
|
657
760
|
};
|
|
761
|
+
'/v0/featured-apps/by-provider/{provider_party_id}': {
|
|
762
|
+
parameters: {
|
|
763
|
+
query?: never;
|
|
764
|
+
header?: never;
|
|
765
|
+
path?: never;
|
|
766
|
+
cookie?: never;
|
|
767
|
+
};
|
|
768
|
+
/** @description List all `FeaturedAppRight` contracts for the given provider. */
|
|
769
|
+
get: operations['listFeaturedAppRightsByProvider'];
|
|
770
|
+
put?: never;
|
|
771
|
+
post?: never;
|
|
772
|
+
delete?: never;
|
|
773
|
+
options?: never;
|
|
774
|
+
head?: never;
|
|
775
|
+
patch?: never;
|
|
776
|
+
trace?: never;
|
|
777
|
+
};
|
|
778
|
+
'/v0/featured-apps/by-contract-id/{contract_id}': {
|
|
779
|
+
parameters: {
|
|
780
|
+
query?: never;
|
|
781
|
+
header?: never;
|
|
782
|
+
path?: never;
|
|
783
|
+
cookie?: never;
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* @description Look up a `FeaturedAppRight` contract by its contract ID.
|
|
787
|
+
* Returns `featured_app_right` if found, empty otherwise.
|
|
788
|
+
*/
|
|
789
|
+
get: operations['lookupFeaturedAppRightByContractId'];
|
|
790
|
+
put?: never;
|
|
791
|
+
post?: never;
|
|
792
|
+
delete?: never;
|
|
793
|
+
options?: never;
|
|
794
|
+
head?: never;
|
|
795
|
+
patch?: never;
|
|
796
|
+
trace?: never;
|
|
797
|
+
};
|
|
658
798
|
'/v0/top-validators-by-validator-faucets': {
|
|
659
799
|
parameters: {
|
|
660
800
|
query?: never;
|
|
@@ -1314,6 +1454,90 @@ export interface paths {
|
|
|
1314
1454
|
patch?: never;
|
|
1315
1455
|
trace?: never;
|
|
1316
1456
|
};
|
|
1457
|
+
'/v0/reward-accounting-process/rounds/earliest-available': {
|
|
1458
|
+
parameters: {
|
|
1459
|
+
query?: never;
|
|
1460
|
+
header?: never;
|
|
1461
|
+
path?: never;
|
|
1462
|
+
cookie?: never;
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* @description SV node internal API (CIP-0104, subject to change).
|
|
1466
|
+
* Returns the earliest round for which CIP-0104 reward accounting activity
|
|
1467
|
+
* records are complete.
|
|
1468
|
+
*/
|
|
1469
|
+
get: operations['getRewardAccountingEarliestAvailableRound'];
|
|
1470
|
+
put?: never;
|
|
1471
|
+
post?: never;
|
|
1472
|
+
delete?: never;
|
|
1473
|
+
options?: never;
|
|
1474
|
+
head?: never;
|
|
1475
|
+
patch?: never;
|
|
1476
|
+
trace?: never;
|
|
1477
|
+
};
|
|
1478
|
+
'/v0/reward-accounting-process/rounds/{round_number}/activity-totals': {
|
|
1479
|
+
parameters: {
|
|
1480
|
+
query?: never;
|
|
1481
|
+
header?: never;
|
|
1482
|
+
path?: never;
|
|
1483
|
+
cookie?: never;
|
|
1484
|
+
};
|
|
1485
|
+
/**
|
|
1486
|
+
* @description SV node internal API (CIP-0104, subject to change).
|
|
1487
|
+
* Return the CIP-0104 per-round activity totals for the
|
|
1488
|
+
* specified round number.
|
|
1489
|
+
*/
|
|
1490
|
+
get: operations['getRewardAccountingActivityTotals'];
|
|
1491
|
+
put?: never;
|
|
1492
|
+
post?: never;
|
|
1493
|
+
delete?: never;
|
|
1494
|
+
options?: never;
|
|
1495
|
+
head?: never;
|
|
1496
|
+
patch?: never;
|
|
1497
|
+
trace?: never;
|
|
1498
|
+
};
|
|
1499
|
+
'/v0/reward-accounting-process/rounds/{round_number}/root-hash': {
|
|
1500
|
+
parameters: {
|
|
1501
|
+
query?: never;
|
|
1502
|
+
header?: never;
|
|
1503
|
+
path?: never;
|
|
1504
|
+
cookie?: never;
|
|
1505
|
+
};
|
|
1506
|
+
/**
|
|
1507
|
+
* @description SV node internal API (CIP-0104, subject to change).
|
|
1508
|
+
* Returns the root hash computed for the specified round.
|
|
1509
|
+
*/
|
|
1510
|
+
get: operations['getRewardAccountingRootHash'];
|
|
1511
|
+
put?: never;
|
|
1512
|
+
post?: never;
|
|
1513
|
+
delete?: never;
|
|
1514
|
+
options?: never;
|
|
1515
|
+
head?: never;
|
|
1516
|
+
patch?: never;
|
|
1517
|
+
trace?: never;
|
|
1518
|
+
};
|
|
1519
|
+
'/v0/reward-accounting-process/rounds/{round_number}/batches/{batch_hash}': {
|
|
1520
|
+
parameters: {
|
|
1521
|
+
query?: never;
|
|
1522
|
+
header?: never;
|
|
1523
|
+
path?: never;
|
|
1524
|
+
cookie?: never;
|
|
1525
|
+
};
|
|
1526
|
+
/**
|
|
1527
|
+
* @description SV node internal API (CIP-0104, subject to change).
|
|
1528
|
+
* Returns the contents of a reward batch identified by its hash.
|
|
1529
|
+
* The response is either a list of child batch hashes (for internal nodes)
|
|
1530
|
+
* or a list of minting allowances (for leaf nodes).
|
|
1531
|
+
*/
|
|
1532
|
+
get: operations['getRewardAccountingBatch'];
|
|
1533
|
+
put?: never;
|
|
1534
|
+
post?: never;
|
|
1535
|
+
delete?: never;
|
|
1536
|
+
options?: never;
|
|
1537
|
+
head?: never;
|
|
1538
|
+
patch?: never;
|
|
1539
|
+
trace?: never;
|
|
1540
|
+
};
|
|
1317
1541
|
'/v0/history/bulk/acs': {
|
|
1318
1542
|
parameters: {
|
|
1319
1543
|
query?: never;
|
|
@@ -1331,6 +1555,27 @@ export interface paths {
|
|
|
1331
1555
|
patch?: never;
|
|
1332
1556
|
trace?: never;
|
|
1333
1557
|
};
|
|
1558
|
+
'/v0/history/bulk/updates': {
|
|
1559
|
+
parameters: {
|
|
1560
|
+
query?: never;
|
|
1561
|
+
header?: never;
|
|
1562
|
+
path?: never;
|
|
1563
|
+
cookie?: never;
|
|
1564
|
+
};
|
|
1565
|
+
get?: never;
|
|
1566
|
+
put?: never;
|
|
1567
|
+
/**
|
|
1568
|
+
* @description **Under Development, do not use in production yet** Get download URLs and metadata for update history objects available for bulk download, between two record times.
|
|
1569
|
+
* Note that the returned objects may include also updates outside of the requested record time range (since only full objects are served from storage), but guaranteed
|
|
1570
|
+
* to include all updates in the requested range.
|
|
1571
|
+
*/
|
|
1572
|
+
post: operations['listBulkUpdateHistoryObjects'];
|
|
1573
|
+
delete?: never;
|
|
1574
|
+
options?: never;
|
|
1575
|
+
head?: never;
|
|
1576
|
+
patch?: never;
|
|
1577
|
+
trace?: never;
|
|
1578
|
+
};
|
|
1334
1579
|
}
|
|
1335
1580
|
export type webhooks = Record<string, never>;
|
|
1336
1581
|
export interface components {
|
|
@@ -1501,9 +1746,9 @@ export interface components {
|
|
|
1501
1746
|
SynchronizerBftSequencer: {
|
|
1502
1747
|
/**
|
|
1503
1748
|
* Format: int64
|
|
1504
|
-
* @description The synchronizer
|
|
1749
|
+
* @description The synchronizer serial corresponding to this sequencer.
|
|
1505
1750
|
*/
|
|
1506
|
-
|
|
1751
|
+
serialId: number;
|
|
1507
1752
|
/** @description The id of the sequencer. */
|
|
1508
1753
|
id: string;
|
|
1509
1754
|
/** @description The public accessible P2P url of the sequencer, use for inter sequencer communication. */
|
|
@@ -1522,8 +1767,15 @@ export interface components {
|
|
|
1522
1767
|
/**
|
|
1523
1768
|
* Format: int64
|
|
1524
1769
|
* @description The synchronizer migration id corresponding to this sequencer.
|
|
1770
|
+
* Set to -1 if serial is set.
|
|
1525
1771
|
*/
|
|
1526
1772
|
migrationId: number;
|
|
1773
|
+
/**
|
|
1774
|
+
* Format: int64
|
|
1775
|
+
* @description The synchronizer serial corresponding to this sequencer.
|
|
1776
|
+
* One of migrationId or serialId will be set.
|
|
1777
|
+
*/
|
|
1778
|
+
synchronizerSerial?: number;
|
|
1527
1779
|
/** @description The id of the sequencer. */
|
|
1528
1780
|
id: string;
|
|
1529
1781
|
/** @description The public accessible url of the sequencer. */
|
|
@@ -1536,6 +1788,26 @@ export interface components {
|
|
|
1536
1788
|
*/
|
|
1537
1789
|
availableAfter: string;
|
|
1538
1790
|
};
|
|
1791
|
+
GetRollForwardLsuResponse: {
|
|
1792
|
+
/** @description Info on a roll-forward LSU */
|
|
1793
|
+
rollForwardLsu?: components['schemas']['RollForwardLsu'];
|
|
1794
|
+
};
|
|
1795
|
+
RollForwardLsu: {
|
|
1796
|
+
/**
|
|
1797
|
+
* Format: date-time
|
|
1798
|
+
* @description The time at which to upgrade
|
|
1799
|
+
*/
|
|
1800
|
+
upgradeTime: string;
|
|
1801
|
+
currentPhysicalSynchronizerId: string;
|
|
1802
|
+
successorPhysicalSynchronizerId: string;
|
|
1803
|
+
};
|
|
1804
|
+
GetActivePhysicalSynchronizerSerialResponse: {
|
|
1805
|
+
/**
|
|
1806
|
+
* Format: int64
|
|
1807
|
+
* @description The current physical synchronizer serial as reported by the SV participant.
|
|
1808
|
+
*/
|
|
1809
|
+
serial: number;
|
|
1810
|
+
};
|
|
1539
1811
|
ListDsoScansResponse: {
|
|
1540
1812
|
scans: components['schemas']['DomainScans'][];
|
|
1541
1813
|
};
|
|
@@ -1679,6 +1951,8 @@ export interface components {
|
|
|
1679
1951
|
transactions: components['schemas']['UpdateHistoryItem'][];
|
|
1680
1952
|
};
|
|
1681
1953
|
/** @description An individual item in the update history. May be a transaction or a contract reassignment. */
|
|
1954
|
+
UpdateHistoryItemV2WithHash: components['schemas']['UpdateHistoryTransactionV2WithHash'] | components['schemas']['UpdateHistoryReassignment'];
|
|
1955
|
+
/** @description An individual item in the update history. May be a transaction or a contract reassignment. */
|
|
1682
1956
|
UpdateHistoryItemV2: components['schemas']['UpdateHistoryTransactionV2'] | components['schemas']['UpdateHistoryReassignment'];
|
|
1683
1957
|
/** @description An individual item in the update history. May be a transaction or a contract reassignment. */
|
|
1684
1958
|
UpdateHistoryItem: components['schemas']['UpdateHistoryTransaction'] | components['schemas']['UpdateHistoryReassignment'];
|
|
@@ -1791,12 +2065,13 @@ export interface components {
|
|
|
1791
2065
|
[key: string]: components['schemas']['TreeEvent'];
|
|
1792
2066
|
};
|
|
1793
2067
|
/**
|
|
1794
|
-
* @description For
|
|
2068
|
+
* @description For an externally signed transaction, contains the external transaction hash
|
|
1795
2069
|
* signed by the external party. Can be used to correlate an external submission with a committed transaction.
|
|
2070
|
+
* This field is conditionally omitted from JSON when null (see OmitNullString).
|
|
1796
2071
|
*/
|
|
1797
2072
|
external_transaction_hash?: string;
|
|
1798
2073
|
};
|
|
1799
|
-
|
|
2074
|
+
BaseUpdateHistoryTransaction: {
|
|
1800
2075
|
/** @description The id of the update. */
|
|
1801
2076
|
update_id: string;
|
|
1802
2077
|
/**
|
|
@@ -1836,12 +2111,22 @@ export interface components {
|
|
|
1836
2111
|
events_by_id: {
|
|
1837
2112
|
[key: string]: components['schemas']['TreeEvent'];
|
|
1838
2113
|
};
|
|
2114
|
+
};
|
|
2115
|
+
UpdateHistoryTransactionV2: components['schemas']['BaseUpdateHistoryTransaction'] & {
|
|
1839
2116
|
/**
|
|
1840
|
-
* @description For
|
|
2117
|
+
* @description For an externally signed transaction, contains the external transaction hash
|
|
1841
2118
|
* signed by the external party. Can be used to correlate an external submission with a committed transaction.
|
|
2119
|
+
* This field is conditionally omitted from JSON when null (see OmitNullString).
|
|
1842
2120
|
*/
|
|
1843
2121
|
external_transaction_hash?: string;
|
|
1844
2122
|
};
|
|
2123
|
+
UpdateHistoryTransactionV2WithHash: components['schemas']['BaseUpdateHistoryTransaction'] & {
|
|
2124
|
+
/**
|
|
2125
|
+
* @description For an externally signed transaction, contains the external transaction hash
|
|
2126
|
+
* signed by the external party. Can be used to correlate an external submission with a committed transaction.
|
|
2127
|
+
*/
|
|
2128
|
+
external_transaction_hash: string;
|
|
2129
|
+
};
|
|
1845
2130
|
/** @description Either a creation or an exercise of a contract. */
|
|
1846
2131
|
TreeEvent: components['schemas']['CreatedEvent'] | components['schemas']['ExercisedEvent'];
|
|
1847
2132
|
CreatedEvent: {
|
|
@@ -1876,6 +2161,33 @@ export interface components {
|
|
|
1876
2161
|
/** @description Observers to the contract, in the form of party IDs. */
|
|
1877
2162
|
observers: string[];
|
|
1878
2163
|
};
|
|
2164
|
+
ActiveContract: {
|
|
2165
|
+
/**
|
|
2166
|
+
* @description The id of the update in which this contract was created.
|
|
2167
|
+
* Optional and will be absent for contracts created in prior migration IDs.
|
|
2168
|
+
*/
|
|
2169
|
+
created_in_update_id?: string;
|
|
2170
|
+
/** @description The ID of the created contract. */
|
|
2171
|
+
contract_id: string;
|
|
2172
|
+
/** @description The template of the created contract. */
|
|
2173
|
+
template_id: string;
|
|
2174
|
+
/** @description The package name of the created contract. */
|
|
2175
|
+
package_name: string;
|
|
2176
|
+
/**
|
|
2177
|
+
* @description The arguments that have been used to create the contract, in the
|
|
2178
|
+
* form of JSON representation of a Daml record.
|
|
2179
|
+
*/
|
|
2180
|
+
create_arguments: Record<string, never>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Format: date-time
|
|
2183
|
+
* @description Ledger effective time of the transaction that created the contract.
|
|
2184
|
+
*/
|
|
2185
|
+
created_at: string;
|
|
2186
|
+
/** @description Signatories to the contract, in the form of party IDs. */
|
|
2187
|
+
signatories: string[];
|
|
2188
|
+
/** @description Observers to the contract, in the form of party IDs. */
|
|
2189
|
+
observers: string[];
|
|
2190
|
+
};
|
|
1879
2191
|
ExercisedEvent: {
|
|
1880
2192
|
/**
|
|
1881
2193
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2068,6 +2380,30 @@ export interface components {
|
|
|
2068
2380
|
*/
|
|
2069
2381
|
next_page_token?: number;
|
|
2070
2382
|
};
|
|
2383
|
+
AcsResponseV1: {
|
|
2384
|
+
/**
|
|
2385
|
+
* Format: date-time
|
|
2386
|
+
* @description The same `record_time` as in the request.
|
|
2387
|
+
*/
|
|
2388
|
+
record_time: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* Format: int64
|
|
2391
|
+
* @description The same `migration_id` as in the request.
|
|
2392
|
+
*/
|
|
2393
|
+
migration_id: number;
|
|
2394
|
+
/**
|
|
2395
|
+
* @description Up to `page_size` contracts in the ACS.
|
|
2396
|
+
* `create_arguments` are always encoded as `compact_json`.
|
|
2397
|
+
*/
|
|
2398
|
+
created_events: components['schemas']['ActiveContract'][];
|
|
2399
|
+
/**
|
|
2400
|
+
* Format: int64
|
|
2401
|
+
* @description When requesting the next page of results, pass this as `after`
|
|
2402
|
+
* to the `AcsRequest` or `HoldingsStateRequest`.
|
|
2403
|
+
* Will be absent when there are no more pages.
|
|
2404
|
+
*/
|
|
2405
|
+
next_page_token?: number;
|
|
2406
|
+
};
|
|
2071
2407
|
HoldingsSummaryResponse: {
|
|
2072
2408
|
/**
|
|
2073
2409
|
* Format: date-time
|
|
@@ -2750,12 +3086,94 @@ export interface components {
|
|
|
2750
3086
|
/** @description The list of references to the bulk storage objects containing the ACS snapshot data. */
|
|
2751
3087
|
object_refs: components['schemas']['BulkStorageObjectRef'][];
|
|
2752
3088
|
};
|
|
3089
|
+
ListBulkUpdateHistoryObjectsRequest: {
|
|
3090
|
+
/**
|
|
3091
|
+
* Format: date-time
|
|
3092
|
+
* @description The returned objects must include all updates with record time greater than start_record_time (but may also include updates before it).
|
|
3093
|
+
*/
|
|
3094
|
+
start_record_time: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* Format: date-time
|
|
3097
|
+
* @description The returned objects must include all updates with record time at most end_record_time (but may also include updates after it).
|
|
3098
|
+
*/
|
|
3099
|
+
end_record_time: string;
|
|
3100
|
+
/** @description The pagination token returned from a previous call to this endpoint with the same arguments. */
|
|
3101
|
+
next_page_token?: string;
|
|
3102
|
+
/**
|
|
3103
|
+
* Format: int32
|
|
3104
|
+
* @description The maximum number of objects returned for this request.
|
|
3105
|
+
*/
|
|
3106
|
+
page_size: number;
|
|
3107
|
+
};
|
|
3108
|
+
ListBulkUpdateHistoryObjectsResponse: {
|
|
3109
|
+
/** @description The list of references to the bulk storage objects containing the updates. */
|
|
3110
|
+
object_refs: components['schemas']['BulkStorageObjectRef'][];
|
|
3111
|
+
/**
|
|
3112
|
+
* @description When requesting the next page of results, pass this as `after`
|
|
3113
|
+
* to the next `ListBulkUpdateHistoryObjectsRequest` invocation.
|
|
3114
|
+
* Will be absent when there are no more pages.
|
|
3115
|
+
*/
|
|
3116
|
+
next_page_token?: string;
|
|
3117
|
+
};
|
|
2753
3118
|
BulkStorageObjectRef: {
|
|
2754
3119
|
/** @description The URL from which the bulk storage object can be downloaded. */
|
|
2755
3120
|
url: string;
|
|
2756
3121
|
/** @description The sha256 digest of the bulk storage object, for verification of integrity and consistency across SVs. */
|
|
2757
3122
|
digest: string;
|
|
2758
3123
|
};
|
|
3124
|
+
GetRewardAccountingEarliestAvailableRoundResponse: {
|
|
3125
|
+
/** Format: int64 */
|
|
3126
|
+
earliest_round: number;
|
|
3127
|
+
};
|
|
3128
|
+
GetRewardAccountingActivityTotalsResponse: {
|
|
3129
|
+
/** Format: int64 */
|
|
3130
|
+
round_number: number;
|
|
3131
|
+
/** Format: int64 */
|
|
3132
|
+
total_app_activity_weight: number;
|
|
3133
|
+
/** Format: int64 */
|
|
3134
|
+
active_parties_count: number;
|
|
3135
|
+
/** Format: int64 */
|
|
3136
|
+
activity_records_count: number;
|
|
3137
|
+
};
|
|
3138
|
+
GetRewardAccountingRootHashResponse: {
|
|
3139
|
+
/** Format: int64 */
|
|
3140
|
+
round_number: number;
|
|
3141
|
+
/** @description Hex-encoded root hash */
|
|
3142
|
+
root_hash: string;
|
|
3143
|
+
};
|
|
3144
|
+
GetRewardAccountingBatchResponse: components['schemas']['RewardAccountingBatchOfBatches'] | components['schemas']['RewardAccountingBatchOfMintingAllowances'];
|
|
3145
|
+
BaseRewardAccountingBatch: {
|
|
3146
|
+
/**
|
|
3147
|
+
* @description The type of batch.
|
|
3148
|
+
* BatchOfBatches: Contains child batch hashes.
|
|
3149
|
+
* BatchOfMintingAllowances: Contains party + amount pairs.
|
|
3150
|
+
*/
|
|
3151
|
+
batch_type: string;
|
|
3152
|
+
};
|
|
3153
|
+
RewardAccountingBatchOfBatches: components['schemas']['BaseRewardAccountingBatch'] & {
|
|
3154
|
+
/** @description Hex-encoded child batch hashes */
|
|
3155
|
+
child_hashes: string[];
|
|
3156
|
+
} & {
|
|
3157
|
+
/**
|
|
3158
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3159
|
+
* @enum {string}
|
|
3160
|
+
*/
|
|
3161
|
+
batch_type: 'BatchOfBatches';
|
|
3162
|
+
};
|
|
3163
|
+
RewardAccountingBatchOfMintingAllowances: components['schemas']['BaseRewardAccountingBatch'] & {
|
|
3164
|
+
/** @description Party + amount pairs */
|
|
3165
|
+
minting_allowances: components['schemas']['RewardAccountingMintingAllowance'][];
|
|
3166
|
+
} & {
|
|
3167
|
+
/**
|
|
3168
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3169
|
+
* @enum {string}
|
|
3170
|
+
*/
|
|
3171
|
+
batch_type: 'BatchOfMintingAllowances';
|
|
3172
|
+
};
|
|
3173
|
+
RewardAccountingMintingAllowance: {
|
|
3174
|
+
provider: string;
|
|
3175
|
+
amount: string;
|
|
3176
|
+
};
|
|
2759
3177
|
Status: {
|
|
2760
3178
|
id: string;
|
|
2761
3179
|
uptime: string;
|
|
@@ -3177,6 +3595,48 @@ export interface operations {
|
|
|
3177
3595
|
};
|
|
3178
3596
|
};
|
|
3179
3597
|
};
|
|
3598
|
+
getRollForwardLsu: {
|
|
3599
|
+
parameters: {
|
|
3600
|
+
query?: never;
|
|
3601
|
+
header?: never;
|
|
3602
|
+
path?: never;
|
|
3603
|
+
cookie?: never;
|
|
3604
|
+
};
|
|
3605
|
+
requestBody?: never;
|
|
3606
|
+
responses: {
|
|
3607
|
+
/** @description ok */
|
|
3608
|
+
200: {
|
|
3609
|
+
headers: {
|
|
3610
|
+
[name: string]: unknown;
|
|
3611
|
+
};
|
|
3612
|
+
content: {
|
|
3613
|
+
'application/json': components['schemas']['GetRollForwardLsuResponse'];
|
|
3614
|
+
};
|
|
3615
|
+
};
|
|
3616
|
+
};
|
|
3617
|
+
};
|
|
3618
|
+
getActivePhysicalSynchronizerSerial: {
|
|
3619
|
+
parameters: {
|
|
3620
|
+
query?: never;
|
|
3621
|
+
header?: never;
|
|
3622
|
+
path?: never;
|
|
3623
|
+
cookie?: never;
|
|
3624
|
+
};
|
|
3625
|
+
requestBody?: never;
|
|
3626
|
+
responses: {
|
|
3627
|
+
/** @description ok */
|
|
3628
|
+
200: {
|
|
3629
|
+
headers: {
|
|
3630
|
+
[name: string]: unknown;
|
|
3631
|
+
};
|
|
3632
|
+
content: {
|
|
3633
|
+
'application/json': components['schemas']['GetActivePhysicalSynchronizerSerialResponse'];
|
|
3634
|
+
};
|
|
3635
|
+
};
|
|
3636
|
+
404: components['responses']['404'];
|
|
3637
|
+
500: components['responses']['500'];
|
|
3638
|
+
};
|
|
3639
|
+
};
|
|
3180
3640
|
getPartyToParticipant: {
|
|
3181
3641
|
parameters: {
|
|
3182
3642
|
query?: never;
|
|
@@ -3412,6 +3872,33 @@ export interface operations {
|
|
|
3412
3872
|
500: components['responses']['500'];
|
|
3413
3873
|
};
|
|
3414
3874
|
};
|
|
3875
|
+
getUpdateByHash: {
|
|
3876
|
+
parameters: {
|
|
3877
|
+
query?: {
|
|
3878
|
+
daml_value_encoding?: components['schemas']['DamlValueEncoding'];
|
|
3879
|
+
};
|
|
3880
|
+
header?: never;
|
|
3881
|
+
path: {
|
|
3882
|
+
hash: string;
|
|
3883
|
+
};
|
|
3884
|
+
cookie?: never;
|
|
3885
|
+
};
|
|
3886
|
+
requestBody?: never;
|
|
3887
|
+
responses: {
|
|
3888
|
+
/** @description ok */
|
|
3889
|
+
200: {
|
|
3890
|
+
headers: {
|
|
3891
|
+
[name: string]: unknown;
|
|
3892
|
+
};
|
|
3893
|
+
content: {
|
|
3894
|
+
'application/json': components['schemas']['UpdateHistoryItemV2WithHash'];
|
|
3895
|
+
};
|
|
3896
|
+
};
|
|
3897
|
+
400: components['responses']['400'];
|
|
3898
|
+
404: components['responses']['404'];
|
|
3899
|
+
500: components['responses']['500'];
|
|
3900
|
+
};
|
|
3901
|
+
};
|
|
3415
3902
|
getDateOfMostRecentSnapshotBefore: {
|
|
3416
3903
|
parameters: {
|
|
3417
3904
|
query: {
|
|
@@ -3491,6 +3978,33 @@ export interface operations {
|
|
|
3491
3978
|
500: components['responses']['500'];
|
|
3492
3979
|
};
|
|
3493
3980
|
};
|
|
3981
|
+
getAcsSnapshotAtV1: {
|
|
3982
|
+
parameters: {
|
|
3983
|
+
query?: never;
|
|
3984
|
+
header?: never;
|
|
3985
|
+
path?: never;
|
|
3986
|
+
cookie?: never;
|
|
3987
|
+
};
|
|
3988
|
+
requestBody: {
|
|
3989
|
+
content: {
|
|
3990
|
+
'application/json': components['schemas']['AcsRequest'];
|
|
3991
|
+
};
|
|
3992
|
+
};
|
|
3993
|
+
responses: {
|
|
3994
|
+
/** @description ok */
|
|
3995
|
+
200: {
|
|
3996
|
+
headers: {
|
|
3997
|
+
[name: string]: unknown;
|
|
3998
|
+
};
|
|
3999
|
+
content: {
|
|
4000
|
+
'application/json': components['schemas']['AcsResponseV1'];
|
|
4001
|
+
};
|
|
4002
|
+
};
|
|
4003
|
+
400: components['responses']['400'];
|
|
4004
|
+
404: components['responses']['404'];
|
|
4005
|
+
500: components['responses']['500'];
|
|
4006
|
+
};
|
|
4007
|
+
};
|
|
3494
4008
|
forceAcsSnapshotNow: {
|
|
3495
4009
|
parameters: {
|
|
3496
4010
|
query?: never;
|
|
@@ -3540,6 +4054,33 @@ export interface operations {
|
|
|
3540
4054
|
500: components['responses']['500'];
|
|
3541
4055
|
};
|
|
3542
4056
|
};
|
|
4057
|
+
getHoldingsStateAtV1: {
|
|
4058
|
+
parameters: {
|
|
4059
|
+
query?: never;
|
|
4060
|
+
header?: never;
|
|
4061
|
+
path?: never;
|
|
4062
|
+
cookie?: never;
|
|
4063
|
+
};
|
|
4064
|
+
requestBody: {
|
|
4065
|
+
content: {
|
|
4066
|
+
'application/json': components['schemas']['HoldingsStateRequest'];
|
|
4067
|
+
};
|
|
4068
|
+
};
|
|
4069
|
+
responses: {
|
|
4070
|
+
/** @description ok */
|
|
4071
|
+
200: {
|
|
4072
|
+
headers: {
|
|
4073
|
+
[name: string]: unknown;
|
|
4074
|
+
};
|
|
4075
|
+
content: {
|
|
4076
|
+
'application/json': components['schemas']['AcsResponseV1'];
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
400: components['responses']['400'];
|
|
4080
|
+
404: components['responses']['404'];
|
|
4081
|
+
500: components['responses']['500'];
|
|
4082
|
+
};
|
|
4083
|
+
};
|
|
3543
4084
|
getHoldingsSummaryAt: {
|
|
3544
4085
|
parameters: {
|
|
3545
4086
|
query?: never;
|
|
@@ -3780,6 +4321,50 @@ export interface operations {
|
|
|
3780
4321
|
};
|
|
3781
4322
|
};
|
|
3782
4323
|
};
|
|
4324
|
+
listFeaturedAppRightsByProvider: {
|
|
4325
|
+
parameters: {
|
|
4326
|
+
query?: never;
|
|
4327
|
+
header?: never;
|
|
4328
|
+
path: {
|
|
4329
|
+
provider_party_id: string;
|
|
4330
|
+
};
|
|
4331
|
+
cookie?: never;
|
|
4332
|
+
};
|
|
4333
|
+
requestBody?: never;
|
|
4334
|
+
responses: {
|
|
4335
|
+
/** @description ok */
|
|
4336
|
+
200: {
|
|
4337
|
+
headers: {
|
|
4338
|
+
[name: string]: unknown;
|
|
4339
|
+
};
|
|
4340
|
+
content: {
|
|
4341
|
+
'application/json': components['schemas']['ListFeaturedAppRightsResponse'];
|
|
4342
|
+
};
|
|
4343
|
+
};
|
|
4344
|
+
};
|
|
4345
|
+
};
|
|
4346
|
+
lookupFeaturedAppRightByContractId: {
|
|
4347
|
+
parameters: {
|
|
4348
|
+
query?: never;
|
|
4349
|
+
header?: never;
|
|
4350
|
+
path: {
|
|
4351
|
+
contract_id: string;
|
|
4352
|
+
};
|
|
4353
|
+
cookie?: never;
|
|
4354
|
+
};
|
|
4355
|
+
requestBody?: never;
|
|
4356
|
+
responses: {
|
|
4357
|
+
/** @description ok */
|
|
4358
|
+
200: {
|
|
4359
|
+
headers: {
|
|
4360
|
+
[name: string]: unknown;
|
|
4361
|
+
};
|
|
4362
|
+
content: {
|
|
4363
|
+
'application/json': components['schemas']['LookupFeaturedAppRightResponse'];
|
|
4364
|
+
};
|
|
4365
|
+
};
|
|
4366
|
+
};
|
|
4367
|
+
};
|
|
3783
4368
|
getTopValidatorsByValidatorFaucets: {
|
|
3784
4369
|
parameters: {
|
|
3785
4370
|
query: {
|
|
@@ -4635,6 +5220,97 @@ export interface operations {
|
|
|
4635
5220
|
500: components['responses']['500'];
|
|
4636
5221
|
};
|
|
4637
5222
|
};
|
|
5223
|
+
getRewardAccountingEarliestAvailableRound: {
|
|
5224
|
+
parameters: {
|
|
5225
|
+
query?: never;
|
|
5226
|
+
header?: never;
|
|
5227
|
+
path?: never;
|
|
5228
|
+
cookie?: never;
|
|
5229
|
+
};
|
|
5230
|
+
requestBody?: never;
|
|
5231
|
+
responses: {
|
|
5232
|
+
/** @description ok */
|
|
5233
|
+
200: {
|
|
5234
|
+
headers: {
|
|
5235
|
+
[name: string]: unknown;
|
|
5236
|
+
};
|
|
5237
|
+
content: {
|
|
5238
|
+
'application/json': components['schemas']['GetRewardAccountingEarliestAvailableRoundResponse'];
|
|
5239
|
+
};
|
|
5240
|
+
};
|
|
5241
|
+
404: components['responses']['404'];
|
|
5242
|
+
};
|
|
5243
|
+
};
|
|
5244
|
+
getRewardAccountingActivityTotals: {
|
|
5245
|
+
parameters: {
|
|
5246
|
+
query?: never;
|
|
5247
|
+
header?: never;
|
|
5248
|
+
path: {
|
|
5249
|
+
round_number: number;
|
|
5250
|
+
};
|
|
5251
|
+
cookie?: never;
|
|
5252
|
+
};
|
|
5253
|
+
requestBody?: never;
|
|
5254
|
+
responses: {
|
|
5255
|
+
/** @description ok */
|
|
5256
|
+
200: {
|
|
5257
|
+
headers: {
|
|
5258
|
+
[name: string]: unknown;
|
|
5259
|
+
};
|
|
5260
|
+
content: {
|
|
5261
|
+
'application/json': components['schemas']['GetRewardAccountingActivityTotalsResponse'];
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
404: components['responses']['404'];
|
|
5265
|
+
};
|
|
5266
|
+
};
|
|
5267
|
+
getRewardAccountingRootHash: {
|
|
5268
|
+
parameters: {
|
|
5269
|
+
query?: never;
|
|
5270
|
+
header?: never;
|
|
5271
|
+
path: {
|
|
5272
|
+
round_number: number;
|
|
5273
|
+
};
|
|
5274
|
+
cookie?: never;
|
|
5275
|
+
};
|
|
5276
|
+
requestBody?: never;
|
|
5277
|
+
responses: {
|
|
5278
|
+
/** @description ok */
|
|
5279
|
+
200: {
|
|
5280
|
+
headers: {
|
|
5281
|
+
[name: string]: unknown;
|
|
5282
|
+
};
|
|
5283
|
+
content: {
|
|
5284
|
+
'application/json': components['schemas']['GetRewardAccountingRootHashResponse'];
|
|
5285
|
+
};
|
|
5286
|
+
};
|
|
5287
|
+
404: components['responses']['404'];
|
|
5288
|
+
};
|
|
5289
|
+
};
|
|
5290
|
+
getRewardAccountingBatch: {
|
|
5291
|
+
parameters: {
|
|
5292
|
+
query?: never;
|
|
5293
|
+
header?: never;
|
|
5294
|
+
path: {
|
|
5295
|
+
round_number: number;
|
|
5296
|
+
batch_hash: string;
|
|
5297
|
+
};
|
|
5298
|
+
cookie?: never;
|
|
5299
|
+
};
|
|
5300
|
+
requestBody?: never;
|
|
5301
|
+
responses: {
|
|
5302
|
+
/** @description ok */
|
|
5303
|
+
200: {
|
|
5304
|
+
headers: {
|
|
5305
|
+
[name: string]: unknown;
|
|
5306
|
+
};
|
|
5307
|
+
content: {
|
|
5308
|
+
'application/json': components['schemas']['GetRewardAccountingBatchResponse'];
|
|
5309
|
+
};
|
|
5310
|
+
};
|
|
5311
|
+
404: components['responses']['404'];
|
|
5312
|
+
};
|
|
5313
|
+
};
|
|
4638
5314
|
listBulkAcsSnapshotObjects: {
|
|
4639
5315
|
parameters: {
|
|
4640
5316
|
query: {
|
|
@@ -4659,5 +5335,32 @@ export interface operations {
|
|
|
4659
5335
|
501: components['responses']['501'];
|
|
4660
5336
|
};
|
|
4661
5337
|
};
|
|
5338
|
+
listBulkUpdateHistoryObjects: {
|
|
5339
|
+
parameters: {
|
|
5340
|
+
query?: never;
|
|
5341
|
+
header?: never;
|
|
5342
|
+
path?: never;
|
|
5343
|
+
cookie?: never;
|
|
5344
|
+
};
|
|
5345
|
+
requestBody: {
|
|
5346
|
+
content: {
|
|
5347
|
+
'application/json': components['schemas']['ListBulkUpdateHistoryObjectsRequest'];
|
|
5348
|
+
};
|
|
5349
|
+
};
|
|
5350
|
+
responses: {
|
|
5351
|
+
/** @description ok */
|
|
5352
|
+
200: {
|
|
5353
|
+
headers: {
|
|
5354
|
+
[name: string]: unknown;
|
|
5355
|
+
};
|
|
5356
|
+
content: {
|
|
5357
|
+
'application/json': components['schemas']['ListBulkUpdateHistoryObjectsResponse'];
|
|
5358
|
+
};
|
|
5359
|
+
};
|
|
5360
|
+
400: components['responses']['404'];
|
|
5361
|
+
404: components['responses']['404'];
|
|
5362
|
+
501: components['responses']['501'];
|
|
5363
|
+
};
|
|
5364
|
+
};
|
|
4662
5365
|
}
|
|
4663
5366
|
//# sourceMappingURL=scan.d.ts.map
|