Fees
SolanaMevBot fee structure
SolanaMevBot charges 10% of the profit for each successful arbitrage trade. There is no fee to use the bot, and a transaction that does not trade pays no fee.
What the fee is charged on
The program takes 10% of the profit above the transaction's minimum profit. The bot sets that minimum to the transaction's profit floor:
- With
no_failure_mode = false, the floor is the tip. From 2.0.3, forjito,send_bundle, andharmonic, it also covers the bundle's fees. The fee is charged on the profit left after them. - With
no_failure_mode = true, there is no floor, so the fee is 10% of the whole profit.
What the fee is paid in
The fee is paid in the trade's settlement token: SOL routes pay it in SOL, and USDC routes pay it in USDC. Tips and network fees are always paid in SOL. For USDC settlement, the bot converts the profit floor into USDC at the current SOL price with a 20% margin.
Where the fee goes
- With
flashloan = true, the fee is added to the flashloan repayment and goes to the executor's loan vault. - Otherwise it goes to the fee account given in the instruction, which must be one of the program's fee accounts. The bot pays SOL fees to
GPpkDpzCDmYJY5qNhYmM14c7rct1zmkjWc2CjR5g7RZ1and USDC fees toGzVRuLF349u78FHpr8KbqMhrZ1aDxnhSF59JWiZ6tbgt.
USDC routes earn their profit in USDC but pay tips and network fees in SOL, so your SOL balance falls while your USDC balance grows. Keep enough SOL for tips and fees, and add up both balances to see your net profit.