The problem is caused by a too-small fee for that transaction.
Bitcoin
- Way 1: Wait for over 48h (2–3 days) and that transaction will be rejected. 😀
- Way 2: Re-broadcast your transaction to other nodes:
There some nodes here:
https://api.blockcypher.com/v1/btc/main/txs/push
https://blockchain.info/pushtx
https://api.blockchair.com/bitcoin/push/transaction
https://coinb.in/api/?uid=1&key=12345678901234567890123456789012&setmodule=bitcoin&request=sendrawtransaction
https://api.smartbit.com.au/v1/blockchain/pushtx/
Ethereum
Case 1: If you still have a balance > 0 on your wallet => Cancel it
Summary of the solution to solve case 1:
- Create a new transaction send from yourself to yourself with amount = 0. =]]
- Use the Average or High gas fee suggested by the wallet app
- Change the transaction Nonce of the new transaction with the same value of the transaction which wants to cancel
Wallet support articles on speeding up/replacing/cancel transactions:
- MEW — Checking or Replacing a Transaction After it’s Been Sent
- ImToken — Why transaction pending?
- Metamask — How to Speed Up or Cancel a Pending Transaction
- MyCrypto — How To Cancel or Replace a Stuck Transaction
- Trust Wallet — Pending “Stuck” Transactions
- Coinomi — How can I replace or cancel my unconfirmed transaction?
Case 2: Your current balance is zero so you can not make additional transactions to cancel or replace mention in Case 1. =]]
Some wallet uses their own blockchain node to broadcast that transaction. All transactions of a node go to a pool. Then miner points to the node pool and selects the transactions from the highest fee put to queue. If the transaction queue is full, the node server will revise all transactions in the pool and remove the pending transactions for a long time, and maybe can not be mined further.
- Just wait for 2–3 days, your transaction will be dropped from the specific node. Example with https://etherscan.io

- Although etherscan.io drop that transaction, some servers still pending it. Don’t worry. You just import your wallet (import via private key or mnemonic phrases) to another wallet app run on another node server. And create a normal transaction again to replace. Remember don’t change fee to low. =]]
Recommended wallet to re-send transaction: https://www.myetherwallet.com/access-my-wallet
- Here, I sent another tx from MEW wallet to replace the old one

- After the new tx success, the old one change status to Dropped & Replaced

- The new one

====
You should not modify the transaction fee on the wallet app. https://etherscan.io/gastracker
Recommend coin to hold
- XRP -> Too fast (4s) and too small fee
- TRX -> Fair in fee with Bandwith + Energy concept => Can send TRX or TRC20 token freelesss. Hight TPS (2000) and fast confirmation (2–3min)
— -
- Bitcoin too low and high fee
- Ethereum better the BTC only. It was limit by tx fee which can be scale to infinity @@