M Hash Layer2 is a chain scaling solution built on top of the MAGNE Layer 1 blockchain, designed to deliver high throughput and low-cost transactions for DeFi, NFTs, gaming, and other high-demand applications.
The cost of an M Hash Layer2 transaction consists of two components:
Gas price formula: Gas price = base price + priority price
Transaction cost formula: L2 transaction cost = (L2 gas price × L2 gas consumed) + (L1 gas price × L1 gas consumed)
| Network | Floor Base Price | Minimum Priority Price |
|---|---|---|
| M Hash L2 Testnet | 0 gwei | 1 gwei |
| M Hash L2 Mainnet | ||
| MAGNE L1 Testnet | 0 gwei | 0.1 gwei |
| MAGNE L1 Mainnet |
The floor base price is the minimum base gas price that M Hash can set. This value can change dynamically depending on network usage. For example, with the current configuration, if a block’s usage reaches 50% of the 100M gas limit, the base price will rise by 12.5%.
The minimum priority price is preset. Users can choose any priority fee higher than this minimum. Typically, wallets and dApps retrieve the recommended gas price by calling the “estimate gas price” API, which calculates it based on the average gas price from recent blocks.
M Hash’s goal is to keep basic transfer transactions under $0.001, enabling mass adoption and supporting high-frequency, low-value use cases.