@@ -2465,14 +2465,16 @@ declare export class Mint {
24652465 keys(): ScriptHashes;
24662466
24672467 /**
2468+ * Returns the multiasset where only positive (minting) entries are present
24682469 * @returns {MultiAsset}
24692470 */
2470- to_multiasset (): MultiAsset;
2471+ as_positive_multiasset (): MultiAsset;
24712472
24722473 /**
2473- * @returns {Value}
2474+ * Returns the multiasset where only negative (burning) entries are present
2475+ * @returns {MultiAsset}
24742476 */
2475- to_value (): Value ;
2477+ as_negative_multiasset (): MultiAsset ;
24762478}
24772479/**
24782480 */
@@ -5126,6 +5128,11 @@ declare export class TransactionBuilder {
51265128 */
51275129 set_withdrawals(withdrawals: Withdrawals): void;
51285130
5131+ /**
5132+ * @returns {AuxiliaryData | void}
5133+ */
5134+ get_auxiliary_data(): AuxiliaryData | void;
5135+
51295136 /**
51305137 * Set explicit auxiliary data via an AuxiliaryData object
51315138 * It might contain some metadata plus native or Plutus scripts
@@ -5273,12 +5280,6 @@ declare export class TransactionBuilder {
52735280 */
52745281 get_implicit_input(): Value;
52755282
5276- /**
5277- * mint as value
5278- * @returns {Value}
5279- */
5280- get_mint_value(): Value;
5281-
52825283 /**
52835284 * does not include fee
52845285 * @returns {Value}
@@ -5316,10 +5317,21 @@ declare export class TransactionBuilder {
53165317 output_sizes(): Uint32Array;
53175318
53185319 /**
5320+ * Returns object the body of the new transaction
5321+ * Auxiliary data itself is not included
5322+ * You can use `get_auxiliary_date` or `build_tx`
53195323 * @returns {TransactionBody}
53205324 */
53215325 build(): TransactionBody;
53225326
5327+ /**
5328+ * Returns full Transaction object with the body and the auxiliary data
5329+ * NOTE: witness_set is set to just empty set
5330+ * NOTE: is_valid set to true
5331+ * @returns {Transaction}
5332+ */
5333+ build_tx(): Transaction;
5334+
53235335 /**
53245336 * warning: sum of all parts of a transaction must equal 0. You cannot just set the fee to the min value and forget about it
53255337 * warning: min_fee may be slightly larger than the actual minimum fee (ex: a few lovelaces)
@@ -6006,6 +6018,12 @@ declare export class Value {
60066018 */
60076019 static new(coin: BigNum): Value;
60086020
6021+ /**
6022+ * @param {MultiAsset} multiasset
6023+ * @returns {Value}
6024+ */
6025+ static new_from_assets(multiasset: MultiAsset): Value;
6026+
60096027 /**
60106028 * @returns {Value}
60116029 */
0 commit comments