/v1/bridge/estimate
Get exchange rate estimate
Request
https://api.xrpl.to/v1/bridge/estimate?fromCurrency=xrp&toCurrency=btc&fromAmount=500| Query parameter | Value | Description |
|---|---|---|
| fromCurrency | string | |
| toCurrency | string | |
| fromAmount | string | |
| fromNetwork | string | |
| toNetwork | string |
curl 'https://api.xrpl.to/v1/bridge/estimate?fromCurrency=xrp&toCurrency=btc&fromAmount=500'
Response
https://api.xrpl.to/v1/bridge/estimate?fromCurrency=xrp&toCurrency=btc&fromAmount=500{ "fromCurrency": "xrp", "fromNetwork": "xrp", "toCurrency": "btc", "toNetwork": "btc", "flow": "standard", "type": "direct", "rateId": null, "validUntil": null, "transactionSpeedForecast": "10-60", "warningMessage": null, "depositFee": 0, "withdrawalFee": 0.0000029, "userId": null, "fromAmount": 500, "toAmount": 0.0087566 }
What it does
Get exchange rate estimate