Join Nostr
2026-11-12 04:46:15 UTC

BuilderDelta on Nostr: 🔥 10 Bash One-Liners Every Bitcoiner Should Know 1. Check mempool fee rates: curl ...

🔥 10 Bash One-Liners Every Bitcoiner Should Know

1. Check mempool fee rates:
curl -s https://mempool.space/api/v1/fees/recommended | jq

2. Get current BTC price:
curl -s https://api.coinbase.com/v2/prices/BTC-USD/spot | jq '.data.price'

3. Monitor a wallet balance (replace YOUR_ADDRESS):
curl -s "https://mempool.space/api/address/YOUR_ADDRESS"; | jq '.chain_stats.funded_txo_sum - .chain_stats.spent_txo_sum'

4. Convert sats to BTC:
echo "scale=8; 100000 / 100000000" | bc

5. Check Lightning network stats:
curl -s https://mempool.space/api/v1/lightning/statistics/latest | jq

6. Watch for new blocks:
while true; do curl -s https://mempool.space/api/blocks/tip/height; echo; sleep 30; done

7. Get transaction fee details:
curl -s "https://mempool.space/api/tx/TXID"; | jq '{fee: .fee, size: .size, rate: (.fee/.weight*4)}'

8. Quick hashrate check:
curl -s https://mempool.space/api/v1/mining/hashrate/1m | jq '.currentHashrate'

9. List recent blocks:
curl -s https://mempool.space/api/v1/blocks | jq '.[0:5] | .[] | {height, timestamp, tx_count}'

10. UTXO count for address:
curl -s "https://mempool.space/api/address/YOUR_ADDRESS/utxo"; | jq length

Bookmark this thread! âš¡ Zaps always appreciated!

#bitcoin #bash #tools #programming