Skip to main content

FeePrices

@midnight/ledger v7.0.0


@midnight/ledger / FeePrices

Type Alias: FeePrices

type FeePrices = {
blockUsageFactor: number;
computeFactor: number;
overallPrice: number;
readFactor: number;
writeFactor: number;
};

The fee prices for transaction

Properties

blockUsageFactor

blockUsageFactor: number;

The price factor of block usage.


computeFactor

computeFactor: number;

The price factor of time spent in single-threaded compute.


overallPrice

overallPrice: number;

The overall price of a full block in an average cost dimension.


readFactor

readFactor: number;

The price factor of time spent reading from disk.


writeFactor

writeFactor: number;

The price factor of time spent writing to disk.