@odatano/core 2.0.0-rc.51 → 2.0.0-rc.52
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/package.json
CHANGED
|
@@ -132,14 +132,14 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
|
|
|
132
132
|
@description: 'Optional Plutus V3 validator CBOR hex to attach as referenceScript on the primary recipient output (CIP-33 reference script deploy). Significantly increases the output min-ADA; lovelaceAmount must cover the inflated requirement.'
|
|
133
133
|
referenceScriptHex: String,
|
|
134
134
|
@title: 'Validity Start (Posix ms)'
|
|
135
|
-
@description: 'Optional. Validity-interval start in Posix milliseconds.
|
|
135
|
+
@description: 'Optional. Validity-interval start in Posix milliseconds. No start is set when omitted.'
|
|
136
136
|
validityStartMs: String,
|
|
137
137
|
@title: 'Validity End (Posix ms)'
|
|
138
|
-
@description: 'Optional. Validity-interval end in Posix milliseconds.
|
|
138
|
+
@description: 'Optional. Validity-interval end in Posix milliseconds. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
|
|
139
139
|
validityEndMs: String) returns TransactionBuilds;
|
|
140
140
|
|
|
141
141
|
@title : 'Build Transaction with Metadata'
|
|
142
|
-
@description: 'Build a transaction with custom metadata from sender to recipient with specified amount and change address'
|
|
142
|
+
@description: 'Build a transaction with custom metadata from sender to recipient with specified amount and change address. The transaction expires one hour after the build.'
|
|
143
143
|
@odatano.agent: 'grant'
|
|
144
144
|
action BuildTransactionWithMetadata(
|
|
145
145
|
@title: 'Sender Address'
|
|
@@ -190,10 +190,10 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
|
|
|
190
190
|
@description: 'Optional Plutus V3 validator CBOR hex to attach as referenceScript on the primary recipient output (CIP-33 reference script deploy). Significantly increases the output min-ADA; lovelaceAmount must cover the inflated requirement.'
|
|
191
191
|
referenceScriptHex: String,
|
|
192
192
|
@title: 'Validity Start (Posix ms)'
|
|
193
|
-
@description: 'Optional. Validity-interval start in Posix milliseconds.
|
|
193
|
+
@description: 'Optional. Validity-interval start in Posix milliseconds. No start is set when omitted.'
|
|
194
194
|
validityStartMs: String,
|
|
195
195
|
@title: 'Validity End (Posix ms)'
|
|
196
|
-
@description: 'Optional. Validity-interval end in Posix milliseconds.
|
|
196
|
+
@description: 'Optional. Validity-interval end in Posix milliseconds. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
|
|
197
197
|
validityEndMs: String) returns TransactionBuilds;
|
|
198
198
|
|
|
199
199
|
@title : 'Build Minting Transaction'
|
|
@@ -255,7 +255,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
|
|
|
255
255
|
@description: 'Optional. Sets the transaction validity-interval start in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(lower) on tx.validity_range.lower_bound. Defaults to now − 120 000 ms when omitted.'
|
|
256
256
|
validityStartMs: String,
|
|
257
257
|
@title: 'Validity End (Posix ms)'
|
|
258
|
-
@description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms when
|
|
258
|
+
@description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
|
|
259
259
|
validityEndMs: String) returns TransactionBuilds;
|
|
260
260
|
|
|
261
261
|
@title : 'Get Build Details'
|
|
@@ -360,7 +360,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
|
|
|
360
360
|
@description: 'Optional. Sets the transaction validity-interval start in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(lower) on tx.validity_range.lower_bound. Defaults to now − 120 000 ms when omitted.'
|
|
361
361
|
validityStartMs: String,
|
|
362
362
|
@title: 'Validity End (Posix ms)'
|
|
363
|
-
@description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms when
|
|
363
|
+
@description: 'Optional. Sets the transaction validity-interval end in Posix milliseconds. Required finite value for Plutus validators that call expect Finite(upper) on tx.validity_range.upper_bound. Defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
|
|
364
364
|
validityEndMs: String) returns TransactionBuilds;
|
|
365
365
|
|
|
366
366
|
@title : 'Build Plutus Transaction'
|
|
@@ -404,7 +404,7 @@ service CardanoTransactionService @(impl: './cardano-tx-service') {
|
|
|
404
404
|
@description: 'Optional validity-interval start in Posix milliseconds; defaults to now - 120 000 ms.'
|
|
405
405
|
validityStartMs: String,
|
|
406
406
|
@title: 'Validity End (Posix ms)'
|
|
407
|
-
@description: 'Optional validity-interval end in Posix milliseconds; defaults to now + 3 600 000 ms.'
|
|
407
|
+
@description: 'Optional validity-interval end in Posix milliseconds; defaults to now + 3 600 000 ms, or to validityStartMs + 3 600 000 ms when that start lies in the future. At most 24 hours ahead, else 400.'
|
|
408
408
|
validityEndMs: String) returns TransactionBuilds;
|
|
409
409
|
|
|
410
410
|
@title : 'Set Collateral'
|
package/srv/utils/types.d.ts
CHANGED
|
@@ -426,7 +426,7 @@ export type TxBuildRequest = {
|
|
|
426
426
|
referenceScript?: string;
|
|
427
427
|
/** Validity start in Posix ms (`invalidBefore`); builder default `now - 120_000` for script builds. */
|
|
428
428
|
validityStartMs?: string;
|
|
429
|
-
/** Validity end in Posix ms (`invalidAfter`, ledger TTL); builder default `now + 3_600_000
|
|
429
|
+
/** Validity end in Posix ms (`invalidAfter`, ledger TTL); builder default `now + 3_600_000`, at most 24 h ahead. */
|
|
430
430
|
validityEndMs?: string;
|
|
431
431
|
};
|
|
432
432
|
/** Mint/burn build request: mintActions and mintingPolicyScript required */
|