Home / News

Solana17/11 17:15 UTC+7

Why does a failed Solana trade still take money from your wallet?

Source: Crypto.news — Read the original ↗

RelatedSOL $73.53 +3.1%prices as of last site update (CoinGecko)

Summary

Solana deducts a transaction's fee before it runs the swap instructions, so a trade that fails during execution still pays the base fee and any priority fee. The network rolls back the swap itself, leaving the trader with the original tokens but slightly less SOL. The base fee is 5,000 lamports per signature, or 0.000005 SOL for one signature. Expired, dropped or rejected transactions follow different paths, so the recorded transaction status is the best guide to whether a fee was charged.

“Solana's fee rules charge for processing a transaction, not only for completing the trade the user wanted.”

Key points

  • Failed-in-execution transactions still pay base and priority fees while other changes are reversed
  • Base fee: 5,000 lamports (0.000005 SOL) per charged signature
  • Priority fees improve scheduling but cannot fix stale quotes or slippage violations
  • Account deposits, trading fees and tips are separate from the network fee

Why it matters: Explains a common source of confusion for Solana traders who see SOL deducted after a failed swap.

Tóm tắt

Solana trừ phí giao dịch trước khi chạy lệnh swap, nên một giao dịch thất bại trong lúc thực thi vẫn phải trả phí cơ bản và phí ưu tiên (nếu có). Mạng sẽ hoàn tác bản thân lệnh swap, người dùng vẫn giữ token ban đầu nhưng số SOL giảm đi một chút. Phí cơ bản là 5.000 lamport cho mỗi chữ ký, tương đương 0,000005 SOL với một chữ ký. Giao dịch hết hạn, bị bỏ hoặc bị từ chối diễn ra theo cách khác, vì vậy trạng thái giao dịch được ghi nhận là căn cứ tốt nhất để biết có bị tính phí hay không.

Điểm chính

  • Giao dịch lỗi khi thực thi vẫn trả phí cơ bản và phí ưu tiên, các thay đổi khác bị hoàn tác
  • Phí cơ bản: 5.000 lamport (0,000005 SOL) mỗi chữ ký tính phí
  • Phí ưu tiên giúp được xếp lịch sớm hơn nhưng không sửa được báo giá cũ hay vượt trượt giá
  • Tiền cọc tạo tài khoản, phí giao dịch và tip là khoản riêng, không phải phí mạng

Vì sao quan trọng: Giải thích vì sao trader Solana thấy SOL bị trừ dù swap thất bại.

摘要

Solana 会在执行兑换指令之前扣除交易费,因此在执行中失败的交易仍需支付基础费和优先费(如有)。网络会回滚兑换本身,交易者保留原有代币,但 SOL 余额略有减少。基础费为每个签名 5,000 lamports,单签名即 0.000005 SOL。过期、被丢弃或被拒绝的交易处理方式不同,因此链上记录的交易状态是判断是否被收费的最佳依据。

要点

  • 执行失败的交易仍支付基础费和优先费,其他状态变更被回滚
  • 基础费:每个计费签名 5,000 lamports(0.000005 SOL)
  • 优先费只提升排队优先级,无法修复过期报价或滑点超限
  • 开户押金、交易费和小费与网络费是不同的费用

为何重要: 解释了 Solana 交易者在兑换失败后仍被扣除 SOL 的常见困惑。

Original summary written by VolumeVein from the publisher’s article; no full text is republished. Facts belong to the original report — read it for full context. Not financial advice.

Read the full article on Crypto.news ↗