Get RLUSD Quote
get_rlusd_quoteGet a live XRP to RLUSD conversion quote via the XRPL DEX.
Instructions
Get a live XRP to RLUSD conversion quote via the XRPL DEX.
Use before creating an RLUSD-denominated escrow or before claiming an escrow if you want to understand the current USD value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xrp_amount": "<xrp_amount>",
"worker_address": "<worker_address>"
},
"name": "get_rlusd_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xrp_amount | Yes | Amount of XRP to get a conversion quote for. | |
| worker_address | Yes | Your XRPL wallet address (r...). Also used to check whether your trustline for RLUSD is active. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||