create_lend_intent
Create a lending offer by building an unsigned transaction that a solver matches with borrowers.
Instructions
Build unsigned tx to create a lending offer. Solver matches it with borrowers. Requires any Floe API key (agent floe_... or developer floe_live_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in raw token units | |
| market_id | No | Market ID (bytes32). Omit to use the USDC/USDC same-token market on Base Mainnet — the recommended default for AI agents (no price risk, only interest-accrual liquidation). | |
| max_ltv_bps | Yes | Max LTV in bps (the liquidation threshold on the resulting loan). Volatile-collateral markets (USDC/WETH, USDC/cbBTC) cap at 9500 (95%). Same-token markets (e.g. USDC/USDC) cap at 9950 (99.5%) — values above 9500 are the aggressive opt-in, only safe for short-duration loans because the interest-accrual headroom shrinks. | |
| wallet_address | Yes | Lender wallet | |
| max_duration_days | Yes | Max duration in days | |
| min_duration_days | Yes | Min duration in days | |
| min_interest_rate_bps | Yes | Min annual rate in bps (500 = 5%) |