Skip to main content

path_find RPC Method

It conducts a search for a potential pathway that allows a transaction to be executed and provides periodic updates whenever there are changes in the available path.

Updated on
Jun 11, 2026
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

An object with the following fields:

alternatives
array

An array of objects with suggested paths to take

paths_computed
array

The defined payment paths

source_amount
string

The currency amount that the source would have to send along this path for the destination to receive the desired amount

destination_amount
string

The destination amount received

destination_account
string

Unique address of the account that would receive a transaction

destination_amount
string

The currency amount that the destination would receive in a transaction

source_account
string

The unique address that would send a transaction

full_reply
boolean

If false, incomplete search; later reply may have a better path. If true, best path found; updates sent on new ledger closures until pathfinding request is closed

warnings
array

A list of warnings

id
integer

The ID of the warning

message
string

The warning message

Request
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": false
17
},
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": false
17
},
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