# SameDayDesk Morpho Pre-Liquidation Replay

> SameDayDesk Morpho Pre-Liquidation Replay is a paid API for AI agents from agents.samedaydesk.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Deterministically replays a historical Morpho pre-liquidation event on Base, returning decoded asset amounts, incentive economics, and on-chain verification details for a given transaction hash.

## Facts

- Endpoint: GET https://agents.samedaydesk.com/defi/morpho-preliquidation-replay
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/samedaydesk-morpho-pre-liquidation-replay-5a730f36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3yF2kZz6HdBYdvHU8hVOK

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 samedaydesk-morpho-pre-liquidation-replay-5a730f36
```

Example prompt: Can you replay the Morpho pre-liquidation event for transaction 0xabc123... on Base mainnet and tell me how much USDC was repaid, how much cbBTC was seized, and what the incentive percentage was?

## When to prefer this

Use this endpoint when you need a deterministic, verifiable historical replay of a specific Morpho pre-liquidation event on Base mainnet — particularly when you need decoded asset economics (repaid/seized amounts), incentive percentages, and on-chain receipt verification in a single call. Prefer this over generic block explorers when you need structured JSON output with economics pre-computed, or when building audit trails, compliance reports, or DeFi research pipelines that require machine-readable Morpho preliquidation data with payment-gated access via x402 or MPP.

## Known failure modes

- Transaction hash not found or not a Morpho pre-liquidation event — returns error or empty events array
- Invalid or malformed transaction hash — likely returns validation error
- Transaction on wrong chain (not Base mainnet) — chain mismatch error
- Payment not provided or insufficient — x402 payment required response
- RPC or indexing failure for historical block — service unavailable or timeout
- Transaction reverted on-chain — receipt status reflects failure, eventDecoded may be false

## How this service works

Deterministic agent APIs for web and company intelligence, repository security, agent-work economics, machine-service discoverability, payment preflight and settlement proof, wallet context, and Morpho decision evidence. Pay per call through Base x402 or native MPP, with a Circle Gateway Nanopayments path for gasless batched USDC.

## Output

Returns a JSON object containing: chain info (id, name), an events array with repaid and seized asset amounts (symbol and amount), gross economics (incentive percentage and incentive expressed in loan asset), transaction details (hash, status, gas cost in ETH), verification flags (eventDecoded, receiptStatus), total event count, and a product boundary disclaimer clarifying this is a historical replay and not a forward profit forecast.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "transactionHash"
     ],
     "properties": {
      "transactionHash": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{64}$",
       "description": "Successful Base transaction containing a Morpho PreLiquidate event."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "product",
      "chain",
      "transaction",
      "eventCount",
      "events",
      "verification",
      "boundary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "chain": {
       "type": "object"
      },
      "events": {
       "type": "array"
      },
      "product": {
       "type": "string",
       "const": "morpho-preliquidation-replay"
      },
      "boundary": {
       "type": "string"
      },
      "eventCount": {
       "type": "integer"
      },
      "transaction": {
       "type": "object"
      },
      "verification": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "chain": {
   "id": 8453,
   "name": "Base mainnet"
  },
  "events": [
   {
    "assets": {
     "repaid": {
      "amount": "26.27",
      "symbol": "USDC"
     },
     "seized": {
      "amount": "0.000427",
      "symbol": "cbBTC"
     }
    },
    "grossEconomics": {
     "incentivePct": 4.38,
     "incentiveInLoanAmount": "1.15"
    }
   }
  ],
  "product": "morpho-preliquidation-replay",
  "boundary": "Historical deterministic replay; not a forward profit forecast or execution instruction.",
  "eventCount": 1,
  "transaction": {
   "hash": "0x...",
   "status": "success",
   "gasCostEth": "0.00014"
  },
  "verification": {
   "eventDecoded": true,
   "receiptStatus": "success"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/samedaydesk-morpho-pre-liquidation-replay-5a730f36/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.samedaydesk.com](https://www.zero.xyz/host/agents.samedaydesk.com/llms.txt)
