Solana Fees

The total transaction fee on Solana is calculated by combining two main parts:

  1. Base Fee: This is a fixed amount paid per signature required in your transaction. Currently, it's set at a very low rate (around $0.000005) and doesn't change based on transaction complexity.
  2. Priority Fee (Priority Budget): This fee is used to speed up your transaction processing. It's not mandatory, but can be helpful during network congestion.

Calculating the Fees:

  • The base fee is simply the number of signatures in your transaction multiplied by the current lamports_per_signature rate.
  • The priority fee is calculated by multiplying the compute unit limit you set by the compute unit price you specified (measured in lamports).