@odatano/core 0.3.17 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@cds-models/CardanoODataService/index.d.ts +434 -427
- package/@cds-models/CardanoODataService/index.d.ts.map +1 -1
- package/@cds-models/CardanoODataService/index.js +7 -0
- package/@cds-models/CardanoODataService/index.js.map +1 -1
- package/@cds-models/CardanoODataService/index.ts +99 -92
- package/@cds-models/CardanoSignService/index.d.ts +1549 -0
- package/@cds-models/CardanoSignService/index.d.ts.map +1 -0
- package/@cds-models/CardanoSignService/index.js +291 -0
- package/@cds-models/CardanoSignService/index.js.map +1 -0
- package/@cds-models/CardanoSignService/index.ts +519 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +338 -815
- package/@cds-models/CardanoTransactionService/index.d.ts.map +1 -1
- package/@cds-models/CardanoTransactionService/index.js +3 -63
- package/@cds-models/CardanoTransactionService/index.js.map +1 -1
- package/@cds-models/CardanoTransactionService/index.ts +71 -210
- package/@cds-models/index.d.ts +150 -1
- package/@cds-models/index.d.ts.map +1 -1
- package/@cds-models/index.js +51 -1
- package/@cds-models/index.js.map +1 -1
- package/@cds-models/index.ts +74 -2
- package/@cds-models/odatano/cardano/index.d.ts +553 -696
- package/@cds-models/odatano/cardano/index.d.ts.map +1 -1
- package/@cds-models/odatano/cardano/index.js +3 -52
- package/@cds-models/odatano/cardano/index.js.map +1 -1
- package/@cds-models/odatano/cardano/index.ts +93 -165
- package/README.md +78 -19
- package/db/schema.cds +6 -108
- package/db/types.cds +111 -0
- package/package.json +19 -4
- package/src/index.d.ts.map +1 -1
- package/src/index.js +8 -3
- package/src/index.js.map +1 -1
- package/src/plugin.d.ts.map +1 -1
- package/src/plugin.js +7 -2
- package/src/plugin.js.map +1 -1
- package/srv/blockchain/backends/koios-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/koios-backend.js +6 -16
- package/srv/blockchain/backends/koios-backend.js.map +1 -1
- package/srv/blockchain/cardano-client.d.ts.map +1 -1
- package/srv/blockchain/cardano-client.js +13 -10
- package/srv/blockchain/cardano-client.js.map +1 -1
- package/srv/blockchain/cardano-indexer.d.ts.map +1 -1
- package/srv/blockchain/cardano-indexer.js +10 -8
- package/srv/blockchain/cardano-indexer.js.map +1 -1
- package/srv/blockchain/cardano-tx-builder.d.ts.map +1 -1
- package/srv/blockchain/cardano-tx-builder.js +16 -16
- package/srv/blockchain/cardano-tx-builder.js.map +1 -1
- package/srv/blockchain/signing/hsm-signer.d.ts.map +1 -0
- package/srv/blockchain/signing/hsm-signer.js +290 -0
- package/srv/blockchain/signing/hsm-signer.js.map +1 -0
- package/srv/blockchain/signing/signature-verifier.d.ts.map +1 -1
- package/srv/blockchain/signing/signature-verifier.js +7 -25
- package/srv/blockchain/signing/signature-verifier.js.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.js +171 -437
- package/srv/blockchain/transaction-building/buildooor-tx.js.map +1 -1
- package/srv/blockchain/transaction-building/cardano-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.js +230 -611
- package/srv/blockchain/transaction-building/csl-tx.js.map +1 -1
- package/srv/cardano-service.cds +17 -9
- package/srv/cardano-service.js +2 -14
- package/srv/cardano-service.js.map +1 -1
- package/srv/cardano-sign-service.cds +128 -0
- package/srv/cardano-sign-service.d.ts.map +1 -0
- package/srv/cardano-sign-service.js +401 -0
- package/srv/cardano-sign-service.js.map +1 -0
- package/srv/cardano-tx-service.cds +116 -196
- package/srv/cardano-tx-service.js +5 -308
- package/srv/cardano-tx-service.js.map +1 -1
- package/srv/server.d.ts.map +1 -1
- package/srv/server.js +60 -5
- package/srv/server.js.map +1 -1
- package/srv/utils/const.d.ts.map +1 -1
- package/srv/utils/const.js +5 -1
- package/srv/utils/const.js.map +1 -1
- package/srv/utils/error-codes.d.ts.map +1 -1
- package/srv/utils/error-codes.js +15 -0
- package/srv/utils/error-codes.js.map +1 -1
- package/srv/utils/errors.d.ts.map +1 -1
- package/srv/utils/errors.js +12 -1
- package/srv/utils/errors.js.map +1 -1
- package/srv/utils/mappers.d.ts.map +1 -1
- package/srv/utils/mappers.js +9 -29
- package/srv/utils/mappers.js.map +1 -1
- package/srv/utils/signing-helper.d.ts.map +1 -1
- package/srv/utils/signing-helper.js +3 -18
- package/srv/utils/signing-helper.js.map +1 -1
- package/srv/utils/tx-build-helper.d.ts.map +1 -1
- package/srv/utils/tx-build-helper.js +10 -4
- package/srv/utils/tx-build-helper.js.map +1 -1
- package/srv/utils/types.d.ts.map +1 -1
- package/srv/utils/types.js +2 -0
- package/srv/utils/types.js.map +1 -1
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
// This is an automatically generated file. Please do not change its contents manually!
|
|
2
|
-
import * as
|
|
2
|
+
import * as _ from './..';
|
|
3
3
|
import * as __ from './../_';
|
|
4
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
|
+
*/
|
|
5
12
|
export default class {
|
|
6
13
|
declare static readonly GetNetworkInformation: typeof GetNetworkInformation;
|
|
7
14
|
declare static readonly GetBlockByHash: typeof GetBlockByHash;
|
|
@@ -25,14 +32,14 @@ export function _NetworkInformationAspect<TBase extends new (...args: any[]) =>
|
|
|
25
32
|
declare validFrom?: __.CdsTimestamp | null
|
|
26
33
|
declare validTo?: __.CdsTimestamp | null
|
|
27
34
|
declare network?: __.Key<string>
|
|
28
|
-
declare maxSupply?:
|
|
29
|
-
declare totalSupply?:
|
|
30
|
-
declare circulatingSupply?:
|
|
31
|
-
declare lockedSupply?:
|
|
32
|
-
declare treasurySupply?:
|
|
33
|
-
declare reservesSupply?:
|
|
34
|
-
declare liveStake?:
|
|
35
|
-
declare activeStake?:
|
|
35
|
+
declare maxSupply?: _.Lovelace | null
|
|
36
|
+
declare totalSupply?: _.Lovelace | null
|
|
37
|
+
declare circulatingSupply?: _.Lovelace | null
|
|
38
|
+
declare lockedSupply?: _.Lovelace | null
|
|
39
|
+
declare treasurySupply?: _.Lovelace | null
|
|
40
|
+
declare reservesSupply?: _.Lovelace | null
|
|
41
|
+
declare liveStake?: _.Lovelace | null
|
|
42
|
+
declare activeStake?: _.Lovelace | null
|
|
36
43
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
37
44
|
declare static readonly keys: __.KeysOf<NetworkInformation>;
|
|
38
45
|
declare static readonly elements: __.ElementsOf<NetworkInformation>;
|
|
@@ -56,7 +63,7 @@ export function _BlockAspect<TBase extends new (...args: any[]) => object>(Base:
|
|
|
56
63
|
declare epochSlot?: number | null
|
|
57
64
|
declare size?: number | null
|
|
58
65
|
declare txCount?: number | null
|
|
59
|
-
declare fees?:
|
|
66
|
+
declare fees?: _.Lovelace | null
|
|
60
67
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
61
68
|
declare static readonly keys: __.KeysOf<Block>;
|
|
62
69
|
declare static readonly elements: __.ElementsOf<Block>;
|
|
@@ -79,8 +86,8 @@ export function _EpochAspect<TBase extends new (...args: any[]) => object>(Base:
|
|
|
79
86
|
declare blockCount?: number | null
|
|
80
87
|
declare txCount?: number | null
|
|
81
88
|
declare output?: string | null
|
|
82
|
-
declare fees?:
|
|
83
|
-
declare activeStake?:
|
|
89
|
+
declare fees?: _.Lovelace | null
|
|
90
|
+
declare activeStake?: _.Lovelace | null
|
|
84
91
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
85
92
|
declare static readonly keys: __.KeysOf<Epoch>;
|
|
86
93
|
declare static readonly elements: __.ElementsOf<Epoch>;
|
|
@@ -99,15 +106,15 @@ export function _PoolAspect<TBase extends new (...args: any[]) => object>(Base:
|
|
|
99
106
|
declare vrfKeyHash?: string | null
|
|
100
107
|
declare blocksMinted?: number | null
|
|
101
108
|
declare blocksEpoch?: number | null
|
|
102
|
-
declare liveStake?:
|
|
109
|
+
declare liveStake?: _.Lovelace | null
|
|
103
110
|
declare liveSize?: number | null
|
|
104
111
|
declare liveSaturation?: number | null
|
|
105
112
|
declare liveDelegators?: number | null
|
|
106
|
-
declare activeStake?:
|
|
113
|
+
declare activeStake?: _.Lovelace | null
|
|
107
114
|
declare activeSize?: number | null
|
|
108
|
-
declare pledge?:
|
|
115
|
+
declare pledge?: _.Lovelace | null
|
|
109
116
|
declare margin?: number | null
|
|
110
|
-
declare fixedCost?:
|
|
117
|
+
declare fixedCost?: _.Lovelace | null
|
|
111
118
|
declare rewardAccount?: string | null
|
|
112
119
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
113
120
|
declare static readonly keys: __.KeysOf<Pool>;
|
|
@@ -125,7 +132,7 @@ export function _DrepAspect<TBase extends new (...args: any[]) => object>(Base:
|
|
|
125
132
|
return class Drep extends Base {
|
|
126
133
|
declare drepId?: __.Key<string>
|
|
127
134
|
declare hex?: string | null
|
|
128
|
-
declare amount?:
|
|
135
|
+
declare amount?: _.Lovelace | null
|
|
129
136
|
declare hasScript?: boolean | null
|
|
130
137
|
declare lastActiveEpoch?: number | null
|
|
131
138
|
declare retired?: boolean | null
|
|
@@ -144,14 +151,14 @@ Object.defineProperty(Dreps, 'name', { value: 'CardanoODataService.Dreps' })
|
|
|
144
151
|
|
|
145
152
|
export function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
146
153
|
return class Transaction extends Base {
|
|
147
|
-
declare hash?: __.Key<
|
|
148
|
-
declare blockHash?:
|
|
154
|
+
declare hash?: __.Key<_.Blake2b256>
|
|
155
|
+
declare blockHash?: _.Blake2b256 | null
|
|
149
156
|
declare blockHeight?: number | null
|
|
150
157
|
declare blockTime?: number | null
|
|
151
158
|
declare slot?: number | null
|
|
152
159
|
declare txIndex?: number | null
|
|
153
|
-
declare fee?:
|
|
154
|
-
declare deposit?:
|
|
160
|
+
declare fee?: _.Lovelace | null
|
|
161
|
+
declare deposit?: _.Lovelace | null
|
|
155
162
|
declare size?: number | null
|
|
156
163
|
declare metadata?: __.Composition.of.many<TransactionMetadata_>
|
|
157
164
|
declare inputs?: __.Composition.of.many<TransactionInputs>
|
|
@@ -174,13 +181,13 @@ Object.defineProperty(Transactions, 'name', { value: 'CardanoODataService.Transa
|
|
|
174
181
|
export function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
175
182
|
return class TransactionInput extends Base {
|
|
176
183
|
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
177
|
-
declare tx_hash?: __.Key<
|
|
184
|
+
declare tx_hash?: __.Key<_.Blake2b256>
|
|
178
185
|
declare inputIndex?: __.Key<number>
|
|
179
186
|
declare address?: __.Association.to<Address> | null
|
|
180
|
-
declare address_address?:
|
|
181
|
-
declare utxoData_dataHash?:
|
|
187
|
+
declare address_address?: _.Bech32 | null
|
|
188
|
+
declare utxoData_dataHash?: _.Blake2b256 | null
|
|
182
189
|
declare utxoData_inlineDatum?: string | null
|
|
183
|
-
declare utxoData_referenceScriptHash?:
|
|
190
|
+
declare utxoData_referenceScriptHash?: _.Blake2b256 | null
|
|
184
191
|
declare isCollateral?: boolean | null
|
|
185
192
|
declare isReference?: boolean | null
|
|
186
193
|
declare assets?: __.Composition.of.many<TransactionInputAssets>
|
|
@@ -201,13 +208,13 @@ Object.defineProperty(TransactionInputs, 'name', { value: 'CardanoODataService.T
|
|
|
201
208
|
export function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
202
209
|
return class TransactionOutput extends Base {
|
|
203
210
|
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
204
|
-
declare tx_hash?: __.Key<
|
|
211
|
+
declare tx_hash?: __.Key<_.Blake2b256>
|
|
205
212
|
declare outputIndex?: __.Key<number>
|
|
206
213
|
declare address?: __.Association.to<Address> | null
|
|
207
|
-
declare address_address?:
|
|
208
|
-
declare utxo_dataHash?:
|
|
214
|
+
declare address_address?: _.Bech32 | null
|
|
215
|
+
declare utxo_dataHash?: _.Blake2b256 | null
|
|
209
216
|
declare utxo_inlineDatum?: string | null
|
|
210
|
-
declare utxo_referenceScriptHash?:
|
|
217
|
+
declare utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
211
218
|
declare assets?: __.Composition.of.many<TransactionOutputAssets>
|
|
212
219
|
declare hasAddresses?: boolean | null
|
|
213
220
|
declare hasAssets?: boolean | null
|
|
@@ -227,11 +234,11 @@ export function _TransactionInputAssetAspect<TBase extends new (...args: any[])
|
|
|
227
234
|
return class TransactionInputAsset extends Base {
|
|
228
235
|
declare input?: __.Key<__.Association.to<TransactionInput>>
|
|
229
236
|
declare input_inputIndex?: __.Key<number>
|
|
230
|
-
declare input_tx_hash?: __.Key<
|
|
231
|
-
declare unit?: __.Key<
|
|
232
|
-
declare asset_quantity?:
|
|
233
|
-
declare asset_policyId?:
|
|
234
|
-
declare asset_assetNameHex?:
|
|
237
|
+
declare input_tx_hash?: __.Key<_.Blake2b256>
|
|
238
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
239
|
+
declare asset_quantity?: _.Lovelace | null
|
|
240
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
241
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
235
242
|
declare asset_assetName?: string | null
|
|
236
243
|
declare asset_fingerprint?: string | null
|
|
237
244
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -250,11 +257,11 @@ export function _TransactionOutputAssetAspect<TBase extends new (...args: any[])
|
|
|
250
257
|
return class TransactionOutputAsset extends Base {
|
|
251
258
|
declare output?: __.Key<__.Association.to<TransactionOutput>>
|
|
252
259
|
declare output_outputIndex?: __.Key<number>
|
|
253
|
-
declare output_tx_hash?: __.Key<
|
|
254
|
-
declare unit?: __.Key<
|
|
255
|
-
declare asset_quantity?:
|
|
256
|
-
declare asset_policyId?:
|
|
257
|
-
declare asset_assetNameHex?:
|
|
260
|
+
declare output_tx_hash?: __.Key<_.Blake2b256>
|
|
261
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
262
|
+
declare asset_quantity?: _.Lovelace | null
|
|
263
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
264
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
258
265
|
declare asset_assetName?: string | null
|
|
259
266
|
declare asset_fingerprint?: string | null
|
|
260
267
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -276,12 +283,12 @@ export function _AccountAspect<TBase extends new (...args: any[]) => object>(Bas
|
|
|
276
283
|
declare stakeAddress?: __.Key<string>
|
|
277
284
|
declare active?: boolean | null
|
|
278
285
|
declare activeEpoch?: number | null
|
|
279
|
-
declare controlledAmount?:
|
|
280
|
-
declare rewardsSum?:
|
|
281
|
-
declare withdrawalsSum?:
|
|
282
|
-
declare reservesSum?:
|
|
283
|
-
declare treasurySum?:
|
|
284
|
-
declare withdrawableAmount?:
|
|
286
|
+
declare controlledAmount?: _.Lovelace | null
|
|
287
|
+
declare rewardsSum?: _.Lovelace | null
|
|
288
|
+
declare withdrawalsSum?: _.Lovelace | null
|
|
289
|
+
declare reservesSum?: _.Lovelace | null
|
|
290
|
+
declare treasurySum?: _.Lovelace | null
|
|
291
|
+
declare withdrawableAmount?: _.Lovelace | null
|
|
285
292
|
declare poolId?: __.Association.to<Pool> | null
|
|
286
293
|
declare poolId_poolId?: string | null
|
|
287
294
|
declare drepId?: __.Association.to<Drep> | null
|
|
@@ -304,11 +311,11 @@ export function _AddressAspect<TBase extends new (...args: any[]) => object>(Bas
|
|
|
304
311
|
return class Address extends Base {
|
|
305
312
|
declare validFrom?: __.CdsTimestamp | null
|
|
306
313
|
declare validTo?: __.CdsTimestamp | null
|
|
307
|
-
declare address?: __.Key<
|
|
308
|
-
declare stakeAddress?:
|
|
314
|
+
declare address?: __.Key<_.Bech32>
|
|
315
|
+
declare stakeAddress?: _.Bech32 | null
|
|
309
316
|
declare type?: string | null
|
|
310
317
|
declare isScript?: boolean | null
|
|
311
|
-
declare totalLovelace?:
|
|
318
|
+
declare totalLovelace?: _.Lovelace | null
|
|
312
319
|
declare transactions?: __.Composition.of.many<AddressTransactions>
|
|
313
320
|
declare assets?: __.Composition.of.many<AddressAssets>
|
|
314
321
|
declare utxos?: __.Composition.of.many<AddressUTxOs>
|
|
@@ -332,11 +339,11 @@ export function _AddressAssetAspect<TBase extends new (...args: any[]) => object
|
|
|
332
339
|
declare validFrom?: __.CdsTimestamp | null
|
|
333
340
|
declare validTo?: __.CdsTimestamp | null
|
|
334
341
|
declare address?: __.Key<__.Association.to<Address>>
|
|
335
|
-
declare address_address?: __.Key<
|
|
336
|
-
declare unit?: __.Key<
|
|
337
|
-
declare asset_quantity?:
|
|
338
|
-
declare asset_policyId?:
|
|
339
|
-
declare asset_assetNameHex?:
|
|
342
|
+
declare address_address?: __.Key<_.Bech32>
|
|
343
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
344
|
+
declare asset_quantity?: _.Lovelace | null
|
|
345
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
346
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
340
347
|
declare asset_assetName?: string | null
|
|
341
348
|
declare asset_fingerprint?: string | null
|
|
342
349
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -356,14 +363,14 @@ export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>
|
|
|
356
363
|
declare validFrom?: __.CdsTimestamp | null
|
|
357
364
|
declare validTo?: __.CdsTimestamp | null
|
|
358
365
|
declare address?: __.Key<__.Association.to<Address>>
|
|
359
|
-
declare address_address?: __.Key<
|
|
360
|
-
declare hash?: __.Key<
|
|
366
|
+
declare address_address?: __.Key<_.Bech32>
|
|
367
|
+
declare hash?: __.Key<_.Blake2b256>
|
|
361
368
|
declare index?: __.Key<number>
|
|
362
|
-
declare blockHash?:
|
|
363
|
-
declare utxodata_dataHash?:
|
|
369
|
+
declare blockHash?: _.Blake2b256 | null
|
|
370
|
+
declare utxodata_dataHash?: _.Blake2b256 | null
|
|
364
371
|
declare utxodata_inlineDatum?: string | null
|
|
365
|
-
declare utxodata_referenceScriptHash?:
|
|
366
|
-
declare lovelace?:
|
|
372
|
+
declare utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
373
|
+
declare lovelace?: _.Lovelace | null
|
|
367
374
|
declare assets?: __.Composition.of.many<UTxOAssets>
|
|
368
375
|
declare hasAssets?: boolean | null
|
|
369
376
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -381,9 +388,9 @@ Object.defineProperty(AddressUTxOs, 'name', { value: 'CardanoODataService.Addres
|
|
|
381
388
|
export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
382
389
|
return class AddressTransaction extends Base {
|
|
383
390
|
declare address?: __.Key<__.Association.to<Address>>
|
|
384
|
-
declare address_address?: __.Key<
|
|
391
|
+
declare address_address?: __.Key<_.Bech32>
|
|
385
392
|
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
386
|
-
declare tx_hash?: __.Key<
|
|
393
|
+
declare tx_hash?: __.Key<_.Blake2b256>
|
|
387
394
|
declare netAmount?: number | null
|
|
388
395
|
declare blockTime?: number | null
|
|
389
396
|
declare netAssets?: string | null
|
|
@@ -405,13 +412,13 @@ export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(B
|
|
|
405
412
|
declare validFrom?: __.CdsTimestamp | null
|
|
406
413
|
declare validTo?: __.CdsTimestamp | null
|
|
407
414
|
declare utxo?: __.Key<__.Association.to<AddressUTxO>>
|
|
408
|
-
declare utxo_hash?: __.Key<
|
|
415
|
+
declare utxo_hash?: __.Key<_.Blake2b256>
|
|
409
416
|
declare utxo_index?: __.Key<number>
|
|
410
|
-
declare utxo_address_address?: __.Key<
|
|
411
|
-
declare unit?: __.Key<
|
|
412
|
-
declare asset_quantity?:
|
|
413
|
-
declare asset_policyId?:
|
|
414
|
-
declare asset_assetNameHex?:
|
|
417
|
+
declare utxo_address_address?: __.Key<_.Bech32>
|
|
418
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
419
|
+
declare asset_quantity?: _.Lovelace | null
|
|
420
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
421
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
415
422
|
declare asset_assetName?: string | null
|
|
416
423
|
declare asset_fingerprint?: string | null
|
|
417
424
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -430,7 +437,7 @@ export function _TransactionMetadataAspect<TBase extends new (...args: any[]) =>
|
|
|
430
437
|
return class TransactionMetadata extends Base {
|
|
431
438
|
declare id?: __.Key<number>
|
|
432
439
|
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
433
|
-
declare tx_hash?: __.Key<
|
|
440
|
+
declare tx_hash?: __.Key<_.Blake2b256>
|
|
434
441
|
declare label?: string | null
|
|
435
442
|
declare payload?: string | null
|
|
436
443
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -507,11 +514,11 @@ export declare const GetNetworkInformation: {
|
|
|
507
514
|
|
|
508
515
|
export declare const GetBlockByHash: {
|
|
509
516
|
// positional
|
|
510
|
-
(hash:
|
|
517
|
+
(hash: _.Blake2b256 | null): globalThis.Promise<Block | null> | Block | null
|
|
511
518
|
// named
|
|
512
|
-
({hash}: {hash?:
|
|
519
|
+
({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Block | null> | Block | null
|
|
513
520
|
// metadata (do not use)
|
|
514
|
-
__parameters: {hash?:
|
|
521
|
+
__parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Block | null> | Block | null, __self: never
|
|
515
522
|
kind: 'action'
|
|
516
523
|
}
|
|
517
524
|
|
|
@@ -547,71 +554,71 @@ export declare const GetDrepById: {
|
|
|
547
554
|
|
|
548
555
|
export declare const GetAccountByStakeAddress: {
|
|
549
556
|
// positional
|
|
550
|
-
(stakeAddress:
|
|
557
|
+
(stakeAddress: _.Bech32 | null): globalThis.Promise<Account | null> | Account | null
|
|
551
558
|
// named
|
|
552
|
-
({stakeAddress}: {stakeAddress?:
|
|
559
|
+
({stakeAddress}: {stakeAddress?: _.Bech32 | null}): globalThis.Promise<Account | null> | Account | null
|
|
553
560
|
// metadata (do not use)
|
|
554
|
-
__parameters: {stakeAddress?:
|
|
561
|
+
__parameters: {stakeAddress?: _.Bech32 | null}, __returns: globalThis.Promise<Account | null> | Account | null, __self: never
|
|
555
562
|
kind: 'action'
|
|
556
563
|
}
|
|
557
564
|
|
|
558
565
|
export declare const GetTransactionByHash: {
|
|
559
566
|
// positional
|
|
560
|
-
(hash:
|
|
567
|
+
(hash: _.Blake2b256 | null): globalThis.Promise<Transaction | null> | Transaction | null
|
|
561
568
|
// named
|
|
562
|
-
({hash}: {hash?:
|
|
569
|
+
({hash}: {hash?: _.Blake2b256 | null}): globalThis.Promise<Transaction | null> | Transaction | null
|
|
563
570
|
// metadata (do not use)
|
|
564
|
-
__parameters: {hash?:
|
|
571
|
+
__parameters: {hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Transaction | null> | Transaction | null, __self: never
|
|
565
572
|
kind: 'action'
|
|
566
573
|
}
|
|
567
574
|
|
|
568
575
|
export declare const GetMetadataByTxHash: {
|
|
569
576
|
// positional
|
|
570
|
-
(tx_hash:
|
|
577
|
+
(tx_hash: _.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
571
578
|
// named
|
|
572
|
-
({tx_hash}: {tx_hash?:
|
|
579
|
+
({tx_hash}: {tx_hash?: _.Blake2b256 | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
573
580
|
// metadata (do not use)
|
|
574
|
-
__parameters: {tx_hash?:
|
|
581
|
+
__parameters: {tx_hash?: _.Blake2b256 | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
|
|
575
582
|
kind: 'action'
|
|
576
583
|
}
|
|
577
584
|
|
|
578
585
|
export declare const GetAddressByBech32: {
|
|
579
586
|
// positional
|
|
580
|
-
(address:
|
|
587
|
+
(address: _.Bech32 | null): globalThis.Promise<Address | null> | Address | null
|
|
581
588
|
// named
|
|
582
|
-
({address}: {address?:
|
|
589
|
+
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Address | null> | Address | null
|
|
583
590
|
// metadata (do not use)
|
|
584
|
-
__parameters: {address?:
|
|
591
|
+
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Address | null> | Address | null, __self: never
|
|
585
592
|
kind: 'action'
|
|
586
593
|
}
|
|
587
594
|
|
|
588
595
|
export declare const GetUTxOsByAddress: {
|
|
589
596
|
// positional
|
|
590
|
-
(address:
|
|
597
|
+
(address: _.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
591
598
|
// named
|
|
592
|
-
({address}: {address?:
|
|
599
|
+
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
593
600
|
// metadata (do not use)
|
|
594
|
-
__parameters: {address?:
|
|
601
|
+
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
|
|
595
602
|
kind: 'action'
|
|
596
603
|
}
|
|
597
604
|
|
|
598
605
|
export declare const GetAssetsByAddress: {
|
|
599
606
|
// positional
|
|
600
|
-
(address:
|
|
607
|
+
(address: _.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
601
608
|
// named
|
|
602
|
-
({address}: {address?:
|
|
609
|
+
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
603
610
|
// metadata (do not use)
|
|
604
|
-
__parameters: {address?:
|
|
611
|
+
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
|
|
605
612
|
kind: 'action'
|
|
606
613
|
}
|
|
607
614
|
|
|
608
615
|
export declare const GetLatestTransactionsByAddress: {
|
|
609
616
|
// positional
|
|
610
|
-
(address:
|
|
617
|
+
(address: _.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
611
618
|
// named
|
|
612
|
-
({address, limit}: {address?:
|
|
619
|
+
({address, limit}: {address?: _.Bech32 | null, limit?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
613
620
|
// metadata (do not use)
|
|
614
|
-
__parameters: {address?:
|
|
621
|
+
__parameters: {address?: _.Bech32 | null, limit?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
|
|
615
622
|
kind: 'action'
|
|
616
623
|
}
|
|
617
624
|
|