@xmr-core/xmr-mymonero-libs
Version:
A collection of utilities for building ontop of a MyMonero compatible API
18 lines • 800 B
TypeScript
import { BigInt } from "@xmr-core/biginteger";
/**
* @description Gets a starting total amount.
*
* In the case of a sweeping transaction, the maximum possible amount (based on 64 bits unsigned integer) is chosen,
* since all of the user's outputs will be used regardless.
*
* Otherwise, the feeless total (also known as the amount the sender actually wants to send to the given target address)
* is summed with the network fee to give the total amount returned
*
* @export
* @param {boolean} isSweeping
* @param {BigInt} feelessTotal
* @param {BigInt} networkFee
* @returns
*/
export declare function getBaseTotalAmount(isSweeping: boolean, feelessTotal: BigInt, networkFee: BigInt): import("@xmr-core/biginteger/vendor/biginteger").BigInteger;
//# sourceMappingURL=amt_utils.d.ts.map