Skip to content
onelayer.
All tools

Tool detail

LOR Base Lending Evaluator

Evaluates whether a requested USDC supply amount is realizable across approved Aave V3 and Morpho Blue lending opportunities on Base.

Categories: Defi

Use when

  • check if a USDC supply amount can be placed into Base lending markets
  • filter Base lending opportunities by minimum supply APY or protocol

Not for

  • not execution — evaluates feasibility only, does not supply or move funds

Inputs

POST JSON body: { target_environment, asset: USDC, amount: string } (required); optional: protocol, minimum_base_supply_apy, opportunity_id

Admitted input schema

{
  "type": "object",
  "properties": {
    "amount": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
      "description": "Requested USDC amount in whole-token decimal units, not atomic units."
    },
    "asset": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "USDC"
      ]
    },
    "minimum_base_supply_apy": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "pattern": "^[0-9]+(?:\\.[0-9]+)?$",
      "description": "Optional minimum acceptable base supply APY as a decimal fraction."
    },
    "opportunity_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Optional approved opportunity identifier; requires protocol."
    },
    "protocol": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "aave-v3",
        "morpho-blue"
      ],
      "description": "Optional protocol filter."
    },
    "target_environment": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "enum": [
            8453
          ]
        },
        "kind": {
          "type": "string",
          "minLength": 0,
          "maxLength": 4096,
          "enum": [
            "evm_chain"
          ]
        },
        "network_name": {
          "type": "string",
          "minLength": 0,
          "maxLength": 4096,
          "enum": [
            "base"
          ]
        }
      },
      "required": [
        "kind",
        "chain_id"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "target_environment",
    "asset",
    "amount"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://api.alphabuild.xyz/lor/v1/evaluate

Payment

Protocol
x402
Listed price
0.01 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.alphabuild.xyz/lor/v1/evaluate
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z