lending.borrow
ActiveTool of Syenite
Generates unsigned variable-rate borrow transaction calldata for Aave v3 (Ethereum, Arbitrum, Base) or Spark (Ethereum). Call `lending.risk.assess` before this tool to confirm the target LTV is safe and the market has sufficient liquidity. Provide `protocol`, `chain`, `asset` to borrow (e.g. "USDC"), human-readable `amount`, and `onBehalfOf` wallet address; collateral must already be supplied. Returns one transaction request (no approval needed for borrows); Syenite never holds private keys and no funds move until the caller signs and broadcasts.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset",
"amount",
"onBehalfOf"
],
"properties": {
"asset": {
"type": "string",
"description": "Asset to borrow: \"USDC\", \"USDT\", \"DAI\", \"GHO\""
},
"chain": {
"enum": [
"ethereum",
"arbitrum",
"base"
],
"type": "string",
"default": "ethereum",
"description": "Chain"
},
"amount": {
"type": "string",
"description": "Borrow amount in human-readable units"
},
"protocol": {
"enum": [
"aave-v3",
"spark"
],
"type": "string",
"default": "aave-v3",
"description": "Lending protocol"
},
"onBehalfOf": {
"type": "string",
"description": "Address with collateral deposited"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Syenite
https://github.com/syenite-ai/syenite
1/7 registries