Get DEX Quote
get_dex_quoteGet a live DEX price quote for swapping between XRP and RLUSD on the XRPL DEX.
Use this to price escrows in a stable currency (RLUSD) while paying in XRP, or to understand the current exchange rate before committing to a job budget.
Returns: from_amount, to_amount, rate, and slippage estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of the from_currency to quote. | |
| to_currency | Yes | Currency to swap to, e.g. 'XRP' or 'RLUSD'. | |
| from_currency | Yes | Currency to swap from, e.g. 'XRP' or 'RLUSD'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||