I'm trying to manually rebalancing my channels with LND
lncli sendtoroute but I found it very hard to understand. I can obtain a json with available routes with:
lncli queryroutes --dest $REMOTEPUBKEY --amt $AMOUNT
But how can I pass a defined route to sendtoroute command? I always have this error:
[lncli] unable to unmarshal json string from incoming array of routes: invalid character 'r' looking for beginning of value
Are you able to use this lnd function?
Can you help me? thanks in advice!