Docs › Build with Beluga › API reference › Prices & quotes

Redemption quote

What redeeming XMR2 for XMR pays after our fee, next to redeeming XMR1 at Wagyu by its published bridge terms.

GET/api/redeem

Our payout is the amount minus 1.0%. With from, the quote is for XMR2 sent from that Hyperliquid address and includes any fee arrangement it has with us (market makers: redemptions fee-free up to what the bridge credited to their addresses in the last 30 days, minus what they already redeemed). Wagyu's figure comes from its public bridge terms (refreshed every 10 minutes); the bridge has no quote endpoint, so costs beyond the published terms are not included.

Query parameters

NameTypeDescription
amountrequirednumberXMR2 to redeem; greater than 0, at most 100000.
fromstringOptional: the Hyperliquid address the XMR2 will be sent from.

Responses

200Redemption quote.
FieldTypeDescription
ours.outnumberXMR you receive.
ours.feePctnumberOur redemption fee in percent (with from: the effective rate for this amount).
ours.feeFreenumberWith from: the part of this amount redeemed fee-free.
ours.feeFreeLeftnumberWith from: the address's whole fee-free amount left right now.
wagyuobject{feePct, flatXmr, minXmr, out, vsUsPct, belowMinimum} or {"error": "terms unavailable"}.
400Missing or invalid amount.
{
  "error": "amount must be > 0"
}
429Rate limit reached; retry after the current minute.
{
  "error": "rate limit"
}