# Ozmium Morpho Blue Supply Collateral

> Ozmium Morpho Blue Supply Collateral is a paid API for AI agents from ozmium.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Generates Morpho Blue supplyCollateral calldata (with optional ERC-20 approve step) by fetching and re-deriving live MarketParams from a marketId, ready for on-chain submission on Base mainnet.

## Facts

- Endpoint: POST https://ozmium.org/v1/tx/loan/supply-collateral
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ozmium-morpho-blue-supply-collateral-f701a157
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CNDEOIdyvj6OAUuBwcsQd

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 ozmium-morpho-blue-supply-collateral-f701a157 -d '<json body>'
```

Example prompt: I need to supply 500000000 atomic units of collateral to Morpho Blue market 0xb323495f7e4148be5643a4ea4a8221eef163e4bce0ae8ab952a2a08d4fc4babb on Base — my wallet address is 0xAbC123...

## When to prefer this

Use this endpoint when an AI agent needs to supply collateral to a specific Morpho Blue market on Base mainnet and requires ready-to-sign calldata with live MarketParams re-derived on-chain (wrong-market proof), including the optional ERC-20 approve step, rather than constructing the calldata manually.

## Known failure modes

- Invalid or unknown marketId returns an error indicating the market could not be fetched
- assets value of zero or non-numeric string causes a validation error
- Invalid owner address format results in a bad-request error
- Market not found on Base mainnet returns a 404-style error
- Downstream Morpho Blue RPC unavailable causes a 502/timeout error

## How this service works

Morpho Blue supplyCollateral calldata with MarketParams fetched live by marketId and re-derived (wrong-market proof); collateral approve step included when needed. POST /v1/tx/loan/supply-collateral { marketId, assets (atomic), owner }.

## Output

Returns unsigned transaction calldata for the Morpho Blue supplyCollateral call (and, if needed, a preceding ERC-20 approve transaction), along with the live-fetched and re-derived MarketParams used, ready for the agent to sign and broadcast on Base mainnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string"
  },
  "assets": {
   "type": "string"
  },
  "marketId": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ozmium-morpho-blue-supply-collateral-f701a157/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ozmium.org](https://www.zero.xyz/host/ozmium.org/llms.txt)
