@odatano/core 2.0.0-rc.5 → 2.0.0-rc.51
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/CardanoAgentService/index.d.ts +99 -51
- package/@cds-models/CardanoAgentService/index.js +15 -0
- package/@cds-models/CardanoBackendService/index.d.ts +358 -0
- package/@cds-models/CardanoBackendService/index.js +41 -0
- package/@cds-models/CardanoIndexerService/index.d.ts +594 -11
- package/@cds-models/CardanoIndexerService/index.js +74 -0
- package/@cds-models/CardanoODataService/index.d.ts +417 -57
- package/@cds-models/CardanoODataService/index.js +42 -0
- package/@cds-models/CardanoSignService/index.d.ts +45 -19
- package/@cds-models/CardanoSignService/index.js +4 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +70 -44
- package/@cds-models/CardanoTransactionService/index.js +5 -0
- package/@cds-models/CardanoWorkerService/index.d.ts +35 -22
- package/@cds-models/CardanoWorkerService/index.js +2 -0
- package/@cds-models/index.d.ts +114 -4
- package/@cds-models/index.js +20 -4
- package/@cds-models/odatano/cardano/index.d.ts +451 -32
- package/@cds-models/odatano/cardano/index.js +48 -0
- package/README.md +103 -167
- package/db/schema.cds +2455 -1705
- package/db/types.cds +456 -295
- package/package.json +41 -53
- package/scripts/deploy-schema.mjs +113 -0
- package/scripts/migrate-schema.mjs +528 -0
- package/scripts/migrate-slot-leader.mjs +96 -0
- package/src/index.d.ts +20 -21
- package/src/index.js +45 -31
- package/src/plugin.js +17 -35
- package/srv/blockchain/asset-decimals.d.ts +7 -0
- package/srv/blockchain/asset-decimals.js +91 -0
- package/srv/blockchain/backends/blockfrost-backend.d.ts +25 -137
- package/srv/blockchain/backends/blockfrost-backend.js +125 -215
- package/srv/blockchain/backends/call-signal.d.ts +7 -0
- package/srv/blockchain/backends/call-signal.js +22 -0
- package/srv/blockchain/backends/cardano-backend.d.ts +100 -189
- package/srv/blockchain/backends/cardano-backend.js +29 -5
- package/srv/blockchain/backends/koios-backend.d.ts +108 -170
- package/srv/blockchain/backends/koios-backend.js +488 -482
- package/srv/blockchain/backends/odatano-backend.d.ts +55 -0
- package/srv/blockchain/backends/odatano-backend.js +211 -0
- package/srv/blockchain/backends/ogmios-backend.d.ts +122 -190
- package/srv/blockchain/backends/ogmios-backend.js +683 -327
- package/srv/blockchain/backends/ogmios-frame-guard.d.ts +14 -0
- package/srv/blockchain/backends/ogmios-frame-guard.js +89 -0
- package/srv/blockchain/cardano-client.d.ts +71 -241
- package/srv/blockchain/cardano-client.js +354 -322
- package/srv/blockchain/cardano-indexer.d.ts +295 -283
- package/srv/blockchain/cardano-indexer.js +1690 -502
- package/srv/blockchain/cardano-tx-builder.d.ts +25 -89
- package/srv/blockchain/cardano-tx-builder.js +164 -140
- package/srv/blockchain/circuit-breaker.d.ts +2 -13
- package/srv/blockchain/circuit-breaker.js +11 -15
- package/srv/blockchain/crawler/account-snapshots.d.ts +29 -0
- package/srv/blockchain/crawler/account-snapshots.js +173 -0
- package/srv/blockchain/crawler/asset-decimals-backfill.d.ts +17 -0
- package/srv/blockchain/crawler/asset-decimals-backfill.js +56 -0
- package/srv/blockchain/crawler/asset-registry-backfill.d.ts +46 -0
- package/srv/blockchain/crawler/asset-registry-backfill.js +157 -0
- package/srv/blockchain/crawler/asset-slice-backfill.d.ts +35 -0
- package/srv/blockchain/crawler/asset-slice-backfill.js +149 -0
- package/srv/blockchain/crawler/certificate-backfill.d.ts +56 -0
- package/srv/blockchain/crawler/certificate-backfill.js +174 -0
- package/srv/blockchain/crawler/crawler.d.ts +125 -81
- package/srv/blockchain/crawler/crawler.js +738 -167
- package/srv/blockchain/crawler/credential-backfill.d.ts +30 -0
- package/srv/blockchain/crawler/credential-backfill.js +101 -0
- package/srv/blockchain/crawler/hooks.d.ts +2 -17
- package/srv/blockchain/crawler/index.d.ts +1 -8
- package/srv/blockchain/crawler/index.js +31 -17
- package/srv/blockchain/crawler/input-asset-copies.d.ts +34 -0
- package/srv/blockchain/crawler/input-asset-copies.js +161 -0
- package/srv/blockchain/crawler/key-pages.d.ts +12 -0
- package/srv/blockchain/crawler/key-pages.js +48 -0
- package/srv/blockchain/crawler/metadata-position-backfill.d.ts +22 -0
- package/srv/blockchain/crawler/metadata-position-backfill.js +59 -0
- package/srv/blockchain/crawler/output-datum-backfill.d.ts +41 -0
- package/srv/blockchain/crawler/output-datum-backfill.js +100 -0
- package/srv/blockchain/crawler/sync-state.d.ts +31 -47
- package/srv/blockchain/crawler/sync-state.js +135 -128
- package/srv/blockchain/crawler/transaction-backfill.d.ts +46 -0
- package/srv/blockchain/crawler/transaction-backfill.js +271 -0
- package/srv/blockchain/crawler/utxo-set-import.d.ts +66 -0
- package/srv/blockchain/crawler/utxo-set-import.js +399 -0
- package/srv/blockchain/crawler/window-plan.d.ts +31 -0
- package/srv/blockchain/crawler/window-plan.js +59 -0
- package/srv/blockchain/ledger-state.d.ts +62 -0
- package/srv/blockchain/ledger-state.js +521 -0
- package/srv/blockchain/pending-spends.d.ts +16 -0
- package/srv/blockchain/pending-spends.js +81 -0
- package/srv/blockchain/pool-metadata.d.ts +15 -0
- package/srv/blockchain/pool-metadata.js +132 -0
- package/srv/blockchain/request-coalescer.d.ts +2 -16
- package/srv/blockchain/request-coalescer.js +2 -16
- package/srv/blockchain/signing/cose-verifier.d.ts +3 -17
- package/srv/blockchain/signing/cose-verifier.js +146 -70
- package/srv/blockchain/signing/external-signer.d.ts +15 -115
- package/srv/blockchain/signing/external-signer.js +22 -131
- package/srv/blockchain/signing/failed-recheck.d.ts +17 -0
- package/srv/blockchain/signing/failed-recheck.js +135 -0
- package/srv/blockchain/signing/hsm-signer.d.ts +10 -54
- package/srv/blockchain/signing/hsm-signer.js +28 -79
- package/srv/blockchain/signing/landing-proof.d.ts +60 -0
- package/srv/blockchain/signing/landing-proof.js +224 -0
- package/srv/blockchain/signing/signature-verifier.d.ts +9 -47
- package/srv/blockchain/signing/signature-verifier.js +71 -87
- package/srv/blockchain/signing/submission-finalizer.d.ts +37 -45
- package/srv/blockchain/signing/submission-finalizer.js +280 -86
- package/srv/blockchain/stored-chain.d.ts +19 -0
- package/srv/blockchain/stored-chain.js +258 -0
- package/srv/blockchain/transaction-building/buildooor-tx.d.ts +31 -229
- package/srv/blockchain/transaction-building/buildooor-tx.js +663 -421
- package/srv/blockchain/transaction-building/cardano-tx.d.ts +9 -37
- package/srv/blockchain/transaction-presence.d.ts +12 -0
- package/srv/blockchain/transaction-presence.js +29 -0
- package/srv/blockchain/transaction-rows.d.ts +12 -0
- package/srv/blockchain/transaction-rows.js +44 -0
- package/srv/blockchain/wallet-worker/build-request.d.ts +8 -23
- package/srv/blockchain/wallet-worker/build-request.js +40 -353
- package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +27 -47
- package/srv/blockchain/wallet-worker/confirmation-tracker.js +158 -61
- package/srv/blockchain/wallet-worker/index.d.ts +1 -1
- package/srv/blockchain/wallet-worker/index.js +3 -11
- package/srv/blockchain/wallet-worker/invalidation.d.ts +35 -0
- package/srv/blockchain/wallet-worker/invalidation.js +128 -0
- package/srv/blockchain/wallet-worker/job-store.d.ts +58 -150
- package/srv/blockchain/wallet-worker/job-store.js +200 -273
- package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +2 -26
- package/srv/blockchain/wallet-worker/lease-heartbeat.js +6 -28
- package/srv/blockchain/wallet-worker/signers.d.ts +5 -24
- package/srv/blockchain/wallet-worker/signers.js +4 -12
- package/srv/blockchain/wallet-worker/wallet-worker.d.ts +29 -82
- package/srv/blockchain/wallet-worker/wallet-worker.js +334 -198
- package/srv/cardano-agent-service.cds +122 -84
- package/srv/cardano-agent-service.js +12 -9
- package/srv/cardano-backend-service.cds +81 -0
- package/srv/cardano-backend-service.d.ts +2 -0
- package/srv/cardano-backend-service.js +259 -0
- package/srv/cardano-indexer-service.cds +393 -18
- package/srv/cardano-indexer-service.d.ts +5 -1
- package/srv/cardano-indexer-service.js +477 -16
- package/srv/cardano-service.cds +426 -269
- package/srv/cardano-service.js +640 -217
- package/srv/cardano-sign-service.cds +211 -180
- package/srv/cardano-sign-service.js +210 -287
- package/srv/cardano-tx-service.cds +462 -370
- package/srv/cardano-tx-service.js +283 -800
- package/srv/cardano-ui.cds +16 -16
- package/srv/cardano-worker-service.cds +141 -125
- package/srv/cardano-worker-service.js +104 -61
- package/srv/cbor/cip68.d.ts +13 -0
- package/srv/cbor/cip68.js +56 -0
- package/srv/cbor/index.d.ts +3 -1
- package/srv/cbor/index.js +9 -1
- package/srv/cbor/parse.d.ts +30 -18
- package/srv/cbor/parse.js +44 -9
- package/srv/cbor/plutus-data-json.d.ts +20 -0
- package/srv/cbor/plutus-data-json.js +32 -0
- package/srv/config.d.ts +117 -0
- package/srv/config.js +419 -0
- package/srv/server.d.ts +15 -110
- package/srv/server.js +83 -405
- package/srv/utils/agent-access.d.ts +11 -0
- package/srv/utils/agent-access.js +86 -0
- package/srv/utils/agent-grants-config.d.ts +0 -46
- package/srv/utils/agent-grants-config.js +17 -85
- package/srv/utils/agent-grants.d.ts +106 -122
- package/srv/utils/agent-grants.js +538 -237
- package/srv/utils/agent-token-auth.d.ts +4 -99
- package/srv/utils/agent-token-auth.js +62 -186
- package/srv/utils/backend-request-handler.d.ts +3 -17
- package/srv/utils/backend-request-handler.js +3 -18
- package/srv/utils/build-request.d.ts +52 -0
- package/srv/utils/build-request.js +487 -0
- package/srv/utils/collections.d.ts +4 -10
- package/srv/utils/collections.js +14 -10
- package/srv/utils/const.d.ts +32 -75
- package/srv/utils/const.js +40 -80
- package/srv/utils/crypto.d.ts +3 -12
- package/srv/utils/crypto.js +11 -25
- package/srv/utils/db-indexes.d.ts +31 -0
- package/srv/utils/db-indexes.js +185 -0
- package/srv/utils/db-kind.d.ts +23 -0
- package/srv/utils/db-kind.js +42 -0
- package/srv/utils/db-sanitize.d.ts +20 -0
- package/srv/utils/db-sanitize.js +80 -0
- package/srv/utils/deep-json.d.ts +6 -0
- package/srv/utils/deep-json.js +240 -0
- package/srv/utils/detached-run.d.ts +41 -0
- package/srv/utils/detached-run.js +101 -0
- package/srv/utils/epoch-slots.d.ts +14 -0
- package/srv/utils/epoch-slots.js +45 -0
- package/srv/utils/error-codes.d.ts +26 -75
- package/srv/utils/error-codes.js +27 -72
- package/srv/utils/errors.d.ts +55 -187
- package/srv/utils/errors.js +161 -235
- package/srv/utils/lease.d.ts +20 -0
- package/srv/utils/lease.js +62 -0
- package/srv/utils/liveness.d.ts +12 -0
- package/srv/utils/liveness.js +35 -0
- package/srv/utils/mappers.d.ts +111 -223
- package/srv/utils/mappers.js +432 -371
- package/srv/utils/navigation.d.ts +17 -0
- package/srv/utils/navigation.js +52 -0
- package/srv/utils/network-context.d.ts +0 -1
- package/srv/utils/network-context.js +9 -15
- package/srv/utils/paging.d.ts +31 -0
- package/srv/utils/paging.js +43 -0
- package/srv/utils/pg-inline-json.d.ts +8 -0
- package/srv/utils/pg-inline-json.js +58 -0
- package/srv/utils/pg-order-nulls.d.ts +14 -0
- package/srv/utils/pg-order-nulls.js +54 -0
- package/srv/utils/plutus-placeholders.d.ts +16 -22
- package/srv/utils/plutus-placeholders.js +62 -33
- package/srv/utils/rate-limiter.d.ts +2 -21
- package/srv/utils/rate-limiter.js +5 -17
- package/srv/utils/readiness.d.ts +12 -0
- package/srv/utils/readiness.js +29 -0
- package/srv/utils/reference-script.d.ts +19 -0
- package/srv/utils/reference-script.js +84 -0
- package/srv/utils/resolution.d.ts +13 -0
- package/srv/utils/resolution.js +47 -0
- package/srv/utils/result-numbers.d.ts +15 -0
- package/srv/utils/result-numbers.js +61 -0
- package/srv/utils/row-values.d.ts +7 -0
- package/srv/utils/row-values.js +27 -0
- package/srv/utils/service-events.d.ts +0 -24
- package/srv/utils/service-events.js +3 -25
- package/srv/utils/signing-helper.d.ts +3 -20
- package/srv/utils/signing-helper.js +35 -64
- package/srv/utils/tx-build-helper.d.ts +25 -105
- package/srv/utils/tx-build-helper.js +108 -156
- package/srv/utils/tx-request-parsers.d.ts +82 -33
- package/srv/utils/tx-request-parsers.js +401 -49
- package/srv/utils/tx-utils.d.ts +3 -27
- package/srv/utils/tx-utils.js +32 -50
- package/srv/utils/types.d.ts +294 -232
- package/srv/utils/types.js +2 -22
- package/srv/utils/validators.d.ts +22 -92
- package/srv/utils/validators.js +60 -170
|
@@ -2,35 +2,6 @@
|
|
|
2
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
|
-
*
|
|
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
5
|
export default class {
|
|
35
6
|
static readonly GetNetworkInformation: typeof GetNetworkInformation;
|
|
36
7
|
static readonly GetBlockByHash: typeof GetBlockByHash;
|
|
@@ -41,7 +12,9 @@ export default class {
|
|
|
41
12
|
static readonly GetAssetHistory: typeof GetAssetHistory;
|
|
42
13
|
static readonly GetAccountByStakeAddress: typeof GetAccountByStakeAddress;
|
|
43
14
|
static readonly GetTransactionByHash: typeof GetTransactionByHash;
|
|
15
|
+
static readonly GetTransactionConfirmations: typeof GetTransactionConfirmations;
|
|
44
16
|
static readonly GetMetadataByTxHash: typeof GetMetadataByTxHash;
|
|
17
|
+
static readonly GetMetadataByLabel: typeof GetMetadataByLabel;
|
|
45
18
|
static readonly GetAddressByBech32: typeof GetAddressByBech32;
|
|
46
19
|
static readonly GetUTxOsByAddress: typeof GetUTxOsByAddress;
|
|
47
20
|
static readonly GetUTxOsByCredential: typeof GetUTxOsByCredential;
|
|
@@ -51,6 +24,7 @@ export default class {
|
|
|
51
24
|
static readonly GetLatestEpoch: typeof GetLatestEpoch;
|
|
52
25
|
static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
|
|
53
26
|
static readonly ParseTransactionCbor: typeof ParseTransactionCbor;
|
|
27
|
+
static readonly DecodePlutusData: typeof DecodePlutusData;
|
|
54
28
|
}
|
|
55
29
|
|
|
56
30
|
// entity 'NetworkInformation'
|
|
@@ -83,7 +57,7 @@ export class NetworkInformation_ extends Array<NetworkInformation> {
|
|
|
83
57
|
export declare function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
84
58
|
new (...args: any[]): {
|
|
85
59
|
hash?: __.Key<string>
|
|
86
|
-
time?:
|
|
60
|
+
time?: __.CdsTimestamp | null
|
|
87
61
|
height?: number | null
|
|
88
62
|
slotLeader?: string | null
|
|
89
63
|
epochNumber?: number | null
|
|
@@ -93,6 +67,7 @@ export declare function _BlockAspect<TBase extends new (...args: any[]) => objec
|
|
|
93
67
|
size?: number | null
|
|
94
68
|
txCount?: number | null
|
|
95
69
|
fees?: _.Lovelace | null
|
|
70
|
+
previousHash?: string | null
|
|
96
71
|
} & InstanceType<TBase>
|
|
97
72
|
readonly kind: 'entity';
|
|
98
73
|
readonly keys: __.KeysOf<Block>;
|
|
@@ -118,6 +93,7 @@ export declare function _EpochAspect<TBase extends new (...args: any[]) => objec
|
|
|
118
93
|
output?: string | null
|
|
119
94
|
fees?: _.Lovelace | null
|
|
120
95
|
activeStake?: _.Lovelace | null
|
|
96
|
+
final?: boolean | null
|
|
121
97
|
} & InstanceType<TBase>
|
|
122
98
|
readonly kind: 'entity';
|
|
123
99
|
readonly keys: __.KeysOf<Epoch>;
|
|
@@ -149,6 +125,12 @@ export declare function _PoolAspect<TBase extends new (...args: any[]) => object
|
|
|
149
125
|
margin?: (number | string) | null
|
|
150
126
|
fixedCost?: _.Lovelace | null
|
|
151
127
|
rewardAccount?: string | null
|
|
128
|
+
metadataUrl?: string | null
|
|
129
|
+
metadataHash?: _.Blake2b256 | null
|
|
130
|
+
name?: string | null
|
|
131
|
+
ticker?: string | null
|
|
132
|
+
homepage?: string | null
|
|
133
|
+
description?: string | null
|
|
152
134
|
} & InstanceType<TBase>
|
|
153
135
|
readonly kind: 'entity';
|
|
154
136
|
readonly keys: __.KeysOf<Pool>;
|
|
@@ -185,6 +167,120 @@ export class Dreps extends Array<Drep> {
|
|
|
185
167
|
$count?: number
|
|
186
168
|
}
|
|
187
169
|
|
|
170
|
+
// entity 'PoolEpochSnapshot'
|
|
171
|
+
export declare function _PoolEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
172
|
+
new (...args: any[]): {
|
|
173
|
+
poolId?: __.Key<_.Bech32>
|
|
174
|
+
epoch?: __.Key<number>
|
|
175
|
+
snapshotSlot?: number | null
|
|
176
|
+
snapshotTime?: number | null
|
|
177
|
+
snapshotHash?: _.Blake2b256 | null
|
|
178
|
+
source?: string | null
|
|
179
|
+
blocksMinted?: number | null
|
|
180
|
+
blocksEpoch?: number | null
|
|
181
|
+
liveStake?: _.Lovelace | null
|
|
182
|
+
liveSize?: (number | string) | null
|
|
183
|
+
liveSaturation?: (number | string) | null
|
|
184
|
+
liveDelegators?: number | null
|
|
185
|
+
activeStake?: _.Lovelace | null
|
|
186
|
+
activeSize?: (number | string) | null
|
|
187
|
+
pledge?: _.Lovelace | null
|
|
188
|
+
margin?: (number | string) | null
|
|
189
|
+
fixedCost?: _.Lovelace | null
|
|
190
|
+
} & InstanceType<TBase>
|
|
191
|
+
readonly kind: 'entity';
|
|
192
|
+
readonly keys: __.KeysOf<PoolEpochSnapshot>;
|
|
193
|
+
readonly elements: __.ElementsOf<PoolEpochSnapshot>;
|
|
194
|
+
readonly actions: globalThis.Record<never, never>;
|
|
195
|
+
};
|
|
196
|
+
export class PoolEpochSnapshot extends _PoolEpochSnapshotAspect(__.Entity) {
|
|
197
|
+
}
|
|
198
|
+
export class PoolEpochSnapshots extends Array<PoolEpochSnapshot> {
|
|
199
|
+
$count?: number
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// entity 'DrepEpochSnapshot'
|
|
203
|
+
export declare function _DrepEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
204
|
+
new (...args: any[]): {
|
|
205
|
+
drepId?: __.Key<_.Bech32>
|
|
206
|
+
epoch?: __.Key<number>
|
|
207
|
+
snapshotSlot?: number | null
|
|
208
|
+
snapshotTime?: number | null
|
|
209
|
+
snapshotHash?: _.Blake2b256 | null
|
|
210
|
+
source?: string | null
|
|
211
|
+
deposit?: _.Lovelace | null
|
|
212
|
+
expiresEpoch?: number | null
|
|
213
|
+
delegatorCount?: number | null
|
|
214
|
+
amount?: _.Lovelace | null
|
|
215
|
+
hasScript?: boolean | null
|
|
216
|
+
lastActiveEpoch?: number | null
|
|
217
|
+
retired?: boolean | null
|
|
218
|
+
expired?: boolean | null
|
|
219
|
+
} & InstanceType<TBase>
|
|
220
|
+
readonly kind: 'entity';
|
|
221
|
+
readonly keys: __.KeysOf<DrepEpochSnapshot>;
|
|
222
|
+
readonly elements: __.ElementsOf<DrepEpochSnapshot>;
|
|
223
|
+
readonly actions: globalThis.Record<never, never>;
|
|
224
|
+
};
|
|
225
|
+
export class DrepEpochSnapshot extends _DrepEpochSnapshotAspect(__.Entity) {
|
|
226
|
+
}
|
|
227
|
+
export class DrepEpochSnapshots extends Array<DrepEpochSnapshot> {
|
|
228
|
+
$count?: number
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// entity 'EpochLedgerSnapshot'
|
|
232
|
+
export declare function _EpochLedgerSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
233
|
+
new (...args: any[]): {
|
|
234
|
+
epoch?: __.Key<number>
|
|
235
|
+
snapshotSlot?: number | null
|
|
236
|
+
snapshotTime?: number | null
|
|
237
|
+
snapshotHash?: _.Blake2b256 | null
|
|
238
|
+
source?: string | null
|
|
239
|
+
treasury?: _.Lovelace | null
|
|
240
|
+
reserves?: _.Lovelace | null
|
|
241
|
+
totalSupply?: _.Lovelace | null
|
|
242
|
+
liveStake?: _.Lovelace | null
|
|
243
|
+
activeStake?: _.Lovelace | null
|
|
244
|
+
poolCount?: number | null
|
|
245
|
+
drepCount?: number | null
|
|
246
|
+
drepAbstainStake?: _.Lovelace | null
|
|
247
|
+
drepNoConfidenceStake?: _.Lovelace | null
|
|
248
|
+
accountCount?: number | null
|
|
249
|
+
accountSnapshotSlot?: number | null
|
|
250
|
+
} & InstanceType<TBase>
|
|
251
|
+
readonly kind: 'entity';
|
|
252
|
+
readonly keys: __.KeysOf<EpochLedgerSnapshot>;
|
|
253
|
+
readonly elements: __.ElementsOf<EpochLedgerSnapshot>;
|
|
254
|
+
readonly actions: globalThis.Record<never, never>;
|
|
255
|
+
};
|
|
256
|
+
export class EpochLedgerSnapshot extends _EpochLedgerSnapshotAspect(__.Entity) {
|
|
257
|
+
}
|
|
258
|
+
export class EpochLedgerSnapshots extends Array<EpochLedgerSnapshot> {
|
|
259
|
+
$count?: number
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// entity 'AccountEpochSnapshot'
|
|
263
|
+
export declare function _AccountEpochSnapshotAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
264
|
+
new (...args: any[]): {
|
|
265
|
+
stakeAddress?: __.Key<_.Bech32>
|
|
266
|
+
epoch?: __.Key<number>
|
|
267
|
+
withdrawableAmount?: _.Lovelace | null
|
|
268
|
+
creditedAmount?: _.Lovelace | null
|
|
269
|
+
deposit?: _.Lovelace | null
|
|
270
|
+
poolId?: _.Bech32 | null
|
|
271
|
+
drepId?: _.Bech32 | null
|
|
272
|
+
} & InstanceType<TBase>
|
|
273
|
+
readonly kind: 'entity';
|
|
274
|
+
readonly keys: __.KeysOf<AccountEpochSnapshot>;
|
|
275
|
+
readonly elements: __.ElementsOf<AccountEpochSnapshot>;
|
|
276
|
+
readonly actions: globalThis.Record<never, never>;
|
|
277
|
+
};
|
|
278
|
+
export class AccountEpochSnapshot extends _AccountEpochSnapshotAspect(__.Entity) {
|
|
279
|
+
}
|
|
280
|
+
export class AccountEpochSnapshots extends Array<AccountEpochSnapshot> {
|
|
281
|
+
$count?: number
|
|
282
|
+
}
|
|
283
|
+
|
|
188
284
|
// entity 'Asset'
|
|
189
285
|
export declare function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
190
286
|
new (...args: any[]): {
|
|
@@ -203,6 +299,7 @@ export declare function _AssetAspect<TBase extends new (...args: any[]) => objec
|
|
|
203
299
|
registryName?: string | null
|
|
204
300
|
registryTicker?: string | null
|
|
205
301
|
registryDecimals?: number | null
|
|
302
|
+
decimals?: number | null
|
|
206
303
|
registryDescription?: string | null
|
|
207
304
|
registryUrl?: string | null
|
|
208
305
|
registryLogo?: string | null
|
|
@@ -243,6 +340,7 @@ export class AssetHistory_ extends Array<AssetHistory> {
|
|
|
243
340
|
export declare function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
244
341
|
new (...args: any[]): {
|
|
245
342
|
hash?: __.Key<_.Blake2b256>
|
|
343
|
+
txSeq?: number | null
|
|
246
344
|
blockHash?: _.Blake2b256 | null
|
|
247
345
|
blockHeight?: number | null
|
|
248
346
|
blockTime?: number | null
|
|
@@ -254,6 +352,9 @@ export declare function _TransactionAspect<TBase extends new (...args: any[]) =>
|
|
|
254
352
|
metadata?: __.Composition.of.many<TransactionMetadata_>
|
|
255
353
|
inputs?: __.Composition.of.many<TransactionInputs>
|
|
256
354
|
outputs?: __.Composition.of.many<TransactionOutputs>
|
|
355
|
+
certificates?: __.Composition.of.many<TransactionCertificates>
|
|
356
|
+
withdrawals?: __.Composition.of.many<TransactionWithdrawals>
|
|
357
|
+
datums?: __.Composition.of.many<TransactionDatums>
|
|
257
358
|
hasMetadata?: boolean | null
|
|
258
359
|
hasInputs?: boolean | null
|
|
259
360
|
hasOutputs?: boolean | null
|
|
@@ -272,17 +373,23 @@ export class Transactions extends Array<Transaction> {
|
|
|
272
373
|
// entity 'TransactionInput'
|
|
273
374
|
export declare function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
274
375
|
new (...args: any[]): {
|
|
275
|
-
|
|
276
|
-
|
|
376
|
+
txSeq?: __.Key<number>
|
|
377
|
+
tx?: __.Association.to<Transaction> | null
|
|
277
378
|
inputIndex?: __.Key<number>
|
|
278
379
|
address?: __.Association.to<Address> | null
|
|
279
380
|
address_address?: _.Bech32 | null
|
|
280
381
|
utxoData_dataHash?: _.Blake2b256 | null
|
|
281
382
|
utxoData_inlineDatum?: string | null
|
|
282
383
|
utxoData_referenceScriptHash?: _.Blake2b256 | null
|
|
384
|
+
utxoData_referenceScriptSize?: number | null
|
|
385
|
+
utxoData_referenceScriptType?: string | null
|
|
386
|
+
utxoData_paymentCredential?: string | null
|
|
387
|
+
spentTxHash?: _.Blake2b256 | null
|
|
388
|
+
spentOutputIndex?: number | null
|
|
389
|
+
spentTxSeq?: number | null
|
|
283
390
|
isCollateral?: boolean | null
|
|
284
391
|
isReference?: boolean | null
|
|
285
|
-
assets?: __.
|
|
392
|
+
assets?: __.Association.to.many<TransactionInputAssets>
|
|
286
393
|
hasAddresses?: boolean | null
|
|
287
394
|
hasAssets?: boolean | null
|
|
288
395
|
} & InstanceType<TBase>
|
|
@@ -300,14 +407,17 @@ export class TransactionInputs extends Array<TransactionInput> {
|
|
|
300
407
|
// entity 'TransactionOutput'
|
|
301
408
|
export declare function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
302
409
|
new (...args: any[]): {
|
|
303
|
-
|
|
304
|
-
|
|
410
|
+
txSeq?: __.Key<number>
|
|
411
|
+
tx?: __.Association.to<Transaction> | null
|
|
305
412
|
outputIndex?: __.Key<number>
|
|
306
413
|
address?: __.Association.to<Address> | null
|
|
307
414
|
address_address?: _.Bech32 | null
|
|
308
415
|
utxo_dataHash?: _.Blake2b256 | null
|
|
309
416
|
utxo_inlineDatum?: string | null
|
|
310
417
|
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
418
|
+
utxo_referenceScriptSize?: number | null
|
|
419
|
+
utxo_referenceScriptType?: string | null
|
|
420
|
+
utxo_paymentCredential?: string | null
|
|
311
421
|
assets?: __.Composition.of.many<TransactionOutputAssets>
|
|
312
422
|
hasAddresses?: boolean | null
|
|
313
423
|
hasAssets?: boolean | null
|
|
@@ -326,15 +436,15 @@ export class TransactionOutputs extends Array<TransactionOutput> {
|
|
|
326
436
|
// entity 'TransactionInputAsset'
|
|
327
437
|
export declare function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
328
438
|
new (...args: any[]): {
|
|
329
|
-
|
|
439
|
+
input_txSeq?: __.Key<number>
|
|
330
440
|
input_inputIndex?: __.Key<number>
|
|
331
|
-
input_tx_hash?: __.Key<_.Blake2b256>
|
|
332
441
|
unit?: __.Key<_.AssetUnit>
|
|
333
442
|
asset_quantity?: _.Lovelace | null
|
|
334
443
|
asset_policyId?: _.Blake2b224 | null
|
|
335
444
|
asset_assetNameHex?: _.HexBytes | null
|
|
336
445
|
asset_assetName?: string | null
|
|
337
446
|
asset_fingerprint?: string | null
|
|
447
|
+
input?: __.Association.to<TransactionInput> | null
|
|
338
448
|
} & InstanceType<TBase>
|
|
339
449
|
readonly kind: 'entity';
|
|
340
450
|
readonly keys: __.KeysOf<TransactionInputAsset>;
|
|
@@ -351,8 +461,8 @@ export class TransactionInputAssets extends Array<TransactionInputAsset> {
|
|
|
351
461
|
export declare function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
352
462
|
new (...args: any[]): {
|
|
353
463
|
output?: __.Key<__.Association.to<TransactionOutput>>
|
|
464
|
+
output_txSeq?: __.Key<number>
|
|
354
465
|
output_outputIndex?: __.Key<number>
|
|
355
|
-
output_tx_hash?: __.Key<_.Blake2b256>
|
|
356
466
|
unit?: __.Key<_.AssetUnit>
|
|
357
467
|
asset_quantity?: _.Lovelace | null
|
|
358
468
|
asset_policyId?: _.Blake2b224 | null
|
|
@@ -371,6 +481,220 @@ export class TransactionOutputAssets extends Array<TransactionOutputAsset> {
|
|
|
371
481
|
$count?: number
|
|
372
482
|
}
|
|
373
483
|
|
|
484
|
+
// entity 'TransactionCertificate'
|
|
485
|
+
export declare function _TransactionCertificateAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
486
|
+
new (...args: any[]): {
|
|
487
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
488
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
489
|
+
certIndex?: __.Key<number>
|
|
490
|
+
kind?: __.Key<string>
|
|
491
|
+
stakeAddress?: _.Bech32 | null
|
|
492
|
+
poolId?: _.Bech32 | null
|
|
493
|
+
drepId?: _.Bech32 | null
|
|
494
|
+
deposit?: _.Lovelace | null
|
|
495
|
+
epoch?: number | null
|
|
496
|
+
} & InstanceType<TBase>
|
|
497
|
+
readonly kind: 'entity';
|
|
498
|
+
readonly keys: __.KeysOf<TransactionCertificate>;
|
|
499
|
+
readonly elements: __.ElementsOf<TransactionCertificate>;
|
|
500
|
+
readonly actions: globalThis.Record<never, never>;
|
|
501
|
+
};
|
|
502
|
+
export class TransactionCertificate extends _TransactionCertificateAspect(__.Entity) {
|
|
503
|
+
}
|
|
504
|
+
export class TransactionCertificates extends Array<TransactionCertificate> {
|
|
505
|
+
$count?: number
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
// entity 'TransactionWithdrawal'
|
|
509
|
+
export declare function _TransactionWithdrawalAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
510
|
+
new (...args: any[]): {
|
|
511
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
512
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
513
|
+
stakeAddress?: __.Key<_.Bech32>
|
|
514
|
+
lovelace?: _.Lovelace | null
|
|
515
|
+
} & InstanceType<TBase>
|
|
516
|
+
readonly kind: 'entity';
|
|
517
|
+
readonly keys: __.KeysOf<TransactionWithdrawal>;
|
|
518
|
+
readonly elements: __.ElementsOf<TransactionWithdrawal>;
|
|
519
|
+
readonly actions: globalThis.Record<never, never>;
|
|
520
|
+
};
|
|
521
|
+
export class TransactionWithdrawal extends _TransactionWithdrawalAspect(__.Entity) {
|
|
522
|
+
}
|
|
523
|
+
export class TransactionWithdrawals extends Array<TransactionWithdrawal> {
|
|
524
|
+
$count?: number
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// entity 'TransactionRedeemer'
|
|
528
|
+
export declare function _TransactionRedeemerAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
529
|
+
new (...args: any[]): {
|
|
530
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
531
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
532
|
+
purpose?: __.Key<string>
|
|
533
|
+
redeemerIndex?: __.Key<number>
|
|
534
|
+
data?: string | null
|
|
535
|
+
mem?: number | null
|
|
536
|
+
steps?: number | null
|
|
537
|
+
spentTxHash?: _.Blake2b256 | null
|
|
538
|
+
spentOutputIndex?: number | null
|
|
539
|
+
policyId?: _.Blake2b224 | null
|
|
540
|
+
} & InstanceType<TBase>
|
|
541
|
+
readonly kind: 'entity';
|
|
542
|
+
readonly keys: __.KeysOf<TransactionRedeemer>;
|
|
543
|
+
readonly elements: __.ElementsOf<TransactionRedeemer>;
|
|
544
|
+
readonly actions: globalThis.Record<never, never>;
|
|
545
|
+
};
|
|
546
|
+
export class TransactionRedeemer extends _TransactionRedeemerAspect(__.Entity) {
|
|
547
|
+
}
|
|
548
|
+
export class TransactionRedeemers extends Array<TransactionRedeemer> {
|
|
549
|
+
$count?: number
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// entity 'TransactionDatum'
|
|
553
|
+
export declare function _TransactionDatumAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
554
|
+
new (...args: any[]): {
|
|
555
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
556
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
557
|
+
dataHash?: __.Key<_.Blake2b256>
|
|
558
|
+
datum?: string | null
|
|
559
|
+
} & InstanceType<TBase>
|
|
560
|
+
readonly kind: 'entity';
|
|
561
|
+
readonly keys: __.KeysOf<TransactionDatum>;
|
|
562
|
+
readonly elements: __.ElementsOf<TransactionDatum>;
|
|
563
|
+
readonly actions: globalThis.Record<never, never>;
|
|
564
|
+
};
|
|
565
|
+
export class TransactionDatum extends _TransactionDatumAspect(__.Entity) {
|
|
566
|
+
}
|
|
567
|
+
export class TransactionDatums extends Array<TransactionDatum> {
|
|
568
|
+
$count?: number
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// entity 'LedgerUTxO'
|
|
572
|
+
export declare function _LedgerUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
573
|
+
new (...args: any[]): {
|
|
574
|
+
txHash?: __.Key<_.Blake2b256>
|
|
575
|
+
outputIndex?: __.Key<number>
|
|
576
|
+
address?: _.Bech32 | null
|
|
577
|
+
stakeAddress?: _.Bech32 | null
|
|
578
|
+
addressType?: string | null
|
|
579
|
+
isScript?: boolean | null
|
|
580
|
+
lovelace?: _.Lovelace | null
|
|
581
|
+
createdSlot?: number | null
|
|
582
|
+
spentTxHash?: _.Blake2b256 | null
|
|
583
|
+
spentSlot?: number | null
|
|
584
|
+
utxo_dataHash?: _.Blake2b256 | null
|
|
585
|
+
utxo_inlineDatum?: string | null
|
|
586
|
+
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
587
|
+
utxo_referenceScriptSize?: number | null
|
|
588
|
+
utxo_referenceScriptType?: string | null
|
|
589
|
+
utxo_paymentCredential?: string | null
|
|
590
|
+
hasAssets?: boolean | null
|
|
591
|
+
assets?: __.Composition.of.many<LedgerUTxOAssets>
|
|
592
|
+
} & InstanceType<TBase>
|
|
593
|
+
readonly kind: 'entity';
|
|
594
|
+
readonly keys: __.KeysOf<LedgerUTxO>;
|
|
595
|
+
readonly elements: __.ElementsOf<LedgerUTxO>;
|
|
596
|
+
readonly actions: globalThis.Record<never, never>;
|
|
597
|
+
};
|
|
598
|
+
export class LedgerUTxO extends _LedgerUTxOAspect(__.Entity) {
|
|
599
|
+
}
|
|
600
|
+
export class LedgerUTxOs extends Array<LedgerUTxO> {
|
|
601
|
+
$count?: number
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// entity 'LedgerUTxOAsset'
|
|
605
|
+
export declare function _LedgerUTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
606
|
+
new (...args: any[]): {
|
|
607
|
+
utxo?: __.Key<__.Association.to<LedgerUTxO>>
|
|
608
|
+
utxo_txHash?: __.Key<_.Blake2b256>
|
|
609
|
+
utxo_outputIndex?: __.Key<number>
|
|
610
|
+
unit?: __.Key<_.AssetUnit>
|
|
611
|
+
asset_quantity?: _.Lovelace | null
|
|
612
|
+
asset_policyId?: _.Blake2b224 | null
|
|
613
|
+
asset_assetNameHex?: _.HexBytes | null
|
|
614
|
+
asset_assetName?: string | null
|
|
615
|
+
asset_fingerprint?: string | null
|
|
616
|
+
} & InstanceType<TBase>
|
|
617
|
+
readonly kind: 'entity';
|
|
618
|
+
readonly keys: __.KeysOf<LedgerUTxOAsset>;
|
|
619
|
+
readonly elements: __.ElementsOf<LedgerUTxOAsset>;
|
|
620
|
+
readonly actions: globalThis.Record<never, never>;
|
|
621
|
+
};
|
|
622
|
+
export class LedgerUTxOAsset extends _LedgerUTxOAssetAspect(__.Entity) {
|
|
623
|
+
}
|
|
624
|
+
export class LedgerUTxOAssets extends Array<LedgerUTxOAsset> {
|
|
625
|
+
$count?: number
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
// entity 'LedgerAddress'
|
|
629
|
+
export declare function _LedgerAddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
630
|
+
new (...args: any[]): {
|
|
631
|
+
address?: __.Key<_.Bech32>
|
|
632
|
+
stakeAddress?: _.Bech32 | null
|
|
633
|
+
paymentCredential?: string | null
|
|
634
|
+
addressType?: string | null
|
|
635
|
+
isScript?: boolean | null
|
|
636
|
+
totalLovelace?: _.Lovelace | null
|
|
637
|
+
utxoCount?: number | null
|
|
638
|
+
firstSeenSlot?: number | null
|
|
639
|
+
lastActiveSlot?: number | null
|
|
640
|
+
assets?: __.Composition.of.many<LedgerAddressAssets>
|
|
641
|
+
utxos?: __.Association.to.many<LedgerUTxOs>
|
|
642
|
+
} & InstanceType<TBase>
|
|
643
|
+
readonly kind: 'entity';
|
|
644
|
+
readonly keys: __.KeysOf<LedgerAddress>;
|
|
645
|
+
readonly elements: __.ElementsOf<LedgerAddress>;
|
|
646
|
+
readonly actions: globalThis.Record<never, never>;
|
|
647
|
+
};
|
|
648
|
+
export class LedgerAddress extends _LedgerAddressAspect(__.Entity) {
|
|
649
|
+
}
|
|
650
|
+
export class LedgerAddresses extends Array<LedgerAddress> {
|
|
651
|
+
$count?: number
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
// entity 'LedgerAddressAsset'
|
|
655
|
+
export declare function _LedgerAddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
656
|
+
new (...args: any[]): {
|
|
657
|
+
address?: __.Key<__.Association.to<LedgerAddress>>
|
|
658
|
+
address_address?: __.Key<_.Bech32>
|
|
659
|
+
unit?: __.Key<_.AssetUnit>
|
|
660
|
+
asset_quantity?: _.AssetAmount | null
|
|
661
|
+
asset_policyId?: _.Blake2b224 | null
|
|
662
|
+
asset_assetNameHex?: _.HexBytes | null
|
|
663
|
+
asset_assetName?: string | null
|
|
664
|
+
asset_fingerprint?: string | null
|
|
665
|
+
} & InstanceType<TBase>
|
|
666
|
+
readonly kind: 'entity';
|
|
667
|
+
readonly keys: __.KeysOf<LedgerAddressAsset>;
|
|
668
|
+
readonly elements: __.ElementsOf<LedgerAddressAsset>;
|
|
669
|
+
readonly actions: globalThis.Record<never, never>;
|
|
670
|
+
};
|
|
671
|
+
export class LedgerAddressAsset extends _LedgerAddressAssetAspect(__.Entity) {
|
|
672
|
+
}
|
|
673
|
+
export class LedgerAddressAssets extends Array<LedgerAddressAsset> {
|
|
674
|
+
$count?: number
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
// entity 'LedgerAccount'
|
|
678
|
+
export declare function _LedgerAccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
679
|
+
new (...args: any[]): {
|
|
680
|
+
stakeAddress?: __.Key<_.Bech32>
|
|
681
|
+
controlledAmount?: _.Lovelace | null
|
|
682
|
+
addressCount?: number | null
|
|
683
|
+
utxoCount?: number | null
|
|
684
|
+
lastActiveSlot?: number | null
|
|
685
|
+
addresses?: __.Association.to.many<LedgerAddresses>
|
|
686
|
+
} & InstanceType<TBase>
|
|
687
|
+
readonly kind: 'entity';
|
|
688
|
+
readonly keys: __.KeysOf<LedgerAccount>;
|
|
689
|
+
readonly elements: __.ElementsOf<LedgerAccount>;
|
|
690
|
+
readonly actions: globalThis.Record<never, never>;
|
|
691
|
+
};
|
|
692
|
+
export class LedgerAccount extends _LedgerAccountAspect(__.Entity) {
|
|
693
|
+
}
|
|
694
|
+
export class LedgerAccounts extends Array<LedgerAccount> {
|
|
695
|
+
$count?: number
|
|
696
|
+
}
|
|
697
|
+
|
|
374
698
|
// entity 'Account'
|
|
375
699
|
export declare function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
376
700
|
new (...args: any[]): {
|
|
@@ -391,6 +715,7 @@ export declare function _AccountAspect<TBase extends new (...args: any[]) => obj
|
|
|
391
715
|
drepId_drepId?: _.Bech32 | null
|
|
392
716
|
Address?: __.Composition.of.many<Addresses>
|
|
393
717
|
hasAddresses?: boolean | null
|
|
718
|
+
addressCount?: number | null
|
|
394
719
|
} & InstanceType<TBase>
|
|
395
720
|
readonly kind: 'entity';
|
|
396
721
|
readonly keys: __.KeysOf<Account>;
|
|
@@ -440,7 +765,7 @@ export declare function _AddressAssetAspect<TBase extends new (...args: any[]) =
|
|
|
440
765
|
address?: __.Key<__.Association.to<Address>>
|
|
441
766
|
address_address?: __.Key<_.Bech32>
|
|
442
767
|
unit?: __.Key<_.AssetUnit>
|
|
443
|
-
asset_quantity?: _.
|
|
768
|
+
asset_quantity?: _.AssetAmount | null
|
|
444
769
|
asset_policyId?: _.Blake2b224 | null
|
|
445
770
|
asset_assetNameHex?: _.HexBytes | null
|
|
446
771
|
asset_assetName?: string | null
|
|
@@ -470,6 +795,9 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
470
795
|
utxodata_dataHash?: _.Blake2b256 | null
|
|
471
796
|
utxodata_inlineDatum?: string | null
|
|
472
797
|
utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
798
|
+
utxodata_referenceScriptSize?: number | null
|
|
799
|
+
utxodata_referenceScriptType?: string | null
|
|
800
|
+
utxodata_paymentCredential?: string | null
|
|
473
801
|
lovelace?: _.Lovelace | null
|
|
474
802
|
assets?: __.Composition.of.many<UTxOAssets>
|
|
475
803
|
hasAssets?: boolean | null
|
|
@@ -543,6 +871,7 @@ export declare function _TransactionMetadataAspect<TBase extends new (...args: a
|
|
|
543
871
|
tx_hash?: __.Key<_.Blake2b256>
|
|
544
872
|
label?: _.MetadataLabel | null
|
|
545
873
|
payload?: string | null
|
|
874
|
+
txSeq?: number | null
|
|
546
875
|
} & InstanceType<TBase>
|
|
547
876
|
readonly kind: 'entity';
|
|
548
877
|
readonly keys: __.KeysOf<TransactionMetadata>;
|
|
@@ -590,6 +919,7 @@ export declare function _LedgerProtocolParameterAspect<TBase extends new (...arg
|
|
|
590
919
|
collateralPercent?: number | null
|
|
591
920
|
maxCollateralInputs?: number | null
|
|
592
921
|
coinsPerUtxoSize?: string | null
|
|
922
|
+
minFeeRefScriptCostPerByte?: (number | string) | null
|
|
593
923
|
coinsPerUtxoWord?: string | null
|
|
594
924
|
fetchedAt?: __.CdsTimestamp | null
|
|
595
925
|
source?: string | null
|
|
@@ -668,11 +998,11 @@ export declare const GetAssetInfo: {
|
|
|
668
998
|
|
|
669
999
|
export declare const GetAssetHistory: {
|
|
670
1000
|
// positional
|
|
671
|
-
(unit: _.AssetUnit | null, limit: number | null): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
|
|
1001
|
+
(unit: _.AssetUnit | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
|
|
672
1002
|
// named
|
|
673
|
-
({unit, limit}: {unit?: _.AssetUnit | null, limit?: number | null}): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
|
|
1003
|
+
({unit, limit, skip}: {unit?: _.AssetUnit | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>
|
|
674
1004
|
// metadata (do not use)
|
|
675
|
-
__parameters: {unit?: _.AssetUnit | null, limit?: number | null}, __returns: globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>, __self: never
|
|
1005
|
+
__parameters: {unit?: _.AssetUnit | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AssetHistory>> | Array<AssetHistory>, __self: never
|
|
676
1006
|
kind: 'action'
|
|
677
1007
|
}
|
|
678
1008
|
|
|
@@ -696,13 +1026,33 @@ export declare const GetTransactionByHash: {
|
|
|
696
1026
|
kind: 'action'
|
|
697
1027
|
}
|
|
698
1028
|
|
|
1029
|
+
export declare const GetTransactionConfirmations: {
|
|
1030
|
+
// positional
|
|
1031
|
+
(txHash: _.Blake2b256 | null): globalThis.Promise<_.TransactionConfirmations | null> | _.TransactionConfirmations | null
|
|
1032
|
+
// named
|
|
1033
|
+
({txHash}: {txHash?: _.Blake2b256 | null}): globalThis.Promise<_.TransactionConfirmations | null> | _.TransactionConfirmations | null
|
|
1034
|
+
// metadata (do not use)
|
|
1035
|
+
__parameters: {txHash?: _.Blake2b256 | null}, __returns: globalThis.Promise<_.TransactionConfirmations | null> | _.TransactionConfirmations | null, __self: never
|
|
1036
|
+
kind: 'action'
|
|
1037
|
+
}
|
|
1038
|
+
|
|
699
1039
|
export declare const GetMetadataByTxHash: {
|
|
700
1040
|
// positional
|
|
701
|
-
(txHash: _.Blake2b256 | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
1041
|
+
(txHash: _.Blake2b256 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
1042
|
+
// named
|
|
1043
|
+
({txHash, limit, skip}: {txHash?: _.Blake2b256 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
1044
|
+
// metadata (do not use)
|
|
1045
|
+
__parameters: {txHash?: _.Blake2b256 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
|
|
1046
|
+
kind: 'action'
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export declare const GetMetadataByLabel: {
|
|
1050
|
+
// positional
|
|
1051
|
+
(label: string | null, fromSlot: number | null, limit: number | null, skip: number | null): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
702
1052
|
// named
|
|
703
|
-
({
|
|
1053
|
+
({label, fromSlot, limit, skip}: {label?: string | null, fromSlot?: number | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>
|
|
704
1054
|
// metadata (do not use)
|
|
705
|
-
__parameters: {
|
|
1055
|
+
__parameters: {label?: string | null, fromSlot?: number | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<TransactionMetadata>> | Array<TransactionMetadata>, __self: never
|
|
706
1056
|
kind: 'action'
|
|
707
1057
|
}
|
|
708
1058
|
|
|
@@ -718,41 +1068,41 @@ export declare const GetAddressByBech32: {
|
|
|
718
1068
|
|
|
719
1069
|
export declare const GetUTxOsByAddress: {
|
|
720
1070
|
// positional
|
|
721
|
-
(address: _.Bech32 | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
1071
|
+
(address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
722
1072
|
// named
|
|
723
|
-
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
1073
|
+
({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
724
1074
|
// metadata (do not use)
|
|
725
|
-
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
|
|
1075
|
+
__parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
|
|
726
1076
|
kind: 'action'
|
|
727
1077
|
}
|
|
728
1078
|
|
|
729
1079
|
export declare const GetUTxOsByCredential: {
|
|
730
1080
|
// positional
|
|
731
|
-
(credential: string | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
1081
|
+
(credential: string | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
732
1082
|
// named
|
|
733
|
-
({credential}: {credential?: string | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
1083
|
+
({credential, limit, skip}: {credential?: string | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>
|
|
734
1084
|
// metadata (do not use)
|
|
735
|
-
__parameters: {credential?: string | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
|
|
1085
|
+
__parameters: {credential?: string | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressUTxO>> | Array<AddressUTxO>, __self: never
|
|
736
1086
|
kind: 'action'
|
|
737
1087
|
}
|
|
738
1088
|
|
|
739
1089
|
export declare const GetAssetsByAddress: {
|
|
740
1090
|
// positional
|
|
741
|
-
(address: _.Bech32 | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
1091
|
+
(address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
742
1092
|
// named
|
|
743
|
-
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
1093
|
+
({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>
|
|
744
1094
|
// metadata (do not use)
|
|
745
|
-
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
|
|
1095
|
+
__parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressAsset>> | Array<AddressAsset>, __self: never
|
|
746
1096
|
kind: 'action'
|
|
747
1097
|
}
|
|
748
1098
|
|
|
749
1099
|
export declare const GetLatestTransactionsByAddress: {
|
|
750
1100
|
// positional
|
|
751
|
-
(address: _.Bech32 | null, limit: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
1101
|
+
(address: _.Bech32 | null, limit: number | null, skip: number | null, sinceTime: number | null, waitMs: number | null): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
752
1102
|
// named
|
|
753
|
-
({address, limit}: {address?: _.Bech32 | null, limit?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
1103
|
+
({address, limit, skip, sinceTime, waitMs}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null, sinceTime?: number | null, waitMs?: number | null}): globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>
|
|
754
1104
|
// metadata (do not use)
|
|
755
|
-
__parameters: {address?: _.Bech32 | null, limit?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
|
|
1105
|
+
__parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null, sinceTime?: number | null, waitMs?: number | null}, __returns: globalThis.Promise<Array<AddressTransaction>> | Array<AddressTransaction>, __self: never
|
|
756
1106
|
kind: 'action'
|
|
757
1107
|
}
|
|
758
1108
|
|
|
@@ -794,4 +1144,14 @@ export declare const ParseTransactionCbor: {
|
|
|
794
1144
|
// metadata (do not use)
|
|
795
1145
|
__parameters: {cbor?: string | null}, __returns: globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null, __self: never
|
|
796
1146
|
kind: 'action'
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
export declare const DecodePlutusData: {
|
|
1150
|
+
// positional
|
|
1151
|
+
(cbor: string | null): globalThis.Promise<string | null> | string | null
|
|
1152
|
+
// named
|
|
1153
|
+
({cbor}: {cbor?: string | null}): globalThis.Promise<string | null> | string | null
|
|
1154
|
+
// metadata (do not use)
|
|
1155
|
+
__parameters: {cbor?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
|
|
1156
|
+
kind: 'action'
|
|
797
1157
|
}
|