Computes the minimum fee for a provided transaction.
import { computeMinFee } from '@klayr/transactions'; const minFee = computeMinFee(TransferTrx, transferParamsSchema, options);
Minimum fee for the provided transaction.
the transaction object
Optional
Schema for the command parameters. The specific schemas for parameters are described in the Modules reference.
Generated using TypeDoc
Computes the minimum fee for a provided transaction.
Example
Returns
Minimum fee for the provided transaction.
See