borrow
Borrow assets from Tydro by providing collateral. Specify asset and amount using your PRIVATE_KEY for variable-rate loans on Ink blockchain.
Instructions
Borrow an asset from Tydro. Requires existing collateral and PRIVATE_KEY env var. Only variable rate (mode 2) is supported — stable rate borrowing is deprecated in Aave V3.
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": "borrow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol or address to borrow | |
| amount | Yes | Amount to borrow in human units |