FeePrices
@midnight-ntwrk/onchain-runtime v2.0.1
@midnight-ntwrk/onchain-runtime / FeePrices
Type Alias: FeePrices
type FeePrices: {
blockUsageFactor: number;
computeFactor: number;
overallPrice: number;
readFactor: number;
writeFactor: number;
};
The fee prices for transaction
Type declaration
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.