Closed cometburn closed 6 years ago
It's hard to know exactly what the issue is without seeing the exact situation. Two possibilities: 1) You are looking at the immediate reply to the path creation rather than waiting for the pathfinding to complete and provide a full reply. The immediate reply only finds "obvious" paths. 2) There is no path that will work. For example, there may be no liquidity at all between ETH/ZZZZ and XRP.
Hello Sir, Thank you for replying.
What I'm doing is finding paths for ETH to XRP... but "alternatives" is empty..
also on the documentation, it says
You can specify "-1" (for XRP) or provide -1 as the contents of the value field (for non-XRP currencies).
The source account does not hold any of the asset it's trying to send, nor can it borrow any.
"account" : "r4ZMZxtNMcqLYWcFAAxmueJaQLfSLENMdo", "ledger_current_index" : 30580192, "lines" : [ ... { "account" : "rcA8X3TVMST1n3CJeAdGk1RdRCHii7N2h", "balance" : "0", <-- "currency" : "ETH", "limit" : "1000000000", "limit_peer" : "0", "no_ripple" : true, "quality_in" : 0, "quality_out" : 0 }, ... ]
provided that:
when i send that command through websocket, it doesn't return any paths.
Can anyone enlighten me on this?