lending.supply
ActiveTool of Syenite
Generates unsigned ERC-20 approval and pool supply transaction calldata for depositing an asset into Aave v3 (Ethereum, Arbitrum, Base) or Spark (Ethereum). Call this when the agent has decided to supply collateral or earn supply APY on a lending protocol; precede it with `lending.rates.query` to confirm the target protocol and chain. Provide `protocol` ("aave-v3" or "spark"), `chain`, `asset` symbol (e.g. "WETH", "USDC"), human-readable `amount`, and `onBehalfOf` wallet address. Returns two transaction requests — the ERC-20 approval must be submitted first, then the supply call — and a verification reminder to use `tx.receipt` and `lending.position.monitor` after submission. Syenite never holds private keys; 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": "Token to supply: \"USDC\", \"WETH\", \"wBTC\", \"tBTC\", \"DAI\", etc."
},
"chain": {
"enum": [
"ethereum",
"arbitrum",
"base"
],
"type": "string",
"default": "ethereum",
"description": "Chain where the pool lives"
},
"amount": {
"type": "string",
"description": "Amount in human-readable units (e.g. '1000' for 1000 USDC)"
},
"protocol": {
"enum": [
"aave-v3",
"spark"
],
"type": "string",
"default": "aave-v3",
"description": "Lending protocol"
},
"onBehalfOf": {
"type": "string",
"description": "Address that will receive the aToken (usually your own address)"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Syenite
https://github.com/syenite-ai/syenite
1/7 registries