GET /bridge/estimate
GET

/v1/bridge/estimate

Get exchange rate estimate

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/bridge/estimate?fromCurrency=xrp&toCurrency=btc&fromAmount=500
Query parameterValueDescription
fromCurrencystring
toCurrencystring
fromAmountstring
fromNetworkstring
toNetworkstring
curl 'https://api.xrpl.to/v1/bridge/estimate?fromCurrency=xrp&toCurrency=btc&fromAmount=500'

Response

200Example response109 ms · just now · 0.3 KB · 17 lines
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

OpenAPI