Skip to main content

CostModel

@midnight/ledger v7.0.0


@midnight/ledger / CostModel

Class: CostModel

A cost model for calculating transaction fees

Methods

toString()

toString(compact?): string;

Parameters

compact?

boolean

Returns

string


initialCostModel()

static initialCostModel(): CostModel;

The initial cost model of Midnight

Returns

CostModel