What is double-spending?
In simple terms, when you send a transaction on a decentralized network, it takes some time to be confirmed by the network. During this confirmation period, a malicious attacker can try to create another transaction using the same crypto and make the second transaction confirm faster than the first.
Checklist
- In the field of crypto, double spending is a type of fraud which refers to the same crypto being spent twice.
- How do I prevent double-spending scams?
Notes
If the fraudulent action is successful, the first transaction becomes invalid, and the attacker can spend the same crypto twice and commit fraud.
Common Forms of Double-Spending Attacks
51% Attack: If a miner or mining pool controls more than 51% of the network’s computing power, they can theoretically control the order of transaction confirmations, enabling double-spending.
Race Attack: The attacker sends two conflicting transactions at the same time, one to the merchant and another back to themselves, in an attempt to invalidate the merchant’s transaction.

Details follow the official OKX help article; this page is a learning checklist, not an official mirror.











