Usdhb
16 operations. Back to the REST reference.
| Method | Operation | Path |
|---|---|---|
| GET | Get USDhb state The public USDhb state: parameters, supply, hedge book, reserve against target, capacity headroom and the mints-halted flag; the proof-of-backing payload, with no user data. | /v1/usdhb |
| POST | Quote a mint or redeem Price a USDhb mint or redeem (whole units on testnet v1); a 409 carries the refusal's figures when capacity, the oracle, a halt or dust refuses. | /v1/usdhb/quotes |
| POST | Mint USDhb Accept a mint quote (Idempotency-Key = quoteId) in one transaction: sats in, hedge opened, USDhb credited; a 409 usdhb_requote carries a fresh quote. | /v1/usdhb/mints |
| POST | Redeem USDhb Accept a redeem quote (Idempotency-Key = quoteId); a withdrawal, so it works in every halt mode, and a 202 means queued on a stale oracle to complete at the first fresh price. | /v1/usdhb/redemptions |
| GET | List mint and redeem sagas The account's mint and redeem sagas, newest first, cursor-paginated by createdTsMs. | /v1/usdhb/sagas |
| GET | Get a saga One of the account's mint or redeem sagas; 404 for anyone else's. | /v1/usdhb/sagas/{id} |
| POST | Stake USDhb Stake USDhb for sUSDhb shares at the share price; a mint-class flow that refuses while mints are halted. | /v1/usdhb/stake |
| POST | Unstake USDhb Request an unstake: shares cool for unstakeCooldownMs and release at the share price at release; a withdrawal-class request with no halt reads. | /v1/usdhb/unstake |
| GET | List unstake requests The account's unstake requests, cooling and released. | /v1/usdhb/unstakes |
| GET | List USDhb activity One entry per applied USDhb money movement (mint, redeem, stake, unstake, off-venue withdrawal or deposit), cursor-paginated on the same global event sequence as fills; each entry is the WebSocket account frame for that event without its channel field. | /v1/usdhb/activity |
| GET | List waterfall history One entry per applied funding boundary; public, newest first. | /v1/usdhb/history |
| GET | Get my USDhb deposit address The account's USDhb receive address on the issuer wallet, allocated on first request; 503 token_rail_unavailable where no token rail is wired. | /v1/usdhb/deposit-address |
| POST | Quote a USDhb withdrawal Whether the destination is one this account has been paid at before, in any asset, and the confirm token when one is required. | /v1/usdhb/withdrawals/quote |
| GET | List USDhb withdrawals The account's USDhb withdrawals, requested and paid. | /v1/usdhb/withdrawals |
| POST | Withdraw USDhb Withdraw USDhb to a Spark address in two phases, pending then paid when the custody transfer lands; a withdrawal with no halt reads, where a first-seen destination at or above the confirm threshold needs the confirmToken from the quote (428 without it), and 503 where no token rail is wired. | /v1/usdhb/withdrawals |
| GET | List USDhb freezes The public freeze log, every freeze and unfreeze newest first (requested until the custody worker applies it), and the addresses currently frozen on-chain. | /v1/usdhb/freezes |