# Lone Star Oracle RWA Risk Profile

> Lone Star Oracle RWA Risk Profile is a paid API for AI agents from rwa.lonestaroracle.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns per-vault on-chain risk profile for tokenized RWA positions on Base, covering admin/freeze control and exit liquidity depth

## Facts

- Endpoint: GET https://rwa.lonestaroracle.xyz/rwa-risk
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lone-star-oracle-rwa-risk-profile-bc3bb186
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cVCOYz68FAlYnw8gEqLPM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lone-star-oracle-rwa-risk-profile-bc3bb186
```

Example prompt: Before I put money into the Midas mTBill vault on Base, can you pull the RWA risk profile for it — specifically whether admin can freeze my tokens and how much DEX exit liquidity is available?

## When to prefer this

Use this endpoint when an AI agent or DeFi automation needs to pre-screen an RWA vault on Base for custody and liquidity risk before capital allocation — specifically covering admin freeze/blacklist/upgrade risk and secondary market exit depth. Prefer this over generic DeFi analytics when the user is concerned about tokenized treasuries, private credit, or RWA vaults from Midas, Morpho, Maple, or Fluid on Base. Do not use this for default probability, yield analysis, or legal/regulatory risk assessment.

## Known failure modes

- Unknown vault ID returns empty or 404 response
- Protocol not in scope (e.g. Ethereum mainnet vaults) returns no data
- Missing required query parameter returns validation error
- x402 payment failure if USDC balance insufficient on Base
- Stale onchain data if oracle hasn't indexed recent contract upgrades

## How this service works

Per-vault RWA risk profile — admin/freeze control + exit-liquidity

## Output

A JSON object containing the vault's overall risk flag (e.g. 'high-risk'), an admin/freeze risk sub-object (tier, can_freeze boolean, upgradeable boolean), an exit-liquidity sub-object (tier, DEX depth in USD), plus TVL and supply context for the given vault or token on Base.

## Request schema (JSON Schema)

```json
{
 "name": "RWA Risk",
 "tags": [
  "rwa",
  "risk",
  "defi",
  "tokenized-treasuries",
  "private-credit",
  "onchain",
  "base"
 ],
 "type": "object",
 "version": "1.0.0",
 "category": "data",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "vault": {
       "type": "string",
       "title": "Vault"
      },
      "protocol": {
       "type": "string",
       "title": "Protocol"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "vault_id": "midas-mtbill",
     "overall_flag": "high-risk",
     "exit_liquidity": {
      "tier": "high",
      "dex_depth_usd": 120
     },
     "admin_freeze_risk": {
      "tier": "medium",
      "can_freeze": true,
      "upgradeable": true
     }
    }
   }
  }
 },
 "description": "Per-vault risk profile for tokenized real-world-asset (RWA) positions on Base — tokenized treasuries, private credit, and RWA vaults (Midas, Morpho, Maple, Fluid). For a given vault or token, returns two on-chain risk dimensions: (1) admin/freeze risk — whether a holder can be frozen, blacklisted, or the contract upgraded, and by whom; (2) exit-liquidity — whether the position can actually be sold on the secondary market and at what slippage. Plus TVL and supply context. Call this before an agent allocates capital into an RWA vault, to check custody-control and exit risk. Pay-per-call $0.10 in USDC on Base via x402. Scope note: covers on-chain admin and liquidity risk only; does NOT cover private-credit default probability, yield-source, or legal terms."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lone-star-oracle-rwa-risk-profile-bc3bb186/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rwa.lonestaroracle.xyz](https://www.zero.xyz/host/rwa.lonestaroracle.xyz/llms.txt)
