supply
Deposit an asset into Tydro to earn interest. Automatically approves token spending when needed.
Instructions
Supply (deposit) an asset to Tydro to earn interest. Requires PRIVATE_KEY env var. Automatically approves the Pool to spend your tokens if needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset": "<asset>",
"amount": "<amount>"
},
"name": "supply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol or address to supply | |
| amount | Yes | Amount to supply in human units (e.g. "1.5" for 1.5 WETH) |