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.
Parameters
This method does not accept any parameters
Returns
result
object
Loading...
alternatives
array
Loading...
paths_computed
array
Loading...
source_amount
string
Loading...
destination_amount
string
Loading...
destination_account
string
Loading...
destination_amount
string
Loading...
source_account
string
Loading...
full_reply
boolean
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "path_find",6"params": [],7"id": 18}'
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "path_find",6"params": [],7"id": 18}'
Response
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}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free