metamorpho.withdraw
ActiveTool of Syenite
Builds an unsigned ERC-4626 redeem transaction calldata to withdraw assets from a MetaMorpho vault on Ethereum, Base, Arbitrum, or Optimism. Call this when an agent needs to exit a MetaMorpho vault position; no approval transaction is required for redemption. Provide `vault` identifier (address or name fragment), `shares` as a human-readable amount or the string "max" to redeem the full balance, `receiver` address to receive underlying assets, and `owner` address whose shares will be burned. Returns the redeem transaction request; withdrawal is subject to available liquidity in the underlying Morpho Blue markets and Syenite never holds private keys.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vault",
"shares",
"receiver",
"owner"
],
"properties": {
"owner": {
"type": "string",
"description": "Owner of the shares (must have authorized the caller if different)"
},
"vault": {
"type": "string",
"description": "MetaMorpho vault — address or name fragment"
},
"shares": {
"type": "string",
"description": "Share amount in human units, or 'max' to redeem all"
},
"receiver": {
"type": "string",
"description": "Address that receives the withdrawn underlying"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Syenite
https://github.com/syenite-ai/syenite
1/7 registries