borrow_txn
Build unsigned transactions to borrow tokens from DorkFi lending market. Requires collateral, returns base64-encoded transactions for signing.
Instructions
Build unsigned transactions to borrow tokens from a DorkFi lending market. Requires sufficient collateral. Returns base64-encoded transactions for signing.
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": {
"chain": "<chain>",
"symbol": "<symbol>",
"amount": "<amount>",
"sender": "<sender>"
},
"name": "borrow_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain network | |
| amount | Yes | Amount in human-readable units | |
| sender | Yes | Borrower wallet address | |
| symbol | Yes | Token symbol to borrow |