Sending Type 2 transactions from EIP1559
The gas payment (gasPrice) will now be split into a basic and priority charge.
The base fee refers to the network's base fee at block time, while the maximum fee and maximum priority fee refer to the maximum amount the user is willing to pay for their transactions and hand over to the miner respectively.
Each transaction must pay a base commission, which is calculated based on how complete the previous block was. Transactions can also offer the miner a priority fee to encourage the miner to include the transaction in the block, i.e. the higher the priority fee, the faster the transaction will execute.