repay_all_txn
Repay a user's entire DorkFi borrow balance by generating unsigned transactions. Queries on-chain debt, wraps tokens if required, and returns base64-encoded transactions for signing.
Instructions
Build unsigned transactions to repay a user's entire borrow balance for a DorkFi lending market. Queries the on-chain borrow amount, wraps tokens if needed, then calls repay_all. 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>",
"sender": "<sender>"
},
"name": "repay_all_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain network | |
| sender | Yes | Repayer wallet address | |
| symbol | Yes | Token symbol to repay |