Description Usage Arguments Value
View source: R/get_payment_paths.R
Before you make a payment, it is necessary to figure out the possible ways in which that payment can be made. This method gets a list of possible ways to make a payment, but it does not affect the network: consider it like getting quotes before actually making the payment. You can then choose one of the returned payment objects, modify it as desired (for example, to set slippage values or tags), and then submit the payment for processing.
1 2 | get_payment_paths(address, destination_account, destination_amount, value,
currency, issuer = "", source_currencies)
|
address |
The Ripple address for the source account. |
destination_account |
The Ripple address for the destination account. |
destination_amount |
An object of class |
value |
The quantity of the currency. Ignored if
|
currency |
The currency expressed as a three-character code. Ignored if
|
issuer |
The Ripple account address of the currency's issuer or gateway,
or an empty string if the currency is XRP. Ignored if
|
source_currencies |
A string or an object of class
|
An object of class "Payment"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.