withdraw_txn
Generate an unsigned transaction to withdraw supplied tokens from a DorkFi lending market, returning a base64-encoded transaction ready for signing.
Instructions
Build unsigned transactions to withdraw supplied tokens from a DorkFi lending market. 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": "withdraw_txn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Blockchain network | |
| amount | Yes | Amount in human-readable units | |
| sender | Yes | Withdrawer wallet address | |
| symbol | Yes | Token symbol to withdraw |