Docs › Build with Beluga › API reference › Bridge orders

Get order

Current state of a deposit or redemption.

GET/api/order/{id}

Poll every 10 seconds or slower and stop at a final state (completed, expired, refunded). The order ID is the only access credential, so treat it like a receipt number. States and transitions: Order lifecycle.

Path parameters

NameTypeDescription
idrequiredstringOrder ID: 6–20 characters, letters, digits, - and _.

Responses

200The order.
FieldTypeDescription
idstringOrder ID.
kindstringdeposit or withdraw.
statestringSee states.
hlAddressstring | nullDeposit: XMR2 recipient. Redemption: null.
xmrAddressstring | nullRedemption payout address.
depositAddressstring | nullDeposit: one-time Monero subaddress (null while new). Redemption: the order's own Hyperliquid address.
amountInstring | nullReceived, atomic units (1012): XMR for deposits, XMR2 for redemptions.
amountOutstring | nullSent, atomic units: XMR2 credited or XMR paid.
feestringFee, atomic units ("0" for deposits).
confirmationsintegerDeposit confirmations (of the least-confirmed transfer).
confsNeededinteger | nullConfirmations this deposit needs before XMR2 is sent: 5 below 200 XMR, else 10 (null for withdrawals).
inTxstring | nullIncoming Monero txid(s), comma-separated, or Hyperliquid hash.
outTxstring | nullOutgoing Hyperliquid hash or Monero txid.
createdAt / expiresAtstring | nullISO 8601 timestamps; expiresAt is the funding deadline.
404Unknown order ID.
{
  "error": "not found"
}
429Rate limit reached; retry after the current minute.
{
  "error": "rate limit"
}