Skip to main content

CostModel

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / 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