Memecoin trading 2 min read
Solana token transfer fees: check the rate and cap
Calculate a Token Extensions transfer fee and distinguish the amount received from the separate SOL network charge.
View the worked illustrationClose illustration
Scroll the illustration to inspect the details.
Some Solana Token Extensions mints configure a transfer fee. The program applies the rate subject to its maximum and withholds the fee at the receiving token account. That withheld quantity is separate from what the recipient can spend. The network transaction fee in SOL is another charge with a different unit.
Apply the percentage and the maximum
Assume a mint charges 1% with a maximum of 3 tokens per transfer. Sending 100 tokens gives a fee of 1 and a spendable increase of 99. Sending 500 gives an uncapped calculation of 5, so the 3-token maximum applies and the spendable increase is 497. These round quantities avoid fractional base units. For small transfers, read the exact program-calculated fee in the mint’s smallest unit.
Inspect the configuration that applies to the transfer’s epoch. A current or upcoming rate can differ from one shown in an older quote. Make sure the maximum’s displayed units have been converted using this mint’s decimals. A calculator that reads “3” as full tokens when the configuration supplies three base units can produce the wrong result.
Reconcile both accounts and the network receipt
Compare the sender’s token debit, the recipient’s available increase and the withheld amount. Read any SOL fee separately. Adding a token fee directly to a SOL amount without a stated exchange rate gives no meaningful total.
Use the mint decimals check to convert the program’s base-unit cap to displayed tokens.
Transfer Fees - Solana Developer Docs · Create a Token Mint - Solana Developer Docs
Read next
More from this space
-
2 min read
US memecoin swap records when no cash changes hands
Reconstruct a US investor’s example token-for-token disposition using dollar basis, value received and transaction records.
-
2 min read
A hidden or unsolicited token in Phantom: what changed?
Separate a wallet’s visibility warning from token ownership and a verified or realizable dollar value.
-
2 min read
A frozen Solana token account can still show a balance
Check the transfer state of each token account and distinguish the freeze authority from the mint authority.