@odatano/core 2.0.0-rc.44 → 2.0.0-rc.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/@cds-models/CardanoAgentService/index.d.ts +0 -46
  2. package/@cds-models/CardanoBackendService/index.d.ts +0 -10
  3. package/@cds-models/CardanoIndexerService/index.d.ts +5 -20
  4. package/@cds-models/CardanoODataService/index.d.ts +18 -47
  5. package/@cds-models/CardanoSignService/index.d.ts +3 -18
  6. package/@cds-models/CardanoTransactionService/index.d.ts +9 -31
  7. package/@cds-models/CardanoWorkerService/index.d.ts +3 -19
  8. package/@cds-models/index.d.ts +17 -0
  9. package/@cds-models/index.js +2 -0
  10. package/@cds-models/odatano/cardano/index.d.ts +0 -34
  11. package/README.md +20 -20
  12. package/db/schema.cds +25 -44
  13. package/db/types.cds +22 -5
  14. package/package.json +3 -1
  15. package/scripts/migrate-slot-leader.mjs +3 -11
  16. package/scripts/migrate-txseq.mjs +3 -12
  17. package/src/index.d.ts +0 -4
  18. package/src/index.js +3 -5
  19. package/src/plugin.js +4 -8
  20. package/srv/blockchain/asset-decimals.d.ts +0 -9
  21. package/srv/blockchain/asset-decimals.js +21 -16
  22. package/srv/blockchain/backends/blockfrost-backend.d.ts +2 -10
  23. package/srv/blockchain/backends/blockfrost-backend.js +15 -21
  24. package/srv/blockchain/backends/cardano-backend.d.ts +12 -71
  25. package/srv/blockchain/backends/koios-backend.d.ts +14 -147
  26. package/srv/blockchain/backends/koios-backend.js +43 -166
  27. package/srv/blockchain/backends/odatano-backend.d.ts +1 -11
  28. package/srv/blockchain/backends/odatano-backend.js +11 -12
  29. package/srv/blockchain/backends/ogmios-backend.d.ts +19 -160
  30. package/srv/blockchain/backends/ogmios-backend.js +96 -175
  31. package/srv/blockchain/backends/ogmios-frame-guard.d.ts +2 -18
  32. package/srv/blockchain/backends/ogmios-frame-guard.js +8 -20
  33. package/srv/blockchain/cardano-client.d.ts +12 -80
  34. package/srv/blockchain/cardano-client.js +36 -88
  35. package/srv/blockchain/cardano-indexer.d.ts +14 -192
  36. package/srv/blockchain/cardano-indexer.js +136 -222
  37. package/srv/blockchain/cardano-tx-builder.d.ts +1 -28
  38. package/srv/blockchain/cardano-tx-builder.js +17 -34
  39. package/srv/blockchain/circuit-breaker.d.ts +1 -13
  40. package/srv/blockchain/circuit-breaker.js +5 -15
  41. package/srv/blockchain/crawler/asset-decimals-backfill.d.ts +0 -5
  42. package/srv/blockchain/crawler/asset-decimals-backfill.js +2 -5
  43. package/srv/blockchain/crawler/certificate-backfill.d.ts +0 -17
  44. package/srv/blockchain/crawler/certificate-backfill.js +8 -22
  45. package/srv/blockchain/crawler/crawler.d.ts +16 -93
  46. package/srv/blockchain/crawler/crawler.js +85 -160
  47. package/srv/blockchain/crawler/credential-backfill.d.ts +0 -10
  48. package/srv/blockchain/crawler/credential-backfill.js +2 -4
  49. package/srv/blockchain/crawler/hooks.d.ts +1 -5
  50. package/srv/blockchain/crawler/index.d.ts +0 -12
  51. package/srv/blockchain/crawler/index.js +6 -20
  52. package/srv/blockchain/crawler/sync-state.d.ts +6 -44
  53. package/srv/blockchain/crawler/sync-state.js +18 -53
  54. package/srv/blockchain/crawler/transaction-backfill.d.ts +0 -11
  55. package/srv/blockchain/crawler/transaction-backfill.js +11 -30
  56. package/srv/blockchain/crawler/utxo-set-import.d.ts +1 -30
  57. package/srv/blockchain/crawler/utxo-set-import.js +27 -53
  58. package/srv/blockchain/ledger-state.d.ts +10 -54
  59. package/srv/blockchain/ledger-state.js +11 -27
  60. package/srv/blockchain/pending-spends.d.ts +0 -12
  61. package/srv/blockchain/pending-spends.js +4 -12
  62. package/srv/blockchain/request-coalescer.d.ts +2 -16
  63. package/srv/blockchain/request-coalescer.js +2 -16
  64. package/srv/blockchain/signing/cose-verifier.d.ts +0 -9
  65. package/srv/blockchain/signing/cose-verifier.js +4 -10
  66. package/srv/blockchain/signing/external-signer.d.ts +1 -4
  67. package/srv/blockchain/signing/external-signer.js +2 -8
  68. package/srv/blockchain/signing/hsm-signer.d.ts +6 -18
  69. package/srv/blockchain/signing/hsm-signer.js +16 -28
  70. package/srv/blockchain/signing/signature-verifier.d.ts +1 -8
  71. package/srv/blockchain/signing/signature-verifier.js +9 -19
  72. package/srv/blockchain/signing/submission-finalizer.d.ts +10 -16
  73. package/srv/blockchain/signing/submission-finalizer.js +53 -19
  74. package/srv/blockchain/stored-chain.d.ts +1 -14
  75. package/srv/blockchain/stored-chain.js +3 -8
  76. package/srv/blockchain/transaction-building/buildooor-fee-patch.d.ts +0 -4
  77. package/srv/blockchain/transaction-building/buildooor-fee-patch.js +4 -9
  78. package/srv/blockchain/transaction-building/buildooor-tx.d.ts +7 -150
  79. package/srv/blockchain/transaction-building/buildooor-tx.js +91 -196
  80. package/srv/blockchain/transaction-building/caller-datums.d.ts +0 -14
  81. package/srv/blockchain/transaction-building/caller-datums.js +3 -9
  82. package/srv/blockchain/transaction-building/cardano-tx.d.ts +1 -4
  83. package/srv/blockchain/wallet-worker/build-request.d.ts +0 -5
  84. package/srv/blockchain/wallet-worker/build-request.js +6 -9
  85. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +5 -23
  86. package/srv/blockchain/wallet-worker/confirmation-tracker.js +16 -20
  87. package/srv/blockchain/wallet-worker/index.d.ts +1 -1
  88. package/srv/blockchain/wallet-worker/index.js +3 -5
  89. package/srv/blockchain/wallet-worker/job-store.d.ts +15 -65
  90. package/srv/blockchain/wallet-worker/job-store.js +0 -0
  91. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +2 -10
  92. package/srv/blockchain/wallet-worker/lease-heartbeat.js +6 -12
  93. package/srv/blockchain/wallet-worker/signers.d.ts +3 -11
  94. package/srv/blockchain/wallet-worker/signers.js +3 -6
  95. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +3 -21
  96. package/srv/blockchain/wallet-worker/wallet-worker.js +47 -54
  97. package/srv/cardano-agent-service.cds +123 -146
  98. package/srv/cardano-agent-service.js +2 -5
  99. package/srv/cardano-backend-service.cds +10 -17
  100. package/srv/cardano-backend-service.js +7 -12
  101. package/srv/cardano-indexer-service.cds +16 -37
  102. package/srv/cardano-indexer-service.d.ts +5 -1
  103. package/srv/cardano-indexer-service.js +44 -35
  104. package/srv/cardano-service.cds +56 -40
  105. package/srv/cardano-service.js +42 -69
  106. package/srv/cardano-sign-service.cds +14 -23
  107. package/srv/cardano-sign-service.js +18 -24
  108. package/srv/cardano-tx-service.cds +27 -29
  109. package/srv/cardano-tx-service.js +60 -122
  110. package/srv/cardano-worker-service.cds +109 -125
  111. package/srv/cardano-worker-service.js +21 -31
  112. package/srv/cbor/cip68.d.ts +0 -4
  113. package/srv/cbor/cip68.js +2 -4
  114. package/srv/cbor/parse.d.ts +3 -18
  115. package/srv/cbor/parse.js +2 -7
  116. package/srv/cbor/plutus-data-json.d.ts +0 -4
  117. package/srv/server.d.ts +5 -36
  118. package/srv/server.js +30 -51
  119. package/srv/utils/agent-grants-config.d.ts +0 -18
  120. package/srv/utils/agent-grants-config.js +6 -13
  121. package/srv/utils/agent-grants.d.ts +14 -68
  122. package/srv/utils/agent-grants.js +42 -60
  123. package/srv/utils/agent-token-auth.d.ts +0 -5
  124. package/srv/utils/agent-token-auth.js +2 -5
  125. package/srv/utils/backend-request-handler.d.ts +1 -1
  126. package/srv/utils/collections.d.ts +1 -4
  127. package/srv/utils/collections.js +1 -4
  128. package/srv/utils/const.d.ts +0 -18
  129. package/srv/utils/const.js +7 -18
  130. package/srv/utils/crypto.js +3 -5
  131. package/srv/utils/db-indexes.d.ts +2 -0
  132. package/srv/utils/db-indexes.js +22 -9
  133. package/srv/utils/db-sanitize.d.ts +1 -8
  134. package/srv/utils/db-sanitize.js +3 -8
  135. package/srv/utils/epoch-slots.d.ts +1 -8
  136. package/srv/utils/epoch-slots.js +3 -8
  137. package/srv/utils/error-codes.d.ts +0 -4
  138. package/srv/utils/error-codes.js +2 -4
  139. package/srv/utils/errors.d.ts +2 -22
  140. package/srv/utils/errors.js +13 -27
  141. package/srv/utils/liveness.d.ts +0 -4
  142. package/srv/utils/liveness.js +2 -4
  143. package/srv/utils/mappers.d.ts +0 -37
  144. package/srv/utils/mappers.js +19 -39
  145. package/srv/utils/network-context.js +2 -4
  146. package/srv/utils/paging.d.ts +31 -0
  147. package/srv/utils/paging.js +43 -0
  148. package/srv/utils/pg-inline-json.js +3 -7
  149. package/srv/utils/pg-order-nulls.js +2 -5
  150. package/srv/utils/plutus-placeholders.d.ts +0 -13
  151. package/srv/utils/plutus-placeholders.js +6 -13
  152. package/srv/utils/rate-limiter.d.ts +0 -8
  153. package/srv/utils/rate-limiter.js +2 -4
  154. package/srv/utils/reference-script.d.ts +0 -18
  155. package/srv/utils/reference-script.js +8 -19
  156. package/srv/utils/service-events.d.ts +0 -4
  157. package/srv/utils/service-events.js +2 -4
  158. package/srv/utils/signing-helper.d.ts +1 -8
  159. package/srv/utils/signing-helper.js +3 -8
  160. package/srv/utils/tx-build-helper.d.ts +2 -32
  161. package/srv/utils/tx-build-helper.js +26 -40
  162. package/srv/utils/tx-request-parsers.d.ts +1 -25
  163. package/srv/utils/tx-request-parsers.js +10 -25
  164. package/srv/utils/tx-utils.d.ts +0 -8
  165. package/srv/utils/tx-utils.js +10 -13
  166. package/srv/utils/types.d.ts +2 -37
  167. package/srv/utils/validators.d.ts +0 -4
  168. package/srv/utils/validators.js +2 -4
@@ -8,51 +8,27 @@ export declare class BuildooorTxBuilder implements CardanoTxBuilder {
8
8
  private cardanoClient;
9
9
  private genesisInfos;
10
10
  private paramsFingerprint;
11
- /**
12
- * Chain cost-model arrays kept verbatim for language-view hashing; set by _mapCostModels,
13
- * empty when the current parameters carry no usable cost models.
14
- */
11
+ /** Chain cost-model arrays kept verbatim for language-view hashing. */
15
12
  private rawCostModelArrays;
16
- /**
17
- * Initialize the builder.
18
- * @param protocolParams - optional; fetched from the backend when omitted
19
- */
13
+ /** Initialize the builder. Protocol parameters are fetched when omitted. */
20
14
  init(client: CardanoClient, protocolParams?: LedgerProtocolParameters): Promise<void>;
21
- /**
22
- * Rebuild the TxBuilder when the per-request protocol parameters differ from the current
23
- * ones; the TxBuilder has no setter but its constructor is cheap (effectively once per epoch).
24
- */
15
+ /** TxBuilder has no setter, so it is rebuilt when the protocol parameters change. */
25
16
  private _ensureCurrentProtocolParameters;
26
17
  private _applyProtocolParameters;
27
18
  /** Build an unsigned transfer transaction (ADA-only or with native assets). */
28
19
  buildUnsignedTransfer(req: TxBuildRequest, ctx: TxBuildContext): Promise<TxBuildResult>;
29
20
  /** Build an unsigned transfer transaction with attached metadata. */
30
21
  buildUnsignedTransactionWithMetadata(req: TxBuildRequest, ctx: TxBuildContext): Promise<TxBuildResult>;
31
- /**
32
- * Shared non-script transfer build; assets, outputDatum and metadataJson are each
33
- * handled only when present in the request.
34
- */
22
+ /** Shared non-script transfer build. */
35
23
  private _buildSimpleTransfer;
36
24
  buildUnsignedMintTransaction(req: TxBuildMintRequest, ctx: TxBuildContext): Promise<TxBuildResult>;
37
25
  private _buildMintTransaction;
38
26
  buildUnsignedPlutusSpendTransaction(req: TxBuildPlutusSpendRequest, ctx: TxBuildContext): Promise<TxBuildResult>;
39
27
  private _buildPlutusSpendTransaction;
40
- /**
41
- * Several script inputs in one transaction, each with its own redeemer (inline validator or a
42
- * reference-script UTxO), the outputs exactly in the given order and change after them.
43
- */
44
28
  buildUnsignedPlutusTransaction(req: TxBuildPlutusRequest, ctx: TxBuildContext): Promise<TxBuildResult>;
45
29
  private _buildPlutusTransaction;
46
- /**
47
- * Outputs of a BuildPlutusTransaction in the given order: inline datum or datum hash, ref script, min-ADA each.
48
- * Returns the inline datums given as CBOR, keyed by output index.
49
- */
30
+ /** Appends the outputs in order and returns the CBOR inline datums by output index. */
50
31
  private _appendPlutusOutputs;
51
- /**
52
- * Min-ADA of an output, counting the caller's datum bytes where they are longer than
53
- * Buildooor's encoding. `forAnyAmount` sizes the coin field for the largest amount, so the
54
- * result stays valid once written into the output.
55
- */
56
32
  private _minOutputLovelace;
57
33
  /** Build, then write the caller's datum bytes; when they are longer, a second build raises the fee. */
58
34
  private _buildWithCallerDatums;
@@ -60,167 +36,53 @@ export declare class BuildooorTxBuilder implements CardanoTxBuilder {
60
36
  private _extractTxDetails;
61
37
  /** Build the standard TxBuildResult object */
62
38
  private _buildResult;
63
- /**
64
- * Build a script-bearing transaction with real execution units: Buildooor stamps local CEK
65
- * budgets and ignores caller-supplied units, so build once, evaluate via Ogmios when available,
66
- * rebuild with a fee floor for the target units, then stamp them and recompute scriptDataHash.
67
- */
68
39
  private _buildScriptTx;
69
- /**
70
- * Evaluate via Ogmios; returns cushioned budgets keyed `tag:index`, or undefined when the
71
- * evaluation is unusable (transient failure, empty result). Validation errors are rethrown.
72
- */
73
40
  private _evaluateExUnitsByRedeemer;
74
- /**
75
- * Cushion: relative multiplier for proportional drift on large validators, absolute floor
76
- * for sub-percent drift on small ones.
77
- */
78
41
  private _applyExUnitBuffer;
79
- /**
80
- * Execution units each redeemer must declare: max(local, Ogmios) when both exist, buffered
81
- * local without Ogmios, Ogmios alone after a local failure; a local failure without Ogmios
82
- * aborts because unreliable units would forfeit the signer's collateral.
83
- */
84
42
  private _resolveTargetExUnits;
85
43
  /** Fee delta of the target vs local units, priced like Buildooor's own fee loop. */
86
44
  private _exUnitsPriceDelta;
87
45
  /** CBOR size growth (bytes) from stamping larger budgets into the redeemers. */
88
46
  private _exUnitsSizeDelta;
89
47
  private _txFeePerByte;
90
- /**
91
- * Replace the redeemers' execution units and recompute scriptDataHash with the raw chain
92
- * cost-model arrays (TxBuilder.overrideTxRedeemers hashes with clamped named-key models,
93
- * which mismatches once the on-chain cost model grows). Recomputed even when units match.
94
- */
95
48
  private _stampExecUnits;
96
49
  /** Language views the scriptDataHash covers, from the chain's cost models. */
97
50
  private _languageViews;
98
- /**
99
- * Check a witness datum against the datum hash its script UTxO is locked with: the ledger
100
- * finds the datum by the hash of its bytes. Inline-datum UTxOs need no witness datum.
101
- */
102
51
  private _checkWitnessDatum;
103
- /**
104
- * Language-view selection for scriptDataHash, mirroring Buildooor's initTxBuild
105
- * (which flags the languages of *executed* scripts). This builder only attaches
106
- * scripts inline, so the witness set carries every executed script.
107
- */
108
52
  private _usedLanguageViewOpts;
109
- /**
110
- * Cost models for language-view hashing: named-key objects clamp the chain array to the
111
- * parameter count this library release knows, but the ledger hashes every entry served,
112
- * so raw chain arrays (passed through unclamped) are substituted where available.
113
- */
114
53
  private _languageViewCostModels;
115
- /**
116
- * Run a build without the sender's reference-script UTxOs first; when that leaves the funds short
117
- * and such UTxOs exist, build again with them in the pool (their script bytes then count in the fee).
118
- */
119
54
  private _withRefScriptFallback;
120
- /**
121
- * Split UTxOs into forced inputs (must be consumed) and remaining candidates; forceInputs
122
- * refs absent from utxos are ignored (existence is validated upstream).
123
- */
124
55
  private _partitionForcedInputs;
125
- /**
126
- * Script of a withdrawal, certificate or mint: inline (swapped for a reference input that already
127
- * carries the same hash), by reference, or none (key witness).
128
- */
129
56
  private _resolveScriptWitness;
130
- /**
131
- * Withdrawal credential hashes in ledger order, which `__WDRL_IDX__` resolves against. Buildooor
132
- * numbers withdrawal redeemers by hash alone, so a scripted withdrawal whose position differs
133
- * between the two orders would get the wrong redeemer; such a build is refused.
134
- */
135
57
  private _ledgerWithdrawalOrder;
136
- /**
137
- * Forced inputs of other key addresses: the owner's payment key hash must be a required signer,
138
- * and every unit they bring must be spent by the outputs, so none of it lands in the sender's change.
139
- * Script addresses are refused; those UTxOs are script inputs.
140
- */
141
58
  private _checkForeignForcedInputs;
142
59
  /** Keys (`txhash#index`) of the reference inputs of a build, from the resolved UTxOs and the request refs. */
143
60
  private _referencedKeys;
144
61
  /** Map resolved CIP-31 reference input UTxOs to Buildooor LedgerUTxO; empty when none. */
145
62
  private _mapReferenceInputs;
146
- /**
147
- * Funding contributed by extra outputs on a mint build: their summed lovelace plus, per asset
148
- * unit, the demand the transaction's own positive mints do not cover.
149
- */
150
63
  private _extraOutputsFundingAfterMint;
151
- /**
152
- * Script a mint action executes under: its per-action policy when set, else the request's
153
- * top-level policy script.
154
- */
64
+ /** Per-action policy script when set, else the request's policy script. */
155
65
  private _mintActionScript;
156
- /**
157
- * Buildooor mint entries shared by all mint flows. `scriptFor` gives each action's policy, inline
158
- * or as a reference-script UTxO. Each action may carry its own redeemer (falling back to the
159
- * request-level one); the ledger holds ONE redeemer per policy, so actions on the same policy must agree.
160
- */
161
66
  private _buildMintEntries;
162
- /**
163
- * Context for insufficient-funds rejections after the collateral partition: the builder's
164
- * message counts only the funding pool, so the reservation would otherwise be invisible.
165
- */
166
67
  private _collateralPartitionContext;
167
- /**
168
- * Pick the smallest ADA-only UTxO covering COLLATERAL_LOVELACE as collateral and return the
169
- * rest as funding; excess above the floor goes back via collateralReturn when it meets min-ADA
170
- * (Buildooor sets no collateralReturn for ADA-only collateral). Throws without an ADA-only UTxO.
171
- * When the rest cannot pay `requiredLovelace` plus fee and change, the collateral UTxO is
172
- * funding too. The ledger allows one UTxO as input and as collateral.
173
- * When no UTxO in `utxos` covers the floor, a forced input of the sender that does is the collateral.
174
- */
175
68
  private _setupCollateral;
176
69
  /** Build a Ledger Value from lovelace + optional multi-asset array */
177
70
  private _buildLedgerValue;
178
71
  /** Build a TxOut with optional inline datum and optional reference script (CIP-33) */
179
72
  private _buildTxOut;
180
- /**
181
- * Parse a CBOR-wrapped Plutus script and reject UPLC 1.0.0 code (V1/V2): Script.fromCbor
182
- * defaults to V3 and would hash with the 0x03 prefix, giving a silently wrong script hash.
183
- * The UPLC version is the first three flat naturals of the unwrapped script: [1,0,0] vs [1,1,0].
184
- */
185
73
  private _parsePlutusV3Script;
186
74
  /** Parse a Plutus V3 CBOR hex into a Buildooor Script for refScript attachment. */
187
75
  private _parseReferenceScript;
188
- /**
189
- * Map an input UTxO's reference script to a Script: `scriptRefCbor` (Ogmios), else a full-CBOR
190
- * `scriptRef` (Koios). With the hash and size only (Blockfrost, the tables) a placeholder of
191
- * that size stands in, so the fee counts its bytes; without the size nothing can be counted.
192
- */
193
76
  private _buildInputRefScript;
194
- /**
195
- * Post-sort input order so __INPUT_IDX__ placeholders resolve to the indices Buildooor assigns
196
- * in build(): all inputs (script, forced, funding) sorted lexicographically on (txHash, outputIndex).
197
- */
198
77
  private _computeSortedInputs;
199
78
  /** Extract InputRef list from the Buildooor-shaped funding inputs returned by keepRelevant. */
200
79
  private _extractFundingRefs;
201
80
  /** Resolve __INPUT_IDX__ placeholders inside each extraOutput.inlineDatum; other fields pass through. */
202
81
  private _resolveExtraOutputPlaceholders;
203
- /**
204
- * Append parsed extra outputs, enforcing min-ADA per entry; the rejection names the
205
- * required min-ADA so consumers can adjust without inspecting Buildooor internals.
206
- */
82
+ /** Appends extra outputs. A rejection names the required min-ADA. */
207
83
  private _appendExtraOutputs;
208
- /**
209
- * Validity window (slots) from the request. Script builds default to `now - 2 min` / `now + 1 h`;
210
- * plain transfers pass explicit bounds through without defaulting.
211
- */
212
84
  private _resolveValiditySlots;
213
- /**
214
- * Map LedgerProtocolParameter to Buildooor's ProtocolParameters. Every field is null-guarded so a
215
- * missing value keeps the library default instead of degrading to 0 (e.g. utxoCostPerByte = 0
216
- * disables min-ADA); cost models and ExUnit prices feed scriptDataHash and the fee math.
217
- */
218
85
  private _mapLedgerParametersToBuildooorParams;
219
- /**
220
- * Parse the cost-models JSON (keys 'PlutusVN', 'plutus:vN' or 'PlutusScriptVN') into Buildooor's
221
- * CostModels; undefined when nothing usable is found. Also (re)sets this.rawCostModelArrays with
222
- * the unclamped chain arrays, which the scriptDataHash must cover (see _languageViewCostModels).
223
- */
224
86
  private _mapCostModels;
225
87
  /** Map an ADA-only UTxO to a Ledger UTxO. */
226
88
  private _mapOdatanoUtxoToLedgerUtxo;
@@ -228,11 +90,6 @@ export declare class BuildooorTxBuilder implements CardanoTxBuilder {
228
90
  private _mapMultiAssetUtxoToLedgerUtxo;
229
91
  /** Map metadata JSON (label -> value) to Ledger TxMetadata. */
230
92
  private _mapOdatanoMetadataToLedgerMetadata;
231
- /**
232
- * Recursively convert a JSON value to TxMetadatum, enforcing ledger rules: integers only, text/bytes
233
- * over 64 BYTES chunked into a list, "0x..." strings become bytes, over-long map keys rejected.
234
- * @param path label-rooted position of `value` (e.g. "721.files[0].src"), named in every rejection
235
- */
236
93
  private _jsonToTxMetadatum;
237
94
  }
238
95
  //# sourceMappingURL=buildooor-tx.d.ts.map