Morpho Vault Withdraw logo

Catalog action EVM Onchain wallet Gas receive

Withdraw tokens from a MetaMorpho vault (ERC-4626) on the Morpho Blue protocol. Supports withdrawal by asset amount or by vault shares (redeem). Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: yield harvesting, DeFi withdrawals, portfolio rebalancing, liquidity management.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDmorpho-vault-withdraw
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementreceive
Tagsmorpho, defi, vault, withdraw, redeem, erc4626, yield, lending, write

Payload Schema

FieldTypeRequiredDescription
vaultAddressstringYesThe MetaMorpho vault (ERC-4626) contract address to withdraw from
amountstringYesAmount in smallest unit as string. If withdrawType is "assets" (default), this is the amount of underlying tokens. If withdrawType is "shares", this is the number of vault shares to redeem.
withdrawTypestringNoType of withdrawal. "assets" (default): withdraw a specific amount of underlying tokens. "shares": redeem a specific number of vault shares.
chainIdnumberYesChain ID. Supported: Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161)
gasLimitstringNoOptional gas limit as a positive integer string (e.g., "300000")

Result Schema

FieldTypeRequiredDescription
statusstringYes-
transactionHashstringYes-
chainIdnumberNoThe chain ID the transaction was executed on
blockNumbernumberNoBlock number where the transaction was confirmed
assetsWithdrawnstringNoExact amount of underlying assets withdrawn (assets path)
assetsWithdrawnFormattedstringNoHuman-readable amount of underlying assets withdrawn (e.g., '1.5' instead of '1500000')
estimatedAssetsReceivedstringNoEstimated amount of underlying assets received (redeem/shares path, preview estimate)
estimatedAssetsReceivedFormattedstringNoHuman-readable estimated assets received (e.g., '1.5' instead of '1500000')
wasCappedbooleanNoTrue if the amount was capped to the maximum withdrawable/redeemable
requestedAmountstringNoOriginal requested asset amount before capping (only present when wasCapped is true)
requestedSharesstringNoOriginal requested shares before capping (only present when wasCapped is true)
assetAddressstringNoUnderlying asset token address
assetSymbolstringNoUnderlying asset token symbol (e.g., 'USDC')
assetDecimalsnumberNoUnderlying asset token decimals
chainNamestringNoHuman-readable chain name (e.g., 'Base', 'Ethereum')
networkIdstringNoChain network identifier (e.g., 'base', 'ethereum') — use for Coinbase and other APIs that accept network names

Examples

json
{ "type": "morpho-vault-withdraw", "payload": { "vaultAddress": "0x0000000000000000000000000000000000000000", "amount": "1000000", "chainId": 1 }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I