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