Skip to main content

Fee Parameters

Solana transactions support two types of fees:

Priority Fees (prioFees)

Priority fees are paid to validators to prioritize your transaction in the block. Example:
Notes:
  • Higher priority fees increase the likelihood of faster inclusion
  • Paid regardless of transaction success or failure
  • Optional - defaults to "0" if not specified

Bribe Fees (bribeFees)

Bribe fees (also called MEV tips) are paid on top of priority fees on the send routes that require a tip. Example:
Notes:
  • Required for PublicWithNonce, Antimev, and AntimevWithNonce routes
  • Minimum value is 1,000,000 lamports (0.001 SOL)
  • On Antimev, paid only if the transaction lands

Send Routes

The sendRoute parameter determines how your transaction is submitted to the network. The routes that require a nonceAccount need a durable nonce account you own. Build one with Create Nonce Account Transaction, sign it, and submit it before using its address here.

Public (Default)

Submits the transaction publicly, with no MEV protection.

PublicWithNonce

Submits the transaction publicly and through private routes, with a tip.

Antimev

Submits only through private routes that have revert protection.
Best for: High-value swaps where you want MEV protection and bribe fees only paid on success.

AntimevWithNonce

Submits through every private route, with and without revert protection.
Best for: Maximizing MEV protection coverage.