{
  "$schema": "https://farmslot.io/schemas/recipe-v1.schema.json",
  "title": "MetaMask core Perps snapshots",
  "description": "Reads global market and account snapshots through the public PerpsController API used by wallet clients. Configure CORE_PERPS_TERMINAL_GLOBAL_SNAPSHOT_URL to exercise a Terminal schema-v2 endpoint.",
  "workflow": {
    "entry": "status",
    "nodes": {
      "status": {
        "action": "app.status",
        "next": "read_snapshot",
        "intent": "Resolve the Core checkout and report headless compatibility"
      },
      "read_snapshot": {
        "action": "metamask.perps.read_snapshot",
        "scope": "all",
        "next": "done",
        "intent": "Read coherent market and account snapshots through public controller methods"
      },
      "done": {
        "action": "end",
        "status": "pass"
      }
    }
  }
}
