UNPKG

@ledgerhq/coin-stellar

Version:
10 lines 373 B
import { fetchBaseFee } from "../network"; /** * Estimate the fees for one transaction * @see {@link https://developers.stellar.org/docs/learn/fundamentals/fees-resource-limits-metering#inclusion-fee} */ export async function estimateFees() { const baseFee = await fetchBaseFee(); return BigInt(baseFee.recommendedFee); } //# sourceMappingURL=estimateFees.js.map