@odatano/core 1.11.0 → 2.0.0-rc.2

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 (111) 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 +36 -2
  21. package/db/schema.cds +283 -1
  22. package/db/types.cds +48 -0
  23. package/package.json +173 -164
  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/wallet-worker/build-request.d.ts +26 -0
  50. package/srv/blockchain/wallet-worker/build-request.js +341 -0
  51. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +86 -0
  52. package/srv/blockchain/wallet-worker/confirmation-tracker.js +228 -0
  53. package/srv/blockchain/wallet-worker/index.d.ts +14 -0
  54. package/srv/blockchain/wallet-worker/index.js +80 -0
  55. package/srv/blockchain/wallet-worker/job-store.d.ts +261 -0
  56. package/srv/blockchain/wallet-worker/job-store.js +564 -0
  57. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +43 -0
  58. package/srv/blockchain/wallet-worker/lease-heartbeat.js +99 -0
  59. package/srv/blockchain/wallet-worker/signers.d.ts +57 -0
  60. package/srv/blockchain/wallet-worker/signers.js +131 -0
  61. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +145 -0
  62. package/srv/blockchain/wallet-worker/wallet-worker.js +542 -0
  63. package/srv/cardano-indexer-service.cds +73 -0
  64. package/srv/cardano-indexer-service.d.ts +2 -0
  65. package/srv/cardano-indexer-service.js +76 -0
  66. package/srv/cardano-service.js +76 -5
  67. package/srv/cardano-tx-service.d.ts +1 -11
  68. package/srv/cardano-tx-service.js +11 -162
  69. package/srv/cardano-worker-service.cds +125 -0
  70. package/srv/cardano-worker-service.d.ts +2 -0
  71. package/srv/cardano-worker-service.js +199 -0
  72. package/srv/server.d.ts +32 -1
  73. package/srv/server.js +229 -36
  74. package/srv/utils/collections.d.ts +13 -0
  75. package/srv/utils/collections.js +24 -0
  76. package/srv/utils/crypto.d.ts +16 -0
  77. package/srv/utils/crypto.js +75 -0
  78. package/srv/utils/error-codes.d.ts +6 -0
  79. package/srv/utils/error-codes.js +6 -0
  80. package/srv/utils/errors.d.ts +12 -0
  81. package/srv/utils/errors.js +45 -0
  82. package/srv/utils/mappers.js +13 -3
  83. package/srv/utils/service-events.d.ts +26 -0
  84. package/srv/utils/service-events.js +46 -0
  85. package/srv/utils/tx-request-parsers.d.ts +58 -0
  86. package/srv/utils/tx-request-parsers.js +170 -0
  87. package/srv/utils/tx-utils.d.ts +2 -1
  88. package/srv/utils/tx-utils.js +3 -2
  89. package/srv/utils/types.d.ts +2 -1
  90. package/@cds-models/CardanoODataService/index.d.ts.map +0 -1
  91. package/@cds-models/CardanoODataService/index.js.map +0 -1
  92. package/@cds-models/CardanoODataService/index.ts +0 -776
  93. package/@cds-models/CardanoSignService/index.d.ts.map +0 -1
  94. package/@cds-models/CardanoSignService/index.js.map +0 -1
  95. package/@cds-models/CardanoSignService/index.ts +0 -569
  96. package/@cds-models/CardanoTransactionService/index.d.ts.map +0 -1
  97. package/@cds-models/CardanoTransactionService/index.js.map +0 -1
  98. package/@cds-models/CardanoTransactionService/index.ts +0 -526
  99. package/@cds-models/_/index.d.ts.map +0 -1
  100. package/@cds-models/_/index.js.map +0 -1
  101. package/@cds-models/_/index.ts +0 -96
  102. package/@cds-models/cds/outbox/index.ts +0 -27
  103. package/@cds-models/index.d.ts.map +0 -1
  104. package/@cds-models/index.js.map +0 -1
  105. package/@cds-models/index.ts +0 -245
  106. package/@cds-models/odatano/cardano/index.d.ts.map +0 -1
  107. package/@cds-models/odatano/cardano/index.js.map +0 -1
  108. package/@cds-models/odatano/cardano/index.ts +0 -789
  109. package/@cds-models/sap/common/index.d.ts.map +0 -1
  110. package/@cds-models/sap/common/index.js.map +0 -1
  111. package/@cds-models/sap/common/index.ts +0 -249
@@ -1,776 +0,0 @@
1
- // This is an automatically generated file. Please do not change its contents manually!
2
- import * as _ from './..';
3
- import * as __ from './../_';
4
-
5
- /**
6
- * Cardano OData Service
7
- *
8
- * Handles external read-only queries for Cardano blockchain data, including:
9
- * - Retrieving network information, blocks, epochs, pools, dreps, transactions, accounts, addresses, UTxOs, assets, and metadata
10
- * - Providing actions for fetching specific data by identifiers (hashes, addresses, etc.) and for retrieving the latest blockchain state (latest block, epoch, protocol parameters)
11
- *
12
- * ## Security: Authentication & Authorization
13
- *
14
- * All services use `@requires: 'authenticated-user'` (service-level gate).
15
- * The XSUAA scopes defined in xs-security.json (Read, Transact, Sign) are available
16
- * for consumer-level role assignment but are NOT enforced per-action in ODATANO itself.
17
- *
18
- * This is intentional — ODATANO is a blockchain bridge, not a multi-tenant application.
19
- * Per-resource ownership checks (IDOR prevention) are deliberately omitted because:
20
- *
21
- * 1. **Blockchain security model**: Unsigned transaction CBOR is not exploitable without
22
- * the corresponding private key. Viewing a build/signing request does not enable
23
- * fund theft — only the key holder can sign and submit.
24
- *
25
- * 2. **Cross-address operations are legitimate**: Smart contract interactions routinely
26
- * require building transactions for addresses the caller does not own — e.g. script
27
- * redemptions, multi-party Plutus workflows, or DApp backends building on behalf of users.
28
- * Enforcing sender == authenticated user would break these use cases.
29
- *
30
- * 3. **Consumer responsibility**: Consumers deploying ODATANO in multi-user environments
31
- * should add their own authorization layer (e.g. `@restrict` annotations, custom
32
- * middleware) that maps JWT claims to allowed wallet addresses if needed.
33
- */
34
- export default class {
35
- declare static readonly GetNetworkInformation: typeof GetNetworkInformation;
36
- declare static readonly GetBlockByHash: typeof GetBlockByHash;
37
- declare static readonly GetEpochByNumber: typeof GetEpochByNumber;
38
- declare static readonly GetPoolById: typeof GetPoolById;
39
- declare static readonly GetDrepById: typeof GetDrepById;
40
- declare static readonly GetAssetInfo: typeof GetAssetInfo;
41
- declare static readonly GetAssetHistory: typeof GetAssetHistory;
42
- declare static readonly GetAccountByStakeAddress: typeof GetAccountByStakeAddress;
43
- declare static readonly GetTransactionByHash: typeof GetTransactionByHash;
44
- declare static readonly GetMetadataByTxHash: typeof GetMetadataByTxHash;
45
- declare static readonly GetAddressByBech32: typeof GetAddressByBech32;
46
- declare static readonly GetUTxOsByAddress: typeof GetUTxOsByAddress;
47
- declare static readonly GetUTxOsByCredential: typeof GetUTxOsByCredential;
48
- declare static readonly GetAssetsByAddress: typeof GetAssetsByAddress;
49
- declare static readonly GetLatestTransactionsByAddress: typeof GetLatestTransactionsByAddress;
50
- declare static readonly GetLatestBlock: typeof GetLatestBlock;
51
- declare static readonly GetLatestEpoch: typeof GetLatestEpoch;
52
- declare static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
53
- declare static readonly ParseTransactionCbor: typeof ParseTransactionCbor;
54
- }
55
-
56
- export function _NetworkInformationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
57
- return class NetworkInformation extends Base {
58
- declare validFrom?: __.CdsTimestamp | null
59
- declare validTo?: __.CdsTimestamp | null
60
- declare network?: __.Key<string>
61
- declare maxSupply?: _.Lovelace | null
62
- declare totalSupply?: _.Lovelace | null
63
- declare circulatingSupply?: _.Lovelace | null
64
- declare lockedSupply?: _.Lovelace | null
65
- declare treasurySupply?: _.Lovelace | null
66
- declare reservesSupply?: _.Lovelace | null
67
- declare liveStake?: _.Lovelace | null
68
- declare activeStake?: _.Lovelace | null
69
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
70
- declare static readonly keys: __.KeysOf<NetworkInformation>;
71
- declare static readonly elements: __.ElementsOf<NetworkInformation>;
72
- declare static readonly actions: globalThis.Record<never, never>;
73
- };
74
- }
75
- export class NetworkInformation extends _NetworkInformationAspect(__.Entity) {}
76
- Object.defineProperty(NetworkInformation, 'name', { value: 'CardanoODataService.NetworkInformation' })
77
- Object.defineProperty(NetworkInformation, 'is_singular', { value: true })
78
- export class NetworkInformation_ extends Array<NetworkInformation> {$count?: number}
79
- Object.defineProperty(NetworkInformation_, 'name', { value: 'CardanoODataService.NetworkInformation' })
80
-
81
- export function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
82
- return class Block extends Base {
83
- declare hash?: __.Key<string>
84
- declare time?: string | null
85
- declare height?: number | null
86
- declare slotLeader?: string | null
87
- declare epochNumber?: number | null
88
- declare epoch?: __.Association.to<Epoch> | null
89
- declare epochSlot?: number | null
90
- declare size?: number | null
91
- declare txCount?: number | null
92
- declare fees?: _.Lovelace | null
93
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
94
- declare static readonly keys: __.KeysOf<Block>;
95
- declare static readonly elements: __.ElementsOf<Block>;
96
- declare static readonly actions: globalThis.Record<never, never>;
97
- };
98
- }
99
- export class Block extends _BlockAspect(__.Entity) {}
100
- Object.defineProperty(Block, 'name', { value: 'CardanoODataService.Blocks' })
101
- Object.defineProperty(Block, 'is_singular', { value: true })
102
- export class Blocks extends Array<Block> {$count?: number}
103
- Object.defineProperty(Blocks, 'name', { value: 'CardanoODataService.Blocks' })
104
-
105
- export function _EpochAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
106
- return class Epoch extends Base {
107
- declare epoch?: __.Key<number>
108
- declare startTime?: number | null
109
- declare endTime?: number | null
110
- declare firstBlockTime?: number | null
111
- declare lastBlockTime?: number | null
112
- declare blockCount?: number | null
113
- declare txCount?: number | null
114
- declare output?: string | null
115
- declare fees?: _.Lovelace | null
116
- declare activeStake?: _.Lovelace | null
117
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
118
- declare static readonly keys: __.KeysOf<Epoch>;
119
- declare static readonly elements: __.ElementsOf<Epoch>;
120
- declare static readonly actions: globalThis.Record<never, never>;
121
- };
122
- }
123
- export class Epoch extends _EpochAspect(__.Entity) {}
124
- Object.defineProperty(Epoch, 'name', { value: 'CardanoODataService.Epochs' })
125
- Object.defineProperty(Epoch, 'is_singular', { value: true })
126
- export class Epochs extends Array<Epoch> {$count?: number}
127
- Object.defineProperty(Epochs, 'name', { value: 'CardanoODataService.Epochs' })
128
-
129
- export function _PoolAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
130
- return class Pool extends Base {
131
- declare validFrom?: __.CdsTimestamp | null
132
- declare validTo?: __.CdsTimestamp | null
133
- declare poolId?: __.Key<_.Bech32>
134
- declare vrfKeyHash?: string | null
135
- declare blocksMinted?: number | null
136
- declare blocksEpoch?: number | null
137
- declare liveStake?: _.Lovelace | null
138
- declare liveSize?: (number | string) | null
139
- declare liveSaturation?: (number | string) | null
140
- declare liveDelegators?: number | null
141
- declare activeStake?: _.Lovelace | null
142
- declare activeSize?: (number | string) | null
143
- declare pledge?: _.Lovelace | null
144
- declare margin?: (number | string) | null
145
- declare fixedCost?: _.Lovelace | null
146
- declare rewardAccount?: string | null
147
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
148
- declare static readonly keys: __.KeysOf<Pool>;
149
- declare static readonly elements: __.ElementsOf<Pool>;
150
- declare static readonly actions: globalThis.Record<never, never>;
151
- };
152
- }
153
- export class Pool extends _PoolAspect(__.Entity) {}
154
- Object.defineProperty(Pool, 'name', { value: 'CardanoODataService.Pools' })
155
- Object.defineProperty(Pool, 'is_singular', { value: true })
156
- export class Pools extends Array<Pool> {$count?: number}
157
- Object.defineProperty(Pools, 'name', { value: 'CardanoODataService.Pools' })
158
-
159
- export function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
160
- return class Drep extends Base {
161
- declare validFrom?: __.CdsTimestamp | null
162
- declare validTo?: __.CdsTimestamp | null
163
- declare drepId?: __.Key<_.Bech32>
164
- declare hex?: string | null
165
- declare amount?: _.Lovelace | null
166
- declare hasScript?: boolean | null
167
- declare lastActiveEpoch?: number | null
168
- declare retired?: boolean | null
169
- declare expired?: boolean | null
170
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
171
- declare static readonly keys: __.KeysOf<Drep>;
172
- declare static readonly elements: __.ElementsOf<Drep>;
173
- declare static readonly actions: globalThis.Record<never, never>;
174
- };
175
- }
176
- export class Drep extends _DrepAspect(__.Entity) {}
177
- Object.defineProperty(Drep, 'name', { value: 'CardanoODataService.Dreps' })
178
- Object.defineProperty(Drep, 'is_singular', { value: true })
179
- export class Dreps extends Array<Drep> {$count?: number}
180
- Object.defineProperty(Dreps, 'name', { value: 'CardanoODataService.Dreps' })
181
-
182
- export function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
183
- return class Asset extends Base {
184
- declare validFrom?: __.CdsTimestamp | null
185
- declare validTo?: __.CdsTimestamp | null
186
- declare unit?: __.Key<_.AssetUnit>
187
- declare policyId?: _.Blake2b224 | null
188
- declare assetNameHex?: string | null
189
- declare assetName?: string | null
190
- declare fingerprint?: string | null
191
- declare totalSupply?: string | null
192
- declare mintOrBurnCount?: number | null
193
- declare initialMintTxHash?: _.Blake2b256 | null
194
- declare initialMintTime?: number | null
195
- declare onchainMetadata?: string | null
196
- declare registryName?: string | null
197
- declare registryTicker?: string | null
198
- declare registryDecimals?: number | null
199
- declare registryDescription?: string | null
200
- declare registryUrl?: string | null
201
- declare registryLogo?: string | null
202
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
203
- declare static readonly keys: __.KeysOf<Asset>;
204
- declare static readonly elements: __.ElementsOf<Asset>;
205
- declare static readonly actions: globalThis.Record<never, never>;
206
- };
207
- }
208
- export class Asset extends _AssetAspect(__.Entity) {}
209
- Object.defineProperty(Asset, 'name', { value: 'CardanoODataService.Assets' })
210
- Object.defineProperty(Asset, 'is_singular', { value: true })
211
- export class Assets extends Array<Asset> {$count?: number}
212
- Object.defineProperty(Assets, 'name', { value: 'CardanoODataService.Assets' })
213
-
214
- export function _AssetHistoryAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
215
- return class AssetHistory extends Base {
216
- declare unit?: __.Key<_.AssetUnit>
217
- declare txHash?: __.Key<_.Blake2b256>
218
- declare action?: string | null
219
- declare quantity?: string | null
220
- declare blockTime?: number | null
221
- declare blockHeight?: number | null
222
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
223
- declare static readonly keys: __.KeysOf<AssetHistory>;
224
- declare static readonly elements: __.ElementsOf<AssetHistory>;
225
- declare static readonly actions: globalThis.Record<never, never>;
226
- };
227
- }
228
- export class AssetHistory extends _AssetHistoryAspect(__.Entity) {}
229
- Object.defineProperty(AssetHistory, 'name', { value: 'CardanoODataService.AssetHistory' })
230
- Object.defineProperty(AssetHistory, 'is_singular', { value: true })
231
- export class AssetHistory_ extends Array<AssetHistory> {$count?: number}
232
- Object.defineProperty(AssetHistory_, 'name', { value: 'CardanoODataService.AssetHistory' })
233
-
234
- export function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
235
- return class Transaction extends Base {
236
- declare hash?: __.Key<_.Blake2b256>
237
- declare blockHash?: _.Blake2b256 | null
238
- declare blockHeight?: number | null
239
- declare blockTime?: number | null
240
- declare slot?: number | null
241
- declare txIndex?: number | null
242
- declare fee?: _.Lovelace | null
243
- declare deposit?: _.Lovelace | null
244
- declare size?: number | null
245
- declare metadata?: __.Composition.of.many<TransactionMetadata_>
246
- declare inputs?: __.Composition.of.many<TransactionInputs>
247
- declare outputs?: __.Composition.of.many<TransactionOutputs>
248
- declare hasMetadata?: boolean | null
249
- declare hasInputs?: boolean | null
250
- declare hasOutputs?: boolean | null
251
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
252
- declare static readonly keys: __.KeysOf<Transaction>;
253
- declare static readonly elements: __.ElementsOf<Transaction>;
254
- declare static readonly actions: globalThis.Record<never, never>;
255
- };
256
- }
257
- export class Transaction extends _TransactionAspect(__.Entity) {}
258
- Object.defineProperty(Transaction, 'name', { value: 'CardanoODataService.Transactions' })
259
- Object.defineProperty(Transaction, 'is_singular', { value: true })
260
- export class Transactions extends Array<Transaction> {$count?: number}
261
- Object.defineProperty(Transactions, 'name', { value: 'CardanoODataService.Transactions' })
262
-
263
- export function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
264
- return class TransactionInput extends Base {
265
- declare tx?: __.Key<__.Association.to<Transaction>>
266
- declare tx_hash?: __.Key<_.Blake2b256>
267
- declare inputIndex?: __.Key<number>
268
- declare address?: __.Association.to<Address> | null
269
- declare address_address?: _.Bech32 | null
270
- declare utxoData_dataHash?: _.Blake2b256 | null
271
- declare utxoData_inlineDatum?: string | null
272
- declare utxoData_referenceScriptHash?: _.Blake2b256 | null
273
- declare isCollateral?: boolean | null
274
- declare isReference?: boolean | null
275
- declare assets?: __.Composition.of.many<TransactionInputAssets>
276
- declare hasAddresses?: boolean | null
277
- declare hasAssets?: boolean | null
278
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
279
- declare static readonly keys: __.KeysOf<TransactionInput>;
280
- declare static readonly elements: __.ElementsOf<TransactionInput>;
281
- declare static readonly actions: globalThis.Record<never, never>;
282
- };
283
- }
284
- export class TransactionInput extends _TransactionInputAspect(__.Entity) {}
285
- Object.defineProperty(TransactionInput, 'name', { value: 'CardanoODataService.TransactionInputs' })
286
- Object.defineProperty(TransactionInput, 'is_singular', { value: true })
287
- export class TransactionInputs extends Array<TransactionInput> {$count?: number}
288
- Object.defineProperty(TransactionInputs, 'name', { value: 'CardanoODataService.TransactionInputs' })
289
-
290
- export function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
291
- return class TransactionOutput extends Base {
292
- declare tx?: __.Key<__.Association.to<Transaction>>
293
- declare tx_hash?: __.Key<_.Blake2b256>
294
- declare outputIndex?: __.Key<number>
295
- declare address?: __.Association.to<Address> | null
296
- declare address_address?: _.Bech32 | null
297
- declare utxo_dataHash?: _.Blake2b256 | null
298
- declare utxo_inlineDatum?: string | null
299
- declare utxo_referenceScriptHash?: _.Blake2b256 | null
300
- declare assets?: __.Composition.of.many<TransactionOutputAssets>
301
- declare hasAddresses?: boolean | null
302
- declare hasAssets?: boolean | null
303
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
304
- declare static readonly keys: __.KeysOf<TransactionOutput>;
305
- declare static readonly elements: __.ElementsOf<TransactionOutput>;
306
- declare static readonly actions: globalThis.Record<never, never>;
307
- };
308
- }
309
- export class TransactionOutput extends _TransactionOutputAspect(__.Entity) {}
310
- Object.defineProperty(TransactionOutput, 'name', { value: 'CardanoODataService.TransactionOutputs' })
311
- Object.defineProperty(TransactionOutput, 'is_singular', { value: true })
312
- export class TransactionOutputs extends Array<TransactionOutput> {$count?: number}
313
- Object.defineProperty(TransactionOutputs, 'name', { value: 'CardanoODataService.TransactionOutputs' })
314
-
315
- export function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
316
- return class TransactionInputAsset extends Base {
317
- declare input?: __.Key<__.Association.to<TransactionInput>>
318
- declare input_inputIndex?: __.Key<number>
319
- declare input_tx_hash?: __.Key<_.Blake2b256>
320
- declare unit?: __.Key<_.AssetUnit>
321
- declare asset_quantity?: _.Lovelace | null
322
- declare asset_policyId?: _.Blake2b224 | null
323
- declare asset_assetNameHex?: _.HexBytes | null
324
- declare asset_assetName?: string | null
325
- declare asset_fingerprint?: string | null
326
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
327
- declare static readonly keys: __.KeysOf<TransactionInputAsset>;
328
- declare static readonly elements: __.ElementsOf<TransactionInputAsset>;
329
- declare static readonly actions: globalThis.Record<never, never>;
330
- };
331
- }
332
- export class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {}
333
- Object.defineProperty(TransactionInputAsset, 'name', { value: 'CardanoODataService.TransactionInputAssets' })
334
- Object.defineProperty(TransactionInputAsset, 'is_singular', { value: true })
335
- export class TransactionInputAssets extends Array<TransactionInputAsset> {$count?: number}
336
- Object.defineProperty(TransactionInputAssets, 'name', { value: 'CardanoODataService.TransactionInputAssets' })
337
-
338
- export function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
339
- return class TransactionOutputAsset extends Base {
340
- declare output?: __.Key<__.Association.to<TransactionOutput>>
341
- declare output_outputIndex?: __.Key<number>
342
- declare output_tx_hash?: __.Key<_.Blake2b256>
343
- declare unit?: __.Key<_.AssetUnit>
344
- declare asset_quantity?: _.Lovelace | null
345
- declare asset_policyId?: _.Blake2b224 | null
346
- declare asset_assetNameHex?: _.HexBytes | null
347
- declare asset_assetName?: string | null
348
- declare asset_fingerprint?: string | null
349
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
350
- declare static readonly keys: __.KeysOf<TransactionOutputAsset>;
351
- declare static readonly elements: __.ElementsOf<TransactionOutputAsset>;
352
- declare static readonly actions: globalThis.Record<never, never>;
353
- };
354
- }
355
- export class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {}
356
- Object.defineProperty(TransactionOutputAsset, 'name', { value: 'CardanoODataService.TransactionOutputAssets' })
357
- Object.defineProperty(TransactionOutputAsset, 'is_singular', { value: true })
358
- export class TransactionOutputAssets extends Array<TransactionOutputAsset> {$count?: number}
359
- Object.defineProperty(TransactionOutputAssets, 'name', { value: 'CardanoODataService.TransactionOutputAssets' })
360
-
361
- export function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
362
- return class Account extends Base {
363
- declare validFrom?: __.CdsTimestamp | null
364
- declare validTo?: __.CdsTimestamp | null
365
- declare stakeAddress?: __.Key<_.Bech32>
366
- declare active?: boolean | null
367
- declare activeEpoch?: number | null
368
- declare controlledAmount?: _.Lovelace | null
369
- declare rewardsSum?: _.Lovelace | null
370
- declare withdrawalsSum?: _.Lovelace | null
371
- declare reservesSum?: _.Lovelace | null
372
- declare treasurySum?: _.Lovelace | null
373
- declare withdrawableAmount?: _.Lovelace | null
374
- declare poolId?: __.Association.to<Pool> | null
375
- declare poolId_poolId?: _.Bech32 | null
376
- declare drepId?: __.Association.to<Drep> | null
377
- declare drepId_drepId?: _.Bech32 | null
378
- declare Address?: __.Composition.of.many<Addresses>
379
- declare hasAddresses?: boolean | null
380
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
381
- declare static readonly keys: __.KeysOf<Account>;
382
- declare static readonly elements: __.ElementsOf<Account>;
383
- declare static readonly actions: globalThis.Record<never, never>;
384
- };
385
- }
386
- export class Account extends _AccountAspect(__.Entity) {}
387
- Object.defineProperty(Account, 'name', { value: 'CardanoODataService.Accounts' })
388
- Object.defineProperty(Account, 'is_singular', { value: true })
389
- export class Accounts extends Array<Account> {$count?: number}
390
- Object.defineProperty(Accounts, 'name', { value: 'CardanoODataService.Accounts' })
391
-
392
- export function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
393
- return class Address extends Base {
394
- declare validFrom?: __.CdsTimestamp | null
395
- declare validTo?: __.CdsTimestamp | null
396
- declare address?: __.Key<_.Bech32>
397
- declare stakeAddress?: _.Bech32 | null
398
- declare type?: string | null
399
- declare isScript?: boolean | null
400
- declare totalLovelace?: _.Lovelace | null
401
- declare utxoCount?: number | null
402
- declare transactions?: __.Composition.of.many<AddressTransactions>
403
- declare assets?: __.Composition.of.many<AddressAssets>
404
- declare utxos?: __.Composition.of.many<AddressUTxOs>
405
- declare hasTransactions?: boolean | null
406
- declare hasAssets?: boolean | null
407
- declare hasUTxOs?: boolean | null
408
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
409
- declare static readonly keys: __.KeysOf<Address>;
410
- declare static readonly elements: __.ElementsOf<Address>;
411
- declare static readonly actions: globalThis.Record<never, never>;
412
- };
413
- }
414
- export class Address extends _AddressAspect(__.Entity) {}
415
- Object.defineProperty(Address, 'name', { value: 'CardanoODataService.Addresses' })
416
- Object.defineProperty(Address, 'is_singular', { value: true })
417
- export class Addresses extends Array<Address> {$count?: number}
418
- Object.defineProperty(Addresses, 'name', { value: 'CardanoODataService.Addresses' })
419
-
420
- export function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
421
- return class AddressAsset extends Base {
422
- declare validFrom?: __.CdsTimestamp | null
423
- declare validTo?: __.CdsTimestamp | null
424
- declare address?: __.Key<__.Association.to<Address>>
425
- declare address_address?: __.Key<_.Bech32>
426
- declare unit?: __.Key<_.AssetUnit>
427
- declare asset_quantity?: _.Lovelace | null
428
- declare asset_policyId?: _.Blake2b224 | null
429
- declare asset_assetNameHex?: _.HexBytes | null
430
- declare asset_assetName?: string | null
431
- declare asset_fingerprint?: string | null
432
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
433
- declare static readonly keys: __.KeysOf<AddressAsset>;
434
- declare static readonly elements: __.ElementsOf<AddressAsset>;
435
- declare static readonly actions: globalThis.Record<never, never>;
436
- };
437
- }
438
- export class AddressAsset extends _AddressAssetAspect(__.Entity) {}
439
- Object.defineProperty(AddressAsset, 'name', { value: 'CardanoODataService.AddressAssets' })
440
- Object.defineProperty(AddressAsset, 'is_singular', { value: true })
441
- export class AddressAssets extends Array<AddressAsset> {$count?: number}
442
- Object.defineProperty(AddressAssets, 'name', { value: 'CardanoODataService.AddressAssets' })
443
-
444
- export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
445
- return class AddressUTxO extends Base {
446
- declare validFrom?: __.CdsTimestamp | null
447
- declare validTo?: __.CdsTimestamp | null
448
- declare address?: __.Key<__.Association.to<Address>>
449
- declare address_address?: __.Key<_.Bech32>
450
- declare hash?: __.Key<_.Blake2b256>
451
- declare index?: __.Key<number>
452
- declare blockHash?: _.Blake2b256 | null
453
- declare utxodata_dataHash?: _.Blake2b256 | null
454
- declare utxodata_inlineDatum?: string | null
455
- declare utxodata_referenceScriptHash?: _.Blake2b256 | null
456
- declare lovelace?: _.Lovelace | null
457
- declare assets?: __.Composition.of.many<UTxOAssets>
458
- declare hasAssets?: boolean | null
459
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
460
- declare static readonly keys: __.KeysOf<AddressUTxO>;
461
- declare static readonly elements: __.ElementsOf<AddressUTxO>;
462
- declare static readonly actions: globalThis.Record<never, never>;
463
- };
464
- }
465
- export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {}
466
- Object.defineProperty(AddressUTxO, 'name', { value: 'CardanoODataService.AddressUTxOs' })
467
- Object.defineProperty(AddressUTxO, 'is_singular', { value: true })
468
- export class AddressUTxOs extends Array<AddressUTxO> {$count?: number}
469
- Object.defineProperty(AddressUTxOs, 'name', { value: 'CardanoODataService.AddressUTxOs' })
470
-
471
- export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
472
- return class AddressTransaction extends Base {
473
- declare address?: __.Key<__.Association.to<Address>>
474
- declare address_address?: __.Key<_.Bech32>
475
- declare tx?: __.Key<__.Association.to<Transaction>>
476
- declare tx_hash?: __.Key<_.Blake2b256>
477
- declare netAmount?: (number | string) | null
478
- declare blockTime?: number | null
479
- declare netAssets?: string | null
480
- declare hasAssets?: boolean | null
481
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
482
- declare static readonly keys: __.KeysOf<AddressTransaction>;
483
- declare static readonly elements: __.ElementsOf<AddressTransaction>;
484
- declare static readonly actions: globalThis.Record<never, never>;
485
- };
486
- }
487
- export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {}
488
- Object.defineProperty(AddressTransaction, 'name', { value: 'CardanoODataService.AddressTransactions' })
489
- Object.defineProperty(AddressTransaction, 'is_singular', { value: true })
490
- export class AddressTransactions extends Array<AddressTransaction> {$count?: number}
491
- Object.defineProperty(AddressTransactions, 'name', { value: 'CardanoODataService.AddressTransactions' })
492
-
493
- export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
494
- return class UTxOAsset extends Base {
495
- declare validFrom?: __.CdsTimestamp | null
496
- declare validTo?: __.CdsTimestamp | null
497
- declare utxo?: __.Key<__.Association.to<AddressUTxO>>
498
- declare utxo_hash?: __.Key<_.Blake2b256>
499
- declare utxo_index?: __.Key<number>
500
- declare utxo_address_address?: __.Key<_.Bech32>
501
- declare unit?: __.Key<_.AssetUnit>
502
- declare asset_quantity?: _.Lovelace | null
503
- declare asset_policyId?: _.Blake2b224 | null
504
- declare asset_assetNameHex?: _.HexBytes | null
505
- declare asset_assetName?: string | null
506
- declare asset_fingerprint?: string | null
507
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
508
- declare static readonly keys: __.KeysOf<UTxOAsset>;
509
- declare static readonly elements: __.ElementsOf<UTxOAsset>;
510
- declare static readonly actions: globalThis.Record<never, never>;
511
- };
512
- }
513
- export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {}
514
- Object.defineProperty(UTxOAsset, 'name', { value: 'CardanoODataService.UTxOAssets' })
515
- Object.defineProperty(UTxOAsset, 'is_singular', { value: true })
516
- export class UTxOAssets extends Array<UTxOAsset> {$count?: number}
517
- Object.defineProperty(UTxOAssets, 'name', { value: 'CardanoODataService.UTxOAssets' })
518
-
519
- export function _TransactionMetadataAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
520
- return class TransactionMetadata extends Base {
521
- declare id?: __.Key<number>
522
- declare tx?: __.Key<__.Association.to<Transaction>>
523
- declare tx_hash?: __.Key<_.Blake2b256>
524
- declare label?: _.MetadataLabel | null
525
- declare payload?: string | null
526
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
527
- declare static readonly keys: __.KeysOf<TransactionMetadata>;
528
- declare static readonly elements: __.ElementsOf<TransactionMetadata>;
529
- declare static readonly actions: globalThis.Record<never, never>;
530
- };
531
- }
532
- export class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {}
533
- Object.defineProperty(TransactionMetadata, 'name', { value: 'CardanoODataService.TransactionMetadata' })
534
- Object.defineProperty(TransactionMetadata, 'is_singular', { value: true })
535
- export class TransactionMetadata_ extends Array<TransactionMetadata> {$count?: number}
536
- Object.defineProperty(TransactionMetadata_, 'name', { value: 'CardanoODataService.TransactionMetadata' })
537
-
538
- export function _LedgerProtocolParameterAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
539
- return class LedgerProtocolParameter extends Base {
540
- declare network?: __.Key<string>
541
- declare epoch?: __.Key<number>
542
- declare minFeeA?: number | null
543
- declare minFeeB?: number | null
544
- declare maxBlockSize?: number | null
545
- declare maxTxSize?: number | null
546
- declare maxBlockHeaderSize?: number | null
547
- declare keyDeposit?: string | null
548
- declare poolDeposit?: string | null
549
- declare eMax?: number | null
550
- declare nOpt?: number | null
551
- declare a0?: (number | string) | null
552
- declare rho?: (number | string) | null
553
- declare tau?: (number | string) | null
554
- declare minPoolCost?: string | null
555
- declare decentralisationParam?: (number | string) | null
556
- declare extraEntropy?: string | null
557
- declare protocolMajorVer?: number | null
558
- declare protocolMinorVer?: number | null
559
- declare minUtxo?: string | null
560
- declare nonce?: string | null
561
- declare costModels?: string | null
562
- declare priceMem?: (number | string) | null
563
- declare priceStep?: (number | string) | null
564
- declare maxTxExMem?: string | null
565
- declare maxTxExSteps?: string | null
566
- declare maxBlockExMem?: string | null
567
- declare maxBlockExSteps?: string | null
568
- declare maxValSize?: string | null
569
- declare collateralPercent?: number | null
570
- declare maxCollateralInputs?: number | null
571
- declare coinsPerUtxoSize?: string | null
572
- declare coinsPerUtxoWord?: string | null
573
- declare fetchedAt?: __.CdsTimestamp | null
574
- declare source?: string | null
575
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
576
- declare static readonly keys: __.KeysOf<LedgerProtocolParameter>;
577
- declare static readonly elements: __.ElementsOf<LedgerProtocolParameter>;
578
- declare static readonly actions: globalThis.Record<never, never>;
579
- };
580
- }
581
- export class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {}
582
- Object.defineProperty(LedgerProtocolParameter, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' })
583
- Object.defineProperty(LedgerProtocolParameter, 'is_singular', { value: true })
584
- export class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {$count?: number}
585
- Object.defineProperty(LedgerProtocolParameters, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' })
586
-
587
-
588
- export declare const GetNetworkInformation: {
589
- // positional
590
- (): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
591
- // named
592
- ({}: globalThis.Record<never, never>): globalThis.Promise<NetworkInformation | null> | NetworkInformation | null
593
- // metadata (do not use)
594
- __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<NetworkInformation | null> | NetworkInformation | null, __self: never
595
- kind: 'action'
596
- }
597
-
598
- export declare const GetBlockByHash: {
599
- // positional
600
- (hash: _.Blake2b256 | null): globalThis.Promise<Block | null> | Block | null
601
- // named
602
- ({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Block | null> | Block | null
603
- // metadata (do not use)
604
- __parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
605
- kind: 'action'
606
- }
607
-
608
- export declare const GetEpochByNumber: {
609
- // positional
610
- (epochNumber: number | null): globalThis.Promise<Epoch | null> | Epoch | null
611
- // named
612
- ({epochNumber}: {epochNumber?: number | null}): globalThis.Promise<Epoch | null> | Epoch | null
613
- // metadata (do not use)
614
- __parameters: {epochNumber?: number | null}, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
615
- kind: 'action'
616
- }
617
-
618
- export declare const GetPoolById: {
619
- // positional
620
- (poolId: string | null): globalThis.Promise<Pool | null> | Pool | null
621
- // named
622
- ({poolId}: {poolId?: string | null}): globalThis.Promise<Pool | null> | Pool | null
623
- // metadata (do not use)
624
- __parameters: {poolId?: string | null}, __returns: globalThis.Promise<Pool | null> | Pool | null, __self: never
625
- kind: 'action'
626
- }
627
-
628
- export declare const GetDrepById: {
629
- // positional
630
- (drepId: string | null): globalThis.Promise<Drep | null> | Drep | null
631
- // named
632
- ({drepId}: {drepId?: string | null}): globalThis.Promise<Drep | null> | Drep | null
633
- // metadata (do not use)
634
- __parameters: {drepId?: string | null}, __returns: globalThis.Promise<Drep | null> | Drep | null, __self: never
635
- kind: 'action'
636
- }
637
-
638
- export declare const GetAssetInfo: {
639
- // positional
640
- (unit: _.AssetUnit | null): globalThis.Promise<Asset | null> | Asset | null
641
- // named
642
- ({unit}: {unit?: _.AssetUnit | null}): globalThis.Promise<Asset | null> | Asset | null
643
- // metadata (do not use)
644
- __parameters: {unit?: _.AssetUnit | null}, __returns: globalThis.Promise<Asset | null> | Asset | null, __self: never
645
- kind: 'action'
646
- }
647
-
648
- export declare const GetAssetHistory: {
649
- // positional
650
- (unit: _.AssetUnit | null, limit: number | null): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
651
- // named
652
- ({unit, limit}: {unit?: _.AssetUnit | null, limit?: number | null}): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
653
- // metadata (do not use)
654
- __parameters: {unit?: _.AssetUnit | null, limit?: number | null}, __returns: globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>, __self: never
655
- kind: 'action'
656
- }
657
-
658
- export declare const GetAccountByStakeAddress: {
659
- // positional
660
- (stakeAddress: _.Bech32 | null): globalThis.Promise<Account | null> | Account | null
661
- // named
662
- ({stakeAddress}: {stakeAddress?: _.Bech32 | null}): globalThis.Promise<Account | null> | Account | null
663
- // metadata (do not use)
664
- __parameters: {stakeAddress?: _.Bech32 | null}, __returns: globalThis.Promise<Account | null> | Account | null, __self: never
665
- kind: 'action'
666
- }
667
-
668
- export declare const GetTransactionByHash: {
669
- // positional
670
- (hash: _.Blake2b256 | null): globalThis.Promise<Transaction | null> | Transaction | null
671
- // named
672
- ({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Transaction | null> | Transaction | null
673
- // metadata (do not use)
674
- __parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Transaction | null> | Transaction | null, __self: never
675
- kind: 'action'
676
- }
677
-
678
- export declare const GetMetadataByTxHash: {
679
- // positional
680
- (txHash: _.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
681
- // named
682
- ({txHash}: {txHash?: _.Blake2b256 | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
683
- // metadata (do not use)
684
- __parameters: {txHash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
685
- kind: 'action'
686
- }
687
-
688
- export declare const GetAddressByBech32: {
689
- // positional
690
- (address: _.Bech32 | null): globalThis.Promise<Address | null> | Address | null
691
- // named
692
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Address | null> | Address | null
693
- // metadata (do not use)
694
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Address | null> | Address | null, __self: never
695
- kind: 'action'
696
- }
697
-
698
- export declare const GetUTxOsByAddress: {
699
- // positional
700
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
701
- // named
702
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
703
- // metadata (do not use)
704
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
705
- kind: 'action'
706
- }
707
-
708
- export declare const GetUTxOsByCredential: {
709
- // positional
710
- (credential: string | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
711
- // named
712
- ({credential}: {credential?: string | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
713
- // metadata (do not use)
714
- __parameters: {credential?: string | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
715
- kind: 'action'
716
- }
717
-
718
- export declare const GetAssetsByAddress: {
719
- // positional
720
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
721
- // named
722
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
723
- // metadata (do not use)
724
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
725
- kind: 'action'
726
- }
727
-
728
- export declare const GetLatestTransactionsByAddress: {
729
- // positional
730
- (address: _.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
731
- // named
732
- ({address, limit}: {address?: _.Bech32 | null, limit?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
733
- // metadata (do not use)
734
- __parameters: {address?: _.Bech32 | null, limit?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
735
- kind: 'action'
736
- }
737
-
738
- export declare const GetLatestBlock: {
739
- // positional
740
- (): globalThis.Promise<Block | null> | Block | null
741
- // named
742
- ({}: globalThis.Record<never, never>): globalThis.Promise<Block | null> | Block | null
743
- // metadata (do not use)
744
- __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
745
- kind: 'action'
746
- }
747
-
748
- export declare const GetLatestEpoch: {
749
- // positional
750
- (): globalThis.Promise<Epoch | null> | Epoch | null
751
- // named
752
- ({}: globalThis.Record<never, never>): globalThis.Promise<Epoch | null> | Epoch | null
753
- // metadata (do not use)
754
- __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<Epoch | null> | Epoch | null, __self: never
755
- kind: 'action'
756
- }
757
-
758
- export declare const GetLedgerProtocolParameters: {
759
- // positional
760
- (): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
761
- // named
762
- ({}: globalThis.Record<never, never>): globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null
763
- // metadata (do not use)
764
- __parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<LedgerProtocolParameter | null> | LedgerProtocolParameter | null, __self: never
765
- kind: 'action'
766
- }
767
-
768
- export declare const ParseTransactionCbor: {
769
- // positional
770
- (cbor: string | null): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null
771
- // named
772
- ({cbor}: {cbor?: string | null}): globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null
773
- // metadata (do not use)
774
- __parameters: {cbor?: string | null}, __returns: globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null, __self: never
775
- kind: 'action'
776
- }