You're viewing a demo portfolio

Join the waitlist
PRSM

lending.withdraw

Active

Tool of Syenite

declared in 0.6.3

Generates unsigned withdraw transaction calldata to reclaim a supplied asset from Aave v3 (Ethereum, Arbitrum, Base) or Spark (Ethereum). Call `lending.position.monitor` first to confirm the withdrawal will not push an outstanding borrow position toward liquidation. Provide `protocol`, `chain`, `asset`, a human-readable `amount` or the string "max" to withdraw the full supplied balance, and `to` as the recipient address. Returns one transaction request; Syenite never holds private keys and no funds move until the caller signs and broadcasts.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "asset",
    "amount",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "Recipient address for withdrawn tokens"
    },
    "asset": {
      "type": "string",
      "description": "Asset to withdraw"
    },
    "chain": {
      "enum": [
        "ethereum",
        "arbitrum",
        "base"
      ],
      "type": "string",
      "default": "ethereum",
      "description": "Chain"
    },
    "amount": {
      "type": "string",
      "description": "Amount in human-readable units, or \"max\" to withdraw all"
    },
    "protocol": {
      "enum": [
        "aave-v3",
        "spark"
      ],
      "type": "string",
      "default": "aave-v3",
      "description": "Lending protocol"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Syenite

https://github.com/syenite-ai/syenite

1/7 registries
View full server →
lending.withdraw — Syenite — PRSM MCP