Skip to main content

Overview

HyperPaxeer is designed to be EVM equivalent, which means it reuses the same Ethereum code and behaves as much like Ethereum as possible. Transaction fees on HyperPaxeer follow the standard Ethereum EIP-1559 fee mechanism with significantly lower costs due to Layer 2 optimization.

Fee Structure

Transaction fees on HyperPaxeer consist of a single component:
Unlike some Layer 2 solutions, HyperPaxeer does not have an L1 data fee component, making fee estimation simpler and more predictable.

Execution Gas Fee

A transaction’s execution gas fee on HyperPaxeer is calculated the same way as on Ethereum. This fee is equal to the amount of gas used by the transaction multiplied by the gas price attached to the transaction.

How It Works

HyperPaxeer uses the EIP-1559 mechanism to set the base fee for transactions. The total price per unit gas that a transaction pays is the sum of:
  1. Base Fee - Minimum price per unit of gas
  2. Priority Fee - Optional tip to incentivize faster inclusion
Because HyperPaxeer is EVM equivalent, the gas used by a transaction on Paxeer is exactly the same as the gas used by the same transaction on Ethereum. If a transaction costs 100,000 gas on Ethereum, it will cost 100,000 gas on HyperPaxeer. The only difference is that the gas price on Paxeer is much lower.

Base Fee

The base fee is the minimum price per unit of gas that a transaction must pay to be included in a block. Key Points:
  • Transactions must specify a maximum base fee higher than the block base fee
  • The actual fee charged is the block base fee (even if you specify higher)
  • Base fee adjusts automatically based on network demand
  • Increases when blocks are full, decreases when blocks are empty
The HyperPaxeer base fee behaves exactly like the Ethereum base fee, optimized for fast block times.
Reading Base Fee

Priority Fee

Just like on Ethereum, HyperPaxeer transactions can specify a priority fee (also called a tip). This is a price per unit of gas paid on top of the base fee. Example:
  • Block base fee: 1 gwei
  • Transaction priority fee: 1 gwei
  • Total price per gas: 2 gwei
The HyperPaxeer sequencer will prioritize transactions with a higher priority fee and execute them before transactions with a lower priority fee. If transaction speed is important to your application, set a higher priority fee to ensure quick inclusion.
The priority fee is optional and can be set to 0, but some wallets may enforce a minimum value (typically 1 gwei). Use the eth_maxPriorityFeePerGas RPC method to estimate a priority fee for quick inclusion:

Fee Calculation Examples

Example 1: Simple Transfer

Example 2: Contract Interaction

Estimating Transaction Costs

Gas Price Monitoring

Monitor current gas prices on HyperPaxeer:

Best Practices

  • Always estimate gas before sending transactions
  • Add a 10-20% buffer to gas estimates for safety
  • Don’t set gas limits too high (wastes money) or too low (transaction fails)
  • Check current base fee before submitting time-sensitive transactions
  • Set max fee per gas higher than current base fee to avoid stuck transactions
  • Use eth_feeHistory to analyze fee trends
  • Set higher priority fees for time-sensitive transactions
  • Use 0 or low priority fees for non-urgent transactions
  • Check recommended priority fee with eth_maxPriorityFeePerGas
  • Always check transaction status before assuming success
  • Implement proper error handling
  • Consider transaction timeouts

Fee Vault

The Sequencer Fee Vault collects and holds transaction fees paid to the sequencer during block production on HyperPaxeer. Vault Address: 0x4200000000000000000000000000000000000011

How It Works

  1. Fee Collection: During transaction processing, the sequencer collects fees from users
  2. Storage: Collected fees are deposited into the Sequencer Fee Vault contract
  3. Distribution: Fees are distributed to cover operational costs and network maintenance

Comparing Costs

HyperPaxeer vs Ethereum

Actual costs vary based on current gas prices. HyperPaxeer typically offers 99%+ cost savings compared to Ethereum mainnet.

Advanced Topics

EIP-1559 Parameters

HyperPaxeer uses EIP-1559 with these parameters:

Gas Price Oracle

Query the Gas Price Oracle for current fee data:

Troubleshooting

If your transaction is stuck, it’s likely because the max fee per gas is too low:Solution:
  • Set a higher max fee per gas (e.g., 10 gwei)
  • Or cancel the transaction by sending a new one with the same nonce and higher fee
Transaction ran out of gas during execution:Solution:
  • Increase gas limit
  • Check for infinite loops or excessive computation
  • Optimize contract code
Account doesn’t have enough HPX to cover gas costs:Solution:
  • Ensure account has sufficient HPX balance
  • Remember: required balance = (gas limit × max fee per gas) + value

Next Steps

Estimate Costs

Learn how to properly estimate transaction costs

Gas Parameters

Set optimal gas parameters for your transactions

Transaction Status

Track and verify transaction status

Troubleshooting

Fix common transaction issues