{"slug":"mcp-yield-xyz-x402-actions-manage-35fe99","title":"Build unsigned transactions for pending actions on an existing DeFi position — c","host":"mcp.yield.xyz","method":"POST","resource":"https://mcp.yield.xyz/x402/actions_manage","category":"code","description":"Build unsigned transactions for pending actions on an existing DeFi position — claim rewards, restake, unlock, or complete a withdrawal — across 80+ networks. Use the action type and passthrough from yields_get_balances pendingActions[]. Does NOT execute: the caller signs and broadcasts each tx.","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:196","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"action":"CLAIM_REWARDS","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","passthrough":"aaabbbcccdddeeefff","yieldId":"ethereum-matic-native-staking"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"action":{"description":"Pending action type from yields_get_balances pendingActions[].type, e.g. \"CLAIM_REWARDS\", \"RESTAKE_REWARDS\", \"UNLOCK\", \"WITHDRAW\"","type":"string"},"address":{"description":"Wallet address that owns the position","type":"string"},"amount":{"description":"Human-readable token amount, when the action requires one","type":"string"},"passthrough":{"description":"Opaque token from yields_get_balances pendingActions[].passthrough — pass it back verbatim","type":"string"},"yieldId":{"description":"Yield ID of the position, e.g. \"ethereum-matic-native-staking\"","type":"string"}},"required":["yieldId","address","action","passthrough"],"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 — 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 — 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"},"history":[],"description_full":"Build unsigned transactions for pending actions on an existing DeFi position — claim rewards, restake, unlock, or complete a withdrawal — across 80+ networks. Use the action type and passthrough from yields_get_balances pendingActions[]. Does NOT execute: the caller signs and broadcasts each tx.","last_updated":"2026-09-08T17:45:54.113Z","schemes":["exact"]}