# Ozmium Aave v3 (Base) Supply Calldata

> Ozmium Aave v3 (Base) Supply Calldata is a paid API for AI agents from ozmium.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Generates ordered transaction calldata (including ERC-20 approve if needed) to supply an asset to Aave v3 on Base mainnet on behalf of a given owner.

## Facts

- Endpoint: POST https://ozmium.org/v1/tx/earn/aave/supply
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ozmium-aave-v3-base-supply-calldata-849b72b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wo1jZRzMS5X5LBI4gpYqQ

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-aave-v3-base-supply-calldata-849b72b3 -d '<json body>'
```

Example prompt: Generate the calldata to supply 1000 USDC (1000000000 atomic units) to Aave v3 on Base from my wallet 0xAbC...123 — include the approve step if my allowance is short.

## When to prefer this

Use this endpoint when an AI agent needs ready-to-sign calldata (including conditional ERC-20 approval) to supply any supported asset into Aave v3 on Base mainnet, without needing to hand-craft ABI encoding or check allowances manually.

## Known failure modes

- Invalid or unsupported asset address returns an error
- Amount of 0 or negative value rejected
- Malformed owner address returns a validation error
- Asset not listed on Aave v3 Base returns an error
- Network or RPC failure when checking live allowance
- Insufficient payment (x402) results in 402 response

## How this service works

Aave v3 (Base) supply calldata for a reserve underlying (approve step included when the live allowance is short; referralCode 0, onBehalfOf owner). POST /v1/tx/earn/aave/supply { asset, amount (atomic), owner }. Returns ordered { to, data, value } steps.

## Output

An ordered array of transaction steps, each with `to` (contract address), `data` (hex calldata), and `value` (ETH value). May include an ERC-20 approve step before the Aave supply step, depending on the owner's current allowance. Uses referralCode 0 and onBehalfOf set to the owner address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asset": {
   "type": "string"
  },
  "owner": {
   "type": "string"
  },
  "amount": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ozmium-aave-v3-base-supply-calldata-849b72b3/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)
