path_find RPC Method
A client can only have one pathfinding request open at a time. If another pathfinding request is already open on the same connection, the old request is automatically closed and replaced with the new request.
參數
此方法不接受任何參數
退貨
結果
物件
載入中...
alternatives
陣列
載入中...
paths_computed
陣列
載入中...
source_amount
字串
載入中...
destination_amount
字串
載入中...
destination_account
字串
載入中...
destination_amount
字串
載入中...
source_account
字串
載入中...
full_reply
布林值
載入中...
warnings
陣列
載入中...
id
整數
載入中...
訊息
字串
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"result": {6"alternatives": [7{8"paths_computed": [],9"source_amount": "example_value",10"destination_amount": "example_value"11}12],13"destination_account": "example_value",14"destination_amount": "example_value",15"source_account": "example_value",16"full_reply": false17},18"warnings": [19{20"id": 1,21"message": "example_value"22}23]24}25}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"result": {6"alternatives": [7{8"paths_computed": [],9"source_amount": "example_value",10"destination_amount": "example_value"11}12],13"destination_account": "example_value",14"destination_amount": "example_value",15"source_account": "example_value",16"full_reply": false17},18"warnings": [19{20"id": 1,21"message": "example_value"22}23]24}25}