@emurgo/cardano-serialization-lib-browser
Advanced tools
Comparing version 1.2.0 to 2.0.0
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* @param {Transaction} tx | ||
* @param {LinearFee} linear_fee | ||
* @returns {BigNum} | ||
*/ | ||
export function min_fee(tx: Transaction, linear_fee: LinearFee): BigNum; | ||
/** | ||
* @param {TransactionHash} tx_body_hash | ||
@@ -41,7 +47,8 @@ * @param {ByronAddress} addr | ||
/** | ||
* @param {Transaction} tx | ||
* @param {LinearFee} linear_fee | ||
* @param {TransactionBody} txbody | ||
* @param {BigNum} pool_deposit | ||
* @param {BigNum} key_deposit | ||
* @returns {BigNum} | ||
*/ | ||
export function min_fee(tx: Transaction, linear_fee: LinearFee): BigNum; | ||
export function get_deposit(txbody: TransactionBody, pool_deposit: BigNum, key_deposit: BigNum): BigNum; | ||
/** | ||
@@ -102,5 +109,6 @@ */ | ||
/** | ||
* @param {string | undefined} prefix | ||
* @returns {string} | ||
*/ | ||
to_bech32(): string; | ||
to_bech32(prefix?: string): string; | ||
/** | ||
@@ -1915,7 +1923,10 @@ * @param {string} bech_str | ||
/** | ||
* DOES include burnt coins if fee is above minimum | ||
* @returns {BigNum} | ||
*/ | ||
get_fee_or_calc(): BigNum; | ||
get_deposit(): BigNum; | ||
/** | ||
* @returns {BigNum | undefined} | ||
*/ | ||
get_fee_if_set(): BigNum | undefined; | ||
/** | ||
* Warning: this function will mutate the /fee/ field | ||
@@ -1931,6 +1942,8 @@ * @param {Address} address | ||
/** | ||
* DOES NOT include burnt coins if fee is above minimum | ||
* 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 | ||
* warning: min_fee may be slightly larger than the actual minimum fee (ex: a few lovelaces) | ||
* this is done to simplify the library code, but can be fixed later | ||
* @returns {BigNum} | ||
*/ | ||
estimate_fee(): BigNum; | ||
min_fee(): BigNum; | ||
} | ||
@@ -1937,0 +1950,0 @@ /** |
{ | ||
"name": "@emurgo/cardano-serialization-lib-browser", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "cardano_serialization_lib_bg.wasm", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1179415
7708