create_borrow_intent
Build an unsigned transaction to create a borrow request, then Floe's solver matches it with lenders for credit.
Instructions
Build unsigned tx to create a borrow request. Solver matches it with lenders. Requires any Floe API key (agent floe_... or developer floe_live_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| min_ltv_bps | No | Min LTV in bps (default 8000 = 80%). For agents pushing the USDC/USDC market to 99% LTV, pass 9900. Same-token markets need only a 50bps gap to the lender's max_ltv_bps; volatile markets need 800bps. | |
| borrow_amount | Yes | Amount to borrow in raw token units | |
| wallet_address | Yes | Borrower wallet | |
| collateral_amount | Yes | Collateral in raw token units | |
| max_duration_days | Yes | Max duration in days | |
| min_duration_days | Yes | Min duration in days | |
| max_interest_rate_bps | Yes | Max annual rate in bps |