UNPKG

@bsv/sdk

Version:

BSV Blockchain Software Development Kit

12 lines 524 B
import Transaction from './Transaction.js'; /** * Represents the interface for a transaction fee model. * This interface defines a standard method for computing a fee when given a transaction. * * @interface * @property {function} computeFee - A function that takes a Transaction object and returns a BigNumber representing the number of satoshis the transaction should cost. */ export default interface FeeModel { computeFee: (transaction: Transaction) => Promise<number>; } //# sourceMappingURL=FeeModel.d.ts.map