@console-wallet/dapp-sdk 0.0.21 → 0.0.23
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/README.md +1 -0
- package/dist/cjs/api/client.api.d.ts +45 -3
- package/dist/cjs/api/generated-indexer-api.d.ts +747 -92
- package/dist/cjs/api/generated-indexer-api.js +175 -1
- package/dist/cjs/api/generated-indexer-api.js.map +1 -1
- package/dist/cjs/api/generated-wallet-api.d.ts +305 -60
- package/dist/cjs/api/generated-wallet-api.js +240 -29
- package/dist/cjs/api/generated-wallet-api.js.map +1 -1
- package/dist/cjs/helpers/handleResponce.helper.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/requests/connect.d.ts +13 -0
- package/dist/cjs/requests/connect.js +13 -0
- package/dist/cjs/requests/connect.js.map +1 -1
- package/dist/cjs/requests/disconnect.d.ts +7 -0
- package/dist/cjs/requests/disconnect.js +28 -0
- package/dist/cjs/requests/disconnect.js.map +1 -0
- package/dist/cjs/requests/getAccounts.d.ts +5 -0
- package/dist/cjs/requests/getAccounts.js +5 -0
- package/dist/cjs/requests/getAccounts.js.map +1 -1
- package/dist/cjs/requests/getActiveAccount.d.ts +5 -0
- package/dist/cjs/requests/getActiveAccount.js +5 -0
- package/dist/cjs/requests/getActiveAccount.js.map +1 -1
- package/dist/cjs/requests/getActiveNetwork.d.ts +5 -0
- package/dist/cjs/requests/getActiveNetwork.js +5 -0
- package/dist/cjs/requests/getActiveNetwork.js.map +1 -1
- package/dist/cjs/requests/getBalance.d.ts +11 -0
- package/dist/cjs/requests/getBalance.js +11 -0
- package/dist/cjs/requests/getBalance.js.map +1 -1
- package/dist/cjs/requests/getIsConnected.d.ts +5 -0
- package/dist/cjs/requests/getIsConnected.js +5 -0
- package/dist/cjs/requests/getIsConnected.js.map +1 -1
- package/dist/cjs/requests/getOffers.d.ts +13 -0
- package/dist/cjs/requests/getOffers.js +13 -0
- package/dist/cjs/requests/getOffers.js.map +1 -1
- package/dist/cjs/requests/getTransfer.d.ts +15 -2
- package/dist/cjs/requests/getTransfer.js +16 -3
- package/dist/cjs/requests/getTransfer.js.map +1 -1
- package/dist/cjs/requests/getTransfers.d.ts +13 -0
- package/dist/cjs/requests/getTransfers.js +13 -0
- package/dist/cjs/requests/getTransfers.js.map +1 -1
- package/dist/cjs/requests/index.d.ts +1 -0
- package/dist/cjs/requests/index.js +1 -0
- package/dist/cjs/requests/index.js.map +1 -1
- package/dist/cjs/requests/signMessage.d.ts +10 -0
- package/dist/cjs/requests/signMessage.js +10 -0
- package/dist/cjs/requests/signMessage.js.map +1 -1
- package/dist/cjs/requests/signSend.d.ts +19 -0
- package/dist/cjs/requests/signSend.js +19 -0
- package/dist/cjs/requests/signSend.js.map +1 -1
- package/dist/cjs/types/account.type.d.ts +15 -0
- package/dist/cjs/types/communication.types.d.ts +18 -0
- package/dist/cjs/types/communication.types.js +9 -0
- package/dist/cjs/types/communication.types.js.map +1 -1
- package/dist/cjs/types/connect.type.d.ts +11 -0
- package/dist/cjs/types/helpers.types.d.ts +3 -0
- package/dist/cjs/types/history.types.d.ts +12 -6
- package/dist/cjs/types/signed.type.d.ts +15 -0
- package/dist/cjs/types/signed.type.js +2 -0
- package/dist/cjs/types/signed.type.js.map +1 -1
- package/dist/cjs/types/token.types.d.ts +11 -1
- package/dist/cjs/types/token.types.js +3 -0
- package/dist/cjs/types/token.types.js.map +1 -1
- package/dist/esm/api/client.api.d.ts +45 -3
- package/dist/esm/api/generated-indexer-api.d.ts +747 -92
- package/dist/esm/api/generated-indexer-api.js +174 -0
- package/dist/esm/api/generated-indexer-api.js.map +1 -1
- package/dist/esm/api/generated-wallet-api.d.ts +305 -60
- package/dist/esm/api/generated-wallet-api.js +241 -30
- package/dist/esm/api/generated-wallet-api.js.map +1 -1
- package/dist/esm/helpers/handleResponce.helper.d.ts +1 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/requests/connect.d.ts +13 -0
- package/dist/esm/requests/connect.js +13 -0
- package/dist/esm/requests/connect.js.map +1 -1
- package/dist/esm/requests/disconnect.d.ts +7 -0
- package/dist/esm/requests/disconnect.js +24 -0
- package/dist/esm/requests/disconnect.js.map +1 -0
- package/dist/esm/requests/getAccounts.d.ts +5 -0
- package/dist/esm/requests/getAccounts.js +5 -0
- package/dist/esm/requests/getAccounts.js.map +1 -1
- package/dist/esm/requests/getActiveAccount.d.ts +5 -0
- package/dist/esm/requests/getActiveAccount.js +5 -0
- package/dist/esm/requests/getActiveAccount.js.map +1 -1
- package/dist/esm/requests/getActiveNetwork.d.ts +5 -0
- package/dist/esm/requests/getActiveNetwork.js +5 -0
- package/dist/esm/requests/getActiveNetwork.js.map +1 -1
- package/dist/esm/requests/getBalance.d.ts +11 -0
- package/dist/esm/requests/getBalance.js +11 -0
- package/dist/esm/requests/getBalance.js.map +1 -1
- package/dist/esm/requests/getIsConnected.d.ts +5 -0
- package/dist/esm/requests/getIsConnected.js +5 -0
- package/dist/esm/requests/getIsConnected.js.map +1 -1
- package/dist/esm/requests/getOffers.d.ts +13 -0
- package/dist/esm/requests/getOffers.js +13 -0
- package/dist/esm/requests/getOffers.js.map +1 -1
- package/dist/esm/requests/getTransfer.d.ts +15 -2
- package/dist/esm/requests/getTransfer.js +14 -1
- package/dist/esm/requests/getTransfer.js.map +1 -1
- package/dist/esm/requests/getTransfers.d.ts +13 -0
- package/dist/esm/requests/getTransfers.js +13 -0
- package/dist/esm/requests/getTransfers.js.map +1 -1
- package/dist/esm/requests/index.d.ts +1 -0
- package/dist/esm/requests/index.js +1 -0
- package/dist/esm/requests/index.js.map +1 -1
- package/dist/esm/requests/signMessage.d.ts +10 -0
- package/dist/esm/requests/signMessage.js +10 -0
- package/dist/esm/requests/signMessage.js.map +1 -1
- package/dist/esm/requests/signSend.d.ts +19 -0
- package/dist/esm/requests/signSend.js +19 -0
- package/dist/esm/requests/signSend.js.map +1 -1
- package/dist/esm/types/account.type.d.ts +15 -0
- package/dist/esm/types/communication.types.d.ts +18 -0
- package/dist/esm/types/communication.types.js +9 -0
- package/dist/esm/types/communication.types.js.map +1 -1
- package/dist/esm/types/connect.type.d.ts +11 -0
- package/dist/esm/types/helpers.types.d.ts +3 -0
- package/dist/esm/types/history.types.d.ts +12 -6
- package/dist/esm/types/signed.type.d.ts +15 -0
- package/dist/esm/types/signed.type.js +2 -0
- package/dist/esm/types/signed.type.js.map +1 -1
- package/dist/esm/types/token.types.d.ts +11 -1
- package/dist/esm/types/token.types.js +3 -0
- package/dist/esm/types/token.types.js.map +1 -1
- package/package.json +1 -1
|
@@ -37,6 +37,17 @@ export interface AllocationSummary {
|
|
|
37
37
|
/** Result status of allocation transfer */
|
|
38
38
|
status: AllocationStatus;
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Status of AnsContextStatus.
|
|
42
|
+
* One of: pending, accepted, rejected.
|
|
43
|
+
* @default "pending"
|
|
44
|
+
* @example "pending"
|
|
45
|
+
*/
|
|
46
|
+
export declare enum AnsContextStatus {
|
|
47
|
+
Pending = "pending",
|
|
48
|
+
Accepted = "accepted",
|
|
49
|
+
Rejected = "rejected"
|
|
50
|
+
}
|
|
40
51
|
export interface AnsEntry {
|
|
41
52
|
/** ANS name. */
|
|
42
53
|
ans_name: string;
|
|
@@ -44,11 +55,49 @@ export interface AnsEntry {
|
|
|
44
55
|
/**
|
|
45
56
|
* Expiration of ANS
|
|
46
57
|
* @format date-time
|
|
47
|
-
* @example "2025-11-
|
|
58
|
+
* @example "2025-11-21T09:05:30.207321Z"
|
|
48
59
|
*/
|
|
49
60
|
expires_at: string;
|
|
50
61
|
url?: string | null;
|
|
51
62
|
}
|
|
63
|
+
export interface AnsEntryContext {
|
|
64
|
+
/** Daml contract ID encoded as a 138-character lowercase hexadecimal string */
|
|
65
|
+
contract_id: ContractId;
|
|
66
|
+
description: string;
|
|
67
|
+
/**
|
|
68
|
+
* Party ID in format `hint::hash`
|
|
69
|
+
*
|
|
70
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
71
|
+
*
|
|
72
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
73
|
+
*/
|
|
74
|
+
dso_party_id: PartyId;
|
|
75
|
+
/**
|
|
76
|
+
* Daml event ID format: `update_id:number`.
|
|
77
|
+
* - `update_id`: 64-character hexadecimal string
|
|
78
|
+
* - `number`: **uint64**, event index within the update
|
|
79
|
+
*/
|
|
80
|
+
event_id: EventId;
|
|
81
|
+
name: string;
|
|
82
|
+
/** @format date-time */
|
|
83
|
+
record_time: string;
|
|
84
|
+
/** Daml contract ID encoded as a 138-character lowercase hexadecimal string */
|
|
85
|
+
reference: ContractId;
|
|
86
|
+
/**
|
|
87
|
+
* Status of AnsContextStatus.
|
|
88
|
+
* One of: pending, accepted, rejected.
|
|
89
|
+
*/
|
|
90
|
+
status: AnsContextStatus;
|
|
91
|
+
url: string;
|
|
92
|
+
/**
|
|
93
|
+
* Party ID in format `hint::hash`
|
|
94
|
+
*
|
|
95
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
96
|
+
*
|
|
97
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
98
|
+
*/
|
|
99
|
+
user_party_id: PartyId;
|
|
100
|
+
}
|
|
52
101
|
/** Represents total count of coupons for Featured Apps. */
|
|
53
102
|
export interface AppCouponsCount {
|
|
54
103
|
/**
|
|
@@ -202,6 +251,16 @@ export interface CCPriceHistory {
|
|
|
202
251
|
* forming the building blocks of price charts.
|
|
203
252
|
*/
|
|
204
253
|
export interface CCPricePoint {
|
|
254
|
+
/**
|
|
255
|
+
* Price fetched from the external price syncer for the given timepoint
|
|
256
|
+
*
|
|
257
|
+
* This represents the observed price of the token at the same timestamp
|
|
258
|
+
* as `price`, but sourced from the mainnet price syncer API.
|
|
259
|
+
* @format decimal
|
|
260
|
+
* @min 0
|
|
261
|
+
* @example "0.154"
|
|
262
|
+
*/
|
|
263
|
+
external_price?: string | null;
|
|
205
264
|
/**
|
|
206
265
|
* Price at the recorded timepoint
|
|
207
266
|
*
|
|
@@ -510,6 +569,31 @@ export interface DailyFeeStatistic {
|
|
|
510
569
|
*/
|
|
511
570
|
fee_per_day: string;
|
|
512
571
|
}
|
|
572
|
+
export interface DailyMemberTrafficStatisticAggregate {
|
|
573
|
+
/**
|
|
574
|
+
* Average traffic usage (bytes) for a certain date range.
|
|
575
|
+
* @format integer
|
|
576
|
+
* @min 0
|
|
577
|
+
* @example 45741
|
|
578
|
+
*/
|
|
579
|
+
avg_traffic_usage: number;
|
|
580
|
+
/** Series of traffic purchase. */
|
|
581
|
+
series: DailyTraffic[];
|
|
582
|
+
/**
|
|
583
|
+
* Total amulets paid for a certain date range.
|
|
584
|
+
* @format decimal
|
|
585
|
+
* @min 0
|
|
586
|
+
* @example 45741.1764705876
|
|
587
|
+
*/
|
|
588
|
+
total_paid: string;
|
|
589
|
+
/**
|
|
590
|
+
* Total traffic purchase (bytes) for a certain date range.
|
|
591
|
+
* @format integer
|
|
592
|
+
* @min 0
|
|
593
|
+
* @example 129600000
|
|
594
|
+
*/
|
|
595
|
+
total_traffic: number;
|
|
596
|
+
}
|
|
513
597
|
/**
|
|
514
598
|
* Daily balance (at the end of the day) snapshot for a party
|
|
515
599
|
*
|
|
@@ -971,6 +1055,24 @@ export interface DailyStatistic {
|
|
|
971
1055
|
*/
|
|
972
1056
|
updates_per_day: number;
|
|
973
1057
|
}
|
|
1058
|
+
export interface DailyTraffic {
|
|
1059
|
+
/** @format date */
|
|
1060
|
+
day: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Total amulets paid for traffic for a certain day
|
|
1063
|
+
* @format decimal
|
|
1064
|
+
* @min 0
|
|
1065
|
+
* @example 20752.9411764703
|
|
1066
|
+
*/
|
|
1067
|
+
total_paid: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* total traffic purchase (bytes) for a certain day.
|
|
1070
|
+
* @format integer
|
|
1071
|
+
* @min 0
|
|
1072
|
+
* @example 58800000
|
|
1073
|
+
*/
|
|
1074
|
+
total_traffic: number;
|
|
1075
|
+
}
|
|
974
1076
|
/**
|
|
975
1077
|
* eventId
|
|
976
1078
|
* Daml event ID format: `update_id:number`.
|
|
@@ -1461,6 +1563,47 @@ export type InvalidTransferReason = {
|
|
|
1461
1563
|
dummyUnitField: any;
|
|
1462
1564
|
};
|
|
1463
1565
|
};
|
|
1566
|
+
export interface MemberByTraffic {
|
|
1567
|
+
/**
|
|
1568
|
+
* Total amulet amount payd
|
|
1569
|
+
* @format decimal
|
|
1570
|
+
* @min 0
|
|
1571
|
+
* @example "122,49494"
|
|
1572
|
+
*/
|
|
1573
|
+
amulet_paid: string;
|
|
1574
|
+
/** Reference to original event with payment */
|
|
1575
|
+
event_id: EventId;
|
|
1576
|
+
/** Provider involved in payment */
|
|
1577
|
+
provider: PartyId;
|
|
1578
|
+
/** Reference to original contract issued, which defines traffic purchased by validator */
|
|
1579
|
+
purchased_traffic: ContractId;
|
|
1580
|
+
/** @format date-time */
|
|
1581
|
+
record_time: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* Round of payment
|
|
1584
|
+
* @format integer
|
|
1585
|
+
* @min 0
|
|
1586
|
+
* @example 85477
|
|
1587
|
+
*/
|
|
1588
|
+
round: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* Party ID in format `hint::hash`
|
|
1591
|
+
*
|
|
1592
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
1593
|
+
*
|
|
1594
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
1595
|
+
*/
|
|
1596
|
+
synchronizer: PartyId;
|
|
1597
|
+
/**
|
|
1598
|
+
* total amount of traffic bought (bytes).
|
|
1599
|
+
* @format integer
|
|
1600
|
+
* @min 0
|
|
1601
|
+
* @example 120000
|
|
1602
|
+
*/
|
|
1603
|
+
traffic_amount: number;
|
|
1604
|
+
/** Validator-Receiver of payd traffic */
|
|
1605
|
+
validator: PartyId;
|
|
1606
|
+
}
|
|
1464
1607
|
/**
|
|
1465
1608
|
* Summary statistics for updates in migration in the Canton Network.
|
|
1466
1609
|
*
|
|
@@ -1527,7 +1670,7 @@ export interface MiningRound {
|
|
|
1527
1670
|
/**
|
|
1528
1671
|
* Date time of mining round being archived (optional)
|
|
1529
1672
|
* @format date-time
|
|
1530
|
-
* @example "2025-11-
|
|
1673
|
+
* @example "2025-11-21T09:05:30.208472177Z"
|
|
1531
1674
|
*/
|
|
1532
1675
|
archived_at?: string | null;
|
|
1533
1676
|
/** Configuration of Mining round. */
|
|
@@ -1540,7 +1683,7 @@ export interface MiningRound {
|
|
|
1540
1683
|
mining_round_type: "open" | "closed" | "issuing" | "summarizing";
|
|
1541
1684
|
/**
|
|
1542
1685
|
* @format date-time
|
|
1543
|
-
* @example "2025-11-
|
|
1686
|
+
* @example "2025-11-21T09:05:30.208471365Z"
|
|
1544
1687
|
*/
|
|
1545
1688
|
record_time: string;
|
|
1546
1689
|
/**
|
|
@@ -1594,6 +1737,26 @@ export interface Offer {
|
|
|
1594
1737
|
* Used to track the creation event in the transaction log.
|
|
1595
1738
|
*/
|
|
1596
1739
|
event_id: EventId;
|
|
1740
|
+
/**
|
|
1741
|
+
* External market Canton-coin (CC) price in USD.
|
|
1742
|
+
*
|
|
1743
|
+
* This price is sourced from external markets (e.g., exchanges)
|
|
1744
|
+
* and reflects the current market value of CC.
|
|
1745
|
+
*
|
|
1746
|
+
* Available **only on mainnet**, where external price feeds are integrated.
|
|
1747
|
+
* It can be used for reporting, analysis, or comparison against the internal price.
|
|
1748
|
+
*/
|
|
1749
|
+
external_cc_price?: string | null;
|
|
1750
|
+
/**
|
|
1751
|
+
* Internal Canton-coin (CC) price in USD.
|
|
1752
|
+
*
|
|
1753
|
+
* This is the price approved by the committee via voting and used
|
|
1754
|
+
* internally for calculations, valuations, and offer execution logic.
|
|
1755
|
+
* It is always present and serves as the canonical internal valuation of CC.
|
|
1756
|
+
*
|
|
1757
|
+
* The field not valid for /api/v1/offers/search. Use /api/v2/offers/search
|
|
1758
|
+
*/
|
|
1759
|
+
internal_cc_price: string;
|
|
1597
1760
|
/** Exact type of the offer. */
|
|
1598
1761
|
offer_type: OfferType;
|
|
1599
1762
|
/**
|
|
@@ -1997,6 +2160,8 @@ export interface PagedBoolResponsePartyInfo {
|
|
|
1997
2160
|
}
|
|
1998
2161
|
export interface PagedBoolResponseUpdateHistory {
|
|
1999
2162
|
data: {
|
|
2163
|
+
/** List of small subset parties (e.g. 3) that participated in this update. */
|
|
2164
|
+
acting_parties: PartyId[];
|
|
2000
2165
|
/**
|
|
2001
2166
|
* Number of contracts archived in this update.
|
|
2002
2167
|
*
|
|
@@ -2136,6 +2301,55 @@ export interface PagedByCombinedCursorAnsResponseTokenTransferSummary {
|
|
|
2136
2301
|
*/
|
|
2137
2302
|
next_cursor?: null | CombinedCursor;
|
|
2138
2303
|
}
|
|
2304
|
+
export interface PagedByCombinedCursorResponseMemberByTraffic {
|
|
2305
|
+
/** The list of items (records) retrieved for the current page. */
|
|
2306
|
+
data: {
|
|
2307
|
+
/**
|
|
2308
|
+
* Total amulet amount payd
|
|
2309
|
+
* @format decimal
|
|
2310
|
+
* @min 0
|
|
2311
|
+
* @example "122,49494"
|
|
2312
|
+
*/
|
|
2313
|
+
amulet_paid: string;
|
|
2314
|
+
/** Reference to original event with payment */
|
|
2315
|
+
event_id: EventId;
|
|
2316
|
+
/** Provider involved in payment */
|
|
2317
|
+
provider: PartyId;
|
|
2318
|
+
/** Reference to original contract issued, which defines traffic purchased by validator */
|
|
2319
|
+
purchased_traffic: ContractId;
|
|
2320
|
+
/** @format date-time */
|
|
2321
|
+
record_time: string;
|
|
2322
|
+
/**
|
|
2323
|
+
* Round of payment
|
|
2324
|
+
* @format integer
|
|
2325
|
+
* @min 0
|
|
2326
|
+
* @example 85477
|
|
2327
|
+
*/
|
|
2328
|
+
round: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* Party ID in format `hint::hash`
|
|
2331
|
+
*
|
|
2332
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
2333
|
+
*
|
|
2334
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
2335
|
+
*/
|
|
2336
|
+
synchronizer: PartyId;
|
|
2337
|
+
/**
|
|
2338
|
+
* total amount of traffic bought (bytes).
|
|
2339
|
+
* @format integer
|
|
2340
|
+
* @min 0
|
|
2341
|
+
* @example 120000
|
|
2342
|
+
*/
|
|
2343
|
+
traffic_amount: number;
|
|
2344
|
+
/** Validator-Receiver of payd traffic */
|
|
2345
|
+
validator: PartyId;
|
|
2346
|
+
}[];
|
|
2347
|
+
/**
|
|
2348
|
+
* An optional cursor used for fetching the next page of results.
|
|
2349
|
+
* This field is omitted from serialization if its value is `None`.
|
|
2350
|
+
*/
|
|
2351
|
+
next_cursor?: null | CombinedCursor;
|
|
2352
|
+
}
|
|
2139
2353
|
export interface PagedByCombinedCursorResponseOffer {
|
|
2140
2354
|
/** The list of items (records) retrieved for the current page. */
|
|
2141
2355
|
data: {
|
|
@@ -2157,6 +2371,26 @@ export interface PagedByCombinedCursorResponseOffer {
|
|
|
2157
2371
|
* Used to track the creation event in the transaction log.
|
|
2158
2372
|
*/
|
|
2159
2373
|
event_id: EventId;
|
|
2374
|
+
/**
|
|
2375
|
+
* External market Canton-coin (CC) price in USD.
|
|
2376
|
+
*
|
|
2377
|
+
* This price is sourced from external markets (e.g., exchanges)
|
|
2378
|
+
* and reflects the current market value of CC.
|
|
2379
|
+
*
|
|
2380
|
+
* Available **only on mainnet**, where external price feeds are integrated.
|
|
2381
|
+
* It can be used for reporting, analysis, or comparison against the internal price.
|
|
2382
|
+
*/
|
|
2383
|
+
external_cc_price?: string | null;
|
|
2384
|
+
/**
|
|
2385
|
+
* Internal Canton-coin (CC) price in USD.
|
|
2386
|
+
*
|
|
2387
|
+
* This is the price approved by the committee via voting and used
|
|
2388
|
+
* internally for calculations, valuations, and offer execution logic.
|
|
2389
|
+
* It is always present and serves as the canonical internal valuation of CC.
|
|
2390
|
+
*
|
|
2391
|
+
* The field not valid for /api/v1/offers/search. Use /api/v2/offers/search
|
|
2392
|
+
*/
|
|
2393
|
+
internal_cc_price: string;
|
|
2160
2394
|
/** Exact type of the offer. */
|
|
2161
2395
|
offer_type: OfferType;
|
|
2162
2396
|
/**
|
|
@@ -2504,6 +2738,26 @@ export interface PagedByIDResponseOffer {
|
|
|
2504
2738
|
* Used to track the creation event in the transaction log.
|
|
2505
2739
|
*/
|
|
2506
2740
|
event_id: EventId;
|
|
2741
|
+
/**
|
|
2742
|
+
* External market Canton-coin (CC) price in USD.
|
|
2743
|
+
*
|
|
2744
|
+
* This price is sourced from external markets (e.g., exchanges)
|
|
2745
|
+
* and reflects the current market value of CC.
|
|
2746
|
+
*
|
|
2747
|
+
* Available **only on mainnet**, where external price feeds are integrated.
|
|
2748
|
+
* It can be used for reporting, analysis, or comparison against the internal price.
|
|
2749
|
+
*/
|
|
2750
|
+
external_cc_price?: string | null;
|
|
2751
|
+
/**
|
|
2752
|
+
* Internal Canton-coin (CC) price in USD.
|
|
2753
|
+
*
|
|
2754
|
+
* This is the price approved by the committee via voting and used
|
|
2755
|
+
* internally for calculations, valuations, and offer execution logic.
|
|
2756
|
+
* It is always present and serves as the canonical internal valuation of CC.
|
|
2757
|
+
*
|
|
2758
|
+
* The field not valid for /api/v1/offers/search. Use /api/v2/offers/search
|
|
2759
|
+
*/
|
|
2760
|
+
internal_cc_price: string;
|
|
2507
2761
|
/** Exact type of the offer. */
|
|
2508
2762
|
offer_type: OfferType;
|
|
2509
2763
|
/**
|
|
@@ -3011,7 +3265,7 @@ export interface PagedGovernanceResponseGovernanceShort {
|
|
|
3011
3265
|
}[];
|
|
3012
3266
|
/**
|
|
3013
3267
|
* @format date-time
|
|
3014
|
-
* @example "2025-11-
|
|
3268
|
+
* @example "2025-11-21T09:05:30.215464003Z"
|
|
3015
3269
|
*/
|
|
3016
3270
|
next_cursor?: string | null;
|
|
3017
3271
|
/**
|
|
@@ -3081,7 +3335,7 @@ export interface PagedResponseAppReward {
|
|
|
3081
3335
|
}[];
|
|
3082
3336
|
/**
|
|
3083
3337
|
* @format date-time
|
|
3084
|
-
* @example "2025-11-
|
|
3338
|
+
* @example "2025-11-21T09:05:30.218043956Z"
|
|
3085
3339
|
*/
|
|
3086
3340
|
next_cursor?: string | null;
|
|
3087
3341
|
}
|
|
@@ -3101,7 +3355,7 @@ export interface PagedResponseFeaturedApp {
|
|
|
3101
3355
|
}[];
|
|
3102
3356
|
/**
|
|
3103
3357
|
* @format date-time
|
|
3104
|
-
* @example "2025-11-
|
|
3358
|
+
* @example "2025-11-21T09:05:30.214352580Z"
|
|
3105
3359
|
*/
|
|
3106
3360
|
next_cursor?: string | null;
|
|
3107
3361
|
}
|
|
@@ -3192,7 +3446,7 @@ export interface PagedResponseGovernanceShort {
|
|
|
3192
3446
|
}[];
|
|
3193
3447
|
/**
|
|
3194
3448
|
* @format date-time
|
|
3195
|
-
* @example "2025-11-
|
|
3449
|
+
* @example "2025-11-21T09:05:30.214506148Z"
|
|
3196
3450
|
*/
|
|
3197
3451
|
next_cursor?: string | null;
|
|
3198
3452
|
}
|
|
@@ -3254,7 +3508,7 @@ export interface PagedResponseMigrationStatistic {
|
|
|
3254
3508
|
}[];
|
|
3255
3509
|
/**
|
|
3256
3510
|
* @format date-time
|
|
3257
|
-
* @example "2025-11-
|
|
3511
|
+
* @example "2025-11-21T09:05:30.211585507Z"
|
|
3258
3512
|
*/
|
|
3259
3513
|
next_cursor?: string | null;
|
|
3260
3514
|
}
|
|
@@ -3263,7 +3517,7 @@ export interface PagedResponseMiningRound {
|
|
|
3263
3517
|
/**
|
|
3264
3518
|
* Date time of mining round being archived (optional)
|
|
3265
3519
|
* @format date-time
|
|
3266
|
-
* @example "2025-11-
|
|
3520
|
+
* @example "2025-11-21T09:05:30.208481194Z"
|
|
3267
3521
|
*/
|
|
3268
3522
|
archived_at?: string | null;
|
|
3269
3523
|
/** Configuration of Mining round. */
|
|
@@ -3276,7 +3530,7 @@ export interface PagedResponseMiningRound {
|
|
|
3276
3530
|
mining_round_type: "open" | "closed" | "issuing" | "summarizing";
|
|
3277
3531
|
/**
|
|
3278
3532
|
* @format date-time
|
|
3279
|
-
* @example "2025-11-
|
|
3533
|
+
* @example "2025-11-21T09:05:30.208480442Z"
|
|
3280
3534
|
*/
|
|
3281
3535
|
record_time: string;
|
|
3282
3536
|
/**
|
|
@@ -3289,7 +3543,7 @@ export interface PagedResponseMiningRound {
|
|
|
3289
3543
|
}[];
|
|
3290
3544
|
/**
|
|
3291
3545
|
* @format date-time
|
|
3292
|
-
* @example "2025-11-
|
|
3546
|
+
* @example "2025-11-21T09:05:30.208495751Z"
|
|
3293
3547
|
*/
|
|
3294
3548
|
next_cursor?: string | null;
|
|
3295
3549
|
}
|
|
@@ -3317,7 +3571,7 @@ export interface PagedResponsePriceVote {
|
|
|
3317
3571
|
}[];
|
|
3318
3572
|
/**
|
|
3319
3573
|
* @format date-time
|
|
3320
|
-
* @example "2025-11-
|
|
3574
|
+
* @example "2025-11-21T09:05:30.215698932Z"
|
|
3321
3575
|
*/
|
|
3322
3576
|
next_cursor?: string | null;
|
|
3323
3577
|
}
|
|
@@ -3343,7 +3597,7 @@ export interface PagedResponseReward {
|
|
|
3343
3597
|
party_id: PartyId;
|
|
3344
3598
|
/**
|
|
3345
3599
|
* @format date-time
|
|
3346
|
-
* @example "2025-11-
|
|
3600
|
+
* @example "2025-11-21T09:05:30.219508388Z"
|
|
3347
3601
|
*/
|
|
3348
3602
|
record_time: string;
|
|
3349
3603
|
/**
|
|
@@ -3370,7 +3624,7 @@ export interface PagedResponseReward {
|
|
|
3370
3624
|
}[];
|
|
3371
3625
|
/**
|
|
3372
3626
|
* @format date-time
|
|
3373
|
-
* @example "2025-11-
|
|
3627
|
+
* @example "2025-11-21T09:05:30.219522675Z"
|
|
3374
3628
|
*/
|
|
3375
3629
|
next_cursor?: string | null;
|
|
3376
3630
|
}
|
|
@@ -3440,7 +3694,7 @@ export interface PagedResponseSVReward {
|
|
|
3440
3694
|
}[];
|
|
3441
3695
|
/**
|
|
3442
3696
|
* @format date-time
|
|
3443
|
-
* @example "2025-11-
|
|
3697
|
+
* @example "2025-11-21T09:05:30.218693923Z"
|
|
3444
3698
|
*/
|
|
3445
3699
|
next_cursor?: string | null;
|
|
3446
3700
|
}
|
|
@@ -3536,7 +3790,7 @@ export interface PagedResponseSuperValidator {
|
|
|
3536
3790
|
}[];
|
|
3537
3791
|
/**
|
|
3538
3792
|
* @format date-time
|
|
3539
|
-
* @example "2025-11-
|
|
3793
|
+
* @example "2025-11-21T09:05:30.216459878Z"
|
|
3540
3794
|
*/
|
|
3541
3795
|
next_cursor?: string | null;
|
|
3542
3796
|
}
|
|
@@ -3573,7 +3827,7 @@ export interface PagedResponseTokenTransfer {
|
|
|
3573
3827
|
}[];
|
|
3574
3828
|
/**
|
|
3575
3829
|
* @format date-time
|
|
3576
|
-
* @example "2025-11-
|
|
3830
|
+
* @example "2025-11-21T09:05:30.206341365Z"
|
|
3577
3831
|
*/
|
|
3578
3832
|
next_cursor?: string | null;
|
|
3579
3833
|
}
|
|
@@ -3670,12 +3924,14 @@ export interface PagedResponseTokenTransferInstruction {
|
|
|
3670
3924
|
}[];
|
|
3671
3925
|
/**
|
|
3672
3926
|
* @format date-time
|
|
3673
|
-
* @example "2025-11-
|
|
3927
|
+
* @example "2025-11-21T09:05:30.206430803Z"
|
|
3674
3928
|
*/
|
|
3675
3929
|
next_cursor?: string | null;
|
|
3676
3930
|
}
|
|
3677
3931
|
export interface PagedResponseUpdateHistory {
|
|
3678
3932
|
data: {
|
|
3933
|
+
/** List of small subset parties (e.g. 3) that participated in this update. */
|
|
3934
|
+
acting_parties: PartyId[];
|
|
3679
3935
|
/**
|
|
3680
3936
|
* Number of contracts archived in this update.
|
|
3681
3937
|
*
|
|
@@ -3759,7 +4015,119 @@ export interface PagedResponseUpdateHistory {
|
|
|
3759
4015
|
}[];
|
|
3760
4016
|
/**
|
|
3761
4017
|
* @format date-time
|
|
3762
|
-
* @example "2025-11-
|
|
4018
|
+
* @example "2025-11-21T09:05:30.210733622Z"
|
|
4019
|
+
*/
|
|
4020
|
+
next_cursor?: string | null;
|
|
4021
|
+
}
|
|
4022
|
+
export interface PagedResponseUpdateHistoryV2 {
|
|
4023
|
+
data: {
|
|
4024
|
+
/** List of small subset parties (e.g. 3) that participated in this update. */
|
|
4025
|
+
acting_parties: PartyId[];
|
|
4026
|
+
/**
|
|
4027
|
+
* List of all action aliases observed in this update.
|
|
4028
|
+
*
|
|
4029
|
+
* Includes all relevant event types (e.g., `cc.transfer`, `validator.liveness.recorded`,
|
|
4030
|
+
* `round.open.fetch`). Used for filtering, analysis, or computing `primary_action_alias`.
|
|
4031
|
+
*/
|
|
4032
|
+
action_aliases: string[];
|
|
4033
|
+
/**
|
|
4034
|
+
* Number of contracts archived in this update.
|
|
4035
|
+
*
|
|
4036
|
+
* Represents the count of contracts that were permanently removed
|
|
4037
|
+
* from the active state. This typically occurs through consuming
|
|
4038
|
+
* exercises or explicit archiving.
|
|
4039
|
+
* @format integer
|
|
4040
|
+
* @min 0
|
|
4041
|
+
* @example 2
|
|
4042
|
+
*/
|
|
4043
|
+
archived_events: number;
|
|
4044
|
+
/**
|
|
4045
|
+
* Number of contracts created in this update.
|
|
4046
|
+
*
|
|
4047
|
+
* Represents the count of `CreatedEvent` instances where new contracts
|
|
4048
|
+
* were instantiated as part of this transaction.
|
|
4049
|
+
* @format integer
|
|
4050
|
+
* @min 0
|
|
4051
|
+
* @example 1
|
|
4052
|
+
*/
|
|
4053
|
+
created_events: number;
|
|
4054
|
+
/**
|
|
4055
|
+
* Number of contract exercises performed in this update.
|
|
4056
|
+
*
|
|
4057
|
+
* Represents the count of `ExercisedEvent` instances where contract
|
|
4058
|
+
* choices were executed. This includes both consuming and non-consuming
|
|
4059
|
+
* exercises.
|
|
4060
|
+
* @format integer
|
|
4061
|
+
* @min 0
|
|
4062
|
+
* @example 3
|
|
4063
|
+
*/
|
|
4064
|
+
exercised_events: number;
|
|
4065
|
+
/**
|
|
4066
|
+
* Identifier for the template migration associated with this update.
|
|
4067
|
+
*
|
|
4068
|
+
* If this update is part of a template migration process, this field
|
|
4069
|
+
* contains the migration identifier. A value of 0 typically indicates
|
|
4070
|
+
* no migration was involved.
|
|
4071
|
+
* @format integer
|
|
4072
|
+
* @min 0
|
|
4073
|
+
* @example 9847
|
|
4074
|
+
*/
|
|
4075
|
+
migration_id: number;
|
|
4076
|
+
/**
|
|
4077
|
+
* Number of distinct parties involved in this update.
|
|
4078
|
+
*
|
|
4079
|
+
* This count includes all parties that are signatories, observers,
|
|
4080
|
+
* or otherwise participate in the transaction.
|
|
4081
|
+
* @format integer
|
|
4082
|
+
* @min 0
|
|
4083
|
+
* @example 5
|
|
4084
|
+
*/
|
|
4085
|
+
parties_count: number;
|
|
4086
|
+
/**
|
|
4087
|
+
* Primary action alias derived from the update’s events.
|
|
4088
|
+
*
|
|
4089
|
+
* Represents the main action performed in this update (e.g., `cc.transfer`,
|
|
4090
|
+
* `preapproval.send`). Optional because some updates may only contain
|
|
4091
|
+
* low-priority events like `round.open.fetch`.
|
|
4092
|
+
*/
|
|
4093
|
+
primary_action_alias?: string | null;
|
|
4094
|
+
/**
|
|
4095
|
+
* The ledger time when this update was recorded.
|
|
4096
|
+
*
|
|
4097
|
+
* This timestamp represents when the transaction was committed to
|
|
4098
|
+
* the ledger, using UTC timezone. It provides the definitive ordering
|
|
4099
|
+
* of updates within the ledger sequence.
|
|
4100
|
+
* @format date-time
|
|
4101
|
+
*/
|
|
4102
|
+
record_time: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* Total rewards associated with this update.
|
|
4105
|
+
*
|
|
4106
|
+
* Represents CC (or token) rewards distributed as part of this update.
|
|
4107
|
+
*/
|
|
4108
|
+
total_reward?: string | null;
|
|
4109
|
+
/**
|
|
4110
|
+
* Unique identifier for this update.
|
|
4111
|
+
*
|
|
4112
|
+
* This ID is generated by the Daml ledger and provides a unique
|
|
4113
|
+
* reference for this specific transaction update.
|
|
4114
|
+
*/
|
|
4115
|
+
update_id: UpdateId;
|
|
4116
|
+
/**
|
|
4117
|
+
* The **estimated size** of the underlying Daml transaction in **bytes**.
|
|
4118
|
+
*
|
|
4119
|
+
* This value represents the total byte size of the transaction's payload
|
|
4120
|
+
* as stored on the ledger, providing a metric for the complexity
|
|
4121
|
+
* and resource consumption of the update.
|
|
4122
|
+
* @format integer
|
|
4123
|
+
* @min 0
|
|
4124
|
+
* @example 9847
|
|
4125
|
+
*/
|
|
4126
|
+
update_size: number;
|
|
4127
|
+
}[];
|
|
4128
|
+
/**
|
|
4129
|
+
* @format date-time
|
|
4130
|
+
* @example "2025-11-21T09:05:30.224697638Z"
|
|
3763
4131
|
*/
|
|
3764
4132
|
next_cursor?: string | null;
|
|
3765
4133
|
}
|
|
@@ -3806,7 +4174,7 @@ export interface PagedResponseValidatorReward {
|
|
|
3806
4174
|
}[];
|
|
3807
4175
|
/**
|
|
3808
4176
|
* @format date-time
|
|
3809
|
-
* @example "2025-11-
|
|
4177
|
+
* @example "2025-11-21T09:05:30.218420881Z"
|
|
3810
4178
|
*/
|
|
3811
4179
|
next_cursor?: string | null;
|
|
3812
4180
|
}
|
|
@@ -3853,7 +4221,7 @@ export interface PagedResponseValidatorShorten {
|
|
|
3853
4221
|
/**
|
|
3854
4222
|
* Last time activity detected by validator.
|
|
3855
4223
|
* @format date-time
|
|
3856
|
-
* @example "2025-11-
|
|
4224
|
+
* @example "2025-11-21T09:05:30.213992657Z"
|
|
3857
4225
|
*/
|
|
3858
4226
|
last_active_at: string | null;
|
|
3859
4227
|
/**
|
|
@@ -3866,7 +4234,7 @@ export interface PagedResponseValidatorShorten {
|
|
|
3866
4234
|
/**
|
|
3867
4235
|
* Last update time of Validator's license.
|
|
3868
4236
|
* @format date-time
|
|
3869
|
-
* @example "2025-11-
|
|
4237
|
+
* @example "2025-11-21T09:05:30.213994069Z"
|
|
3870
4238
|
*/
|
|
3871
4239
|
metadata_last_update?: string | null;
|
|
3872
4240
|
/**
|
|
@@ -3886,7 +4254,7 @@ export interface PagedResponseValidatorShorten {
|
|
|
3886
4254
|
/**
|
|
3887
4255
|
* creation time of Validator's license.
|
|
3888
4256
|
* @format date-time
|
|
3889
|
-
* @example "2025-11-
|
|
4257
|
+
* @example "2025-11-21T09:05:30.214006994Z"
|
|
3890
4258
|
*/
|
|
3891
4259
|
record_time: string;
|
|
3892
4260
|
/** Validator's sponsor */
|
|
@@ -3925,7 +4293,7 @@ export interface PagedResponseValidatorShorten {
|
|
|
3925
4293
|
}[];
|
|
3926
4294
|
/**
|
|
3927
4295
|
* @format date-time
|
|
3928
|
-
* @example "2025-11-
|
|
4296
|
+
* @example "2025-11-21T09:05:30.214045256Z"
|
|
3929
4297
|
*/
|
|
3930
4298
|
next_cursor?: string | null;
|
|
3931
4299
|
}
|
|
@@ -4027,7 +4395,7 @@ export interface PagedTotalResponsePartyId {
|
|
|
4027
4395
|
data: string[];
|
|
4028
4396
|
/**
|
|
4029
4397
|
* @format date-time
|
|
4030
|
-
* @example "2025-11-
|
|
4398
|
+
* @example "2025-11-21T09:05:30.216584692Z"
|
|
4031
4399
|
*/
|
|
4032
4400
|
next_cursor?: string | null;
|
|
4033
4401
|
/**
|
|
@@ -4491,7 +4859,7 @@ export interface Reward {
|
|
|
4491
4859
|
party_id: PartyId;
|
|
4492
4860
|
/**
|
|
4493
4861
|
* @format date-time
|
|
4494
|
-
* @example "2025-11-
|
|
4862
|
+
* @example "2025-11-21T09:05:30.219495033Z"
|
|
4495
4863
|
*/
|
|
4496
4864
|
record_time: string;
|
|
4497
4865
|
/**
|
|
@@ -4867,6 +5235,21 @@ export interface SearchResult {
|
|
|
4867
5235
|
* audit trails, or user-facing transfer breakdowns within a Canton-based DLT (Distributed Ledger Technology) environment.
|
|
4868
5236
|
*/
|
|
4869
5237
|
export interface Spent {
|
|
5238
|
+
/**
|
|
5239
|
+
* External market Canton-coin (CC) price in USD.
|
|
5240
|
+
*
|
|
5241
|
+
* This price is sourced from external markets (e.g., exchanges) and reflects
|
|
5242
|
+
* the current market value of CC. Available only on mainnet.
|
|
5243
|
+
* Can be used for reporting, analysis, or comparison against internal price.
|
|
5244
|
+
*/
|
|
5245
|
+
external_cc_price?: string | null;
|
|
5246
|
+
/**
|
|
5247
|
+
* Internal Canton-coin (CC) price in USD.
|
|
5248
|
+
*
|
|
5249
|
+
* This is the price approved by the committee via voting and used internally
|
|
5250
|
+
* for calculations, valuations, and settlement logic. Always present when set.
|
|
5251
|
+
*/
|
|
5252
|
+
internal_cc_price?: string | null;
|
|
4870
5253
|
/** List of individual receiver breakdowns — who received what amount, after fees or net settlement. */
|
|
4871
5254
|
receivers: Received[];
|
|
4872
5255
|
/** The gross amount of tokens debited from the sender’s balance (before fees; includes amounts sent to receivers + fees). */
|
|
@@ -5853,7 +6236,7 @@ export interface Update {
|
|
|
5853
6236
|
/**
|
|
5854
6237
|
* Time of Update effectiveness.
|
|
5855
6238
|
* @format date-time
|
|
5856
|
-
* @example "2025-11-
|
|
6239
|
+
* @example "2025-11-21T09:05:30.210435283Z"
|
|
5857
6240
|
*/
|
|
5858
6241
|
effective_at: string;
|
|
5859
6242
|
/** Child events. */
|
|
@@ -5867,7 +6250,7 @@ export interface Update {
|
|
|
5867
6250
|
migration_id: number;
|
|
5868
6251
|
/**
|
|
5869
6252
|
* @format date-time
|
|
5870
|
-
* @example "2025-11-
|
|
6253
|
+
* @example "2025-11-21T09:05:30.210432077Z"
|
|
5871
6254
|
*/
|
|
5872
6255
|
record_time: string;
|
|
5873
6256
|
/**
|
|
@@ -5896,6 +6279,106 @@ export interface Update {
|
|
|
5896
6279
|
* parties involved and timing information.
|
|
5897
6280
|
*/
|
|
5898
6281
|
export interface UpdateHistory {
|
|
6282
|
+
/** List of small subset parties (e.g. 3) that participated in this update. */
|
|
6283
|
+
acting_parties: PartyId[];
|
|
6284
|
+
/**
|
|
6285
|
+
* Number of contracts archived in this update.
|
|
6286
|
+
*
|
|
6287
|
+
* Represents the count of contracts that were permanently removed
|
|
6288
|
+
* from the active state. This typically occurs through consuming
|
|
6289
|
+
* exercises or explicit archiving.
|
|
6290
|
+
* @format integer
|
|
6291
|
+
* @min 0
|
|
6292
|
+
* @example 2
|
|
6293
|
+
*/
|
|
6294
|
+
archived_events: number;
|
|
6295
|
+
/**
|
|
6296
|
+
* Number of contracts created in this update.
|
|
6297
|
+
*
|
|
6298
|
+
* Represents the count of `CreatedEvent` instances where new contracts
|
|
6299
|
+
* were instantiated as part of this transaction.
|
|
6300
|
+
* @format integer
|
|
6301
|
+
* @min 0
|
|
6302
|
+
* @example 1
|
|
6303
|
+
*/
|
|
6304
|
+
created_events: number;
|
|
6305
|
+
/**
|
|
6306
|
+
* Number of contract exercises performed in this update.
|
|
6307
|
+
*
|
|
6308
|
+
* Represents the count of `ExercisedEvent` instances where contract
|
|
6309
|
+
* choices were executed. This includes both consuming and non-consuming
|
|
6310
|
+
* exercises.
|
|
6311
|
+
* @format integer
|
|
6312
|
+
* @min 0
|
|
6313
|
+
* @example 3
|
|
6314
|
+
*/
|
|
6315
|
+
exercised_events: number;
|
|
6316
|
+
/**
|
|
6317
|
+
* Identifier for the template migration associated with this update.
|
|
6318
|
+
*
|
|
6319
|
+
* If this update is part of a template migration process, this field
|
|
6320
|
+
* contains the migration identifier. A value of 0 typically indicates
|
|
6321
|
+
* no migration was involved.
|
|
6322
|
+
* @format integer
|
|
6323
|
+
* @min 0
|
|
6324
|
+
* @example 9847
|
|
6325
|
+
*/
|
|
6326
|
+
migration_id: number;
|
|
6327
|
+
/**
|
|
6328
|
+
* Number of distinct parties involved in this update.
|
|
6329
|
+
*
|
|
6330
|
+
* This count includes all parties that are signatories, observers,
|
|
6331
|
+
* or otherwise participate in the transaction.
|
|
6332
|
+
* @format integer
|
|
6333
|
+
* @min 0
|
|
6334
|
+
* @example 5
|
|
6335
|
+
*/
|
|
6336
|
+
parties_count: number;
|
|
6337
|
+
/**
|
|
6338
|
+
* The ledger time when this update was recorded.
|
|
6339
|
+
*
|
|
6340
|
+
* This timestamp represents when the transaction was committed to
|
|
6341
|
+
* the ledger, using UTC timezone. It provides the definitive ordering
|
|
6342
|
+
* of updates within the ledger sequence.
|
|
6343
|
+
* @format date-time
|
|
6344
|
+
*/
|
|
6345
|
+
record_time: string;
|
|
6346
|
+
/**
|
|
6347
|
+
* Unique identifier for this update.
|
|
6348
|
+
*
|
|
6349
|
+
* This ID is generated by the Daml ledger and provides a unique
|
|
6350
|
+
* reference for this specific transaction update.
|
|
6351
|
+
*/
|
|
6352
|
+
update_id: UpdateId;
|
|
6353
|
+
/**
|
|
6354
|
+
* The **estimated size** of the underlying Daml transaction in **bytes**.
|
|
6355
|
+
*
|
|
6356
|
+
* This value represents the total byte size of the transaction's payload
|
|
6357
|
+
* as stored on the ledger, providing a metric for the complexity
|
|
6358
|
+
* and resource consumption of the update.
|
|
6359
|
+
* @format integer
|
|
6360
|
+
* @min 0
|
|
6361
|
+
* @example 9847
|
|
6362
|
+
*/
|
|
6363
|
+
update_size: number;
|
|
6364
|
+
}
|
|
6365
|
+
/**
|
|
6366
|
+
* Represents Update history entry
|
|
6367
|
+
*
|
|
6368
|
+
* An update captures the changes made in a Daml transaction, including
|
|
6369
|
+
* the creation, exercise, and archiving of contracts, along with the
|
|
6370
|
+
* parties involved and timing information.
|
|
6371
|
+
*/
|
|
6372
|
+
export interface UpdateHistoryV2 {
|
|
6373
|
+
/** List of small subset parties (e.g. 3) that participated in this update. */
|
|
6374
|
+
acting_parties: PartyId[];
|
|
6375
|
+
/**
|
|
6376
|
+
* List of all action aliases observed in this update.
|
|
6377
|
+
*
|
|
6378
|
+
* Includes all relevant event types (e.g., `cc.transfer`, `validator.liveness.recorded`,
|
|
6379
|
+
* `round.open.fetch`). Used for filtering, analysis, or computing `primary_action_alias`.
|
|
6380
|
+
*/
|
|
6381
|
+
action_aliases: string[];
|
|
5899
6382
|
/**
|
|
5900
6383
|
* Number of contracts archived in this update.
|
|
5901
6384
|
*
|
|
@@ -5949,6 +6432,14 @@ export interface UpdateHistory {
|
|
|
5949
6432
|
* @example 5
|
|
5950
6433
|
*/
|
|
5951
6434
|
parties_count: number;
|
|
6435
|
+
/**
|
|
6436
|
+
* Primary action alias derived from the update’s events.
|
|
6437
|
+
*
|
|
6438
|
+
* Represents the main action performed in this update (e.g., `cc.transfer`,
|
|
6439
|
+
* `preapproval.send`). Optional because some updates may only contain
|
|
6440
|
+
* low-priority events like `round.open.fetch`.
|
|
6441
|
+
*/
|
|
6442
|
+
primary_action_alias?: string | null;
|
|
5952
6443
|
/**
|
|
5953
6444
|
* The ledger time when this update was recorded.
|
|
5954
6445
|
*
|
|
@@ -5958,6 +6449,12 @@ export interface UpdateHistory {
|
|
|
5958
6449
|
* @format date-time
|
|
5959
6450
|
*/
|
|
5960
6451
|
record_time: string;
|
|
6452
|
+
/**
|
|
6453
|
+
* Total rewards associated with this update.
|
|
6454
|
+
*
|
|
6455
|
+
* Represents CC (or token) rewards distributed as part of this update.
|
|
6456
|
+
*/
|
|
6457
|
+
total_reward?: string | null;
|
|
5961
6458
|
/**
|
|
5962
6459
|
* Unique identifier for this update.
|
|
5963
6460
|
*
|
|
@@ -5996,6 +6493,13 @@ export type UpdateId = string;
|
|
|
5996
6493
|
* including average times and payload sizes.
|
|
5997
6494
|
*/
|
|
5998
6495
|
export interface UpdateStatistics {
|
|
6496
|
+
/**
|
|
6497
|
+
* Total size (in bytes) of updates processed for full history.
|
|
6498
|
+
* @format integer
|
|
6499
|
+
* @min 0
|
|
6500
|
+
* @example 124581123
|
|
6501
|
+
*/
|
|
6502
|
+
data_processed: number;
|
|
5999
6503
|
/**
|
|
6000
6504
|
* Average time taken to accept an update (from submission to acceptance) in ms.
|
|
6001
6505
|
* Represented as a human-readable duration string in the API (e.g., "38"),
|
|
@@ -6269,7 +6773,7 @@ export interface ValidatorShorten {
|
|
|
6269
6773
|
/**
|
|
6270
6774
|
* Last time activity detected by validator.
|
|
6271
6775
|
* @format date-time
|
|
6272
|
-
* @example "2025-11-
|
|
6776
|
+
* @example "2025-11-21T09:05:30.206089082Z"
|
|
6273
6777
|
*/
|
|
6274
6778
|
last_active_at: string | null;
|
|
6275
6779
|
/**
|
|
@@ -6282,7 +6786,7 @@ export interface ValidatorShorten {
|
|
|
6282
6786
|
/**
|
|
6283
6787
|
* Last update time of Validator's license.
|
|
6284
6788
|
* @format date-time
|
|
6285
|
-
* @example "2025-11-
|
|
6789
|
+
* @example "2025-11-21T09:05:30.206089834Z"
|
|
6286
6790
|
*/
|
|
6287
6791
|
metadata_last_update?: string | null;
|
|
6288
6792
|
/**
|
|
@@ -6302,7 +6806,7 @@ export interface ValidatorShorten {
|
|
|
6302
6806
|
/**
|
|
6303
6807
|
* creation time of Validator's license.
|
|
6304
6808
|
* @format date-time
|
|
6305
|
-
* @example "2025-11-
|
|
6809
|
+
* @example "2025-11-21T09:05:30.206094111Z"
|
|
6306
6810
|
*/
|
|
6307
6811
|
record_time: string;
|
|
6308
6812
|
/** Validator's sponsor */
|
|
@@ -6529,7 +7033,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6529
7033
|
activeGovernanceListPaged: (query: {
|
|
6530
7034
|
/**
|
|
6531
7035
|
* @format date-time
|
|
6532
|
-
* @example "2025-11-
|
|
7036
|
+
* @example "2025-11-21T09:05:30.214742441Z"
|
|
6533
7037
|
*/
|
|
6534
7038
|
cursor: string;
|
|
6535
7039
|
/**
|
|
@@ -6548,6 +7052,26 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6548
7052
|
* @secure
|
|
6549
7053
|
*/
|
|
6550
7054
|
activeRounds: (params?: RequestParams) => Promise<MiningRound[]>;
|
|
7055
|
+
/**
|
|
7056
|
+
* @description Check ANS name availability (returns 204 if available, 409 if taken)
|
|
7057
|
+
*
|
|
7058
|
+
* @tags ANS
|
|
7059
|
+
* @name AnsAvailability
|
|
7060
|
+
* @summary ANS availability
|
|
7061
|
+
* @request GET:/api/v1/ans/available/{ans}
|
|
7062
|
+
* @secure
|
|
7063
|
+
*/
|
|
7064
|
+
ansAvailability: (ans: string, params?: RequestParams) => Promise<void>;
|
|
7065
|
+
/**
|
|
7066
|
+
* @description Check ANS name request status
|
|
7067
|
+
*
|
|
7068
|
+
* @tags ANS
|
|
7069
|
+
* @name AnsRequestStatus
|
|
7070
|
+
* @summary ANS request status
|
|
7071
|
+
* @request GET:/api/v1/ans/req-details/{reference}
|
|
7072
|
+
* @secure
|
|
7073
|
+
*/
|
|
7074
|
+
ansRequestStatus: (reference: ContractId, params?: RequestParams) => Promise<AnsEntryContext>;
|
|
6551
7075
|
/**
|
|
6552
7076
|
* @description List rewards for Featured Apps
|
|
6553
7077
|
*
|
|
@@ -6563,7 +7087,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6563
7087
|
/**
|
|
6564
7088
|
* `Pagination cursor`
|
|
6565
7089
|
* @format date-time
|
|
6566
|
-
* @example "2025-11-
|
|
7090
|
+
* @example "2025-11-21T09:05:30.218015682Z"
|
|
6567
7091
|
*/
|
|
6568
7092
|
cursor: string;
|
|
6569
7093
|
/** Indicates whether this reward was marked as "featured". */
|
|
@@ -6676,7 +7200,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6676
7200
|
completedGovernanceListPaged: (query: {
|
|
6677
7201
|
/**
|
|
6678
7202
|
* @format date-time
|
|
6679
|
-
* @example "2025-11-
|
|
7203
|
+
* @example "2025-11-21T09:05:30.215285728Z"
|
|
6680
7204
|
*/
|
|
6681
7205
|
cursor: string;
|
|
6682
7206
|
/**
|
|
@@ -6743,16 +7267,26 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6743
7267
|
/**
|
|
6744
7268
|
* The timestamp for end range
|
|
6745
7269
|
* @format date-time
|
|
6746
|
-
* @example "2025-11-
|
|
7270
|
+
* @example "2025-11-21T09:05:30.212005845Z"
|
|
6747
7271
|
*/
|
|
6748
7272
|
end_datetime: string;
|
|
6749
7273
|
/**
|
|
6750
7274
|
* The timestamp for start range
|
|
6751
7275
|
* @format date-time
|
|
6752
|
-
* @example "2025-11-
|
|
7276
|
+
* @example "2025-11-21T09:05:30.212003872Z"
|
|
6753
7277
|
*/
|
|
6754
7278
|
start_datetime: string;
|
|
6755
7279
|
}, params?: RequestParams) => Promise<CCPriceHistory>;
|
|
7280
|
+
/**
|
|
7281
|
+
* @description Get prices for current time, in beginning of today, one day before, one week ago. one month ago, one year ago.
|
|
7282
|
+
*
|
|
7283
|
+
* @tags Explore
|
|
7284
|
+
* @name ExplorePricesV2
|
|
7285
|
+
* @summary Token prices change summary for periods of time.
|
|
7286
|
+
* @request GET:/api/v2/explore/prices
|
|
7287
|
+
* @secure
|
|
7288
|
+
*/
|
|
7289
|
+
explorePricesV2: (params?: RequestParams) => Promise<CCPrices>;
|
|
6756
7290
|
/**
|
|
6757
7291
|
* @description Obtain canton network statistics
|
|
6758
7292
|
*
|
|
@@ -6763,6 +7297,16 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6763
7297
|
* @secure
|
|
6764
7298
|
*/
|
|
6765
7299
|
exploreStats: (params?: RequestParams) => Promise<GeneralStatistic>;
|
|
7300
|
+
/**
|
|
7301
|
+
* @description Obtain canton network statistics, including live market price and capitalization on mainnet.
|
|
7302
|
+
*
|
|
7303
|
+
* @tags Explore
|
|
7304
|
+
* @name ExploreStatsV2
|
|
7305
|
+
* @summary Statistics
|
|
7306
|
+
* @request GET:/api/v2/explore/stats
|
|
7307
|
+
* @secure
|
|
7308
|
+
*/
|
|
7309
|
+
exploreStatsV2: (params?: RequestParams) => Promise<GeneralStatistic>;
|
|
6766
7310
|
/**
|
|
6767
7311
|
* @description List all featured apps
|
|
6768
7312
|
*
|
|
@@ -6776,7 +7320,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6776
7320
|
/**
|
|
6777
7321
|
* `Pagination cursor`
|
|
6778
7322
|
* @format date-time
|
|
6779
|
-
* @example "2025-11-
|
|
7323
|
+
* @example "2025-11-21T09:05:30.214335569Z"
|
|
6780
7324
|
*/
|
|
6781
7325
|
cursor?: string;
|
|
6782
7326
|
/**
|
|
@@ -6799,7 +7343,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6799
7343
|
/**
|
|
6800
7344
|
* End position date for aggregated statistics
|
|
6801
7345
|
* @format date
|
|
6802
|
-
* @example "2025-11-
|
|
7346
|
+
* @example "2025-11-20"
|
|
6803
7347
|
*/
|
|
6804
7348
|
end?: string;
|
|
6805
7349
|
/**
|
|
@@ -6819,7 +7363,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6819
7363
|
/**
|
|
6820
7364
|
* Start position date for aggregated statistics
|
|
6821
7365
|
* @format date
|
|
6822
|
-
* @example "2025-11-
|
|
7366
|
+
* @example "2025-11-20"
|
|
6823
7367
|
*/
|
|
6824
7368
|
start?: string;
|
|
6825
7369
|
}, params?: RequestParams) => Promise<PagedTotalOffsetResponseFeaturedAppExtended>;
|
|
@@ -6836,13 +7380,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6836
7380
|
/**
|
|
6837
7381
|
* End position date.
|
|
6838
7382
|
* @format date
|
|
6839
|
-
* @example "2025-11-
|
|
7383
|
+
* @example "2025-11-20"
|
|
6840
7384
|
*/
|
|
6841
7385
|
end: string;
|
|
6842
7386
|
/**
|
|
6843
7387
|
* Start position date.
|
|
6844
7388
|
* @format date
|
|
6845
|
-
* @example "2025-11-
|
|
7389
|
+
* @example "2025-11-20"
|
|
6846
7390
|
*/
|
|
6847
7391
|
start: string;
|
|
6848
7392
|
/**
|
|
@@ -6906,7 +7450,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6906
7450
|
/**
|
|
6907
7451
|
* `Pagination cursor`
|
|
6908
7452
|
* @format date-time
|
|
6909
|
-
* @example "2025-11-
|
|
7453
|
+
* @example "2025-11-21T09:05:30.215629022Z"
|
|
6910
7454
|
*/
|
|
6911
7455
|
cursor: string;
|
|
6912
7456
|
/**
|
|
@@ -6930,7 +7474,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6930
7474
|
governanceSearch: (query: {
|
|
6931
7475
|
/**
|
|
6932
7476
|
* @format date-time
|
|
6933
|
-
* @example "2025-11-
|
|
7477
|
+
* @example "2025-11-21T09:05:30.214436318Z"
|
|
6934
7478
|
*/
|
|
6935
7479
|
cursor: string;
|
|
6936
7480
|
/**
|
|
@@ -6979,7 +7523,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6979
7523
|
/**
|
|
6980
7524
|
* `Pagination cursor`
|
|
6981
7525
|
* @format date-time
|
|
6982
|
-
* @example "2025-11-
|
|
7526
|
+
* @example "2025-11-21T09:05:30.216207605Z"
|
|
6983
7527
|
*/
|
|
6984
7528
|
cursor: string;
|
|
6985
7529
|
/**
|
|
@@ -6999,6 +7543,36 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
6999
7543
|
* @secure
|
|
7000
7544
|
*/
|
|
7001
7545
|
lastMigrationStatistic: (params?: RequestParams) => Promise<MigrationStatistic>;
|
|
7546
|
+
/**
|
|
7547
|
+
* @description List ANS Context names for a certain ANS name
|
|
7548
|
+
*
|
|
7549
|
+
* @tags ANS
|
|
7550
|
+
* @name ListAnsContextForName
|
|
7551
|
+
* @summary List by ANS name
|
|
7552
|
+
* @request GET:/api/v1/ans/context/list-by-name/{ans}
|
|
7553
|
+
* @secure
|
|
7554
|
+
*/
|
|
7555
|
+
listAnsContextForName: (ans: string, params?: RequestParams) => Promise<AnsEntryContext[]>;
|
|
7556
|
+
/**
|
|
7557
|
+
* @description List ANS Context names for a certain party
|
|
7558
|
+
*
|
|
7559
|
+
* @tags ANS
|
|
7560
|
+
* @name ListAnsContextForParty
|
|
7561
|
+
* @summary List by Party
|
|
7562
|
+
* @request GET:/api/v1/ans/context/list-by-party/{party_id}
|
|
7563
|
+
* @secure
|
|
7564
|
+
*/
|
|
7565
|
+
listAnsContextForParty: (partyId: PartyId, params?: RequestParams) => Promise<AnsEntryContext[]>;
|
|
7566
|
+
/**
|
|
7567
|
+
* @description List active ANS names for a certain party
|
|
7568
|
+
*
|
|
7569
|
+
* @tags ANS
|
|
7570
|
+
* @name ListAnsForParty
|
|
7571
|
+
* @summary List by Party
|
|
7572
|
+
* @request GET:/api/v1/ans/list/{party_id}
|
|
7573
|
+
* @secure
|
|
7574
|
+
*/
|
|
7575
|
+
listAnsForParty: (partyId: PartyId, params?: RequestParams) => Promise<AnsEntry[]>;
|
|
7002
7576
|
/**
|
|
7003
7577
|
* @description Retrieves market capitalization and supply statistics for a specified date range. The aggregation level (daily, weekly, or monthly) is determined automatically based on the length of the requested date range.
|
|
7004
7578
|
*
|
|
@@ -7012,13 +7586,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7012
7586
|
/**
|
|
7013
7587
|
* End position date.
|
|
7014
7588
|
* @format date
|
|
7015
|
-
* @example "2025-11-
|
|
7589
|
+
* @example "2025-11-20"
|
|
7016
7590
|
*/
|
|
7017
7591
|
end: string;
|
|
7018
7592
|
/**
|
|
7019
7593
|
* Start position date.
|
|
7020
7594
|
* @format date
|
|
7021
|
-
* @example "2025-11-
|
|
7595
|
+
* @example "2025-11-20"
|
|
7022
7596
|
*/
|
|
7023
7597
|
start: string;
|
|
7024
7598
|
}, params?: RequestParams) => Promise<RangedSupplyStatistic[]>;
|
|
@@ -7035,7 +7609,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7035
7609
|
/**
|
|
7036
7610
|
* `Pagination cursor`
|
|
7037
7611
|
* @format date-time
|
|
7038
|
-
* @example "2025-11-
|
|
7612
|
+
* @example "2025-11-21T09:05:30.211512010Z"
|
|
7039
7613
|
*/
|
|
7040
7614
|
cursor: string;
|
|
7041
7615
|
/**
|
|
@@ -7058,7 +7632,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7058
7632
|
/**
|
|
7059
7633
|
* `Pagination cursor`
|
|
7060
7634
|
* @format date-time
|
|
7061
|
-
* @example "2025-11-
|
|
7635
|
+
* @example "2025-11-21T09:05:30.208463200Z"
|
|
7062
7636
|
*/
|
|
7063
7637
|
cursor: string;
|
|
7064
7638
|
/**
|
|
@@ -7160,7 +7734,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7160
7734
|
/**
|
|
7161
7735
|
* `Pagination cursor`
|
|
7162
7736
|
* @format date-time
|
|
7163
|
-
* @example "2025-11-
|
|
7737
|
+
* @example "2025-11-21T09:05:30.216572690Z"
|
|
7164
7738
|
*/
|
|
7165
7739
|
cursor: string;
|
|
7166
7740
|
/**
|
|
@@ -7185,7 +7759,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7185
7759
|
/**
|
|
7186
7760
|
* End position date.
|
|
7187
7761
|
* @format date
|
|
7188
|
-
* @example "2025-11-
|
|
7762
|
+
* @example "2025-11-20"
|
|
7189
7763
|
*/
|
|
7190
7764
|
end: string;
|
|
7191
7765
|
/**
|
|
@@ -7199,7 +7773,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7199
7773
|
/**
|
|
7200
7774
|
* Start position date.
|
|
7201
7775
|
* @format date
|
|
7202
|
-
* @example "2025-11-
|
|
7776
|
+
* @example "2025-11-20"
|
|
7203
7777
|
*/
|
|
7204
7778
|
start: string;
|
|
7205
7779
|
/**
|
|
@@ -7228,7 +7802,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7228
7802
|
/**
|
|
7229
7803
|
* End position date. *(optional)*
|
|
7230
7804
|
* @format date
|
|
7231
|
-
* @example "2025-11-
|
|
7805
|
+
* @example "2025-11-21"
|
|
7232
7806
|
*/
|
|
7233
7807
|
end?: string;
|
|
7234
7808
|
/**
|
|
@@ -7257,7 +7831,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7257
7831
|
/**
|
|
7258
7832
|
* Start position date. *(optional)*
|
|
7259
7833
|
* @format date
|
|
7260
|
-
* @example "2025-11-
|
|
7834
|
+
* @example "2025-11-21"
|
|
7261
7835
|
*/
|
|
7262
7836
|
start?: string;
|
|
7263
7837
|
}, params?: RequestParams) => Promise<PagedTotalOffsetAnsResponseCounterpartyStat>;
|
|
@@ -7284,7 +7858,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7284
7858
|
/**
|
|
7285
7859
|
* End position date.
|
|
7286
7860
|
* @format date
|
|
7287
|
-
* @example "2025-11-
|
|
7861
|
+
* @example "2025-11-20"
|
|
7288
7862
|
*/
|
|
7289
7863
|
end: string;
|
|
7290
7864
|
/**
|
|
@@ -7298,7 +7872,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7298
7872
|
/**
|
|
7299
7873
|
* Start position date.
|
|
7300
7874
|
* @format date
|
|
7301
|
-
* @example "2025-11-
|
|
7875
|
+
* @example "2025-11-20"
|
|
7302
7876
|
*/
|
|
7303
7877
|
start: string;
|
|
7304
7878
|
/**
|
|
@@ -7327,7 +7901,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7327
7901
|
/**
|
|
7328
7902
|
* End position date. *(optional)*
|
|
7329
7903
|
* @format date
|
|
7330
|
-
* @example "2025-11-
|
|
7904
|
+
* @example "2025-11-21"
|
|
7331
7905
|
*/
|
|
7332
7906
|
end?: string;
|
|
7333
7907
|
/**
|
|
@@ -7349,7 +7923,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7349
7923
|
/**
|
|
7350
7924
|
* Start position date. *(optional)*
|
|
7351
7925
|
* @format date
|
|
7352
|
-
* @example "2025-11-
|
|
7926
|
+
* @example "2025-11-21"
|
|
7353
7927
|
*/
|
|
7354
7928
|
start?: string;
|
|
7355
7929
|
}, params?: RequestParams) => Promise<InteractionsStat>;
|
|
@@ -7366,7 +7940,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7366
7940
|
/**
|
|
7367
7941
|
* End position date.
|
|
7368
7942
|
* @format date
|
|
7369
|
-
* @example "2025-11-
|
|
7943
|
+
* @example "2025-11-21"
|
|
7370
7944
|
*/
|
|
7371
7945
|
end: string;
|
|
7372
7946
|
/**
|
|
@@ -7388,7 +7962,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7388
7962
|
/**
|
|
7389
7963
|
* Start position date.
|
|
7390
7964
|
* @format date
|
|
7391
|
-
* @example "2025-11-
|
|
7965
|
+
* @example "2025-11-21"
|
|
7392
7966
|
*/
|
|
7393
7967
|
start: string;
|
|
7394
7968
|
}, params?: RequestParams) => Promise<InteractionsStat>;
|
|
@@ -7405,7 +7979,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7405
7979
|
/**
|
|
7406
7980
|
* End position date.
|
|
7407
7981
|
* @format date
|
|
7408
|
-
* @example "2025-11-
|
|
7982
|
+
* @example "2025-11-21"
|
|
7409
7983
|
*/
|
|
7410
7984
|
end: string;
|
|
7411
7985
|
/**
|
|
@@ -7419,7 +7993,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7419
7993
|
/**
|
|
7420
7994
|
* Start position date.
|
|
7421
7995
|
* @format date
|
|
7422
|
-
* @example "2025-11-
|
|
7996
|
+
* @example "2025-11-21"
|
|
7423
7997
|
*/
|
|
7424
7998
|
start: string;
|
|
7425
7999
|
/**
|
|
@@ -7448,7 +8022,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7448
8022
|
/**
|
|
7449
8023
|
* End position date.
|
|
7450
8024
|
* @format date
|
|
7451
|
-
* @example "2025-11-
|
|
8025
|
+
* @example "2025-11-21"
|
|
7452
8026
|
*/
|
|
7453
8027
|
end: string;
|
|
7454
8028
|
/**
|
|
@@ -7462,7 +8036,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7462
8036
|
/**
|
|
7463
8037
|
* Start position date.
|
|
7464
8038
|
* @format date
|
|
7465
|
-
* @example "2025-11-
|
|
8039
|
+
* @example "2025-11-21"
|
|
7466
8040
|
*/
|
|
7467
8041
|
start: string;
|
|
7468
8042
|
/**
|
|
@@ -7491,7 +8065,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7491
8065
|
/**
|
|
7492
8066
|
* `Pagination cursor`
|
|
7493
8067
|
* @format date-time
|
|
7494
|
-
* @example "2025-11-
|
|
8068
|
+
* @example "2025-11-21T09:05:30.219487259Z"
|
|
7495
8069
|
*/
|
|
7496
8070
|
cursor: string;
|
|
7497
8071
|
/**
|
|
@@ -7569,7 +8143,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7569
8143
|
/**
|
|
7570
8144
|
* End position date.
|
|
7571
8145
|
* @format date
|
|
7572
|
-
* @example "2025-11-
|
|
8146
|
+
* @example "2025-11-21"
|
|
7573
8147
|
*/
|
|
7574
8148
|
end: string;
|
|
7575
8149
|
/** `Type of leadership` *(optional)* */
|
|
@@ -7584,7 +8158,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7584
8158
|
/**
|
|
7585
8159
|
* Start position date.
|
|
7586
8160
|
* @format date
|
|
7587
|
-
* @example "2025-11-
|
|
8161
|
+
* @example "2025-11-21"
|
|
7588
8162
|
*/
|
|
7589
8163
|
start: string;
|
|
7590
8164
|
}, params?: RequestParams) => Promise<TopByAmount[]>;
|
|
@@ -7601,7 +8175,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7601
8175
|
/**
|
|
7602
8176
|
* End position date.
|
|
7603
8177
|
* @format date
|
|
7604
|
-
* @example "2025-11-
|
|
8178
|
+
* @example "2025-11-21"
|
|
7605
8179
|
*/
|
|
7606
8180
|
end: string;
|
|
7607
8181
|
/** `Type of leadership` *(optional)* */
|
|
@@ -7616,7 +8190,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7616
8190
|
/**
|
|
7617
8191
|
* Start position date.
|
|
7618
8192
|
* @format date
|
|
7619
|
-
* @example "2025-11-
|
|
8193
|
+
* @example "2025-11-21"
|
|
7620
8194
|
*/
|
|
7621
8195
|
start: string;
|
|
7622
8196
|
}, params?: RequestParams) => Promise<TopByAmountDay[]>;
|
|
@@ -7633,7 +8207,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7633
8207
|
/**
|
|
7634
8208
|
* End position date.
|
|
7635
8209
|
* @format date
|
|
7636
|
-
* @example "2025-11-
|
|
8210
|
+
* @example "2025-11-21"
|
|
7637
8211
|
*/
|
|
7638
8212
|
end: string;
|
|
7639
8213
|
/** Target party */
|
|
@@ -7641,7 +8215,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7641
8215
|
/**
|
|
7642
8216
|
* Start position date.
|
|
7643
8217
|
* @format date
|
|
7644
|
-
* @example "2025-11-
|
|
8218
|
+
* @example "2025-11-21"
|
|
7645
8219
|
*/
|
|
7646
8220
|
start: string;
|
|
7647
8221
|
/**
|
|
@@ -7670,13 +8244,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7670
8244
|
/**
|
|
7671
8245
|
* End position date.
|
|
7672
8246
|
* @format date
|
|
7673
|
-
* @example "2025-11-
|
|
8247
|
+
* @example "2025-11-21"
|
|
7674
8248
|
*/
|
|
7675
8249
|
end: string;
|
|
7676
8250
|
/**
|
|
7677
8251
|
* Start position date.
|
|
7678
8252
|
* @format date
|
|
7679
|
-
* @example "2025-11-
|
|
8253
|
+
* @example "2025-11-21"
|
|
7680
8254
|
*/
|
|
7681
8255
|
start: string;
|
|
7682
8256
|
/**
|
|
@@ -7705,7 +8279,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7705
8279
|
/**
|
|
7706
8280
|
* `Pagination cursor`
|
|
7707
8281
|
* @format date-time
|
|
7708
|
-
* @example "2025-11-
|
|
8282
|
+
* @example "2025-11-21T09:05:30.216375310Z"
|
|
7709
8283
|
*/
|
|
7710
8284
|
cursor: string;
|
|
7711
8285
|
/**
|
|
@@ -7733,13 +8307,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7733
8307
|
/**
|
|
7734
8308
|
* End position date.
|
|
7735
8309
|
* @format date
|
|
7736
|
-
* @example "2025-11-
|
|
8310
|
+
* @example "2025-11-20"
|
|
7737
8311
|
*/
|
|
7738
8312
|
end: string;
|
|
7739
8313
|
/**
|
|
7740
8314
|
* Start position date.
|
|
7741
8315
|
* @format date
|
|
7742
|
-
* @example "2025-11-
|
|
8316
|
+
* @example "2025-11-20"
|
|
7743
8317
|
*/
|
|
7744
8318
|
start: string;
|
|
7745
8319
|
}, params?: RequestParams) => Promise<RangedPartyStatistic[]>;
|
|
@@ -7758,7 +8332,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
7758
8332
|
/**
|
|
7759
8333
|
* `Pagination cursor`
|
|
7760
8334
|
* @format date-time
|
|
7761
|
-
* @example "2025-11-
|
|
8335
|
+
* @example "2025-11-21T09:05:30.218663386Z"
|
|
7762
8336
|
*/
|
|
7763
8337
|
cursor: string;
|
|
7764
8338
|
/**
|
|
@@ -8151,6 +8725,64 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8151
8725
|
*/
|
|
8152
8726
|
limit?: PageLimit;
|
|
8153
8727
|
}, params?: RequestParams) => Promise<PagedByCombinedCursorAnsResponseTokenTransferSummary>;
|
|
8728
|
+
/**
|
|
8729
|
+
* @description List traffic buy history for a certain validator
|
|
8730
|
+
*
|
|
8731
|
+
* @tags Transfers history
|
|
8732
|
+
* @name TrafficHistoryByValidator
|
|
8733
|
+
* @summary List traffic buy history
|
|
8734
|
+
* @request GET:/api/v1/token-transfers/traffic-history
|
|
8735
|
+
* @secure
|
|
8736
|
+
*/
|
|
8737
|
+
trafficHistoryByValidator: (query: {
|
|
8738
|
+
/** `Pagination cursor` *(optional)* */
|
|
8739
|
+
cursor?: CombinedCursor;
|
|
8740
|
+
/**
|
|
8741
|
+
* `Page size` *(optional)*
|
|
8742
|
+
* @default 10
|
|
8743
|
+
* @example 10
|
|
8744
|
+
*/
|
|
8745
|
+
limit?: PageLimit;
|
|
8746
|
+
/** Validator involved in buy member traffic. */
|
|
8747
|
+
validator_id: PartyId;
|
|
8748
|
+
}, params?: RequestParams) => Promise<PagedByCombinedCursorResponseMemberByTraffic>;
|
|
8749
|
+
/**
|
|
8750
|
+
* @description List traffic stats for a certain period of time
|
|
8751
|
+
*
|
|
8752
|
+
* @tags Transfers history
|
|
8753
|
+
* @name TrafficRangedByValidator
|
|
8754
|
+
* @summary Show traffic statistics by certain validator
|
|
8755
|
+
* @request GET:/api/v1/token-transfers/traffic-ranged
|
|
8756
|
+
* @secure
|
|
8757
|
+
*/
|
|
8758
|
+
trafficRangedByValidator: (query: {
|
|
8759
|
+
/**
|
|
8760
|
+
* End position date.
|
|
8761
|
+
* @format date
|
|
8762
|
+
* @example "2025-11-20"
|
|
8763
|
+
*/
|
|
8764
|
+
end: string;
|
|
8765
|
+
/**
|
|
8766
|
+
* Start position date.
|
|
8767
|
+
* @format date
|
|
8768
|
+
* @example "2025-11-20"
|
|
8769
|
+
*/
|
|
8770
|
+
start: string;
|
|
8771
|
+
/**
|
|
8772
|
+
* Controls data aggregation behavior for large date ranges.
|
|
8773
|
+
*
|
|
8774
|
+
* When `false` (default): The API automatically aggregates data based on the date range:
|
|
8775
|
+
* - ≤ 31 days: Daily data (no aggregation)
|
|
8776
|
+
* - 32-365 days: Weekly aggregation (last day of each week)
|
|
8777
|
+
* - ≥ 366 days: Monthly aggregation (last day of each month)
|
|
8778
|
+
*
|
|
8779
|
+
* When `true`: Returns raw daily data without any aggregation, regardless of date range size.
|
|
8780
|
+
* This provides the most granular data but may result in larger responses for wide date ranges.
|
|
8781
|
+
*/
|
|
8782
|
+
strict?: boolean;
|
|
8783
|
+
/** Validator involved in buy member traffic. */
|
|
8784
|
+
validator_id: PartyId;
|
|
8785
|
+
}, params?: RequestParams) => Promise<DailyMemberTrafficStatisticAggregate>;
|
|
8154
8786
|
/**
|
|
8155
8787
|
* @description Search by involved Party, Party role
|
|
8156
8788
|
*
|
|
@@ -8215,7 +8847,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8215
8847
|
/**
|
|
8216
8848
|
* The timestamp for the end of the time range.
|
|
8217
8849
|
* @format date-time
|
|
8218
|
-
* @example "2025-11-
|
|
8850
|
+
* @example "2025-11-21T09:05:30.207426989Z"
|
|
8219
8851
|
*/
|
|
8220
8852
|
end_datetime: string;
|
|
8221
8853
|
/**
|
|
@@ -8230,7 +8862,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8230
8862
|
/**
|
|
8231
8863
|
* The timestamp for the start of the time range.
|
|
8232
8864
|
* @format date-time
|
|
8233
|
-
* @example "2025-11-
|
|
8865
|
+
* @example "2025-11-21T09:05:30.207425656Z"
|
|
8234
8866
|
*/
|
|
8235
8867
|
start_datetime: string;
|
|
8236
8868
|
}, params?: RequestParams) => Promise<TransferCountPerMinute>;
|
|
@@ -8247,13 +8879,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8247
8879
|
/**
|
|
8248
8880
|
* End position date.
|
|
8249
8881
|
* @format date
|
|
8250
|
-
* @example "2025-11-
|
|
8882
|
+
* @example "2025-11-20"
|
|
8251
8883
|
*/
|
|
8252
8884
|
end: string;
|
|
8253
8885
|
/**
|
|
8254
8886
|
* Start position date.
|
|
8255
8887
|
* @format date
|
|
8256
|
-
* @example "2025-11-
|
|
8888
|
+
* @example "2025-11-20"
|
|
8257
8889
|
*/
|
|
8258
8890
|
start: string;
|
|
8259
8891
|
}, params?: RequestParams) => Promise<RangedTransferStatistic[]>;
|
|
@@ -8271,7 +8903,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8271
8903
|
* Optional argument: day for requested for daily transfer statistic
|
|
8272
8904
|
* If no day will be provided it will return last indexed day statistic
|
|
8273
8905
|
* @format date
|
|
8274
|
-
* @example "2025-11-
|
|
8906
|
+
* @example "2025-11-21"
|
|
8275
8907
|
*/
|
|
8276
8908
|
day?: string;
|
|
8277
8909
|
}, params?: RequestParams) => Promise<DailyStatDto>;
|
|
@@ -8298,7 +8930,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8298
8930
|
/**
|
|
8299
8931
|
* The timestamp for the end of the time range.
|
|
8300
8932
|
* @format date-time
|
|
8301
|
-
* @example "2025-11-
|
|
8933
|
+
* @example "2025-11-21T09:05:30.211175179Z"
|
|
8302
8934
|
*/
|
|
8303
8935
|
end_datetime: string;
|
|
8304
8936
|
/**
|
|
@@ -8313,7 +8945,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8313
8945
|
/**
|
|
8314
8946
|
* The timestamp for the start of the time range.
|
|
8315
8947
|
* @format date-time
|
|
8316
|
-
* @example "2025-11-
|
|
8948
|
+
* @example "2025-11-21T09:05:30.211173646Z"
|
|
8317
8949
|
*/
|
|
8318
8950
|
start_datetime: string;
|
|
8319
8951
|
}, params?: RequestParams) => Promise<UpdatesPerMinuteChart>;
|
|
@@ -8330,7 +8962,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8330
8962
|
/**
|
|
8331
8963
|
* `Pagination cursor`
|
|
8332
8964
|
* @format date-time
|
|
8333
|
-
* @example "2025-11-
|
|
8965
|
+
* @example "2025-11-21T09:05:30.210570036Z"
|
|
8334
8966
|
*/
|
|
8335
8967
|
cursor: string;
|
|
8336
8968
|
/**
|
|
@@ -8355,7 +8987,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8355
8987
|
/**
|
|
8356
8988
|
* `Pagination cursor`
|
|
8357
8989
|
* @format date-time
|
|
8358
|
-
* @example "2025-11-
|
|
8990
|
+
* @example "2025-11-21T09:05:30.210703896Z"
|
|
8359
8991
|
*/
|
|
8360
8992
|
cursor: string;
|
|
8361
8993
|
/**
|
|
@@ -8365,6 +8997,29 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8365
8997
|
*/
|
|
8366
8998
|
limit?: PageLimit;
|
|
8367
8999
|
}, params?: RequestParams) => Promise<PagedResponseUpdateHistory>;
|
|
9000
|
+
/**
|
|
9001
|
+
* @description Get list of updates (v2) by cursor and limit ordered by date in DESC order. This version includes `primary_action_alias`, `total_reward`, and `action_aliases` in the response.
|
|
9002
|
+
*
|
|
9003
|
+
* @tags Updates history
|
|
9004
|
+
* @name UpdateHistoryByRecordTimeV2
|
|
9005
|
+
* @summary List updates
|
|
9006
|
+
* @request GET:/api/v2/updates
|
|
9007
|
+
* @secure
|
|
9008
|
+
*/
|
|
9009
|
+
updateHistoryByRecordTimeV2: (query: {
|
|
9010
|
+
/**
|
|
9011
|
+
* `Pagination cursor`
|
|
9012
|
+
* @format date-time
|
|
9013
|
+
* @example "2025-11-21T09:05:30.224630793Z"
|
|
9014
|
+
*/
|
|
9015
|
+
cursor: string;
|
|
9016
|
+
/**
|
|
9017
|
+
* `Page size` *(optional)*
|
|
9018
|
+
* @default 10
|
|
9019
|
+
* @example 10
|
|
9020
|
+
*/
|
|
9021
|
+
limit?: PageLimit;
|
|
9022
|
+
}, params?: RequestParams) => Promise<PagedResponseUpdateHistoryV2>;
|
|
8368
9023
|
/**
|
|
8369
9024
|
* @description Get stats per day to show on diagram
|
|
8370
9025
|
*
|
|
@@ -8378,7 +9033,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8378
9033
|
/**
|
|
8379
9034
|
* Start position date to search in DESC order.
|
|
8380
9035
|
* @format date
|
|
8381
|
-
* @example "2025-11-
|
|
9036
|
+
* @example "2025-11-21"
|
|
8382
9037
|
*/
|
|
8383
9038
|
cursor: string;
|
|
8384
9039
|
/**
|
|
@@ -8400,13 +9055,13 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8400
9055
|
/**
|
|
8401
9056
|
* End position date.
|
|
8402
9057
|
* @format date
|
|
8403
|
-
* @example "2025-11-
|
|
9058
|
+
* @example "2025-11-20"
|
|
8404
9059
|
*/
|
|
8405
9060
|
end: string;
|
|
8406
9061
|
/**
|
|
8407
9062
|
* Start position date.
|
|
8408
9063
|
* @format date
|
|
8409
|
-
* @example "2025-11-
|
|
9064
|
+
* @example "2025-11-20"
|
|
8410
9065
|
*/
|
|
8411
9066
|
start: string;
|
|
8412
9067
|
}, params?: RequestParams) => Promise<UpdatesRangedStatistic[]>;
|
|
@@ -8423,7 +9078,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8423
9078
|
/**
|
|
8424
9079
|
* End position date.
|
|
8425
9080
|
* @format date
|
|
8426
|
-
* @example "2025-11-
|
|
9081
|
+
* @example "2025-11-21"
|
|
8427
9082
|
*/
|
|
8428
9083
|
end: string;
|
|
8429
9084
|
/**
|
|
@@ -8438,7 +9093,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8438
9093
|
/**
|
|
8439
9094
|
* Start position date.
|
|
8440
9095
|
* @format date
|
|
8441
|
-
* @example "2025-11-
|
|
9096
|
+
* @example "2025-11-21"
|
|
8442
9097
|
*/
|
|
8443
9098
|
start: string;
|
|
8444
9099
|
}, params?: RequestParams) => Promise<TopPartiesUpdatesStatistics>;
|
|
@@ -8475,7 +9130,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8475
9130
|
/**
|
|
8476
9131
|
* `Pagination cursor`
|
|
8477
9132
|
* @format date-time
|
|
8478
|
-
* @example "2025-11-
|
|
9133
|
+
* @example "2025-11-21T09:05:30.218397026Z"
|
|
8479
9134
|
*/
|
|
8480
9135
|
cursor: string;
|
|
8481
9136
|
/**
|
|
@@ -8548,7 +9203,7 @@ export declare class IndexerApi<SecurityDataType extends unknown> extends HttpCl
|
|
|
8548
9203
|
/**
|
|
8549
9204
|
* `Pagination cursor`
|
|
8550
9205
|
* @format date-time
|
|
8551
|
-
* @example "2025-11-
|
|
9206
|
+
* @example "2025-11-21T09:05:30.213942733Z"
|
|
8552
9207
|
*/
|
|
8553
9208
|
cursor: string;
|
|
8554
9209
|
/**
|