Skip to main content

ripple_path_find RPC Method

Loading...

Updated on
Oct 04, 2023

ripple_path_find RPC Method

Parameters

destination_account
string
REQUIRED
Loading...
destination_amount
object
REQUIRED
Loading...
currency
string
Loading...
issuer
string
Loading...
value
string
Loading...
source_account
string
REQUIRED
Loading...
source_currencies
array
Loading...
currency
string
Loading...
send_max
string
Loading...
ledger_hash
string
Loading...
ledger_index
string
Loading...

Returns

result
object
Loading...
alternatives
array
Loading...
destination_account
string
Loading...
destination_amount
object
Loading...
currency
string
Loading...
issuer
string
Loading...
value
string
Loading...
destination_currencies
string
Loading...
full_reply
boolean
Loading...
source_account
string
Loading...
status
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1
curl https://docs-demo.xrp-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "ripple_path_find",
6
"params": [
7
{
8
"destination_account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
9
"destination_amount": {
10
"currency": "USD",
11
"issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
12
"value": "0.001"},
13
"source_account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
14
"source_currencies": [{"currency": "XRP"},
15
{"currency": "USD"}]
16
}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free