@midnight/ledger v3.0.2 • Readme | API
@midnight/ledger v3.0.2 / CostModel
Class: CostModel
A cost model for calculating transaction fees
Constructors
new CostModel()
private new CostModel(): CostModel
Returns
Methods
toString()
toString(compact?): string
Parameters
• compact?: boolean
Returns
string
dummyCostModel()
static dummyCostModel(): CostModel
A cost model for use in non-critical contexts