@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.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