@odatano/core 1.10.0 → 2.0.0-rc.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.
Files changed (118) hide show
  1. package/@cds-models/CardanoIndexerService/index.d.ts +142 -0
  2. package/@cds-models/CardanoIndexerService/index.js +23 -0
  3. package/@cds-models/CardanoODataService/index.d.ts +693 -2172
  4. package/@cds-models/CardanoODataService/index.js +88 -390
  5. package/@cds-models/CardanoSignService/index.d.ts +443 -1574
  6. package/@cds-models/CardanoSignService/index.js +62 -293
  7. package/@cds-models/CardanoTransactionService/index.d.ts +431 -1488
  8. package/@cds-models/CardanoTransactionService/index.js +60 -271
  9. package/@cds-models/CardanoWorkerService/index.d.ts +224 -0
  10. package/@cds-models/CardanoWorkerService/index.js +32 -0
  11. package/@cds-models/_/index.d.ts +70 -40
  12. package/@cds-models/_/index.js +17 -32
  13. package/@cds-models/cds/outbox/index.d.ts +28 -0
  14. package/@cds-models/index.d.ts +225 -522
  15. package/@cds-models/index.js +35 -218
  16. package/@cds-models/odatano/cardano/index.d.ts +896 -2947
  17. package/@cds-models/odatano/cardano/index.js +109 -536
  18. package/@cds-models/sap/common/index.d.ts +196 -600
  19. package/@cds-models/sap/common/index.js +28 -269
  20. package/README.md +136 -102
  21. package/db/schema.cds +283 -1
  22. package/db/types.cds +48 -0
  23. package/package.json +43 -34
  24. package/src/index.d.ts +1 -1
  25. package/src/index.js +10 -2
  26. package/src/plugin.js +12 -2
  27. package/srv/blockchain/backends/blockfrost-backend.d.ts +21 -2
  28. package/srv/blockchain/backends/blockfrost-backend.js +68 -15
  29. package/srv/blockchain/backends/cardano-backend.d.ts +69 -0
  30. package/srv/blockchain/backends/cardano-backend.js +13 -0
  31. package/srv/blockchain/backends/koios-backend.d.ts +26 -2
  32. package/srv/blockchain/backends/koios-backend.js +147 -15
  33. package/srv/blockchain/backends/ogmios-backend.d.ts +37 -6
  34. package/srv/blockchain/backends/ogmios-backend.js +254 -5
  35. package/srv/blockchain/cardano-client.d.ts +19 -0
  36. package/srv/blockchain/cardano-client.js +36 -0
  37. package/srv/blockchain/cardano-indexer.d.ts +50 -1
  38. package/srv/blockchain/cardano-indexer.js +191 -0
  39. package/srv/blockchain/crawler/crawler.d.ts +151 -0
  40. package/srv/blockchain/crawler/crawler.js +677 -0
  41. package/srv/blockchain/crawler/hooks.d.ts +43 -0
  42. package/srv/blockchain/crawler/hooks.js +62 -0
  43. package/srv/blockchain/crawler/index.d.ts +26 -0
  44. package/srv/blockchain/crawler/index.js +135 -0
  45. package/srv/blockchain/crawler/sync-state.d.ts +94 -0
  46. package/srv/blockchain/crawler/sync-state.js +265 -0
  47. package/srv/blockchain/signing/hsm-signer.d.ts +45 -0
  48. package/srv/blockchain/signing/hsm-signer.js +8 -1
  49. package/srv/blockchain/signing/signature-verifier.js +4 -5
  50. package/srv/blockchain/transaction-building/buildooor-tx.d.ts +7 -10
  51. package/srv/blockchain/transaction-building/buildooor-tx.js +12 -15
  52. package/srv/blockchain/wallet-worker/build-request.d.ts +26 -0
  53. package/srv/blockchain/wallet-worker/build-request.js +341 -0
  54. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +86 -0
  55. package/srv/blockchain/wallet-worker/confirmation-tracker.js +228 -0
  56. package/srv/blockchain/wallet-worker/index.d.ts +14 -0
  57. package/srv/blockchain/wallet-worker/index.js +80 -0
  58. package/srv/blockchain/wallet-worker/job-store.d.ts +261 -0
  59. package/srv/blockchain/wallet-worker/job-store.js +564 -0
  60. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +43 -0
  61. package/srv/blockchain/wallet-worker/lease-heartbeat.js +99 -0
  62. package/srv/blockchain/wallet-worker/signers.d.ts +57 -0
  63. package/srv/blockchain/wallet-worker/signers.js +131 -0
  64. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +145 -0
  65. package/srv/blockchain/wallet-worker/wallet-worker.js +542 -0
  66. package/srv/cardano-indexer-service.cds +73 -0
  67. package/srv/cardano-indexer-service.d.ts +2 -0
  68. package/srv/cardano-indexer-service.js +76 -0
  69. package/srv/cardano-service.js +22 -1
  70. package/srv/cardano-tx-service.d.ts +1 -11
  71. package/srv/cardano-tx-service.js +11 -162
  72. package/srv/cardano-worker-service.cds +125 -0
  73. package/srv/cardano-worker-service.d.ts +2 -0
  74. package/srv/cardano-worker-service.js +199 -0
  75. package/srv/server.d.ts +32 -1
  76. package/srv/server.js +228 -2
  77. package/srv/utils/collections.d.ts +13 -0
  78. package/srv/utils/collections.js +24 -0
  79. package/srv/utils/crypto.d.ts +16 -0
  80. package/srv/utils/crypto.js +75 -0
  81. package/srv/utils/error-codes.d.ts +6 -0
  82. package/srv/utils/error-codes.js +6 -0
  83. package/srv/utils/errors.d.ts +12 -0
  84. package/srv/utils/errors.js +45 -0
  85. package/srv/utils/mappers.js +13 -3
  86. package/srv/utils/service-events.d.ts +26 -0
  87. package/srv/utils/service-events.js +46 -0
  88. package/srv/utils/tx-build-helper.d.ts +1 -2
  89. package/srv/utils/tx-build-helper.js +3 -5
  90. package/srv/utils/tx-request-parsers.d.ts +58 -0
  91. package/srv/utils/tx-request-parsers.js +170 -0
  92. package/srv/utils/tx-utils.d.ts +2 -1
  93. package/srv/utils/tx-utils.js +3 -2
  94. package/srv/utils/types.d.ts +2 -1
  95. package/@cds-models/CardanoODataService/index.d.ts.map +0 -1
  96. package/@cds-models/CardanoODataService/index.js.map +0 -1
  97. package/@cds-models/CardanoODataService/index.ts +0 -776
  98. package/@cds-models/CardanoSignService/index.d.ts.map +0 -1
  99. package/@cds-models/CardanoSignService/index.js.map +0 -1
  100. package/@cds-models/CardanoSignService/index.ts +0 -569
  101. package/@cds-models/CardanoTransactionService/index.d.ts.map +0 -1
  102. package/@cds-models/CardanoTransactionService/index.js.map +0 -1
  103. package/@cds-models/CardanoTransactionService/index.ts +0 -526
  104. package/@cds-models/_/index.d.ts.map +0 -1
  105. package/@cds-models/_/index.js.map +0 -1
  106. package/@cds-models/_/index.ts +0 -96
  107. package/@cds-models/cds/outbox/index.ts +0 -27
  108. package/@cds-models/index.d.ts.map +0 -1
  109. package/@cds-models/index.js.map +0 -1
  110. package/@cds-models/index.ts +0 -245
  111. package/@cds-models/odatano/cardano/index.d.ts.map +0 -1
  112. package/@cds-models/odatano/cardano/index.js.map +0 -1
  113. package/@cds-models/odatano/cardano/index.ts +0 -789
  114. package/@cds-models/sap/common/index.d.ts.map +0 -1
  115. package/@cds-models/sap/common/index.js.map +0 -1
  116. package/@cds-models/sap/common/index.ts +0 -249
  117. package/srv/blockchain/transaction-building/keep-relevant.d.ts +0 -29
  118. package/srv/blockchain/transaction-building/keep-relevant.js +0 -116
@@ -1,2276 +1,797 @@
1
+ // This is an automatically generated file. Please do not change its contents manually!
1
2
  import * as _ from './..';
2
3
  import * as __ from './../_';
4
+
3
5
  /**
4
6
  * Cardano OData Service
5
- *
7
+ *
6
8
  * Handles external read-only queries for Cardano blockchain data, including:
7
9
  * - Retrieving network information, blocks, epochs, pools, dreps, transactions, accounts, addresses, UTxOs, assets, and metadata
8
10
  * - Providing actions for fetching specific data by identifiers (hashes, addresses, etc.) and for retrieving the latest blockchain state (latest block, epoch, protocol parameters)
9
- *
11
+ *
10
12
  * ## Security: Authentication & Authorization
11
- *
13
+ *
12
14
  * All services use `@requires: 'authenticated-user'` (service-level gate).
13
15
  * The XSUAA scopes defined in xs-security.json (Read, Transact, Sign) are available
14
16
  * for consumer-level role assignment but are NOT enforced per-action in ODATANO itself.
15
- *
17
+ *
16
18
  * This is intentional — ODATANO is a blockchain bridge, not a multi-tenant application.
17
19
  * Per-resource ownership checks (IDOR prevention) are deliberately omitted because:
18
- *
20
+ *
19
21
  * 1. **Blockchain security model**: Unsigned transaction CBOR is not exploitable without
20
22
  * the corresponding private key. Viewing a build/signing request does not enable
21
23
  * fund theft — only the key holder can sign and submit.
22
- *
24
+ *
23
25
  * 2. **Cross-address operations are legitimate**: Smart contract interactions routinely
24
26
  * require building transactions for addresses the caller does not own — e.g. script
25
27
  * redemptions, multi-party Plutus workflows, or DApp backends building on behalf of users.
26
28
  * Enforcing sender == authenticated user would break these use cases.
27
- *
29
+ *
28
30
  * 3. **Consumer responsibility**: Consumers deploying ODATANO in multi-user environments
29
31
  * should add their own authorization layer (e.g. `@restrict` annotations, custom
30
32
  * middleware) that maps JWT claims to allowed wallet addresses if needed.
31
33
  */
32
34
  export default class {
33
- static readonly GetNetworkInformation: typeof GetNetworkInformation;
34
- static readonly GetBlockByHash: typeof GetBlockByHash;
35
- static readonly GetEpochByNumber: typeof GetEpochByNumber;
36
- static readonly GetPoolById: typeof GetPoolById;
37
- static readonly GetDrepById: typeof GetDrepById;
38
- static readonly GetAssetInfo: typeof GetAssetInfo;
39
- static readonly GetAssetHistory: typeof GetAssetHistory;
40
- static readonly GetAccountByStakeAddress: typeof GetAccountByStakeAddress;
41
- static readonly GetTransactionByHash: typeof GetTransactionByHash;
42
- static readonly GetMetadataByTxHash: typeof GetMetadataByTxHash;
43
- static readonly GetAddressByBech32: typeof GetAddressByBech32;
44
- static readonly GetUTxOsByAddress: typeof GetUTxOsByAddress;
45
- static readonly GetUTxOsByCredential: typeof GetUTxOsByCredential;
46
- static readonly GetAssetsByAddress: typeof GetAssetsByAddress;
47
- static readonly GetLatestTransactionsByAddress: typeof GetLatestTransactionsByAddress;
48
- static readonly GetLatestBlock: typeof GetLatestBlock;
49
- static readonly GetLatestEpoch: typeof GetLatestEpoch;
50
- static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
51
- static readonly ParseTransactionCbor: typeof ParseTransactionCbor;
52
- }
35
+ static readonly GetNetworkInformation: typeof GetNetworkInformation;
36
+ static readonly GetBlockByHash: typeof GetBlockByHash;
37
+ static readonly GetEpochByNumber: typeof GetEpochByNumber;
38
+ static readonly GetPoolById: typeof GetPoolById;
39
+ static readonly GetDrepById: typeof GetDrepById;
40
+ static readonly GetAssetInfo: typeof GetAssetInfo;
41
+ static readonly GetAssetHistory: typeof GetAssetHistory;
42
+ static readonly GetAccountByStakeAddress: typeof GetAccountByStakeAddress;
43
+ static readonly GetTransactionByHash: typeof GetTransactionByHash;
44
+ static readonly GetMetadataByTxHash: typeof GetMetadataByTxHash;
45
+ static readonly GetAddressByBech32: typeof GetAddressByBech32;
46
+ static readonly GetUTxOsByAddress: typeof GetUTxOsByAddress;
47
+ static readonly GetUTxOsByCredential: typeof GetUTxOsByCredential;
48
+ static readonly GetAssetsByAddress: typeof GetAssetsByAddress;
49
+ static readonly GetLatestTransactionsByAddress: typeof GetLatestTransactionsByAddress;
50
+ static readonly GetLatestBlock: typeof GetLatestBlock;
51
+ static readonly GetLatestEpoch: typeof GetLatestEpoch;
52
+ static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
53
+ static readonly ParseTransactionCbor: typeof ParseTransactionCbor;
54
+ }
55
+
56
+ // entity 'NetworkInformation'
53
57
  export declare function _NetworkInformationAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
54
- new (...args: any[]): {
55
- validFrom?: __.CdsTimestamp | null;
56
- validTo?: __.CdsTimestamp | null;
57
- network?: __.Key<string>;
58
- maxSupply?: _.Lovelace | null;
59
- totalSupply?: _.Lovelace | null;
60
- circulatingSupply?: _.Lovelace | null;
61
- lockedSupply?: _.Lovelace | null;
62
- treasurySupply?: _.Lovelace | null;
63
- reservesSupply?: _.Lovelace | null;
64
- liveStake?: _.Lovelace | null;
65
- activeStake?: _.Lovelace | null;
66
- };
67
- readonly kind: "entity" | "type" | "aspect";
68
- readonly keys: __.KeysOf<{
69
- validFrom?: __.CdsTimestamp | null;
70
- validTo?: __.CdsTimestamp | null;
71
- network?: __.Key<string>;
72
- maxSupply?: _.Lovelace | null;
73
- totalSupply?: _.Lovelace | null;
74
- circulatingSupply?: _.Lovelace | null;
75
- lockedSupply?: _.Lovelace | null;
76
- treasurySupply?: _.Lovelace | null;
77
- reservesSupply?: _.Lovelace | null;
78
- liveStake?: _.Lovelace | null;
79
- activeStake?: _.Lovelace | null;
80
- }>;
81
- readonly elements: __.ElementsOf<{
82
- validFrom?: __.CdsTimestamp | null;
83
- validTo?: __.CdsTimestamp | null;
84
- network?: __.Key<string>;
85
- maxSupply?: _.Lovelace | null;
86
- totalSupply?: _.Lovelace | null;
87
- circulatingSupply?: _.Lovelace | null;
88
- lockedSupply?: _.Lovelace | null;
89
- treasurySupply?: _.Lovelace | null;
90
- reservesSupply?: _.Lovelace | null;
91
- liveStake?: _.Lovelace | null;
92
- activeStake?: _.Lovelace | null;
93
- }>;
94
- readonly actions: globalThis.Record<never, never>;
95
- } & TBase;
96
- declare const NetworkInformation_base: {
97
- new (...args: any[]): {
98
- validFrom?: __.CdsTimestamp | null;
99
- validTo?: __.CdsTimestamp | null;
100
- network?: __.Key<string>;
101
- maxSupply?: _.Lovelace | null;
102
- totalSupply?: _.Lovelace | null;
103
- circulatingSupply?: _.Lovelace | null;
104
- lockedSupply?: _.Lovelace | null;
105
- treasurySupply?: _.Lovelace | null;
106
- reservesSupply?: _.Lovelace | null;
107
- liveStake?: _.Lovelace | null;
108
- activeStake?: _.Lovelace | null;
109
- };
110
- readonly kind: "entity" | "type" | "aspect";
111
- readonly keys: __.KeysOf<{
112
- validFrom?: __.CdsTimestamp | null;
113
- validTo?: __.CdsTimestamp | null;
114
- network?: __.Key<string>;
115
- maxSupply?: _.Lovelace | null;
116
- totalSupply?: _.Lovelace | null;
117
- circulatingSupply?: _.Lovelace | null;
118
- lockedSupply?: _.Lovelace | null;
119
- treasurySupply?: _.Lovelace | null;
120
- reservesSupply?: _.Lovelace | null;
121
- liveStake?: _.Lovelace | null;
122
- activeStake?: _.Lovelace | null;
123
- }>;
124
- readonly elements: __.ElementsOf<{
125
- validFrom?: __.CdsTimestamp | null;
126
- validTo?: __.CdsTimestamp | null;
127
- network?: __.Key<string>;
128
- maxSupply?: _.Lovelace | null;
129
- totalSupply?: _.Lovelace | null;
130
- circulatingSupply?: _.Lovelace | null;
131
- lockedSupply?: _.Lovelace | null;
132
- treasurySupply?: _.Lovelace | null;
133
- reservesSupply?: _.Lovelace | null;
134
- liveStake?: _.Lovelace | null;
135
- activeStake?: _.Lovelace | null;
136
- }>;
58
+ new (...args: any[]): {
59
+ validFrom?: __.CdsTimestamp | null
60
+ validTo?: __.CdsTimestamp | null
61
+ network?: __.Key<string>
62
+ maxSupply?: _.Lovelace | null
63
+ totalSupply?: _.Lovelace | null
64
+ circulatingSupply?: _.Lovelace | null
65
+ lockedSupply?: _.Lovelace | null
66
+ treasurySupply?: _.Lovelace | null
67
+ reservesSupply?: _.Lovelace | null
68
+ liveStake?: _.Lovelace | null
69
+ activeStake?: _.Lovelace | null
70
+ } & InstanceType<TBase>
71
+ readonly kind: 'entity';
72
+ readonly keys: __.KeysOf<NetworkInformation>;
73
+ readonly elements: __.ElementsOf<NetworkInformation>;
137
74
  readonly actions: globalThis.Record<never, never>;
138
- } & typeof __.Entity;
139
- export declare class NetworkInformation extends NetworkInformation_base {
75
+ };
76
+ export class NetworkInformation extends _NetworkInformationAspect(__.Entity) {
140
77
  }
141
- export declare class NetworkInformation_ extends Array<NetworkInformation> {
142
- $count?: number;
78
+ export class NetworkInformation_ extends Array<NetworkInformation> {
79
+ $count?: number
143
80
  }
81
+
82
+ // entity 'Block'
144
83
  export declare function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
145
- new (...args: any[]): {
146
- hash?: __.Key<string>;
147
- time?: string | null;
148
- height?: number | null;
149
- slotLeader?: string | null;
150
- epochNumber?: number | null;
151
- epoch?: __.Association.to<Epoch> | null;
152
- epochSlot?: number | null;
153
- size?: number | null;
154
- txCount?: number | null;
155
- fees?: _.Lovelace | null;
156
- };
157
- readonly kind: "entity" | "type" | "aspect";
158
- readonly keys: __.KeysOf<{
159
- hash?: __.Key<string>;
160
- time?: string | null;
161
- height?: number | null;
162
- slotLeader?: string | null;
163
- epochNumber?: number | null;
164
- epoch?: __.Association.to<Epoch> | null;
165
- epochSlot?: number | null;
166
- size?: number | null;
167
- txCount?: number | null;
168
- fees?: _.Lovelace | null;
169
- }>;
170
- readonly elements: __.ElementsOf<{
171
- hash?: __.Key<string>;
172
- time?: string | null;
173
- height?: number | null;
174
- slotLeader?: string | null;
175
- epochNumber?: number | null;
176
- epoch?: __.Association.to<Epoch> | null;
177
- epochSlot?: number | null;
178
- size?: number | null;
179
- txCount?: number | null;
180
- fees?: _.Lovelace | null;
181
- }>;
182
- readonly actions: globalThis.Record<never, never>;
183
- } & TBase;
184
- declare const Block_base: {
185
- new (...args: any[]): {
186
- hash?: __.Key<string>;
187
- time?: string | null;
188
- height?: number | null;
189
- slotLeader?: string | null;
190
- epochNumber?: number | null;
191
- epoch?: __.Association.to<Epoch> | null;
192
- epochSlot?: number | null;
193
- size?: number | null;
194
- txCount?: number | null;
195
- fees?: _.Lovelace | null;
196
- };
197
- readonly kind: "entity" | "type" | "aspect";
198
- readonly keys: __.KeysOf<{
199
- hash?: __.Key<string>;
200
- time?: string | null;
201
- height?: number | null;
202
- slotLeader?: string | null;
203
- epochNumber?: number | null;
204
- epoch?: __.Association.to<Epoch> | null;
205
- epochSlot?: number | null;
206
- size?: number | null;
207
- txCount?: number | null;
208
- fees?: _.Lovelace | null;
209
- }>;
210
- readonly elements: __.ElementsOf<{
211
- hash?: __.Key<string>;
212
- time?: string | null;
213
- height?: number | null;
214
- slotLeader?: string | null;
215
- epochNumber?: number | null;
216
- epoch?: __.Association.to<Epoch> | null;
217
- epochSlot?: number | null;
218
- size?: number | null;
219
- txCount?: number | null;
220
- fees?: _.Lovelace | null;
221
- }>;
84
+ new (...args: any[]): {
85
+ hash?: __.Key<string>
86
+ time?: string | null
87
+ height?: number | null
88
+ slotLeader?: string | null
89
+ epochNumber?: number | null
90
+ epoch?: __.Association.to<Epoch> | null
91
+ slot?: number | null
92
+ epochSlot?: number | null
93
+ size?: number | null
94
+ txCount?: number | null
95
+ fees?: _.Lovelace | null
96
+ } & InstanceType<TBase>
97
+ readonly kind: 'entity';
98
+ readonly keys: __.KeysOf<Block>;
99
+ readonly elements: __.ElementsOf<Block>;
222
100
  readonly actions: globalThis.Record<never, never>;
223
- } & typeof __.Entity;
224
- export declare class Block extends Block_base {
101
+ };
102
+ export class Block extends _BlockAspect(__.Entity) {
225
103
  }
226
- export declare class Blocks extends Array<Block> {
227
- $count?: number;
104
+ export class Blocks extends Array<Block> {
105
+ $count?: number
228
106
  }
107
+
108
+ // entity 'Epoch'
229
109
  export declare function _EpochAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
230
- new (...args: any[]): {
231
- epoch?: __.Key<number>;
232
- startTime?: number | null;
233
- endTime?: number | null;
234
- firstBlockTime?: number | null;
235
- lastBlockTime?: number | null;
236
- blockCount?: number | null;
237
- txCount?: number | null;
238
- output?: string | null;
239
- fees?: _.Lovelace | null;
240
- activeStake?: _.Lovelace | null;
241
- };
242
- readonly kind: "entity" | "type" | "aspect";
243
- readonly keys: __.KeysOf<{
244
- epoch?: __.Key<number>;
245
- startTime?: number | null;
246
- endTime?: number | null;
247
- firstBlockTime?: number | null;
248
- lastBlockTime?: number | null;
249
- blockCount?: number | null;
250
- txCount?: number | null;
251
- output?: string | null;
252
- fees?: _.Lovelace | null;
253
- activeStake?: _.Lovelace | null;
254
- }>;
255
- readonly elements: __.ElementsOf<{
256
- epoch?: __.Key<number>;
257
- startTime?: number | null;
258
- endTime?: number | null;
259
- firstBlockTime?: number | null;
260
- lastBlockTime?: number | null;
261
- blockCount?: number | null;
262
- txCount?: number | null;
263
- output?: string | null;
264
- fees?: _.Lovelace | null;
265
- activeStake?: _.Lovelace | null;
266
- }>;
267
- readonly actions: globalThis.Record<never, never>;
268
- } & TBase;
269
- declare const Epoch_base: {
270
- new (...args: any[]): {
271
- epoch?: __.Key<number>;
272
- startTime?: number | null;
273
- endTime?: number | null;
274
- firstBlockTime?: number | null;
275
- lastBlockTime?: number | null;
276
- blockCount?: number | null;
277
- txCount?: number | null;
278
- output?: string | null;
279
- fees?: _.Lovelace | null;
280
- activeStake?: _.Lovelace | null;
281
- };
282
- readonly kind: "entity" | "type" | "aspect";
283
- readonly keys: __.KeysOf<{
284
- epoch?: __.Key<number>;
285
- startTime?: number | null;
286
- endTime?: number | null;
287
- firstBlockTime?: number | null;
288
- lastBlockTime?: number | null;
289
- blockCount?: number | null;
290
- txCount?: number | null;
291
- output?: string | null;
292
- fees?: _.Lovelace | null;
293
- activeStake?: _.Lovelace | null;
294
- }>;
295
- readonly elements: __.ElementsOf<{
296
- epoch?: __.Key<number>;
297
- startTime?: number | null;
298
- endTime?: number | null;
299
- firstBlockTime?: number | null;
300
- lastBlockTime?: number | null;
301
- blockCount?: number | null;
302
- txCount?: number | null;
303
- output?: string | null;
304
- fees?: _.Lovelace | null;
305
- activeStake?: _.Lovelace | null;
306
- }>;
110
+ new (...args: any[]): {
111
+ epoch?: __.Key<number>
112
+ startTime?: number | null
113
+ endTime?: number | null
114
+ firstBlockTime?: number | null
115
+ lastBlockTime?: number | null
116
+ blockCount?: number | null
117
+ txCount?: number | null
118
+ output?: string | null
119
+ fees?: _.Lovelace | null
120
+ activeStake?: _.Lovelace | null
121
+ } & InstanceType<TBase>
122
+ readonly kind: 'entity';
123
+ readonly keys: __.KeysOf<Epoch>;
124
+ readonly elements: __.ElementsOf<Epoch>;
307
125
  readonly actions: globalThis.Record<never, never>;
308
- } & typeof __.Entity;
309
- export declare class Epoch extends Epoch_base {
126
+ };
127
+ export class Epoch extends _EpochAspect(__.Entity) {
310
128
  }
311
- export declare class Epochs extends Array<Epoch> {
312
- $count?: number;
129
+ export class Epochs extends Array<Epoch> {
130
+ $count?: number
313
131
  }
132
+
133
+ // entity 'Pool'
314
134
  export declare function _PoolAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
315
- new (...args: any[]): {
316
- validFrom?: __.CdsTimestamp | null;
317
- validTo?: __.CdsTimestamp | null;
318
- poolId?: __.Key<_.Bech32>;
319
- vrfKeyHash?: string | null;
320
- blocksMinted?: number | null;
321
- blocksEpoch?: number | null;
322
- liveStake?: _.Lovelace | null;
323
- liveSize?: (number | string) | null;
324
- liveSaturation?: (number | string) | null;
325
- liveDelegators?: number | null;
326
- activeStake?: _.Lovelace | null;
327
- activeSize?: (number | string) | null;
328
- pledge?: _.Lovelace | null;
329
- margin?: (number | string) | null;
330
- fixedCost?: _.Lovelace | null;
331
- rewardAccount?: string | null;
332
- };
333
- readonly kind: "entity" | "type" | "aspect";
334
- readonly keys: __.KeysOf<{
335
- validFrom?: __.CdsTimestamp | null;
336
- validTo?: __.CdsTimestamp | null;
337
- poolId?: __.Key<_.Bech32>;
338
- vrfKeyHash?: string | null;
339
- blocksMinted?: number | null;
340
- blocksEpoch?: number | null;
341
- liveStake?: _.Lovelace | null;
342
- liveSize?: (number | string) | null;
343
- liveSaturation?: (number | string) | null;
344
- liveDelegators?: number | null;
345
- activeStake?: _.Lovelace | null;
346
- activeSize?: (number | string) | null;
347
- pledge?: _.Lovelace | null;
348
- margin?: (number | string) | null;
349
- fixedCost?: _.Lovelace | null;
350
- rewardAccount?: string | null;
351
- }>;
352
- readonly elements: __.ElementsOf<{
353
- validFrom?: __.CdsTimestamp | null;
354
- validTo?: __.CdsTimestamp | null;
355
- poolId?: __.Key<_.Bech32>;
356
- vrfKeyHash?: string | null;
357
- blocksMinted?: number | null;
358
- blocksEpoch?: number | null;
359
- liveStake?: _.Lovelace | null;
360
- liveSize?: (number | string) | null;
361
- liveSaturation?: (number | string) | null;
362
- liveDelegators?: number | null;
363
- activeStake?: _.Lovelace | null;
364
- activeSize?: (number | string) | null;
365
- pledge?: _.Lovelace | null;
366
- margin?: (number | string) | null;
367
- fixedCost?: _.Lovelace | null;
368
- rewardAccount?: string | null;
369
- }>;
370
- readonly actions: globalThis.Record<never, never>;
371
- } & TBase;
372
- declare const Pool_base: {
373
- new (...args: any[]): {
374
- validFrom?: __.CdsTimestamp | null;
375
- validTo?: __.CdsTimestamp | null;
376
- poolId?: __.Key<_.Bech32>;
377
- vrfKeyHash?: string | null;
378
- blocksMinted?: number | null;
379
- blocksEpoch?: number | null;
380
- liveStake?: _.Lovelace | null;
381
- liveSize?: (number | string) | null;
382
- liveSaturation?: (number | string) | null;
383
- liveDelegators?: number | null;
384
- activeStake?: _.Lovelace | null;
385
- activeSize?: (number | string) | null;
386
- pledge?: _.Lovelace | null;
387
- margin?: (number | string) | null;
388
- fixedCost?: _.Lovelace | null;
389
- rewardAccount?: string | null;
390
- };
391
- readonly kind: "entity" | "type" | "aspect";
392
- readonly keys: __.KeysOf<{
393
- validFrom?: __.CdsTimestamp | null;
394
- validTo?: __.CdsTimestamp | null;
395
- poolId?: __.Key<_.Bech32>;
396
- vrfKeyHash?: string | null;
397
- blocksMinted?: number | null;
398
- blocksEpoch?: number | null;
399
- liveStake?: _.Lovelace | null;
400
- liveSize?: (number | string) | null;
401
- liveSaturation?: (number | string) | null;
402
- liveDelegators?: number | null;
403
- activeStake?: _.Lovelace | null;
404
- activeSize?: (number | string) | null;
405
- pledge?: _.Lovelace | null;
406
- margin?: (number | string) | null;
407
- fixedCost?: _.Lovelace | null;
408
- rewardAccount?: string | null;
409
- }>;
410
- readonly elements: __.ElementsOf<{
411
- validFrom?: __.CdsTimestamp | null;
412
- validTo?: __.CdsTimestamp | null;
413
- poolId?: __.Key<_.Bech32>;
414
- vrfKeyHash?: string | null;
415
- blocksMinted?: number | null;
416
- blocksEpoch?: number | null;
417
- liveStake?: _.Lovelace | null;
418
- liveSize?: (number | string) | null;
419
- liveSaturation?: (number | string) | null;
420
- liveDelegators?: number | null;
421
- activeStake?: _.Lovelace | null;
422
- activeSize?: (number | string) | null;
423
- pledge?: _.Lovelace | null;
424
- margin?: (number | string) | null;
425
- fixedCost?: _.Lovelace | null;
426
- rewardAccount?: string | null;
427
- }>;
135
+ new (...args: any[]): {
136
+ validFrom?: __.CdsTimestamp | null
137
+ validTo?: __.CdsTimestamp | null
138
+ poolId?: __.Key<_.Bech32>
139
+ vrfKeyHash?: string | null
140
+ blocksMinted?: number | null
141
+ blocksEpoch?: number | null
142
+ liveStake?: _.Lovelace | null
143
+ liveSize?: (number | string) | null
144
+ liveSaturation?: (number | string) | null
145
+ liveDelegators?: number | null
146
+ activeStake?: _.Lovelace | null
147
+ activeSize?: (number | string) | null
148
+ pledge?: _.Lovelace | null
149
+ margin?: (number | string) | null
150
+ fixedCost?: _.Lovelace | null
151
+ rewardAccount?: string | null
152
+ } & InstanceType<TBase>
153
+ readonly kind: 'entity';
154
+ readonly keys: __.KeysOf<Pool>;
155
+ readonly elements: __.ElementsOf<Pool>;
428
156
  readonly actions: globalThis.Record<never, never>;
429
- } & typeof __.Entity;
430
- export declare class Pool extends Pool_base {
157
+ };
158
+ export class Pool extends _PoolAspect(__.Entity) {
431
159
  }
432
- export declare class Pools extends Array<Pool> {
433
- $count?: number;
160
+ export class Pools extends Array<Pool> {
161
+ $count?: number
434
162
  }
163
+
164
+ // entity 'Drep'
435
165
  export declare function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
436
- new (...args: any[]): {
437
- validFrom?: __.CdsTimestamp | null;
438
- validTo?: __.CdsTimestamp | null;
439
- drepId?: __.Key<_.Bech32>;
440
- hex?: string | null;
441
- amount?: _.Lovelace | null;
442
- hasScript?: boolean | null;
443
- lastActiveEpoch?: number | null;
444
- retired?: boolean | null;
445
- expired?: boolean | null;
446
- };
447
- readonly kind: "entity" | "type" | "aspect";
448
- readonly keys: __.KeysOf<{
449
- validFrom?: __.CdsTimestamp | null;
450
- validTo?: __.CdsTimestamp | null;
451
- drepId?: __.Key<_.Bech32>;
452
- hex?: string | null;
453
- amount?: _.Lovelace | null;
454
- hasScript?: boolean | null;
455
- lastActiveEpoch?: number | null;
456
- retired?: boolean | null;
457
- expired?: boolean | null;
458
- }>;
459
- readonly elements: __.ElementsOf<{
460
- validFrom?: __.CdsTimestamp | null;
461
- validTo?: __.CdsTimestamp | null;
462
- drepId?: __.Key<_.Bech32>;
463
- hex?: string | null;
464
- amount?: _.Lovelace | null;
465
- hasScript?: boolean | null;
466
- lastActiveEpoch?: number | null;
467
- retired?: boolean | null;
468
- expired?: boolean | null;
469
- }>;
470
- readonly actions: globalThis.Record<never, never>;
471
- } & TBase;
472
- declare const Drep_base: {
473
- new (...args: any[]): {
474
- validFrom?: __.CdsTimestamp | null;
475
- validTo?: __.CdsTimestamp | null;
476
- drepId?: __.Key<_.Bech32>;
477
- hex?: string | null;
478
- amount?: _.Lovelace | null;
479
- hasScript?: boolean | null;
480
- lastActiveEpoch?: number | null;
481
- retired?: boolean | null;
482
- expired?: boolean | null;
483
- };
484
- readonly kind: "entity" | "type" | "aspect";
485
- readonly keys: __.KeysOf<{
486
- validFrom?: __.CdsTimestamp | null;
487
- validTo?: __.CdsTimestamp | null;
488
- drepId?: __.Key<_.Bech32>;
489
- hex?: string | null;
490
- amount?: _.Lovelace | null;
491
- hasScript?: boolean | null;
492
- lastActiveEpoch?: number | null;
493
- retired?: boolean | null;
494
- expired?: boolean | null;
495
- }>;
496
- readonly elements: __.ElementsOf<{
497
- validFrom?: __.CdsTimestamp | null;
498
- validTo?: __.CdsTimestamp | null;
499
- drepId?: __.Key<_.Bech32>;
500
- hex?: string | null;
501
- amount?: _.Lovelace | null;
502
- hasScript?: boolean | null;
503
- lastActiveEpoch?: number | null;
504
- retired?: boolean | null;
505
- expired?: boolean | null;
506
- }>;
166
+ new (...args: any[]): {
167
+ validFrom?: __.CdsTimestamp | null
168
+ validTo?: __.CdsTimestamp | null
169
+ drepId?: __.Key<_.Bech32>
170
+ hex?: string | null
171
+ amount?: _.Lovelace | null
172
+ hasScript?: boolean | null
173
+ lastActiveEpoch?: number | null
174
+ retired?: boolean | null
175
+ expired?: boolean | null
176
+ } & InstanceType<TBase>
177
+ readonly kind: 'entity';
178
+ readonly keys: __.KeysOf<Drep>;
179
+ readonly elements: __.ElementsOf<Drep>;
507
180
  readonly actions: globalThis.Record<never, never>;
508
- } & typeof __.Entity;
509
- export declare class Drep extends Drep_base {
181
+ };
182
+ export class Drep extends _DrepAspect(__.Entity) {
510
183
  }
511
- export declare class Dreps extends Array<Drep> {
512
- $count?: number;
184
+ export class Dreps extends Array<Drep> {
185
+ $count?: number
513
186
  }
187
+
188
+ // entity 'Asset'
514
189
  export declare function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
515
- new (...args: any[]): {
516
- validFrom?: __.CdsTimestamp | null;
517
- validTo?: __.CdsTimestamp | null;
518
- unit?: __.Key<_.AssetUnit>;
519
- policyId?: _.Blake2b224 | null;
520
- assetNameHex?: string | null;
521
- assetName?: string | null;
522
- fingerprint?: string | null;
523
- totalSupply?: string | null;
524
- mintOrBurnCount?: number | null;
525
- initialMintTxHash?: _.Blake2b256 | null;
526
- initialMintTime?: number | null;
527
- onchainMetadata?: string | null;
528
- registryName?: string | null;
529
- registryTicker?: string | null;
530
- registryDecimals?: number | null;
531
- registryDescription?: string | null;
532
- registryUrl?: string | null;
533
- registryLogo?: string | null;
534
- };
535
- readonly kind: "entity" | "type" | "aspect";
536
- readonly keys: __.KeysOf<{
537
- validFrom?: __.CdsTimestamp | null;
538
- validTo?: __.CdsTimestamp | null;
539
- unit?: __.Key<_.AssetUnit>;
540
- policyId?: _.Blake2b224 | null;
541
- assetNameHex?: string | null;
542
- assetName?: string | null;
543
- fingerprint?: string | null;
544
- totalSupply?: string | null;
545
- mintOrBurnCount?: number | null;
546
- initialMintTxHash?: _.Blake2b256 | null;
547
- initialMintTime?: number | null;
548
- onchainMetadata?: string | null;
549
- registryName?: string | null;
550
- registryTicker?: string | null;
551
- registryDecimals?: number | null;
552
- registryDescription?: string | null;
553
- registryUrl?: string | null;
554
- registryLogo?: string | null;
555
- }>;
556
- readonly elements: __.ElementsOf<{
557
- validFrom?: __.CdsTimestamp | null;
558
- validTo?: __.CdsTimestamp | null;
559
- unit?: __.Key<_.AssetUnit>;
560
- policyId?: _.Blake2b224 | null;
561
- assetNameHex?: string | null;
562
- assetName?: string | null;
563
- fingerprint?: string | null;
564
- totalSupply?: string | null;
565
- mintOrBurnCount?: number | null;
566
- initialMintTxHash?: _.Blake2b256 | null;
567
- initialMintTime?: number | null;
568
- onchainMetadata?: string | null;
569
- registryName?: string | null;
570
- registryTicker?: string | null;
571
- registryDecimals?: number | null;
572
- registryDescription?: string | null;
573
- registryUrl?: string | null;
574
- registryLogo?: string | null;
575
- }>;
576
- readonly actions: globalThis.Record<never, never>;
577
- } & TBase;
578
- declare const Asset_base: {
579
- new (...args: any[]): {
580
- validFrom?: __.CdsTimestamp | null;
581
- validTo?: __.CdsTimestamp | null;
582
- unit?: __.Key<_.AssetUnit>;
583
- policyId?: _.Blake2b224 | null;
584
- assetNameHex?: string | null;
585
- assetName?: string | null;
586
- fingerprint?: string | null;
587
- totalSupply?: string | null;
588
- mintOrBurnCount?: number | null;
589
- initialMintTxHash?: _.Blake2b256 | null;
590
- initialMintTime?: number | null;
591
- onchainMetadata?: string | null;
592
- registryName?: string | null;
593
- registryTicker?: string | null;
594
- registryDecimals?: number | null;
595
- registryDescription?: string | null;
596
- registryUrl?: string | null;
597
- registryLogo?: string | null;
598
- };
599
- readonly kind: "entity" | "type" | "aspect";
600
- readonly keys: __.KeysOf<{
601
- validFrom?: __.CdsTimestamp | null;
602
- validTo?: __.CdsTimestamp | null;
603
- unit?: __.Key<_.AssetUnit>;
604
- policyId?: _.Blake2b224 | null;
605
- assetNameHex?: string | null;
606
- assetName?: string | null;
607
- fingerprint?: string | null;
608
- totalSupply?: string | null;
609
- mintOrBurnCount?: number | null;
610
- initialMintTxHash?: _.Blake2b256 | null;
611
- initialMintTime?: number | null;
612
- onchainMetadata?: string | null;
613
- registryName?: string | null;
614
- registryTicker?: string | null;
615
- registryDecimals?: number | null;
616
- registryDescription?: string | null;
617
- registryUrl?: string | null;
618
- registryLogo?: string | null;
619
- }>;
620
- readonly elements: __.ElementsOf<{
621
- validFrom?: __.CdsTimestamp | null;
622
- validTo?: __.CdsTimestamp | null;
623
- unit?: __.Key<_.AssetUnit>;
624
- policyId?: _.Blake2b224 | null;
625
- assetNameHex?: string | null;
626
- assetName?: string | null;
627
- fingerprint?: string | null;
628
- totalSupply?: string | null;
629
- mintOrBurnCount?: number | null;
630
- initialMintTxHash?: _.Blake2b256 | null;
631
- initialMintTime?: number | null;
632
- onchainMetadata?: string | null;
633
- registryName?: string | null;
634
- registryTicker?: string | null;
635
- registryDecimals?: number | null;
636
- registryDescription?: string | null;
637
- registryUrl?: string | null;
638
- registryLogo?: string | null;
639
- }>;
190
+ new (...args: any[]): {
191
+ validFrom?: __.CdsTimestamp | null
192
+ validTo?: __.CdsTimestamp | null
193
+ unit?: __.Key<_.AssetUnit>
194
+ policyId?: _.Blake2b224 | null
195
+ assetNameHex?: string | null
196
+ assetName?: string | null
197
+ fingerprint?: string | null
198
+ totalSupply?: string | null
199
+ mintOrBurnCount?: number | null
200
+ initialMintTxHash?: _.Blake2b256 | null
201
+ initialMintTime?: number | null
202
+ onchainMetadata?: string | null
203
+ registryName?: string | null
204
+ registryTicker?: string | null
205
+ registryDecimals?: number | null
206
+ registryDescription?: string | null
207
+ registryUrl?: string | null
208
+ registryLogo?: string | null
209
+ } & InstanceType<TBase>
210
+ readonly kind: 'entity';
211
+ readonly keys: __.KeysOf<Asset>;
212
+ readonly elements: __.ElementsOf<Asset>;
640
213
  readonly actions: globalThis.Record<never, never>;
641
- } & typeof __.Entity;
642
- export declare class Asset extends Asset_base {
214
+ };
215
+ export class Asset extends _AssetAspect(__.Entity) {
643
216
  }
644
- export declare class Assets extends Array<Asset> {
645
- $count?: number;
217
+ export class Assets extends Array<Asset> {
218
+ $count?: number
646
219
  }
220
+
221
+ // entity 'AssetHistory'
647
222
  export declare function _AssetHistoryAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
648
- new (...args: any[]): {
649
- unit?: __.Key<_.AssetUnit>;
650
- txHash?: __.Key<_.Blake2b256>;
651
- action?: string | null;
652
- quantity?: string | null;
653
- blockTime?: number | null;
654
- blockHeight?: number | null;
655
- };
656
- readonly kind: "entity" | "type" | "aspect";
657
- readonly keys: __.KeysOf<{
658
- unit?: __.Key<_.AssetUnit>;
659
- txHash?: __.Key<_.Blake2b256>;
660
- action?: string | null;
661
- quantity?: string | null;
662
- blockTime?: number | null;
663
- blockHeight?: number | null;
664
- }>;
665
- readonly elements: __.ElementsOf<{
666
- unit?: __.Key<_.AssetUnit>;
667
- txHash?: __.Key<_.Blake2b256>;
668
- action?: string | null;
669
- quantity?: string | null;
670
- blockTime?: number | null;
671
- blockHeight?: number | null;
672
- }>;
673
- readonly actions: globalThis.Record<never, never>;
674
- } & TBase;
675
- declare const AssetHistory_base: {
676
- new (...args: any[]): {
677
- unit?: __.Key<_.AssetUnit>;
678
- txHash?: __.Key<_.Blake2b256>;
679
- action?: string | null;
680
- quantity?: string | null;
681
- blockTime?: number | null;
682
- blockHeight?: number | null;
683
- };
684
- readonly kind: "entity" | "type" | "aspect";
685
- readonly keys: __.KeysOf<{
686
- unit?: __.Key<_.AssetUnit>;
687
- txHash?: __.Key<_.Blake2b256>;
688
- action?: string | null;
689
- quantity?: string | null;
690
- blockTime?: number | null;
691
- blockHeight?: number | null;
692
- }>;
693
- readonly elements: __.ElementsOf<{
694
- unit?: __.Key<_.AssetUnit>;
695
- txHash?: __.Key<_.Blake2b256>;
696
- action?: string | null;
697
- quantity?: string | null;
698
- blockTime?: number | null;
699
- blockHeight?: number | null;
700
- }>;
223
+ new (...args: any[]): {
224
+ unit?: __.Key<_.AssetUnit>
225
+ txHash?: __.Key<_.Blake2b256>
226
+ action?: string | null
227
+ quantity?: string | null
228
+ blockTime?: number | null
229
+ blockHeight?: number | null
230
+ } & InstanceType<TBase>
231
+ readonly kind: 'entity';
232
+ readonly keys: __.KeysOf<AssetHistory>;
233
+ readonly elements: __.ElementsOf<AssetHistory>;
701
234
  readonly actions: globalThis.Record<never, never>;
702
- } & typeof __.Entity;
703
- export declare class AssetHistory extends AssetHistory_base {
235
+ };
236
+ export class AssetHistory extends _AssetHistoryAspect(__.Entity) {
704
237
  }
705
- export declare class AssetHistory_ extends Array<AssetHistory> {
706
- $count?: number;
238
+ export class AssetHistory_ extends Array<AssetHistory> {
239
+ $count?: number
707
240
  }
241
+
242
+ // entity 'Transaction'
708
243
  export declare function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
709
- new (...args: any[]): {
710
- hash?: __.Key<_.Blake2b256>;
711
- blockHash?: _.Blake2b256 | null;
712
- blockHeight?: number | null;
713
- blockTime?: number | null;
714
- slot?: number | null;
715
- txIndex?: number | null;
716
- fee?: _.Lovelace | null;
717
- deposit?: _.Lovelace | null;
718
- size?: number | null;
719
- metadata?: __.Composition.of.many<TransactionMetadata_>;
720
- inputs?: __.Composition.of.many<TransactionInputs>;
721
- outputs?: __.Composition.of.many<TransactionOutputs>;
722
- hasMetadata?: boolean | null;
723
- hasInputs?: boolean | null;
724
- hasOutputs?: boolean | null;
725
- };
726
- readonly kind: "entity" | "type" | "aspect";
727
- readonly keys: __.KeysOf<{
728
- hash?: __.Key<_.Blake2b256>;
729
- blockHash?: _.Blake2b256 | null;
730
- blockHeight?: number | null;
731
- blockTime?: number | null;
732
- slot?: number | null;
733
- txIndex?: number | null;
734
- fee?: _.Lovelace | null;
735
- deposit?: _.Lovelace | null;
736
- size?: number | null;
737
- metadata?: __.Composition.of.many<TransactionMetadata_>;
738
- inputs?: __.Composition.of.many<TransactionInputs>;
739
- outputs?: __.Composition.of.many<TransactionOutputs>;
740
- hasMetadata?: boolean | null;
741
- hasInputs?: boolean | null;
742
- hasOutputs?: boolean | null;
743
- }>;
744
- readonly elements: __.ElementsOf<{
745
- hash?: __.Key<_.Blake2b256>;
746
- blockHash?: _.Blake2b256 | null;
747
- blockHeight?: number | null;
748
- blockTime?: number | null;
749
- slot?: number | null;
750
- txIndex?: number | null;
751
- fee?: _.Lovelace | null;
752
- deposit?: _.Lovelace | null;
753
- size?: number | null;
754
- metadata?: __.Composition.of.many<TransactionMetadata_>;
755
- inputs?: __.Composition.of.many<TransactionInputs>;
756
- outputs?: __.Composition.of.many<TransactionOutputs>;
757
- hasMetadata?: boolean | null;
758
- hasInputs?: boolean | null;
759
- hasOutputs?: boolean | null;
760
- }>;
244
+ new (...args: any[]): {
245
+ hash?: __.Key<_.Blake2b256>
246
+ blockHash?: _.Blake2b256 | null
247
+ blockHeight?: number | null
248
+ blockTime?: number | null
249
+ slot?: number | null
250
+ txIndex?: number | null
251
+ fee?: _.Lovelace | null
252
+ deposit?: _.Lovelace | null
253
+ size?: number | null
254
+ metadata?: __.Composition.of.many<TransactionMetadata_>
255
+ inputs?: __.Composition.of.many<TransactionInputs>
256
+ outputs?: __.Composition.of.many<TransactionOutputs>
257
+ hasMetadata?: boolean | null
258
+ hasInputs?: boolean | null
259
+ hasOutputs?: boolean | null
260
+ } & InstanceType<TBase>
261
+ readonly kind: 'entity';
262
+ readonly keys: __.KeysOf<Transaction>;
263
+ readonly elements: __.ElementsOf<Transaction>;
761
264
  readonly actions: globalThis.Record<never, never>;
762
- } & TBase;
763
- declare const Transaction_base: {
764
- new (...args: any[]): {
765
- hash?: __.Key<_.Blake2b256>;
766
- blockHash?: _.Blake2b256 | null;
767
- blockHeight?: number | null;
768
- blockTime?: number | null;
769
- slot?: number | null;
770
- txIndex?: number | null;
771
- fee?: _.Lovelace | null;
772
- deposit?: _.Lovelace | null;
773
- size?: number | null;
774
- metadata?: __.Composition.of.many<TransactionMetadata_>;
775
- inputs?: __.Composition.of.many<TransactionInputs>;
776
- outputs?: __.Composition.of.many<TransactionOutputs>;
777
- hasMetadata?: boolean | null;
778
- hasInputs?: boolean | null;
779
- hasOutputs?: boolean | null;
780
- };
781
- readonly kind: "entity" | "type" | "aspect";
782
- readonly keys: __.KeysOf<{
783
- hash?: __.Key<_.Blake2b256>;
784
- blockHash?: _.Blake2b256 | null;
785
- blockHeight?: number | null;
786
- blockTime?: number | null;
787
- slot?: number | null;
788
- txIndex?: number | null;
789
- fee?: _.Lovelace | null;
790
- deposit?: _.Lovelace | null;
791
- size?: number | null;
792
- metadata?: __.Composition.of.many<TransactionMetadata_>;
793
- inputs?: __.Composition.of.many<TransactionInputs>;
794
- outputs?: __.Composition.of.many<TransactionOutputs>;
795
- hasMetadata?: boolean | null;
796
- hasInputs?: boolean | null;
797
- hasOutputs?: boolean | null;
798
- }>;
799
- readonly elements: __.ElementsOf<{
800
- hash?: __.Key<_.Blake2b256>;
801
- blockHash?: _.Blake2b256 | null;
802
- blockHeight?: number | null;
803
- blockTime?: number | null;
804
- slot?: number | null;
805
- txIndex?: number | null;
806
- fee?: _.Lovelace | null;
807
- deposit?: _.Lovelace | null;
808
- size?: number | null;
809
- metadata?: __.Composition.of.many<TransactionMetadata_>;
810
- inputs?: __.Composition.of.many<TransactionInputs>;
811
- outputs?: __.Composition.of.many<TransactionOutputs>;
812
- hasMetadata?: boolean | null;
813
- hasInputs?: boolean | null;
814
- hasOutputs?: boolean | null;
815
- }>;
816
- readonly actions: globalThis.Record<never, never>;
817
- } & typeof __.Entity;
818
- export declare class Transaction extends Transaction_base {
265
+ };
266
+ export class Transaction extends _TransactionAspect(__.Entity) {
819
267
  }
820
- export declare class Transactions extends Array<Transaction> {
821
- $count?: number;
268
+ export class Transactions extends Array<Transaction> {
269
+ $count?: number
822
270
  }
271
+
272
+ // entity 'TransactionInput'
823
273
  export declare function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
824
- new (...args: any[]): {
825
- tx?: __.Key<__.Association.to<Transaction>>;
826
- tx_hash?: __.Key<_.Blake2b256>;
827
- inputIndex?: __.Key<number>;
828
- address?: __.Association.to<Address> | null;
829
- address_address?: _.Bech32 | null;
830
- utxoData_dataHash?: _.Blake2b256 | null;
831
- utxoData_inlineDatum?: string | null;
832
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
833
- isCollateral?: boolean | null;
834
- isReference?: boolean | null;
835
- assets?: __.Composition.of.many<TransactionInputAssets>;
836
- hasAddresses?: boolean | null;
837
- hasAssets?: boolean | null;
838
- };
839
- readonly kind: "entity" | "type" | "aspect";
840
- readonly keys: __.KeysOf<{
841
- tx?: __.Key<__.Association.to<Transaction>>;
842
- tx_hash?: __.Key<_.Blake2b256>;
843
- inputIndex?: __.Key<number>;
844
- address?: __.Association.to<Address> | null;
845
- address_address?: _.Bech32 | null;
846
- utxoData_dataHash?: _.Blake2b256 | null;
847
- utxoData_inlineDatum?: string | null;
848
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
849
- isCollateral?: boolean | null;
850
- isReference?: boolean | null;
851
- assets?: __.Composition.of.many<TransactionInputAssets>;
852
- hasAddresses?: boolean | null;
853
- hasAssets?: boolean | null;
854
- }>;
855
- readonly elements: __.ElementsOf<{
856
- tx?: __.Key<__.Association.to<Transaction>>;
857
- tx_hash?: __.Key<_.Blake2b256>;
858
- inputIndex?: __.Key<number>;
859
- address?: __.Association.to<Address> | null;
860
- address_address?: _.Bech32 | null;
861
- utxoData_dataHash?: _.Blake2b256 | null;
862
- utxoData_inlineDatum?: string | null;
863
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
864
- isCollateral?: boolean | null;
865
- isReference?: boolean | null;
866
- assets?: __.Composition.of.many<TransactionInputAssets>;
867
- hasAddresses?: boolean | null;
868
- hasAssets?: boolean | null;
869
- }>;
274
+ new (...args: any[]): {
275
+ tx?: __.Key<__.Association.to<Transaction>>
276
+ tx_hash?: __.Key<_.Blake2b256>
277
+ inputIndex?: __.Key<number>
278
+ address?: __.Association.to<Address> | null
279
+ address_address?: _.Bech32 | null
280
+ utxoData_dataHash?: _.Blake2b256 | null
281
+ utxoData_inlineDatum?: string | null
282
+ utxoData_referenceScriptHash?: _.Blake2b256 | null
283
+ isCollateral?: boolean | null
284
+ isReference?: boolean | null
285
+ assets?: __.Composition.of.many<TransactionInputAssets>
286
+ hasAddresses?: boolean | null
287
+ hasAssets?: boolean | null
288
+ } & InstanceType<TBase>
289
+ readonly kind: 'entity';
290
+ readonly keys: __.KeysOf<TransactionInput>;
291
+ readonly elements: __.ElementsOf<TransactionInput>;
870
292
  readonly actions: globalThis.Record<never, never>;
871
- } & TBase;
872
- declare const TransactionInput_base: {
873
- new (...args: any[]): {
874
- tx?: __.Key<__.Association.to<Transaction>>;
875
- tx_hash?: __.Key<_.Blake2b256>;
876
- inputIndex?: __.Key<number>;
877
- address?: __.Association.to<Address> | null;
878
- address_address?: _.Bech32 | null;
879
- utxoData_dataHash?: _.Blake2b256 | null;
880
- utxoData_inlineDatum?: string | null;
881
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
882
- isCollateral?: boolean | null;
883
- isReference?: boolean | null;
884
- assets?: __.Composition.of.many<TransactionInputAssets>;
885
- hasAddresses?: boolean | null;
886
- hasAssets?: boolean | null;
887
- };
888
- readonly kind: "entity" | "type" | "aspect";
889
- readonly keys: __.KeysOf<{
890
- tx?: __.Key<__.Association.to<Transaction>>;
891
- tx_hash?: __.Key<_.Blake2b256>;
892
- inputIndex?: __.Key<number>;
893
- address?: __.Association.to<Address> | null;
894
- address_address?: _.Bech32 | null;
895
- utxoData_dataHash?: _.Blake2b256 | null;
896
- utxoData_inlineDatum?: string | null;
897
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
898
- isCollateral?: boolean | null;
899
- isReference?: boolean | null;
900
- assets?: __.Composition.of.many<TransactionInputAssets>;
901
- hasAddresses?: boolean | null;
902
- hasAssets?: boolean | null;
903
- }>;
904
- readonly elements: __.ElementsOf<{
905
- tx?: __.Key<__.Association.to<Transaction>>;
906
- tx_hash?: __.Key<_.Blake2b256>;
907
- inputIndex?: __.Key<number>;
908
- address?: __.Association.to<Address> | null;
909
- address_address?: _.Bech32 | null;
910
- utxoData_dataHash?: _.Blake2b256 | null;
911
- utxoData_inlineDatum?: string | null;
912
- utxoData_referenceScriptHash?: _.Blake2b256 | null;
913
- isCollateral?: boolean | null;
914
- isReference?: boolean | null;
915
- assets?: __.Composition.of.many<TransactionInputAssets>;
916
- hasAddresses?: boolean | null;
917
- hasAssets?: boolean | null;
918
- }>;
919
- readonly actions: globalThis.Record<never, never>;
920
- } & typeof __.Entity;
921
- export declare class TransactionInput extends TransactionInput_base {
293
+ };
294
+ export class TransactionInput extends _TransactionInputAspect(__.Entity) {
922
295
  }
923
- export declare class TransactionInputs extends Array<TransactionInput> {
924
- $count?: number;
296
+ export class TransactionInputs extends Array<TransactionInput> {
297
+ $count?: number
925
298
  }
299
+
300
+ // entity 'TransactionOutput'
926
301
  export declare function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
927
- new (...args: any[]): {
928
- tx?: __.Key<__.Association.to<Transaction>>;
929
- tx_hash?: __.Key<_.Blake2b256>;
930
- outputIndex?: __.Key<number>;
931
- address?: __.Association.to<Address> | null;
932
- address_address?: _.Bech32 | null;
933
- utxo_dataHash?: _.Blake2b256 | null;
934
- utxo_inlineDatum?: string | null;
935
- utxo_referenceScriptHash?: _.Blake2b256 | null;
936
- assets?: __.Composition.of.many<TransactionOutputAssets>;
937
- hasAddresses?: boolean | null;
938
- hasAssets?: boolean | null;
939
- };
940
- readonly kind: "entity" | "type" | "aspect";
941
- readonly keys: __.KeysOf<{
942
- tx?: __.Key<__.Association.to<Transaction>>;
943
- tx_hash?: __.Key<_.Blake2b256>;
944
- outputIndex?: __.Key<number>;
945
- address?: __.Association.to<Address> | null;
946
- address_address?: _.Bech32 | null;
947
- utxo_dataHash?: _.Blake2b256 | null;
948
- utxo_inlineDatum?: string | null;
949
- utxo_referenceScriptHash?: _.Blake2b256 | null;
950
- assets?: __.Composition.of.many<TransactionOutputAssets>;
951
- hasAddresses?: boolean | null;
952
- hasAssets?: boolean | null;
953
- }>;
954
- readonly elements: __.ElementsOf<{
955
- tx?: __.Key<__.Association.to<Transaction>>;
956
- tx_hash?: __.Key<_.Blake2b256>;
957
- outputIndex?: __.Key<number>;
958
- address?: __.Association.to<Address> | null;
959
- address_address?: _.Bech32 | null;
960
- utxo_dataHash?: _.Blake2b256 | null;
961
- utxo_inlineDatum?: string | null;
962
- utxo_referenceScriptHash?: _.Blake2b256 | null;
963
- assets?: __.Composition.of.many<TransactionOutputAssets>;
964
- hasAddresses?: boolean | null;
965
- hasAssets?: boolean | null;
966
- }>;
302
+ new (...args: any[]): {
303
+ tx?: __.Key<__.Association.to<Transaction>>
304
+ tx_hash?: __.Key<_.Blake2b256>
305
+ outputIndex?: __.Key<number>
306
+ address?: __.Association.to<Address> | null
307
+ address_address?: _.Bech32 | null
308
+ utxo_dataHash?: _.Blake2b256 | null
309
+ utxo_inlineDatum?: string | null
310
+ utxo_referenceScriptHash?: _.Blake2b256 | null
311
+ assets?: __.Composition.of.many<TransactionOutputAssets>
312
+ hasAddresses?: boolean | null
313
+ hasAssets?: boolean | null
314
+ } & InstanceType<TBase>
315
+ readonly kind: 'entity';
316
+ readonly keys: __.KeysOf<TransactionOutput>;
317
+ readonly elements: __.ElementsOf<TransactionOutput>;
967
318
  readonly actions: globalThis.Record<never, never>;
968
- } & TBase;
969
- declare const TransactionOutput_base: {
970
- new (...args: any[]): {
971
- tx?: __.Key<__.Association.to<Transaction>>;
972
- tx_hash?: __.Key<_.Blake2b256>;
973
- outputIndex?: __.Key<number>;
974
- address?: __.Association.to<Address> | null;
975
- address_address?: _.Bech32 | null;
976
- utxo_dataHash?: _.Blake2b256 | null;
977
- utxo_inlineDatum?: string | null;
978
- utxo_referenceScriptHash?: _.Blake2b256 | null;
979
- assets?: __.Composition.of.many<TransactionOutputAssets>;
980
- hasAddresses?: boolean | null;
981
- hasAssets?: boolean | null;
982
- };
983
- readonly kind: "entity" | "type" | "aspect";
984
- readonly keys: __.KeysOf<{
985
- tx?: __.Key<__.Association.to<Transaction>>;
986
- tx_hash?: __.Key<_.Blake2b256>;
987
- outputIndex?: __.Key<number>;
988
- address?: __.Association.to<Address> | null;
989
- address_address?: _.Bech32 | null;
990
- utxo_dataHash?: _.Blake2b256 | null;
991
- utxo_inlineDatum?: string | null;
992
- utxo_referenceScriptHash?: _.Blake2b256 | null;
993
- assets?: __.Composition.of.many<TransactionOutputAssets>;
994
- hasAddresses?: boolean | null;
995
- hasAssets?: boolean | null;
996
- }>;
997
- readonly elements: __.ElementsOf<{
998
- tx?: __.Key<__.Association.to<Transaction>>;
999
- tx_hash?: __.Key<_.Blake2b256>;
1000
- outputIndex?: __.Key<number>;
1001
- address?: __.Association.to<Address> | null;
1002
- address_address?: _.Bech32 | null;
1003
- utxo_dataHash?: _.Blake2b256 | null;
1004
- utxo_inlineDatum?: string | null;
1005
- utxo_referenceScriptHash?: _.Blake2b256 | null;
1006
- assets?: __.Composition.of.many<TransactionOutputAssets>;
1007
- hasAddresses?: boolean | null;
1008
- hasAssets?: boolean | null;
1009
- }>;
1010
- readonly actions: globalThis.Record<never, never>;
1011
- } & typeof __.Entity;
1012
- export declare class TransactionOutput extends TransactionOutput_base {
319
+ };
320
+ export class TransactionOutput extends _TransactionOutputAspect(__.Entity) {
1013
321
  }
1014
- export declare class TransactionOutputs extends Array<TransactionOutput> {
1015
- $count?: number;
322
+ export class TransactionOutputs extends Array<TransactionOutput> {
323
+ $count?: number
1016
324
  }
325
+
326
+ // entity 'TransactionInputAsset'
1017
327
  export declare function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1018
- new (...args: any[]): {
1019
- input?: __.Key<__.Association.to<TransactionInput>>;
1020
- input_inputIndex?: __.Key<number>;
1021
- input_tx_hash?: __.Key<_.Blake2b256>;
1022
- unit?: __.Key<_.AssetUnit>;
1023
- asset_quantity?: _.Lovelace | null;
1024
- asset_policyId?: _.Blake2b224 | null;
1025
- asset_assetNameHex?: _.HexBytes | null;
1026
- asset_assetName?: string | null;
1027
- asset_fingerprint?: string | null;
1028
- };
1029
- readonly kind: "entity" | "type" | "aspect";
1030
- readonly keys: __.KeysOf<{
1031
- input?: __.Key<__.Association.to<TransactionInput>>;
1032
- input_inputIndex?: __.Key<number>;
1033
- input_tx_hash?: __.Key<_.Blake2b256>;
1034
- unit?: __.Key<_.AssetUnit>;
1035
- asset_quantity?: _.Lovelace | null;
1036
- asset_policyId?: _.Blake2b224 | null;
1037
- asset_assetNameHex?: _.HexBytes | null;
1038
- asset_assetName?: string | null;
1039
- asset_fingerprint?: string | null;
1040
- }>;
1041
- readonly elements: __.ElementsOf<{
1042
- input?: __.Key<__.Association.to<TransactionInput>>;
1043
- input_inputIndex?: __.Key<number>;
1044
- input_tx_hash?: __.Key<_.Blake2b256>;
1045
- unit?: __.Key<_.AssetUnit>;
1046
- asset_quantity?: _.Lovelace | null;
1047
- asset_policyId?: _.Blake2b224 | null;
1048
- asset_assetNameHex?: _.HexBytes | null;
1049
- asset_assetName?: string | null;
1050
- asset_fingerprint?: string | null;
1051
- }>;
328
+ new (...args: any[]): {
329
+ input?: __.Key<__.Association.to<TransactionInput>>
330
+ input_inputIndex?: __.Key<number>
331
+ input_tx_hash?: __.Key<_.Blake2b256>
332
+ unit?: __.Key<_.AssetUnit>
333
+ asset_quantity?: _.Lovelace | null
334
+ asset_policyId?: _.Blake2b224 | null
335
+ asset_assetNameHex?: _.HexBytes | null
336
+ asset_assetName?: string | null
337
+ asset_fingerprint?: string | null
338
+ } & InstanceType<TBase>
339
+ readonly kind: 'entity';
340
+ readonly keys: __.KeysOf<TransactionInputAsset>;
341
+ readonly elements: __.ElementsOf<TransactionInputAsset>;
1052
342
  readonly actions: globalThis.Record<never, never>;
1053
- } & TBase;
1054
- declare const TransactionInputAsset_base: {
1055
- new (...args: any[]): {
1056
- input?: __.Key<__.Association.to<TransactionInput>>;
1057
- input_inputIndex?: __.Key<number>;
1058
- input_tx_hash?: __.Key<_.Blake2b256>;
1059
- unit?: __.Key<_.AssetUnit>;
1060
- asset_quantity?: _.Lovelace | null;
1061
- asset_policyId?: _.Blake2b224 | null;
1062
- asset_assetNameHex?: _.HexBytes | null;
1063
- asset_assetName?: string | null;
1064
- asset_fingerprint?: string | null;
1065
- };
1066
- readonly kind: "entity" | "type" | "aspect";
1067
- readonly keys: __.KeysOf<{
1068
- input?: __.Key<__.Association.to<TransactionInput>>;
1069
- input_inputIndex?: __.Key<number>;
1070
- input_tx_hash?: __.Key<_.Blake2b256>;
1071
- unit?: __.Key<_.AssetUnit>;
1072
- asset_quantity?: _.Lovelace | null;
1073
- asset_policyId?: _.Blake2b224 | null;
1074
- asset_assetNameHex?: _.HexBytes | null;
1075
- asset_assetName?: string | null;
1076
- asset_fingerprint?: string | null;
1077
- }>;
1078
- readonly elements: __.ElementsOf<{
1079
- input?: __.Key<__.Association.to<TransactionInput>>;
1080
- input_inputIndex?: __.Key<number>;
1081
- input_tx_hash?: __.Key<_.Blake2b256>;
1082
- unit?: __.Key<_.AssetUnit>;
1083
- asset_quantity?: _.Lovelace | null;
1084
- asset_policyId?: _.Blake2b224 | null;
1085
- asset_assetNameHex?: _.HexBytes | null;
1086
- asset_assetName?: string | null;
1087
- asset_fingerprint?: string | null;
1088
- }>;
1089
- readonly actions: globalThis.Record<never, never>;
1090
- } & typeof __.Entity;
1091
- export declare class TransactionInputAsset extends TransactionInputAsset_base {
343
+ };
344
+ export class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {
1092
345
  }
1093
- export declare class TransactionInputAssets extends Array<TransactionInputAsset> {
1094
- $count?: number;
346
+ export class TransactionInputAssets extends Array<TransactionInputAsset> {
347
+ $count?: number
1095
348
  }
349
+
350
+ // entity 'TransactionOutputAsset'
1096
351
  export declare function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1097
- new (...args: any[]): {
1098
- output?: __.Key<__.Association.to<TransactionOutput>>;
1099
- output_outputIndex?: __.Key<number>;
1100
- output_tx_hash?: __.Key<_.Blake2b256>;
1101
- unit?: __.Key<_.AssetUnit>;
1102
- asset_quantity?: _.Lovelace | null;
1103
- asset_policyId?: _.Blake2b224 | null;
1104
- asset_assetNameHex?: _.HexBytes | null;
1105
- asset_assetName?: string | null;
1106
- asset_fingerprint?: string | null;
1107
- };
1108
- readonly kind: "entity" | "type" | "aspect";
1109
- readonly keys: __.KeysOf<{
1110
- output?: __.Key<__.Association.to<TransactionOutput>>;
1111
- output_outputIndex?: __.Key<number>;
1112
- output_tx_hash?: __.Key<_.Blake2b256>;
1113
- unit?: __.Key<_.AssetUnit>;
1114
- asset_quantity?: _.Lovelace | null;
1115
- asset_policyId?: _.Blake2b224 | null;
1116
- asset_assetNameHex?: _.HexBytes | null;
1117
- asset_assetName?: string | null;
1118
- asset_fingerprint?: string | null;
1119
- }>;
1120
- readonly elements: __.ElementsOf<{
1121
- output?: __.Key<__.Association.to<TransactionOutput>>;
1122
- output_outputIndex?: __.Key<number>;
1123
- output_tx_hash?: __.Key<_.Blake2b256>;
1124
- unit?: __.Key<_.AssetUnit>;
1125
- asset_quantity?: _.Lovelace | null;
1126
- asset_policyId?: _.Blake2b224 | null;
1127
- asset_assetNameHex?: _.HexBytes | null;
1128
- asset_assetName?: string | null;
1129
- asset_fingerprint?: string | null;
1130
- }>;
352
+ new (...args: any[]): {
353
+ output?: __.Key<__.Association.to<TransactionOutput>>
354
+ output_outputIndex?: __.Key<number>
355
+ output_tx_hash?: __.Key<_.Blake2b256>
356
+ unit?: __.Key<_.AssetUnit>
357
+ asset_quantity?: _.Lovelace | null
358
+ asset_policyId?: _.Blake2b224 | null
359
+ asset_assetNameHex?: _.HexBytes | null
360
+ asset_assetName?: string | null
361
+ asset_fingerprint?: string | null
362
+ } & InstanceType<TBase>
363
+ readonly kind: 'entity';
364
+ readonly keys: __.KeysOf<TransactionOutputAsset>;
365
+ readonly elements: __.ElementsOf<TransactionOutputAsset>;
1131
366
  readonly actions: globalThis.Record<never, never>;
1132
- } & TBase;
1133
- declare const TransactionOutputAsset_base: {
1134
- new (...args: any[]): {
1135
- output?: __.Key<__.Association.to<TransactionOutput>>;
1136
- output_outputIndex?: __.Key<number>;
1137
- output_tx_hash?: __.Key<_.Blake2b256>;
1138
- unit?: __.Key<_.AssetUnit>;
1139
- asset_quantity?: _.Lovelace | null;
1140
- asset_policyId?: _.Blake2b224 | null;
1141
- asset_assetNameHex?: _.HexBytes | null;
1142
- asset_assetName?: string | null;
1143
- asset_fingerprint?: string | null;
1144
- };
1145
- readonly kind: "entity" | "type" | "aspect";
1146
- readonly keys: __.KeysOf<{
1147
- output?: __.Key<__.Association.to<TransactionOutput>>;
1148
- output_outputIndex?: __.Key<number>;
1149
- output_tx_hash?: __.Key<_.Blake2b256>;
1150
- unit?: __.Key<_.AssetUnit>;
1151
- asset_quantity?: _.Lovelace | null;
1152
- asset_policyId?: _.Blake2b224 | null;
1153
- asset_assetNameHex?: _.HexBytes | null;
1154
- asset_assetName?: string | null;
1155
- asset_fingerprint?: string | null;
1156
- }>;
1157
- readonly elements: __.ElementsOf<{
1158
- output?: __.Key<__.Association.to<TransactionOutput>>;
1159
- output_outputIndex?: __.Key<number>;
1160
- output_tx_hash?: __.Key<_.Blake2b256>;
1161
- unit?: __.Key<_.AssetUnit>;
1162
- asset_quantity?: _.Lovelace | null;
1163
- asset_policyId?: _.Blake2b224 | null;
1164
- asset_assetNameHex?: _.HexBytes | null;
1165
- asset_assetName?: string | null;
1166
- asset_fingerprint?: string | null;
1167
- }>;
1168
- readonly actions: globalThis.Record<never, never>;
1169
- } & typeof __.Entity;
1170
- export declare class TransactionOutputAsset extends TransactionOutputAsset_base {
367
+ };
368
+ export class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {
1171
369
  }
1172
- export declare class TransactionOutputAssets extends Array<TransactionOutputAsset> {
1173
- $count?: number;
370
+ export class TransactionOutputAssets extends Array<TransactionOutputAsset> {
371
+ $count?: number
1174
372
  }
373
+
374
+ // entity 'Account'
1175
375
  export declare function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1176
- new (...args: any[]): {
1177
- validFrom?: __.CdsTimestamp | null;
1178
- validTo?: __.CdsTimestamp | null;
1179
- stakeAddress?: __.Key<_.Bech32>;
1180
- active?: boolean | null;
1181
- activeEpoch?: number | null;
1182
- controlledAmount?: _.Lovelace | null;
1183
- rewardsSum?: _.Lovelace | null;
1184
- withdrawalsSum?: _.Lovelace | null;
1185
- reservesSum?: _.Lovelace | null;
1186
- treasurySum?: _.Lovelace | null;
1187
- withdrawableAmount?: _.Lovelace | null;
1188
- poolId?: __.Association.to<Pool> | null;
1189
- poolId_poolId?: _.Bech32 | null;
1190
- drepId?: __.Association.to<Drep> | null;
1191
- drepId_drepId?: _.Bech32 | null;
1192
- Address?: __.Composition.of.many<Addresses>;
1193
- hasAddresses?: boolean | null;
1194
- };
1195
- readonly kind: "entity" | "type" | "aspect";
1196
- readonly keys: __.KeysOf<{
1197
- validFrom?: __.CdsTimestamp | null;
1198
- validTo?: __.CdsTimestamp | null;
1199
- stakeAddress?: __.Key<_.Bech32>;
1200
- active?: boolean | null;
1201
- activeEpoch?: number | null;
1202
- controlledAmount?: _.Lovelace | null;
1203
- rewardsSum?: _.Lovelace | null;
1204
- withdrawalsSum?: _.Lovelace | null;
1205
- reservesSum?: _.Lovelace | null;
1206
- treasurySum?: _.Lovelace | null;
1207
- withdrawableAmount?: _.Lovelace | null;
1208
- poolId?: __.Association.to<Pool> | null;
1209
- poolId_poolId?: _.Bech32 | null;
1210
- drepId?: __.Association.to<Drep> | null;
1211
- drepId_drepId?: _.Bech32 | null;
1212
- Address?: __.Composition.of.many<Addresses>;
1213
- hasAddresses?: boolean | null;
1214
- }>;
1215
- readonly elements: __.ElementsOf<{
1216
- validFrom?: __.CdsTimestamp | null;
1217
- validTo?: __.CdsTimestamp | null;
1218
- stakeAddress?: __.Key<_.Bech32>;
1219
- active?: boolean | null;
1220
- activeEpoch?: number | null;
1221
- controlledAmount?: _.Lovelace | null;
1222
- rewardsSum?: _.Lovelace | null;
1223
- withdrawalsSum?: _.Lovelace | null;
1224
- reservesSum?: _.Lovelace | null;
1225
- treasurySum?: _.Lovelace | null;
1226
- withdrawableAmount?: _.Lovelace | null;
1227
- poolId?: __.Association.to<Pool> | null;
1228
- poolId_poolId?: _.Bech32 | null;
1229
- drepId?: __.Association.to<Drep> | null;
1230
- drepId_drepId?: _.Bech32 | null;
1231
- Address?: __.Composition.of.many<Addresses>;
1232
- hasAddresses?: boolean | null;
1233
- }>;
376
+ new (...args: any[]): {
377
+ validFrom?: __.CdsTimestamp | null
378
+ validTo?: __.CdsTimestamp | null
379
+ stakeAddress?: __.Key<_.Bech32>
380
+ active?: boolean | null
381
+ activeEpoch?: number | null
382
+ controlledAmount?: _.Lovelace | null
383
+ rewardsSum?: _.Lovelace | null
384
+ withdrawalsSum?: _.Lovelace | null
385
+ reservesSum?: _.Lovelace | null
386
+ treasurySum?: _.Lovelace | null
387
+ withdrawableAmount?: _.Lovelace | null
388
+ poolId?: __.Association.to<Pool> | null
389
+ poolId_poolId?: _.Bech32 | null
390
+ drepId?: __.Association.to<Drep> | null
391
+ drepId_drepId?: _.Bech32 | null
392
+ Address?: __.Composition.of.many<Addresses>
393
+ hasAddresses?: boolean | null
394
+ } & InstanceType<TBase>
395
+ readonly kind: 'entity';
396
+ readonly keys: __.KeysOf<Account>;
397
+ readonly elements: __.ElementsOf<Account>;
1234
398
  readonly actions: globalThis.Record<never, never>;
1235
- } & TBase;
1236
- declare const Account_base: {
1237
- new (...args: any[]): {
1238
- validFrom?: __.CdsTimestamp | null;
1239
- validTo?: __.CdsTimestamp | null;
1240
- stakeAddress?: __.Key<_.Bech32>;
1241
- active?: boolean | null;
1242
- activeEpoch?: number | null;
1243
- controlledAmount?: _.Lovelace | null;
1244
- rewardsSum?: _.Lovelace | null;
1245
- withdrawalsSum?: _.Lovelace | null;
1246
- reservesSum?: _.Lovelace | null;
1247
- treasurySum?: _.Lovelace | null;
1248
- withdrawableAmount?: _.Lovelace | null;
1249
- poolId?: __.Association.to<Pool> | null;
1250
- poolId_poolId?: _.Bech32 | null;
1251
- drepId?: __.Association.to<Drep> | null;
1252
- drepId_drepId?: _.Bech32 | null;
1253
- Address?: __.Composition.of.many<Addresses>;
1254
- hasAddresses?: boolean | null;
1255
- };
1256
- readonly kind: "entity" | "type" | "aspect";
1257
- readonly keys: __.KeysOf<{
1258
- validFrom?: __.CdsTimestamp | null;
1259
- validTo?: __.CdsTimestamp | null;
1260
- stakeAddress?: __.Key<_.Bech32>;
1261
- active?: boolean | null;
1262
- activeEpoch?: number | null;
1263
- controlledAmount?: _.Lovelace | null;
1264
- rewardsSum?: _.Lovelace | null;
1265
- withdrawalsSum?: _.Lovelace | null;
1266
- reservesSum?: _.Lovelace | null;
1267
- treasurySum?: _.Lovelace | null;
1268
- withdrawableAmount?: _.Lovelace | null;
1269
- poolId?: __.Association.to<Pool> | null;
1270
- poolId_poolId?: _.Bech32 | null;
1271
- drepId?: __.Association.to<Drep> | null;
1272
- drepId_drepId?: _.Bech32 | null;
1273
- Address?: __.Composition.of.many<Addresses>;
1274
- hasAddresses?: boolean | null;
1275
- }>;
1276
- readonly elements: __.ElementsOf<{
1277
- validFrom?: __.CdsTimestamp | null;
1278
- validTo?: __.CdsTimestamp | null;
1279
- stakeAddress?: __.Key<_.Bech32>;
1280
- active?: boolean | null;
1281
- activeEpoch?: number | null;
1282
- controlledAmount?: _.Lovelace | null;
1283
- rewardsSum?: _.Lovelace | null;
1284
- withdrawalsSum?: _.Lovelace | null;
1285
- reservesSum?: _.Lovelace | null;
1286
- treasurySum?: _.Lovelace | null;
1287
- withdrawableAmount?: _.Lovelace | null;
1288
- poolId?: __.Association.to<Pool> | null;
1289
- poolId_poolId?: _.Bech32 | null;
1290
- drepId?: __.Association.to<Drep> | null;
1291
- drepId_drepId?: _.Bech32 | null;
1292
- Address?: __.Composition.of.many<Addresses>;
1293
- hasAddresses?: boolean | null;
1294
- }>;
1295
- readonly actions: globalThis.Record<never, never>;
1296
- } & typeof __.Entity;
1297
- export declare class Account extends Account_base {
399
+ };
400
+ export class Account extends _AccountAspect(__.Entity) {
1298
401
  }
1299
- export declare class Accounts extends Array<Account> {
1300
- $count?: number;
402
+ export class Accounts extends Array<Account> {
403
+ $count?: number
1301
404
  }
405
+
406
+ // entity 'Address'
1302
407
  export declare function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1303
- new (...args: any[]): {
1304
- validFrom?: __.CdsTimestamp | null;
1305
- validTo?: __.CdsTimestamp | null;
1306
- address?: __.Key<_.Bech32>;
1307
- stakeAddress?: _.Bech32 | null;
1308
- type?: string | null;
1309
- isScript?: boolean | null;
1310
- totalLovelace?: _.Lovelace | null;
1311
- utxoCount?: number | null;
1312
- transactions?: __.Composition.of.many<AddressTransactions>;
1313
- assets?: __.Composition.of.many<AddressAssets>;
1314
- utxos?: __.Composition.of.many<AddressUTxOs>;
1315
- hasTransactions?: boolean | null;
1316
- hasAssets?: boolean | null;
1317
- hasUTxOs?: boolean | null;
1318
- };
1319
- readonly kind: "entity" | "type" | "aspect";
1320
- readonly keys: __.KeysOf<{
1321
- validFrom?: __.CdsTimestamp | null;
1322
- validTo?: __.CdsTimestamp | null;
1323
- address?: __.Key<_.Bech32>;
1324
- stakeAddress?: _.Bech32 | null;
1325
- type?: string | null;
1326
- isScript?: boolean | null;
1327
- totalLovelace?: _.Lovelace | null;
1328
- utxoCount?: number | null;
1329
- transactions?: __.Composition.of.many<AddressTransactions>;
1330
- assets?: __.Composition.of.many<AddressAssets>;
1331
- utxos?: __.Composition.of.many<AddressUTxOs>;
1332
- hasTransactions?: boolean | null;
1333
- hasAssets?: boolean | null;
1334
- hasUTxOs?: boolean | null;
1335
- }>;
1336
- readonly elements: __.ElementsOf<{
1337
- validFrom?: __.CdsTimestamp | null;
1338
- validTo?: __.CdsTimestamp | null;
1339
- address?: __.Key<_.Bech32>;
1340
- stakeAddress?: _.Bech32 | null;
1341
- type?: string | null;
1342
- isScript?: boolean | null;
1343
- totalLovelace?: _.Lovelace | null;
1344
- utxoCount?: number | null;
1345
- transactions?: __.Composition.of.many<AddressTransactions>;
1346
- assets?: __.Composition.of.many<AddressAssets>;
1347
- utxos?: __.Composition.of.many<AddressUTxOs>;
1348
- hasTransactions?: boolean | null;
1349
- hasAssets?: boolean | null;
1350
- hasUTxOs?: boolean | null;
1351
- }>;
408
+ new (...args: any[]): {
409
+ validFrom?: __.CdsTimestamp | null
410
+ validTo?: __.CdsTimestamp | null
411
+ address?: __.Key<_.Bech32>
412
+ stakeAddress?: _.Bech32 | null
413
+ type?: string | null
414
+ isScript?: boolean | null
415
+ totalLovelace?: _.Lovelace | null
416
+ utxoCount?: number | null
417
+ transactions?: __.Composition.of.many<AddressTransactions>
418
+ assets?: __.Composition.of.many<AddressAssets>
419
+ utxos?: __.Composition.of.many<AddressUTxOs>
420
+ hasTransactions?: boolean | null
421
+ hasAssets?: boolean | null
422
+ hasUTxOs?: boolean | null
423
+ } & InstanceType<TBase>
424
+ readonly kind: 'entity';
425
+ readonly keys: __.KeysOf<Address>;
426
+ readonly elements: __.ElementsOf<Address>;
1352
427
  readonly actions: globalThis.Record<never, never>;
1353
- } & TBase;
1354
- declare const Address_base: {
1355
- new (...args: any[]): {
1356
- validFrom?: __.CdsTimestamp | null;
1357
- validTo?: __.CdsTimestamp | null;
1358
- address?: __.Key<_.Bech32>;
1359
- stakeAddress?: _.Bech32 | null;
1360
- type?: string | null;
1361
- isScript?: boolean | null;
1362
- totalLovelace?: _.Lovelace | null;
1363
- utxoCount?: number | null;
1364
- transactions?: __.Composition.of.many<AddressTransactions>;
1365
- assets?: __.Composition.of.many<AddressAssets>;
1366
- utxos?: __.Composition.of.many<AddressUTxOs>;
1367
- hasTransactions?: boolean | null;
1368
- hasAssets?: boolean | null;
1369
- hasUTxOs?: boolean | null;
1370
- };
1371
- readonly kind: "entity" | "type" | "aspect";
1372
- readonly keys: __.KeysOf<{
1373
- validFrom?: __.CdsTimestamp | null;
1374
- validTo?: __.CdsTimestamp | null;
1375
- address?: __.Key<_.Bech32>;
1376
- stakeAddress?: _.Bech32 | null;
1377
- type?: string | null;
1378
- isScript?: boolean | null;
1379
- totalLovelace?: _.Lovelace | null;
1380
- utxoCount?: number | null;
1381
- transactions?: __.Composition.of.many<AddressTransactions>;
1382
- assets?: __.Composition.of.many<AddressAssets>;
1383
- utxos?: __.Composition.of.many<AddressUTxOs>;
1384
- hasTransactions?: boolean | null;
1385
- hasAssets?: boolean | null;
1386
- hasUTxOs?: boolean | null;
1387
- }>;
1388
- readonly elements: __.ElementsOf<{
1389
- validFrom?: __.CdsTimestamp | null;
1390
- validTo?: __.CdsTimestamp | null;
1391
- address?: __.Key<_.Bech32>;
1392
- stakeAddress?: _.Bech32 | null;
1393
- type?: string | null;
1394
- isScript?: boolean | null;
1395
- totalLovelace?: _.Lovelace | null;
1396
- utxoCount?: number | null;
1397
- transactions?: __.Composition.of.many<AddressTransactions>;
1398
- assets?: __.Composition.of.many<AddressAssets>;
1399
- utxos?: __.Composition.of.many<AddressUTxOs>;
1400
- hasTransactions?: boolean | null;
1401
- hasAssets?: boolean | null;
1402
- hasUTxOs?: boolean | null;
1403
- }>;
1404
- readonly actions: globalThis.Record<never, never>;
1405
- } & typeof __.Entity;
1406
- export declare class Address extends Address_base {
428
+ };
429
+ export class Address extends _AddressAspect(__.Entity) {
1407
430
  }
1408
- export declare class Addresses extends Array<Address> {
1409
- $count?: number;
431
+ export class Addresses extends Array<Address> {
432
+ $count?: number
1410
433
  }
434
+
435
+ // entity 'AddressAsset'
1411
436
  export declare function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1412
- new (...args: any[]): {
1413
- validFrom?: __.CdsTimestamp | null;
1414
- validTo?: __.CdsTimestamp | null;
1415
- address?: __.Key<__.Association.to<Address>>;
1416
- address_address?: __.Key<_.Bech32>;
1417
- unit?: __.Key<_.AssetUnit>;
1418
- asset_quantity?: _.Lovelace | null;
1419
- asset_policyId?: _.Blake2b224 | null;
1420
- asset_assetNameHex?: _.HexBytes | null;
1421
- asset_assetName?: string | null;
1422
- asset_fingerprint?: string | null;
1423
- };
1424
- readonly kind: "entity" | "type" | "aspect";
1425
- readonly keys: __.KeysOf<{
1426
- validFrom?: __.CdsTimestamp | null;
1427
- validTo?: __.CdsTimestamp | null;
1428
- address?: __.Key<__.Association.to<Address>>;
1429
- address_address?: __.Key<_.Bech32>;
1430
- unit?: __.Key<_.AssetUnit>;
1431
- asset_quantity?: _.Lovelace | null;
1432
- asset_policyId?: _.Blake2b224 | null;
1433
- asset_assetNameHex?: _.HexBytes | null;
1434
- asset_assetName?: string | null;
1435
- asset_fingerprint?: string | null;
1436
- }>;
1437
- readonly elements: __.ElementsOf<{
1438
- validFrom?: __.CdsTimestamp | null;
1439
- validTo?: __.CdsTimestamp | null;
1440
- address?: __.Key<__.Association.to<Address>>;
1441
- address_address?: __.Key<_.Bech32>;
1442
- unit?: __.Key<_.AssetUnit>;
1443
- asset_quantity?: _.Lovelace | null;
1444
- asset_policyId?: _.Blake2b224 | null;
1445
- asset_assetNameHex?: _.HexBytes | null;
1446
- asset_assetName?: string | null;
1447
- asset_fingerprint?: string | null;
1448
- }>;
1449
- readonly actions: globalThis.Record<never, never>;
1450
- } & TBase;
1451
- declare const AddressAsset_base: {
1452
- new (...args: any[]): {
1453
- validFrom?: __.CdsTimestamp | null;
1454
- validTo?: __.CdsTimestamp | null;
1455
- address?: __.Key<__.Association.to<Address>>;
1456
- address_address?: __.Key<_.Bech32>;
1457
- unit?: __.Key<_.AssetUnit>;
1458
- asset_quantity?: _.Lovelace | null;
1459
- asset_policyId?: _.Blake2b224 | null;
1460
- asset_assetNameHex?: _.HexBytes | null;
1461
- asset_assetName?: string | null;
1462
- asset_fingerprint?: string | null;
1463
- };
1464
- readonly kind: "entity" | "type" | "aspect";
1465
- readonly keys: __.KeysOf<{
1466
- validFrom?: __.CdsTimestamp | null;
1467
- validTo?: __.CdsTimestamp | null;
1468
- address?: __.Key<__.Association.to<Address>>;
1469
- address_address?: __.Key<_.Bech32>;
1470
- unit?: __.Key<_.AssetUnit>;
1471
- asset_quantity?: _.Lovelace | null;
1472
- asset_policyId?: _.Blake2b224 | null;
1473
- asset_assetNameHex?: _.HexBytes | null;
1474
- asset_assetName?: string | null;
1475
- asset_fingerprint?: string | null;
1476
- }>;
1477
- readonly elements: __.ElementsOf<{
1478
- validFrom?: __.CdsTimestamp | null;
1479
- validTo?: __.CdsTimestamp | null;
1480
- address?: __.Key<__.Association.to<Address>>;
1481
- address_address?: __.Key<_.Bech32>;
1482
- unit?: __.Key<_.AssetUnit>;
1483
- asset_quantity?: _.Lovelace | null;
1484
- asset_policyId?: _.Blake2b224 | null;
1485
- asset_assetNameHex?: _.HexBytes | null;
1486
- asset_assetName?: string | null;
1487
- asset_fingerprint?: string | null;
1488
- }>;
437
+ new (...args: any[]): {
438
+ validFrom?: __.CdsTimestamp | null
439
+ validTo?: __.CdsTimestamp | null
440
+ address?: __.Key<__.Association.to<Address>>
441
+ address_address?: __.Key<_.Bech32>
442
+ unit?: __.Key<_.AssetUnit>
443
+ asset_quantity?: _.Lovelace | null
444
+ asset_policyId?: _.Blake2b224 | null
445
+ asset_assetNameHex?: _.HexBytes | null
446
+ asset_assetName?: string | null
447
+ asset_fingerprint?: string | null
448
+ } & InstanceType<TBase>
449
+ readonly kind: 'entity';
450
+ readonly keys: __.KeysOf<AddressAsset>;
451
+ readonly elements: __.ElementsOf<AddressAsset>;
1489
452
  readonly actions: globalThis.Record<never, never>;
1490
- } & typeof __.Entity;
1491
- export declare class AddressAsset extends AddressAsset_base {
453
+ };
454
+ export class AddressAsset extends _AddressAssetAspect(__.Entity) {
1492
455
  }
1493
- export declare class AddressAssets extends Array<AddressAsset> {
1494
- $count?: number;
456
+ export class AddressAssets extends Array<AddressAsset> {
457
+ $count?: number
1495
458
  }
459
+
460
+ // entity 'AddressUTxO'
1496
461
  export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1497
- new (...args: any[]): {
1498
- validFrom?: __.CdsTimestamp | null;
1499
- validTo?: __.CdsTimestamp | null;
1500
- address?: __.Key<__.Association.to<Address>>;
1501
- address_address?: __.Key<_.Bech32>;
1502
- hash?: __.Key<_.Blake2b256>;
1503
- index?: __.Key<number>;
1504
- blockHash?: _.Blake2b256 | null;
1505
- utxodata_dataHash?: _.Blake2b256 | null;
1506
- utxodata_inlineDatum?: string | null;
1507
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1508
- lovelace?: _.Lovelace | null;
1509
- assets?: __.Composition.of.many<UTxOAssets>;
1510
- hasAssets?: boolean | null;
1511
- };
1512
- readonly kind: "entity" | "type" | "aspect";
1513
- readonly keys: __.KeysOf<{
1514
- validFrom?: __.CdsTimestamp | null;
1515
- validTo?: __.CdsTimestamp | null;
1516
- address?: __.Key<__.Association.to<Address>>;
1517
- address_address?: __.Key<_.Bech32>;
1518
- hash?: __.Key<_.Blake2b256>;
1519
- index?: __.Key<number>;
1520
- blockHash?: _.Blake2b256 | null;
1521
- utxodata_dataHash?: _.Blake2b256 | null;
1522
- utxodata_inlineDatum?: string | null;
1523
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1524
- lovelace?: _.Lovelace | null;
1525
- assets?: __.Composition.of.many<UTxOAssets>;
1526
- hasAssets?: boolean | null;
1527
- }>;
1528
- readonly elements: __.ElementsOf<{
1529
- validFrom?: __.CdsTimestamp | null;
1530
- validTo?: __.CdsTimestamp | null;
1531
- address?: __.Key<__.Association.to<Address>>;
1532
- address_address?: __.Key<_.Bech32>;
1533
- hash?: __.Key<_.Blake2b256>;
1534
- index?: __.Key<number>;
1535
- blockHash?: _.Blake2b256 | null;
1536
- utxodata_dataHash?: _.Blake2b256 | null;
1537
- utxodata_inlineDatum?: string | null;
1538
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1539
- lovelace?: _.Lovelace | null;
1540
- assets?: __.Composition.of.many<UTxOAssets>;
1541
- hasAssets?: boolean | null;
1542
- }>;
1543
- readonly actions: globalThis.Record<never, never>;
1544
- } & TBase;
1545
- declare const AddressUTxO_base: {
1546
- new (...args: any[]): {
1547
- validFrom?: __.CdsTimestamp | null;
1548
- validTo?: __.CdsTimestamp | null;
1549
- address?: __.Key<__.Association.to<Address>>;
1550
- address_address?: __.Key<_.Bech32>;
1551
- hash?: __.Key<_.Blake2b256>;
1552
- index?: __.Key<number>;
1553
- blockHash?: _.Blake2b256 | null;
1554
- utxodata_dataHash?: _.Blake2b256 | null;
1555
- utxodata_inlineDatum?: string | null;
1556
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1557
- lovelace?: _.Lovelace | null;
1558
- assets?: __.Composition.of.many<UTxOAssets>;
1559
- hasAssets?: boolean | null;
1560
- };
1561
- readonly kind: "entity" | "type" | "aspect";
1562
- readonly keys: __.KeysOf<{
1563
- validFrom?: __.CdsTimestamp | null;
1564
- validTo?: __.CdsTimestamp | null;
1565
- address?: __.Key<__.Association.to<Address>>;
1566
- address_address?: __.Key<_.Bech32>;
1567
- hash?: __.Key<_.Blake2b256>;
1568
- index?: __.Key<number>;
1569
- blockHash?: _.Blake2b256 | null;
1570
- utxodata_dataHash?: _.Blake2b256 | null;
1571
- utxodata_inlineDatum?: string | null;
1572
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1573
- lovelace?: _.Lovelace | null;
1574
- assets?: __.Composition.of.many<UTxOAssets>;
1575
- hasAssets?: boolean | null;
1576
- }>;
1577
- readonly elements: __.ElementsOf<{
1578
- validFrom?: __.CdsTimestamp | null;
1579
- validTo?: __.CdsTimestamp | null;
1580
- address?: __.Key<__.Association.to<Address>>;
1581
- address_address?: __.Key<_.Bech32>;
1582
- hash?: __.Key<_.Blake2b256>;
1583
- index?: __.Key<number>;
1584
- blockHash?: _.Blake2b256 | null;
1585
- utxodata_dataHash?: _.Blake2b256 | null;
1586
- utxodata_inlineDatum?: string | null;
1587
- utxodata_referenceScriptHash?: _.Blake2b256 | null;
1588
- lovelace?: _.Lovelace | null;
1589
- assets?: __.Composition.of.many<UTxOAssets>;
1590
- hasAssets?: boolean | null;
1591
- }>;
462
+ new (...args: any[]): {
463
+ validFrom?: __.CdsTimestamp | null
464
+ validTo?: __.CdsTimestamp | null
465
+ address?: __.Key<__.Association.to<Address>>
466
+ address_address?: __.Key<_.Bech32>
467
+ hash?: __.Key<_.Blake2b256>
468
+ index?: __.Key<number>
469
+ blockHash?: _.Blake2b256 | null
470
+ utxodata_dataHash?: _.Blake2b256 | null
471
+ utxodata_inlineDatum?: string | null
472
+ utxodata_referenceScriptHash?: _.Blake2b256 | null
473
+ lovelace?: _.Lovelace | null
474
+ assets?: __.Composition.of.many<UTxOAssets>
475
+ hasAssets?: boolean | null
476
+ } & InstanceType<TBase>
477
+ readonly kind: 'entity';
478
+ readonly keys: __.KeysOf<AddressUTxO>;
479
+ readonly elements: __.ElementsOf<AddressUTxO>;
1592
480
  readonly actions: globalThis.Record<never, never>;
1593
- } & typeof __.Entity;
1594
- export declare class AddressUTxO extends AddressUTxO_base {
481
+ };
482
+ export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {
1595
483
  }
1596
- export declare class AddressUTxOs extends Array<AddressUTxO> {
1597
- $count?: number;
484
+ export class AddressUTxOs extends Array<AddressUTxO> {
485
+ $count?: number
1598
486
  }
487
+
488
+ // entity 'AddressTransaction'
1599
489
  export declare function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1600
- new (...args: any[]): {
1601
- address?: __.Key<__.Association.to<Address>>;
1602
- address_address?: __.Key<_.Bech32>;
1603
- tx?: __.Key<__.Association.to<Transaction>>;
1604
- tx_hash?: __.Key<_.Blake2b256>;
1605
- netAmount?: (number | string) | null;
1606
- blockTime?: number | null;
1607
- netAssets?: string | null;
1608
- hasAssets?: boolean | null;
1609
- };
1610
- readonly kind: "entity" | "type" | "aspect";
1611
- readonly keys: __.KeysOf<{
1612
- address?: __.Key<__.Association.to<Address>>;
1613
- address_address?: __.Key<_.Bech32>;
1614
- tx?: __.Key<__.Association.to<Transaction>>;
1615
- tx_hash?: __.Key<_.Blake2b256>;
1616
- netAmount?: (number | string) | null;
1617
- blockTime?: number | null;
1618
- netAssets?: string | null;
1619
- hasAssets?: boolean | null;
1620
- }>;
1621
- readonly elements: __.ElementsOf<{
1622
- address?: __.Key<__.Association.to<Address>>;
1623
- address_address?: __.Key<_.Bech32>;
1624
- tx?: __.Key<__.Association.to<Transaction>>;
1625
- tx_hash?: __.Key<_.Blake2b256>;
1626
- netAmount?: (number | string) | null;
1627
- blockTime?: number | null;
1628
- netAssets?: string | null;
1629
- hasAssets?: boolean | null;
1630
- }>;
1631
- readonly actions: globalThis.Record<never, never>;
1632
- } & TBase;
1633
- declare const AddressTransaction_base: {
1634
- new (...args: any[]): {
1635
- address?: __.Key<__.Association.to<Address>>;
1636
- address_address?: __.Key<_.Bech32>;
1637
- tx?: __.Key<__.Association.to<Transaction>>;
1638
- tx_hash?: __.Key<_.Blake2b256>;
1639
- netAmount?: (number | string) | null;
1640
- blockTime?: number | null;
1641
- netAssets?: string | null;
1642
- hasAssets?: boolean | null;
1643
- };
1644
- readonly kind: "entity" | "type" | "aspect";
1645
- readonly keys: __.KeysOf<{
1646
- address?: __.Key<__.Association.to<Address>>;
1647
- address_address?: __.Key<_.Bech32>;
1648
- tx?: __.Key<__.Association.to<Transaction>>;
1649
- tx_hash?: __.Key<_.Blake2b256>;
1650
- netAmount?: (number | string) | null;
1651
- blockTime?: number | null;
1652
- netAssets?: string | null;
1653
- hasAssets?: boolean | null;
1654
- }>;
1655
- readonly elements: __.ElementsOf<{
1656
- address?: __.Key<__.Association.to<Address>>;
1657
- address_address?: __.Key<_.Bech32>;
1658
- tx?: __.Key<__.Association.to<Transaction>>;
1659
- tx_hash?: __.Key<_.Blake2b256>;
1660
- netAmount?: (number | string) | null;
1661
- blockTime?: number | null;
1662
- netAssets?: string | null;
1663
- hasAssets?: boolean | null;
1664
- }>;
490
+ new (...args: any[]): {
491
+ address?: __.Key<__.Association.to<Address>>
492
+ address_address?: __.Key<_.Bech32>
493
+ tx?: __.Key<__.Association.to<Transaction>>
494
+ tx_hash?: __.Key<_.Blake2b256>
495
+ netAmount?: (number | string) | null
496
+ blockTime?: number | null
497
+ netAssets?: string | null
498
+ hasAssets?: boolean | null
499
+ } & InstanceType<TBase>
500
+ readonly kind: 'entity';
501
+ readonly keys: __.KeysOf<AddressTransaction>;
502
+ readonly elements: __.ElementsOf<AddressTransaction>;
1665
503
  readonly actions: globalThis.Record<never, never>;
1666
- } & typeof __.Entity;
1667
- export declare class AddressTransaction extends AddressTransaction_base {
504
+ };
505
+ export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {
1668
506
  }
1669
- export declare class AddressTransactions extends Array<AddressTransaction> {
1670
- $count?: number;
507
+ export class AddressTransactions extends Array<AddressTransaction> {
508
+ $count?: number
1671
509
  }
510
+
511
+ // entity 'UTxOAsset'
1672
512
  export declare function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1673
- new (...args: any[]): {
1674
- validFrom?: __.CdsTimestamp | null;
1675
- validTo?: __.CdsTimestamp | null;
1676
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1677
- utxo_hash?: __.Key<_.Blake2b256>;
1678
- utxo_index?: __.Key<number>;
1679
- utxo_address_address?: __.Key<_.Bech32>;
1680
- unit?: __.Key<_.AssetUnit>;
1681
- asset_quantity?: _.Lovelace | null;
1682
- asset_policyId?: _.Blake2b224 | null;
1683
- asset_assetNameHex?: _.HexBytes | null;
1684
- asset_assetName?: string | null;
1685
- asset_fingerprint?: string | null;
1686
- };
1687
- readonly kind: "entity" | "type" | "aspect";
1688
- readonly keys: __.KeysOf<{
1689
- validFrom?: __.CdsTimestamp | null;
1690
- validTo?: __.CdsTimestamp | null;
1691
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1692
- utxo_hash?: __.Key<_.Blake2b256>;
1693
- utxo_index?: __.Key<number>;
1694
- utxo_address_address?: __.Key<_.Bech32>;
1695
- unit?: __.Key<_.AssetUnit>;
1696
- asset_quantity?: _.Lovelace | null;
1697
- asset_policyId?: _.Blake2b224 | null;
1698
- asset_assetNameHex?: _.HexBytes | null;
1699
- asset_assetName?: string | null;
1700
- asset_fingerprint?: string | null;
1701
- }>;
1702
- readonly elements: __.ElementsOf<{
1703
- validFrom?: __.CdsTimestamp | null;
1704
- validTo?: __.CdsTimestamp | null;
1705
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1706
- utxo_hash?: __.Key<_.Blake2b256>;
1707
- utxo_index?: __.Key<number>;
1708
- utxo_address_address?: __.Key<_.Bech32>;
1709
- unit?: __.Key<_.AssetUnit>;
1710
- asset_quantity?: _.Lovelace | null;
1711
- asset_policyId?: _.Blake2b224 | null;
1712
- asset_assetNameHex?: _.HexBytes | null;
1713
- asset_assetName?: string | null;
1714
- asset_fingerprint?: string | null;
1715
- }>;
1716
- readonly actions: globalThis.Record<never, never>;
1717
- } & TBase;
1718
- declare const UTxOAsset_base: {
1719
- new (...args: any[]): {
1720
- validFrom?: __.CdsTimestamp | null;
1721
- validTo?: __.CdsTimestamp | null;
1722
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1723
- utxo_hash?: __.Key<_.Blake2b256>;
1724
- utxo_index?: __.Key<number>;
1725
- utxo_address_address?: __.Key<_.Bech32>;
1726
- unit?: __.Key<_.AssetUnit>;
1727
- asset_quantity?: _.Lovelace | null;
1728
- asset_policyId?: _.Blake2b224 | null;
1729
- asset_assetNameHex?: _.HexBytes | null;
1730
- asset_assetName?: string | null;
1731
- asset_fingerprint?: string | null;
1732
- };
1733
- readonly kind: "entity" | "type" | "aspect";
1734
- readonly keys: __.KeysOf<{
1735
- validFrom?: __.CdsTimestamp | null;
1736
- validTo?: __.CdsTimestamp | null;
1737
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1738
- utxo_hash?: __.Key<_.Blake2b256>;
1739
- utxo_index?: __.Key<number>;
1740
- utxo_address_address?: __.Key<_.Bech32>;
1741
- unit?: __.Key<_.AssetUnit>;
1742
- asset_quantity?: _.Lovelace | null;
1743
- asset_policyId?: _.Blake2b224 | null;
1744
- asset_assetNameHex?: _.HexBytes | null;
1745
- asset_assetName?: string | null;
1746
- asset_fingerprint?: string | null;
1747
- }>;
1748
- readonly elements: __.ElementsOf<{
1749
- validFrom?: __.CdsTimestamp | null;
1750
- validTo?: __.CdsTimestamp | null;
1751
- utxo?: __.Key<__.Association.to<AddressUTxO>>;
1752
- utxo_hash?: __.Key<_.Blake2b256>;
1753
- utxo_index?: __.Key<number>;
1754
- utxo_address_address?: __.Key<_.Bech32>;
1755
- unit?: __.Key<_.AssetUnit>;
1756
- asset_quantity?: _.Lovelace | null;
1757
- asset_policyId?: _.Blake2b224 | null;
1758
- asset_assetNameHex?: _.HexBytes | null;
1759
- asset_assetName?: string | null;
1760
- asset_fingerprint?: string | null;
1761
- }>;
513
+ new (...args: any[]): {
514
+ validFrom?: __.CdsTimestamp | null
515
+ validTo?: __.CdsTimestamp | null
516
+ utxo?: __.Key<__.Association.to<AddressUTxO>>
517
+ utxo_hash?: __.Key<_.Blake2b256>
518
+ utxo_index?: __.Key<number>
519
+ utxo_address_address?: __.Key<_.Bech32>
520
+ unit?: __.Key<_.AssetUnit>
521
+ asset_quantity?: _.Lovelace | null
522
+ asset_policyId?: _.Blake2b224 | null
523
+ asset_assetNameHex?: _.HexBytes | null
524
+ asset_assetName?: string | null
525
+ asset_fingerprint?: string | null
526
+ } & InstanceType<TBase>
527
+ readonly kind: 'entity';
528
+ readonly keys: __.KeysOf<UTxOAsset>;
529
+ readonly elements: __.ElementsOf<UTxOAsset>;
1762
530
  readonly actions: globalThis.Record<never, never>;
1763
- } & typeof __.Entity;
1764
- export declare class UTxOAsset extends UTxOAsset_base {
531
+ };
532
+ export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {
1765
533
  }
1766
- export declare class UTxOAssets extends Array<UTxOAsset> {
1767
- $count?: number;
534
+ export class UTxOAssets extends Array<UTxOAsset> {
535
+ $count?: number
1768
536
  }
537
+
538
+ // entity 'TransactionMetadata'
1769
539
  export declare function _TransactionMetadataAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1770
- new (...args: any[]): {
1771
- id?: __.Key<number>;
1772
- tx?: __.Key<__.Association.to<Transaction>>;
1773
- tx_hash?: __.Key<_.Blake2b256>;
1774
- label?: _.MetadataLabel | null;
1775
- payload?: string | null;
1776
- };
1777
- readonly kind: "entity" | "type" | "aspect";
1778
- readonly keys: __.KeysOf<{
1779
- id?: __.Key<number>;
1780
- tx?: __.Key<__.Association.to<Transaction>>;
1781
- tx_hash?: __.Key<_.Blake2b256>;
1782
- label?: _.MetadataLabel | null;
1783
- payload?: string | null;
1784
- }>;
1785
- readonly elements: __.ElementsOf<{
1786
- id?: __.Key<number>;
1787
- tx?: __.Key<__.Association.to<Transaction>>;
1788
- tx_hash?: __.Key<_.Blake2b256>;
1789
- label?: _.MetadataLabel | null;
1790
- payload?: string | null;
1791
- }>;
1792
- readonly actions: globalThis.Record<never, never>;
1793
- } & TBase;
1794
- declare const TransactionMetadata_base: {
1795
- new (...args: any[]): {
1796
- id?: __.Key<number>;
1797
- tx?: __.Key<__.Association.to<Transaction>>;
1798
- tx_hash?: __.Key<_.Blake2b256>;
1799
- label?: _.MetadataLabel | null;
1800
- payload?: string | null;
1801
- };
1802
- readonly kind: "entity" | "type" | "aspect";
1803
- readonly keys: __.KeysOf<{
1804
- id?: __.Key<number>;
1805
- tx?: __.Key<__.Association.to<Transaction>>;
1806
- tx_hash?: __.Key<_.Blake2b256>;
1807
- label?: _.MetadataLabel | null;
1808
- payload?: string | null;
1809
- }>;
1810
- readonly elements: __.ElementsOf<{
1811
- id?: __.Key<number>;
1812
- tx?: __.Key<__.Association.to<Transaction>>;
1813
- tx_hash?: __.Key<_.Blake2b256>;
1814
- label?: _.MetadataLabel | null;
1815
- payload?: string | null;
1816
- }>;
540
+ new (...args: any[]): {
541
+ id?: __.Key<number>
542
+ tx?: __.Key<__.Association.to<Transaction>>
543
+ tx_hash?: __.Key<_.Blake2b256>
544
+ label?: _.MetadataLabel | null
545
+ payload?: string | null
546
+ } & InstanceType<TBase>
547
+ readonly kind: 'entity';
548
+ readonly keys: __.KeysOf<TransactionMetadata>;
549
+ readonly elements: __.ElementsOf<TransactionMetadata>;
1817
550
  readonly actions: globalThis.Record<never, never>;
1818
- } & typeof __.Entity;
1819
- export declare class TransactionMetadata extends TransactionMetadata_base {
551
+ };
552
+ export class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {
1820
553
  }
1821
- export declare class TransactionMetadata_ extends Array<TransactionMetadata> {
1822
- $count?: number;
554
+ export class TransactionMetadata_ extends Array<TransactionMetadata> {
555
+ $count?: number
1823
556
  }
557
+
558
+ // entity 'LedgerProtocolParameter'
1824
559
  export declare function _LedgerProtocolParameterAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
1825
- new (...args: any[]): {
1826
- network?: __.Key<string>;
1827
- epoch?: __.Key<number>;
1828
- minFeeA?: number | null;
1829
- minFeeB?: number | null;
1830
- maxBlockSize?: number | null;
1831
- maxTxSize?: number | null;
1832
- maxBlockHeaderSize?: number | null;
1833
- keyDeposit?: string | null;
1834
- poolDeposit?: string | null;
1835
- eMax?: number | null;
1836
- nOpt?: number | null;
1837
- a0?: (number | string) | null;
1838
- rho?: (number | string) | null;
1839
- tau?: (number | string) | null;
1840
- minPoolCost?: string | null;
1841
- decentralisationParam?: (number | string) | null;
1842
- extraEntropy?: string | null;
1843
- protocolMajorVer?: number | null;
1844
- protocolMinorVer?: number | null;
1845
- minUtxo?: string | null;
1846
- nonce?: string | null;
1847
- costModels?: string | null;
1848
- priceMem?: (number | string) | null;
1849
- priceStep?: (number | string) | null;
1850
- maxTxExMem?: string | null;
1851
- maxTxExSteps?: string | null;
1852
- maxBlockExMem?: string | null;
1853
- maxBlockExSteps?: string | null;
1854
- maxValSize?: string | null;
1855
- collateralPercent?: number | null;
1856
- maxCollateralInputs?: number | null;
1857
- coinsPerUtxoSize?: string | null;
1858
- coinsPerUtxoWord?: string | null;
1859
- fetchedAt?: __.CdsTimestamp | null;
1860
- source?: string | null;
1861
- };
1862
- readonly kind: "entity" | "type" | "aspect";
1863
- readonly keys: __.KeysOf<{
1864
- network?: __.Key<string>;
1865
- epoch?: __.Key<number>;
1866
- minFeeA?: number | null;
1867
- minFeeB?: number | null;
1868
- maxBlockSize?: number | null;
1869
- maxTxSize?: number | null;
1870
- maxBlockHeaderSize?: number | null;
1871
- keyDeposit?: string | null;
1872
- poolDeposit?: string | null;
1873
- eMax?: number | null;
1874
- nOpt?: number | null;
1875
- a0?: (number | string) | null;
1876
- rho?: (number | string) | null;
1877
- tau?: (number | string) | null;
1878
- minPoolCost?: string | null;
1879
- decentralisationParam?: (number | string) | null;
1880
- extraEntropy?: string | null;
1881
- protocolMajorVer?: number | null;
1882
- protocolMinorVer?: number | null;
1883
- minUtxo?: string | null;
1884
- nonce?: string | null;
1885
- costModels?: string | null;
1886
- priceMem?: (number | string) | null;
1887
- priceStep?: (number | string) | null;
1888
- maxTxExMem?: string | null;
1889
- maxTxExSteps?: string | null;
1890
- maxBlockExMem?: string | null;
1891
- maxBlockExSteps?: string | null;
1892
- maxValSize?: string | null;
1893
- collateralPercent?: number | null;
1894
- maxCollateralInputs?: number | null;
1895
- coinsPerUtxoSize?: string | null;
1896
- coinsPerUtxoWord?: string | null;
1897
- fetchedAt?: __.CdsTimestamp | null;
1898
- source?: string | null;
1899
- }>;
1900
- readonly elements: __.ElementsOf<{
1901
- network?: __.Key<string>;
1902
- epoch?: __.Key<number>;
1903
- minFeeA?: number | null;
1904
- minFeeB?: number | null;
1905
- maxBlockSize?: number | null;
1906
- maxTxSize?: number | null;
1907
- maxBlockHeaderSize?: number | null;
1908
- keyDeposit?: string | null;
1909
- poolDeposit?: string | null;
1910
- eMax?: number | null;
1911
- nOpt?: number | null;
1912
- a0?: (number | string) | null;
1913
- rho?: (number | string) | null;
1914
- tau?: (number | string) | null;
1915
- minPoolCost?: string | null;
1916
- decentralisationParam?: (number | string) | null;
1917
- extraEntropy?: string | null;
1918
- protocolMajorVer?: number | null;
1919
- protocolMinorVer?: number | null;
1920
- minUtxo?: string | null;
1921
- nonce?: string | null;
1922
- costModels?: string | null;
1923
- priceMem?: (number | string) | null;
1924
- priceStep?: (number | string) | null;
1925
- maxTxExMem?: string | null;
1926
- maxTxExSteps?: string | null;
1927
- maxBlockExMem?: string | null;
1928
- maxBlockExSteps?: string | null;
1929
- maxValSize?: string | null;
1930
- collateralPercent?: number | null;
1931
- maxCollateralInputs?: number | null;
1932
- coinsPerUtxoSize?: string | null;
1933
- coinsPerUtxoWord?: string | null;
1934
- fetchedAt?: __.CdsTimestamp | null;
1935
- source?: string | null;
1936
- }>;
1937
- readonly actions: globalThis.Record<never, never>;
1938
- } & TBase;
1939
- declare const LedgerProtocolParameter_base: {
1940
- new (...args: any[]): {
1941
- network?: __.Key<string>;
1942
- epoch?: __.Key<number>;
1943
- minFeeA?: number | null;
1944
- minFeeB?: number | null;
1945
- maxBlockSize?: number | null;
1946
- maxTxSize?: number | null;
1947
- maxBlockHeaderSize?: number | null;
1948
- keyDeposit?: string | null;
1949
- poolDeposit?: string | null;
1950
- eMax?: number | null;
1951
- nOpt?: number | null;
1952
- a0?: (number | string) | null;
1953
- rho?: (number | string) | null;
1954
- tau?: (number | string) | null;
1955
- minPoolCost?: string | null;
1956
- decentralisationParam?: (number | string) | null;
1957
- extraEntropy?: string | null;
1958
- protocolMajorVer?: number | null;
1959
- protocolMinorVer?: number | null;
1960
- minUtxo?: string | null;
1961
- nonce?: string | null;
1962
- costModels?: string | null;
1963
- priceMem?: (number | string) | null;
1964
- priceStep?: (number | string) | null;
1965
- maxTxExMem?: string | null;
1966
- maxTxExSteps?: string | null;
1967
- maxBlockExMem?: string | null;
1968
- maxBlockExSteps?: string | null;
1969
- maxValSize?: string | null;
1970
- collateralPercent?: number | null;
1971
- maxCollateralInputs?: number | null;
1972
- coinsPerUtxoSize?: string | null;
1973
- coinsPerUtxoWord?: string | null;
1974
- fetchedAt?: __.CdsTimestamp | null;
1975
- source?: string | null;
1976
- };
1977
- readonly kind: "entity" | "type" | "aspect";
1978
- readonly keys: __.KeysOf<{
1979
- network?: __.Key<string>;
1980
- epoch?: __.Key<number>;
1981
- minFeeA?: number | null;
1982
- minFeeB?: number | null;
1983
- maxBlockSize?: number | null;
1984
- maxTxSize?: number | null;
1985
- maxBlockHeaderSize?: number | null;
1986
- keyDeposit?: string | null;
1987
- poolDeposit?: string | null;
1988
- eMax?: number | null;
1989
- nOpt?: number | null;
1990
- a0?: (number | string) | null;
1991
- rho?: (number | string) | null;
1992
- tau?: (number | string) | null;
1993
- minPoolCost?: string | null;
1994
- decentralisationParam?: (number | string) | null;
1995
- extraEntropy?: string | null;
1996
- protocolMajorVer?: number | null;
1997
- protocolMinorVer?: number | null;
1998
- minUtxo?: string | null;
1999
- nonce?: string | null;
2000
- costModels?: string | null;
2001
- priceMem?: (number | string) | null;
2002
- priceStep?: (number | string) | null;
2003
- maxTxExMem?: string | null;
2004
- maxTxExSteps?: string | null;
2005
- maxBlockExMem?: string | null;
2006
- maxBlockExSteps?: string | null;
2007
- maxValSize?: string | null;
2008
- collateralPercent?: number | null;
2009
- maxCollateralInputs?: number | null;
2010
- coinsPerUtxoSize?: string | null;
2011
- coinsPerUtxoWord?: string | null;
2012
- fetchedAt?: __.CdsTimestamp | null;
2013
- source?: string | null;
2014
- }>;
2015
- readonly elements: __.ElementsOf<{
2016
- network?: __.Key<string>;
2017
- epoch?: __.Key<number>;
2018
- minFeeA?: number | null;
2019
- minFeeB?: number | null;
2020
- maxBlockSize?: number | null;
2021
- maxTxSize?: number | null;
2022
- maxBlockHeaderSize?: number | null;
2023
- keyDeposit?: string | null;
2024
- poolDeposit?: string | null;
2025
- eMax?: number | null;
2026
- nOpt?: number | null;
2027
- a0?: (number | string) | null;
2028
- rho?: (number | string) | null;
2029
- tau?: (number | string) | null;
2030
- minPoolCost?: string | null;
2031
- decentralisationParam?: (number | string) | null;
2032
- extraEntropy?: string | null;
2033
- protocolMajorVer?: number | null;
2034
- protocolMinorVer?: number | null;
2035
- minUtxo?: string | null;
2036
- nonce?: string | null;
2037
- costModels?: string | null;
2038
- priceMem?: (number | string) | null;
2039
- priceStep?: (number | string) | null;
2040
- maxTxExMem?: string | null;
2041
- maxTxExSteps?: string | null;
2042
- maxBlockExMem?: string | null;
2043
- maxBlockExSteps?: string | null;
2044
- maxValSize?: string | null;
2045
- collateralPercent?: number | null;
2046
- maxCollateralInputs?: number | null;
2047
- coinsPerUtxoSize?: string | null;
2048
- coinsPerUtxoWord?: string | null;
2049
- fetchedAt?: __.CdsTimestamp | null;
2050
- source?: string | null;
2051
- }>;
560
+ new (...args: any[]): {
561
+ network?: __.Key<string>
562
+ epoch?: __.Key<number>
563
+ minFeeA?: number | null
564
+ minFeeB?: number | null
565
+ maxBlockSize?: number | null
566
+ maxTxSize?: number | null
567
+ maxBlockHeaderSize?: number | null
568
+ keyDeposit?: string | null
569
+ poolDeposit?: string | null
570
+ eMax?: number | null
571
+ nOpt?: number | null
572
+ a0?: (number | string) | null
573
+ rho?: (number | string) | null
574
+ tau?: (number | string) | null
575
+ minPoolCost?: string | null
576
+ decentralisationParam?: (number | string) | null
577
+ extraEntropy?: string | null
578
+ protocolMajorVer?: number | null
579
+ protocolMinorVer?: number | null
580
+ minUtxo?: string | null
581
+ nonce?: string | null
582
+ costModels?: string | null
583
+ priceMem?: (number | string) | null
584
+ priceStep?: (number | string) | null
585
+ maxTxExMem?: string | null
586
+ maxTxExSteps?: string | null
587
+ maxBlockExMem?: string | null
588
+ maxBlockExSteps?: string | null
589
+ maxValSize?: string | null
590
+ collateralPercent?: number | null
591
+ maxCollateralInputs?: number | null
592
+ coinsPerUtxoSize?: string | null
593
+ coinsPerUtxoWord?: string | null
594
+ fetchedAt?: __.CdsTimestamp | null
595
+ source?: string | null
596
+ } & InstanceType<TBase>
597
+ readonly kind: 'entity';
598
+ readonly keys: __.KeysOf<LedgerProtocolParameter>;
599
+ readonly elements: __.ElementsOf<LedgerProtocolParameter>;
2052
600
  readonly actions: globalThis.Record<never, never>;
2053
- } & typeof __.Entity;
2054
- export declare class LedgerProtocolParameter extends LedgerProtocolParameter_base {
2055
- }
2056
- export declare class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {
2057
- $count?: number;
2058
- }
2059
- export declare const GetNetworkInformation: {
2060
- (): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null;
2061
- ({}: globalThis.Record<never, never>): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null;
2062
- __parameters: globalThis.Record<never, never>;
2063
- __returns: globalThis.Promise<NetworkInformation | null> | NetworkInformation | null;
2064
- __self: never;
2065
- kind: 'action';
2066
- };
2067
- export declare const GetBlockByHash: {
2068
- (hash: _.Blake2b256 | null): globalThis.Promise<Block | null> | Block | null;
2069
- ({ hash }: {
2070
- hash?: _.Blake2b256 | null;
2071
- }): globalThis.Promise<Block | null> | Block | null;
2072
- __parameters: {
2073
- hash?: _.Blake2b256 | null;
2074
- };
2075
- __returns: globalThis.Promise<Block | null> | Block | null;
2076
- __self: never;
2077
- kind: 'action';
2078
- };
2079
- export declare const GetEpochByNumber: {
2080
- (epochNumber: number | null): globalThis.Promise<Epoch | null> | Epoch | null;
2081
- ({ epochNumber }: {
2082
- epochNumber?: number | null;
2083
- }): globalThis.Promise<Epoch | null> | Epoch | null;
2084
- __parameters: {
2085
- epochNumber?: number | null;
2086
- };
2087
- __returns: globalThis.Promise<Epoch | null> | Epoch | null;
2088
- __self: never;
2089
- kind: 'action';
2090
- };
2091
- export declare const GetPoolById: {
2092
- (poolId: string | null): globalThis.Promise<Pool | null> | Pool | null;
2093
- ({ poolId }: {
2094
- poolId?: string | null;
2095
- }): globalThis.Promise<Pool | null> | Pool | null;
2096
- __parameters: {
2097
- poolId?: string | null;
2098
- };
2099
- __returns: globalThis.Promise<Pool | null> | Pool | null;
2100
- __self: never;
2101
- kind: 'action';
2102
- };
2103
- export declare const GetDrepById: {
2104
- (drepId: string | null): globalThis.Promise<Drep | null> | Drep | null;
2105
- ({ drepId }: {
2106
- drepId?: string | null;
2107
- }): globalThis.Promise<Drep | null> | Drep | null;
2108
- __parameters: {
2109
- drepId?: string | null;
2110
- };
2111
- __returns: globalThis.Promise<Drep | null> | Drep | null;
2112
- __self: never;
2113
- kind: 'action';
2114
- };
2115
- export declare const GetAssetInfo: {
2116
- (unit: _.AssetUnit | null): globalThis.Promise<Asset | null> | Asset | null;
2117
- ({ unit }: {
2118
- unit?: _.AssetUnit | null;
2119
- }): globalThis.Promise<Asset | null> | Asset | null;
2120
- __parameters: {
2121
- unit?: _.AssetUnit | null;
2122
- };
2123
- __returns: globalThis.Promise<Asset | null> | Asset | null;
2124
- __self: never;
2125
- kind: 'action';
2126
- };
2127
- export declare const GetAssetHistory: {
2128
- (unit: _.AssetUnit | null, limit: number | null): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>;
2129
- ({ unit, limit }: {
2130
- unit?: _.AssetUnit | null;
2131
- limit?: number | null;
2132
- }): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>;
2133
- __parameters: {
2134
- unit?: _.AssetUnit | null;
2135
- limit?: number | null;
2136
- };
2137
- __returns: globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>;
2138
- __self: never;
2139
- kind: 'action';
2140
- };
2141
- export declare const GetAccountByStakeAddress: {
2142
- (stakeAddress: _.Bech32 | null): globalThis.Promise<Account | null> | Account | null;
2143
- ({ stakeAddress }: {
2144
- stakeAddress?: _.Bech32 | null;
2145
- }): globalThis.Promise<Account | null> | Account | null;
2146
- __parameters: {
2147
- stakeAddress?: _.Bech32 | null;
2148
- };
2149
- __returns: globalThis.Promise<Account | null> | Account | null;
2150
- __self: never;
2151
- kind: 'action';
2152
- };
2153
- export declare const GetTransactionByHash: {
2154
- (hash: _.Blake2b256 | null): globalThis.Promise<Transaction | null> | Transaction | null;
2155
- ({ hash }: {
2156
- hash?: _.Blake2b256 | null;
2157
- }): globalThis.Promise<Transaction | null> | Transaction | null;
2158
- __parameters: {
2159
- hash?: _.Blake2b256 | null;
2160
- };
2161
- __returns: globalThis.Promise<Transaction | null> | Transaction | null;
2162
- __self: never;
2163
- kind: 'action';
2164
- };
2165
- export declare const GetMetadataByTxHash: {
2166
- (txHash: _.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>;
2167
- ({ txHash }: {
2168
- txHash?: _.Blake2b256 | null;
2169
- }): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>;
2170
- __parameters: {
2171
- txHash?: _.Blake2b256 | null;
2172
- };
2173
- __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>;
2174
- __self: never;
2175
- kind: 'action';
2176
- };
2177
- export declare const GetAddressByBech32: {
2178
- (address: _.Bech32 | null): globalThis.Promise<Address | null> | Address | null;
2179
- ({ address }: {
2180
- address?: _.Bech32 | null;
2181
- }): globalThis.Promise<Address | null> | Address | null;
2182
- __parameters: {
2183
- address?: _.Bech32 | null;
2184
- };
2185
- __returns: globalThis.Promise<Address | null> | Address | null;
2186
- __self: never;
2187
- kind: 'action';
2188
- };
2189
- export declare const GetUTxOsByAddress: {
2190
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2191
- ({ address }: {
2192
- address?: _.Bech32 | null;
2193
- }): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2194
- __parameters: {
2195
- address?: _.Bech32 | null;
2196
- };
2197
- __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2198
- __self: never;
2199
- kind: 'action';
2200
- };
2201
- export declare const GetUTxOsByCredential: {
2202
- (credential: string | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2203
- ({ credential }: {
2204
- credential?: string | null;
2205
- }): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2206
- __parameters: {
2207
- credential?: string | null;
2208
- };
2209
- __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>;
2210
- __self: never;
2211
- kind: 'action';
2212
- };
2213
- export declare const GetAssetsByAddress: {
2214
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>;
2215
- ({ address }: {
2216
- address?: _.Bech32 | null;
2217
- }): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>;
2218
- __parameters: {
2219
- address?: _.Bech32 | null;
2220
- };
2221
- __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>;
2222
- __self: never;
2223
- kind: 'action';
2224
- };
2225
- export declare const GetLatestTransactionsByAddress: {
2226
- (address: _.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>;
2227
- ({ address, limit }: {
2228
- address?: _.Bech32 | null;
2229
- limit?: number | null;
2230
- }): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>;
2231
- __parameters: {
2232
- address?: _.Bech32 | null;
2233
- limit?: number | null;
2234
- };
2235
- __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>;
2236
- __self: never;
2237
- kind: 'action';
2238
- };
2239
- export declare const GetLatestBlock: {
2240
- (): globalThis.Promise<Block | null> | Block | null;
2241
- ({}: globalThis.Record<never, never>): globalThis.Promise<Block | null> | Block | null;
2242
- __parameters: globalThis.Record<never, never>;
2243
- __returns: globalThis.Promise<Block | null> | Block | null;
2244
- __self: never;
2245
- kind: 'action';
2246
- };
2247
- export declare const GetLatestEpoch: {
2248
- (): globalThis.Promise<Epoch | null> | Epoch | null;
2249
- ({}: globalThis.Record<never, never>): globalThis.Promise<Epoch | null> | Epoch | null;
2250
- __parameters: globalThis.Record<never, never>;
2251
- __returns: globalThis.Promise<Epoch | null> | Epoch | null;
2252
- __self: never;
2253
- kind: 'action';
2254
- };
2255
- export declare const GetLedgerProtocolParameters: {
2256
- (): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null;
2257
- ({}: globalThis.Record<never, never>): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null;
2258
- __parameters: globalThis.Record<never, never>;
2259
- __returns: globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null;
2260
- __self: never;
2261
- kind: 'action';
2262
- };
2263
- export declare const ParseTransactionCbor: {
2264
- (cbor: string | null): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null;
2265
- ({ cbor }: {
2266
- cbor?: string | null;
2267
- }): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null;
2268
- __parameters: {
2269
- cbor?: string | null;
2270
- };
2271
- __returns: globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null;
2272
- __self: never;
2273
- kind: 'action';
2274
601
  };
2275
- export {};
2276
- //# sourceMappingURL=index.d.ts.map
602
+ export class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {
603
+ }
604
+ export class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {
605
+ $count?: number
606
+ }
607
+
608
+
609
+ export declare const GetNetworkInformation: {
610
+ // positional
611
+ (): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
612
+ // named
613
+ ({}: globalThis.Record<never, never>): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
614
+ // metadata (do not use)
615
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<NetworkInformation | null> | NetworkInformation | null, __self: never
616
+ kind: 'action'
617
+ }
618
+
619
+ export declare const GetBlockByHash: {
620
+ // positional
621
+ (hash: _.Blake2b256 | null): globalThis.Promise<Block | null> | Block | null
622
+ // named
623
+ ({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Block | null> | Block | null
624
+ // metadata (do not use)
625
+ __parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
626
+ kind: 'action'
627
+ }
628
+
629
+ export declare const GetEpochByNumber: {
630
+ // positional
631
+ (epochNumber: number | null): globalThis.Promise<Epoch | null> | Epoch | null
632
+ // named
633
+ ({epochNumber}: {epochNumber?: number | null}): globalThis.Promise<Epoch | null> | Epoch | null
634
+ // metadata (do not use)
635
+ __parameters: {epochNumber?: number | null}, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
636
+ kind: 'action'
637
+ }
638
+
639
+ export declare const GetPoolById: {
640
+ // positional
641
+ (poolId: string | null): globalThis.Promise<Pool | null> | Pool | null
642
+ // named
643
+ ({poolId}: {poolId?: string | null}): globalThis.Promise<Pool | null> | Pool | null
644
+ // metadata (do not use)
645
+ __parameters: {poolId?: string | null}, __returns: globalThis.Promise<Pool | null> | Pool | null, __self: never
646
+ kind: 'action'
647
+ }
648
+
649
+ export declare const GetDrepById: {
650
+ // positional
651
+ (drepId: string | null): globalThis.Promise<Drep | null> | Drep | null
652
+ // named
653
+ ({drepId}: {drepId?: string | null}): globalThis.Promise<Drep | null> | Drep | null
654
+ // metadata (do not use)
655
+ __parameters: {drepId?: string | null}, __returns: globalThis.Promise<Drep | null> | Drep | null, __self: never
656
+ kind: 'action'
657
+ }
658
+
659
+ export declare const GetAssetInfo: {
660
+ // positional
661
+ (unit: _.AssetUnit | null): globalThis.Promise<Asset | null> | Asset | null
662
+ // named
663
+ ({unit}: {unit?: _.AssetUnit | null}): globalThis.Promise<Asset | null> | Asset | null
664
+ // metadata (do not use)
665
+ __parameters: {unit?: _.AssetUnit | null}, __returns: globalThis.Promise<Asset | null> | Asset | null, __self: never
666
+ kind: 'action'
667
+ }
668
+
669
+ export declare const GetAssetHistory: {
670
+ // positional
671
+ (unit: _.AssetUnit | null, limit: number | null): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
672
+ // named
673
+ ({unit, limit}: {unit?: _.AssetUnit | null, limit?: number | null}): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
674
+ // metadata (do not use)
675
+ __parameters: {unit?: _.AssetUnit | null, limit?: number | null}, __returns: globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>, __self: never
676
+ kind: 'action'
677
+ }
678
+
679
+ export declare const GetAccountByStakeAddress: {
680
+ // positional
681
+ (stakeAddress: _.Bech32 | null): globalThis.Promise<Account | null> | Account | null
682
+ // named
683
+ ({stakeAddress}: {stakeAddress?: _.Bech32 | null}): globalThis.Promise<Account | null> | Account | null
684
+ // metadata (do not use)
685
+ __parameters: {stakeAddress?: _.Bech32 | null}, __returns: globalThis.Promise<Account | null> | Account | null, __self: never
686
+ kind: 'action'
687
+ }
688
+
689
+ export declare const GetTransactionByHash: {
690
+ // positional
691
+ (hash: _.Blake2b256 | null): globalThis.Promise<Transaction | null> | Transaction | null
692
+ // named
693
+ ({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Transaction | null> | Transaction | null
694
+ // metadata (do not use)
695
+ __parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Transaction | null> | Transaction | null, __self: never
696
+ kind: 'action'
697
+ }
698
+
699
+ export declare const GetMetadataByTxHash: {
700
+ // positional
701
+ (txHash: _.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
702
+ // named
703
+ ({txHash}: {txHash?: _.Blake2b256 | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
704
+ // metadata (do not use)
705
+ __parameters: {txHash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
706
+ kind: 'action'
707
+ }
708
+
709
+ export declare const GetAddressByBech32: {
710
+ // positional
711
+ (address: _.Bech32 | null): globalThis.Promise<Address | null> | Address | null
712
+ // named
713
+ ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Address | null> | Address | null
714
+ // metadata (do not use)
715
+ __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Address | null> | Address | null, __self: never
716
+ kind: 'action'
717
+ }
718
+
719
+ export declare const GetUTxOsByAddress: {
720
+ // positional
721
+ (address: _.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
722
+ // named
723
+ ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
724
+ // metadata (do not use)
725
+ __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
726
+ kind: 'action'
727
+ }
728
+
729
+ export declare const GetUTxOsByCredential: {
730
+ // positional
731
+ (credential: string | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
732
+ // named
733
+ ({credential}: {credential?: string | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
734
+ // metadata (do not use)
735
+ __parameters: {credential?: string | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
736
+ kind: 'action'
737
+ }
738
+
739
+ export declare const GetAssetsByAddress: {
740
+ // positional
741
+ (address: _.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
742
+ // named
743
+ ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
744
+ // metadata (do not use)
745
+ __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
746
+ kind: 'action'
747
+ }
748
+
749
+ export declare const GetLatestTransactionsByAddress: {
750
+ // positional
751
+ (address: _.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
752
+ // named
753
+ ({address, limit}: {address?: _.Bech32 | null, limit?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
754
+ // metadata (do not use)
755
+ __parameters: {address?: _.Bech32 | null, limit?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
756
+ kind: 'action'
757
+ }
758
+
759
+ export declare const GetLatestBlock: {
760
+ // positional
761
+ (): globalThis.Promise<Block | null> | Block | null
762
+ // named
763
+ ({}: globalThis.Record<never, never>): globalThis.Promise<Block | null> | Block | null
764
+ // metadata (do not use)
765
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
766
+ kind: 'action'
767
+ }
768
+
769
+ export declare const GetLatestEpoch: {
770
+ // positional
771
+ (): globalThis.Promise<Epoch | null> | Epoch | null
772
+ // named
773
+ ({}: globalThis.Record<never, never>): globalThis.Promise<Epoch | null> | Epoch | null
774
+ // metadata (do not use)
775
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
776
+ kind: 'action'
777
+ }
778
+
779
+ export declare const GetLedgerProtocolParameters: {
780
+ // positional
781
+ (): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
782
+ // named
783
+ ({}: globalThis.Record<never, never>): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
784
+ // metadata (do not use)
785
+ __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null, __self: never
786
+ kind: 'action'
787
+ }
788
+
789
+ export declare const ParseTransactionCbor: {
790
+ // positional
791
+ (cbor: string | null): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null
792
+ // named
793
+ ({cbor}: {cbor?: string | null}): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null
794
+ // metadata (do not use)
795
+ __parameters: {cbor?: string | null}, __returns: globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null, __self: never
796
+ kind: 'action'
797
+ }