agentek-eth

by NaniDAO
Verified

intentAaveBorrow

Borrow tokens from Aave using supplied collateral, with options for stable or variable interest rates.

Instructions

Borrows tokens from Aave using your supplied collateral. By default, the variable rate mode (2) is used.

Input Schema

NameRequiredDescriptionDefault
amountYesAmount of tokens to borrow (in human-readable format).
assetYesToken contract address to borrow.
chainIdYesChain ID for borrowing.
interestRateModeNo1 for stable, 2 for variable (default is variable).

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "amount": { "description": "Amount of tokens to borrow (in human-readable format).", "type": "string" }, "asset": { "description": "Token contract address to borrow.", "type": "string" }, "chainId": { "description": "Chain ID for borrowing.", "type": "number" }, "interestRateMode": { "description": "1 for stable, 2 for variable (default is variable).", "type": "number" } }, "required": [ "chainId", "asset", "amount" ], "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

ID: embaq2gcce