Docs Swap
Fees
What a swap costs: the router fee, the network fee and rent, gasless swaps, the Send fee.
A swap on Carbium Swap at https://dex.carbium.io pays Carbium's router fee and Solana's network fee, and sometimes rent for a new token account. The swap card shows the router fee before you sign.
Router fee
The router fee is 0.05% of the amount you pay. It is collected on chain, as part of the swap transaction you sign, and rounded down, so a very small swap can pay nothing.
The fee row on the card shows the rate in its label, "Router fee (0.05%)". Once the card has a quote for your amount, the row shows the fee in the token you pay with.
When your swap is the first to pay the router fee in a given token, the same transaction opens Carbium's fee account for that token, and you pay its one-time rent.
Network fee and account rent
Every transaction pays a network fee to Solana, usually with a priority fee that the swap app picks. Carbium receives none of it. Hover the fee label on the card to see "Network (≈)", an estimate in SOL.
Rent is a SOL deposit that stays in a token account until the account is closed. A swap may pay rent to open a token account for the token you receive. That account is yours.
Your wallet usually shows these amounts before you sign. When you pay with SOL and press "MAX", the card leaves some SOL in your wallet for fees and rent.
Gasless swaps
On a gasless swap, you need no SOL in your wallet for the network fee. A Carbium fee payer pays the network fee and any temporary account rent, and the same transaction repays at least that amount from the SOL you receive.
There is no switch. Gasless applies by itself when you swap into SOL and your SOL balance is too low to cover the fee and the temporary account rent. The "GASLESS" indicator at the top of the card lights when it applies.
You still sign the transaction in your own wallet, and the fee payer never holds or controls your tokens. Carbium adds no separate gasless fee. The router fee still applies.
If the card shows "Your wallet needs a little SOL for network fees", the swap is not gasless and needs SOL in your wallet.
Send fee
Send, in your portfolio, transfers tokens from your wallet to another address. Sending one token has no Carbium fee. Sending two or more at once pays Carbium a fee per token, inside the same transaction. Send shows it as "Carbium fee" before you sign, and a send that fails does not pay it.
Network fees apply to every send, shown as "Network fee". You pay the rent when the recipient needs a new token account.
Developers: the quote and swap API is documented at carbium.sh/docs.