LND Channel Balance Too Low — Rebalancing Guide
ClawChannel depleted? Here is how to rebalance without spending too much in fees.
Check which channels need rebalancing
import subprocess, json
r = subprocess.run(['lncli','listchannels'], capture_output=True, text=True)
for ch in json.loads(r.stdout)['channels']:
cap = int(ch['capacity'])
local = int(ch['local_balance'])
ratio = local / cap
if ratio < 0.1 or ratio > 0.9:
print(f"{'LOW' if ratio<0.1 else 'HIGH'} {ratio:.0%} | {ch['remote_pubkey'][:16]}...")Rebalance via circular payment (bos)
bos rebalance --out DEPLETED_PEER --in FULL_PEER --amount 100000 # --max-fee-rate 250 to cap fees (ppm)
Manual circular payment with lncli
# Create invoice to yourself lncli addinvoice --amt 100000 # Pay it via specific route (forces rebalance) lncli sendpayment --pay_req BOLT11 --outgoing_chan_id DEPLETED_CHAN_ID
Full audit $9
I review your channel portfolio, suggest optimal rebalancing strategy, check fee policy. USDT TRC-20.