estimatedFee
estimatedFee(
receipt):bigint
Defined in: ootle/src/helpers/fees.ts:38
The fee (µTari) to submit a dry-run transaction at: feesCharged plus
FEE_ESTIMATE_ALLOWANCE, matching the engine’s FeeReceipt::required_fees.
The fee is itself an input to what a transaction is charged, so the real run of a transaction built at a different fee than its dry run meters slightly differently; the allowance covers that drift. It does not cover a different transaction: re-estimate after changing the inputs or outputs.
Parameters
Section titled “Parameters”receipt
Section titled “receipt”Pick<FeeReceipt, "cost_breakdown">
Returns
Section titled “Returns”bigint