ToolAssay

Build unsigned transactions to exit a DeFi yield position — unstake, withdraw fr

Build unsigned transactions to exit a DeFi yield position — unstake, withdraw from lending or vaults, or redeem RWAs — across 80+ networks. Supports instant and queued/cooldown redemption per protocol. Does NOT execute: the caller signs and broadcasts each tx. Check positions with yields_get_balances first.

Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.001listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://mcp.yield.xyz/x402/actions_exit

CategoryCode and developer
Provider hostmcp.yield.xyz
Networkseip155:196, eip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "amount": "0.1",
    "yieldId": "ethereum-eth-lido-staking"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "address": {
              "description": "Wallet address that owns the position",
              "type": "string"
            },
            "amount": {
              "description": "Human-readable token amount to withdraw, e.g. \"0.5\" (never raw wei). Optional when useMaxAmount is true.",
              "type": "string"
            },
            "outputToken": {
              "description": "Withdrawal token address, for yields that can pay out in more than one token. Required when the yield's exit schema lists outputToken as required. Use \"0x\" for the native token.",
              "type": "string"
            },
            "outputTokenNetwork": {
              "description": "Network of the output token, for cross-chain withdrawals where the destination is not on the vault's own network.",
              "type": "string"
            },
            "useMaxAmount": {
              "description": "Withdraw the full position balance; amount may be omitted.",
              "type": "boolean"
            },
            "validatorAddress": {
              "description": "Validator to undelegate from, for delegation-based staking yields",
              "type": "string"
            },
            "yieldId": {
              "description": "Yield ID of the position to exit, e.g. \"ethereum-eth-lido-staking\"",
              "type": "string"
            }
          },
          "required": [
            "yieldId",
            "address"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "description": "Core fields shown; responses may carry additional yield-specific fields depending on the protocol (this schema is intentionally non-exhaustive).",
          "properties": {
            "address": {
              "type": "string"
            },
            "amount": {
              "type": [
                "string",
                "null"
              ]
            },
            "createdAt": {
              "type": "string"
            },
            "executionPattern": {
              "enum": [
                "synchronous",
                "asynchronous",
                "batch"
              ],
              "type": "string"
            },
            "id": {
              "description": "Action ID \u2014 poll status later with actions_get",
              "type": "string"
            },
            "intent": {
              "description": "\"enter\", \"exit\", or \"manage\"",
              "type": "string"
            },
            "status": {
              "description": "\"CREATED\" on success; poll until SUCCESS/FAILED",
              "type": "string"
            },
            "transactions": {
              "description": "Sign and broadcast each transaction in stepIndex order, then report each hash via submit_hash. NEVER modify unsignedTransaction.",
              "items": {
                "properties": {
                  "gasEstimate": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "isMessage": {
                    "description": "When true, sign as a message instead of a transaction",
                    "type": "boolean"
                  },
                  "network": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "stepIndex": {
                    "type": "integer"
                  },
                  "title": {
                    "type": "string"
                  },
                  "type": {
                    "description": "e.g. \"APPROVAL\", \"SUPPLY\", \"STAKE\"",
                    "type": "string"
                  },
                  "unsignedTransaction": {
                    "description": "Raw transaction to sign \u2014 a JSON string on EVM chains, an object on non-EVM chains. Never modify it."
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "type": {
              "description": "Action type, e.g. \"STAKE\", \"UNSTAKE\", \"CLAIM_REWARDS\"",
              "type": "string"
            },
            "yieldId": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON