market_request
Post a marketplace BUY request (POST /request) — you want to buy a resource; providers match against
it and your escrow is debited on match. Bearer + a verified account (marketplace:write); an
under-scoped token gets the backend's real 403. Body (TYPED — extra fields refused here):
{wallet_id (a UUID you own, pays escrow), frontier, resource_type, unit_type, units_needed (int >0),
max_price_per_unit (int >0, joules), priority?, requirements? (dict), ttl_seconds? (expiry), speed?,
privacy_mode?, contract_escrow?, physical_claim?, idempotency_key?}. Quote a specific request with market_quote before
accepting a match.
PHYSICAL TRADES: resource_type scene_stack, change_report, site_reconstruction or satellite_imagery MUST carry
physical_claim {kind: physical_change|physical_state, site_lat, site_lng, t1, t0 (for a change), radius_m?} — the backend
refuses the request without it; the trade is judged against a satellite frame at that site and date.
ESCROW LANE: every trade's joules are held in escrow either way. The DEFAULT is the LEDGER LANE — escrow
held in a system wallet and settled on the ledger (each settlement leg anchored on chain), NO on-chain
contract and no contract fee; the match reads escrow_bsv_state: "NO_CONTRACT", which is the normal,
terminal state of that lane, not a failure. Set contract_escrow: true to opt in to the on-chain escrow
contract lane for a flat contract fee added to your lock; the contract is mandatory for large trades.
It takes effect ONLY where an oracle backs the trade (large enough to attract oracle verification, or an
oracle-verified provider): a non-oracle opt-in falls back to the ledger lane with no contract and no fee,
and the match returns contract_escrow: false plus a contract_note saying why. Fee and thresholds:
https://raree.ai/llms.txt (not restated here). After settlement, trade_settlement shows the contract's
own legs in its contract section (null on a ledger-lane trade).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||