{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500
}
Returns 201 with an ActionDto (intent: "enter"). Nothing is signed or broadcast: sign each entry in transactions[] in stepIndex order, then submit it with Submit a transaction or Submit a transaction hash. Use Simulate an enter to estimate gas first.
Body field
Notes
yieldId
Required. Must be enabled for your project
address
Required. The wallet that will sign
arguments
Optional in the schema, but most yields require fields. Read the per-yield schema from mechanics.arguments.enter on Get a yield
arguments.amount is a human-readable decimal string ("1.5" for 1.5 USDC), not the smallest unit; amountRaw is the smallest-unit alternative and is mutually exclusive with amount. Validator yields take validatorAddress (or validatorAddresses); pick one from List validators.
Errors: 400 for invalid arguments or a yield that is unknown or not enabled for your project, 403 for a geo-blocked request, and 412 when the yield is closed for new deposits (status.enter is false). See Errors and retries. On a Solana enter the response can include entryReserveEstimate.
Transaction execution pattern - synchronous (submit one by one, wait for each), asynchronous (submit all at once), or batch (single transaction with multiple operations)
Total SOL side-reserve required for enter validation: account rent plus ~0.005 SOL priority-fee buffer. For max native-SOL deposit use balance minus this value; do not also subtract amount. Only returned on the enter action creation response; omitted for exits, manage actions, and action retrieval.
Protocol-side events associated with this action, such as a redemption settlement executed by the protocol after the action completed. Omitted when there are none.
{
"message": "Internal server error",
"error": "Internal Server Error",
"statusCode": 500
}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Yield.xyz","colors":{"primary":"#4A7A9B","light":"#7AA0BC","dark":"#3A6485"},"logo":{"light":"https://mintcdn.com/yieldxyz/wKPrGUFXhqQs0ucX/logo/light.png?fit=max\u0026auto=format\u0026n=wKPrGUFXhqQs0ucX\u0026q=85\u0026s=fb7f9276a98f2fb34403561521aea55e","dark":"https://mintcdn.com/yieldxyz/wKPrGUFXhqQs0ucX/logo/dark.png?fit=max\u0026auto=format\u0026n=wKPrGUFXhqQs0ucX\u0026q=85\u0026s=2d177b148e30e5337ee7a480fa256051"},"favicon":"https://mintcdn.com/yieldxyz/wKPrGUFXhqQs0ucX/favicon.svg?fit=max\u0026auto=format\u0026n=wKPrGUFXhqQs0ucX\u0026q=85\u0026s=143298ea2e228f66d486c5b42ef12514","api":{"playground":{}},"appearance":{"default":"light","strict":false},"background":{"color":{"light":"#F6F4EF","dark":"#0B0F14"}},"navbar":{"links":[{"href":"https://dashboard.yield.xyz","label":"Dashboard"}],"primary":{"type":"button","label":"Get started","href":"https://dashboard.yield.xyz/sign-up/register-interest"}},"footer":{"socials":{"website":"https://yield.xyz","x":"https://x.com/yield_xyz","github":"https://github.com/stakekit","linkedin":"https://linkedin.com/company/yieldxyz"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Yield.xyz"},"indexing":"all"},"fonts":{"family":"Inter Tight"},"banner":{"content":"**New launch** Meta Vaults are live: one deposit, one balance, one blended APY across the DeFi strategies you choose. [Explore Meta Vaults](/documentation/earn/oavs/meta-vaults/index)","dismissible":true,"type":"info"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yieldxyz","hasAudioNarration":false,"actualSubdomain":"yieldxyz","customDomains":["docs.yield.xyz"],"gitSource":{"type":"github","owner":"stakekit","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae22fb07e98a0dfc269f42a","collectionId":"e9f4e496-9fc0-459c-bf57-6c085e280121","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae22fb07e98a0dfc269f42a"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae22fb07e98a0dfc269f42a","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":291},{"language":"default","tag":"Earn","count":282},{"language":"default","tag":"Staking","count":81},{"language":"default","tag":"Coverage","count":79},{"language":"default","tag":"Networks","count":72},{"language":"default","tag":"Cosmos SDK chains","count":70},{"language":"default","tag":"API reference","count":65},{"language":"default","tag":"DeFi","count":58},{"language":"default","tag":"Non-EVM staking","count":52},{"language":"default","tag":"Non-EVM networks","count":47}]},"assistantConfig":{"enableStarterQuestions":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"banner.css","content":"#banner{background-color:#0b0f14!important;background-image:radial-gradient(60% 140% at 50% 0%, rgba(122, 160, 188, 0.22), transparent 70%);border-bottom:1px solid rgba(245, 242, 236, 0.12)}#banner,#banner *{-webkit-text-fill-color:rgba(245, 242, 236, 0.78)}#banner strong,#banner [data-streamdown=\"strong\"]{display:inline-block;margin-right:10px;padding:2px 10px;border-radius:999px;border:1px solid rgba(122, 160, 188, 0.45);background-color:rgba(122, 160, 188, 0.16);font-family:\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace;font-size:10.5px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;-webkit-text-fill-color:#bcd4e4}#banner a{margin-left:6px;font-weight:600;text-decoration:none;-webkit-text-fill-color:#f5f2ec}#banner a::after{content:\"\\2192\";display:inline-block;margin-left:6px;transition:transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1)}#banner a:hover::after{transform:translateX(3px)}#banner button svg{filter:brightness(0) invert(1);opacity:0.6}.dark #banner{background-color:#151b22!important}"},{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx3cwhsk.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxTcwhsk.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxPcwhsk.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx_cwhsk.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'JetBrains Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--yx-bone: #f6f4ef;--yx-snow: #fbfaf6;--yx-ink: #0b0f14;--yx-ink-2: #2c3138;--yx-ink-3: #5c636c;--yx-ink-4: #8a8f97;--yx-hairline: rgba(11, 15, 20, 0.1);--yx-sky: #4a7a9b;--yx-sky-soft: #7aa0bc;--yx-tint: #e5eef4;--yx-on-ink: #f5f2ec;--yx-on-ink-2: rgba(245, 242, 236, 0.62);--yx-on-ink-hairline: rgba(245, 242, 236, 0.12);--yx-card: #ffffff;--yx-border: rgba(11, 15, 20, 0.17);--yx-border-soft: rgba(11, 15, 20, 0.12);--yx-shadow: 0 1px 2px rgba(11, 15, 20, 0.06);--yx-card-dark: #141a21;--yx-on-ink-border: rgba(245, 242, 236, 0.17);--yx-on-ink-text: rgba(245, 242, 236, 0.86);--yx-shadow-dark: 0 1px 2px rgba(0, 0, 0, 0.4);--yx-mono: \"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace;--yx-ease: cubic-bezier(0.2, 0.8, 0.2, 1)}#page-title{color:var(--yx-ink);letter-spacing:-0.035em}#content-area h2,#content-area h3{color:var(--yx-ink);letter-spacing:-0.025em}.dark #page-title,.dark #content-area h2,.dark #content-area h3{color:var(--yx-on-ink)}code,pre,kbd{font-family:var(--yx-mono)}.eyebrow{font-family:var(--yx-mono);font-size:11px;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:var(--yx-ink-3)}.dark .eyebrow{color:var(--yx-on-ink-2)}.sidebar-group-header{font-family:var(--yx-mono);font-size:10.5px;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:var(--yx-ink-4)}.dark .sidebar-group-header{color:var(--yx-on-ink-2)}#topbar-cta-button a{background-color:var(--yx-ink);border-radius:6px;transition:transform 120ms var(--yx-ease), background-color 120ms var(--yx-ease)}#topbar-cta-button a:hover{background-color:#000000;transform:translateY(-1px)}.dark #topbar-cta-button a{background-color:var(--yx-on-ink)}.dark #topbar-cta-button a span,.dark #topbar-cta-button a svg{color:var(--yx-ink)}.nav-tag-pill-text{font-family:var(--yx-mono);font-size:9.5px;font-weight:600;letter-spacing:0.12em;border-radius:999px;padding:1px 6px;border:1px solid rgba(74, 122, 155, 0.3)}.card{border-radius:12px;background-color:var(--yx-card);border-color:var(--yx-border);box-shadow:var(--yx-shadow);transition:transform 160ms var(--yx-ease), border-color 160ms var(--yx-ease)}.card:hover{transform:translateY(-2px);border-color:var(--yx-sky)}.card [data-component-part=\"card-title\"]{color:var(--yx-ink)}.card [data-component-part=\"card-content\"]{color:var(--yx-ink-2)}.dark .card{background-color:var(--yx-card-dark);border-color:var(--yx-on-ink-border);box-shadow:var(--yx-shadow-dark)}.dark .card:hover{border-color:var(--yx-sky-soft)}.dark .card [data-component-part=\"card-title\"]{color:var(--yx-on-ink)}.dark .card [data-component-part=\"card-content\"]{color:var(--yx-on-ink-text)}#pagination>a{background-color:var(--yx-card);border-color:var(--yx-border);box-shadow:var(--yx-shadow);transition:border-color 160ms var(--yx-ease)}#pagination>a:hover{border-color:var(--yx-sky)}#pagination [data-component-part=\"pagination-title\"]{color:var(--yx-ink)}#pagination [data-component-part=\"pagination-label\"]{color:var(--yx-ink-3)}.dark #pagination>a{background-color:var(--yx-card-dark);border-color:var(--yx-on-ink-border);box-shadow:var(--yx-shadow-dark)}.dark #pagination>a:hover{border-color:var(--yx-sky-soft)}.dark #pagination [data-component-part=\"pagination-title\"]{color:var(--yx-on-ink)}.dark #pagination [data-component-part=\"pagination-label\"]{color:var(--yx-on-ink-2)}.accordion-group,details.accordion{border-color:var(--yx-border)}details.accordion{background-color:var(--yx-card)}.accordion-group,details.accordion:not(.accordion-group>details){box-shadow:var(--yx-shadow)}.dark .accordion-group,.dark details.accordion{border-color:var(--yx-on-ink-border)}.dark details.accordion{background-color:var(--yx-card-dark)}.dark .accordion-group,.dark details.accordion:not(.accordion-group>details){box-shadow:var(--yx-shadow-dark)}.code-block,.code-group{border-color:var(--yx-border);box-shadow:var(--yx-shadow)}.code-group{background-color:var(--yx-card)}.dark .code-block,.dark .code-group{border-color:var(--yx-on-ink-border);box-shadow:var(--yx-shadow-dark)}.dark .code-group{background-color:var(--yx-card-dark)}.callout{border-radius:12px}.callout[data-callout-type=\"info\"]{background-color:var(--yx-tint);border-color:rgba(74, 122, 155, 0.4)}.callout[data-callout-type=\"note\"]{background-color:var(--yx-tint);border-color:rgba(74, 122, 155, 0.4)}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],.callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"]{color:var(--yx-ink-2)}.callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:var(--yx-sky)}.dark .callout[data-callout-type=\"note\"]{background-color:rgba(122, 160, 188, 0.1);border-color:rgba(122, 160, 188, 0.4)}.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"]{color:var(--yx-on-ink-text)}.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg{color:var(--yx-sky-soft)}.dark .callout[data-callout-type=\"info\"]{background-color:rgba(122, 160, 188, 0.1);border-color:rgba(122, 160, 188, 0.4)}#content-area table thead{border-bottom-color:var(--yx-border)}#content-area table tbody tr{border-bottom-color:var(--yx-border-soft)}.dark #content-area table thead{border-bottom-color:var(--yx-on-ink-border)}.dark #content-area table tbody tr{border-bottom-color:var(--yx-on-ink-hairline)}#content-area table th{font-family:var(--yx-mono);font-size:11px;font-weight:500;letter-spacing:0.12em;text-transform:uppercase;color:var(--yx-ink-3)}.dark #content-area table th{color:var(--yx-on-ink-2)}"}],"page":{"pagePath":"api-reference/ActionsController_enterYield","slug":"/api-reference/ActionsController_enterYield","pageMetadata":{"title":"Enter a yield","description":"Create an enter action and return the ordered unsigned transactions that open a position.","openapi":"openapi.json POST /v1/actions/enter","href":"/api-reference/ActionsController_enterYield"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create an enter action and return the ordered unsigned transactions that open a position.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201`}),` with an `,_jsx(_components.code,{children:`ActionDto`}),` (`,_jsx(_components.code,{children:`intent: \"enter\"`}),`). Nothing is signed or broadcast: sign each entry in `,_jsx(_components.code,{children:`transactions[]`}),` in `,_jsx(_components.code,{children:`stepIndex`}),` order, then submit it with `,_jsx(_components.a,{href:`/api-reference/TransactionsController_submitTransaction`,children:`Submit a transaction`}),` or `,_jsx(_components.a,{href:`/api-reference/TransactionsController_submitTransactionHash`,children:`Submit a transaction hash`}),`. Use `,_jsx(_components.a,{href:`/api-reference/ActionsController_simulateEnter`,children:`Simulate an enter`}),` to estimate gas first.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Body field`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`yieldId`})}),_jsx(_components.td,{children:`Required. Must be enabled for your project`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`address`})}),_jsx(_components.td,{children:`Required. The wallet that will sign`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`arguments`})}),_jsxs(_components.td,{children:[`Optional in the schema, but most yields require fields. Read the per-yield schema from `,_jsx(_components.code,{children:`mechanics.arguments.enter`}),` on `,_jsx(_components.a,{href:`/api-reference/YieldsController_getYield`,children:`Get a yield`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`arguments.amount`}),` is a human-readable decimal string (`,_jsx(_components.code,{children:`\"1.5\"`}),` for 1.5 USDC), not the smallest unit; `,_jsx(_components.code,{children:`amountRaw`}),` is the smallest-unit alternative and is mutually exclusive with `,_jsx(_components.code,{children:`amount`}),`. Validator yields take `,_jsx(_components.code,{children:`validatorAddress`}),` (or `,_jsx(_components.code,{children:`validatorAddresses`}),`); pick one from `,_jsx(_components.a,{href:`/api-reference/YieldsController_getYieldValidators`,children:`List validators`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"yieldId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ethereum-eth-lido-staking\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xYOUR_WALLET_ADDRESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"arguments\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Errors: `,_jsx(_components.code,{children:`400`}),` for invalid arguments or a yield that is unknown or not enabled for your project, `,_jsx(_components.code,{children:`403`}),` for a geo-blocked request, and `,_jsx(_components.code,{children:`412`}),` when the yield is closed for new deposits (`,_jsx(_components.code,{children:`status.enter`}),` is `,_jsx(_components.code,{children:`false`}),`). See `,_jsx(_components.a,{href:`/api-reference/errors-retries`,children:`Errors and retries`}),`. On a Solana enter the response can include `,_jsx(_components.code,{children:`entryReserveEstimate`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Enter a yield","description":"Create an enter action and return the ordered unsigned transactions that open a position.","openapi":"openapi.json POST /v1/actions/enter","href":"/api-reference/ActionsController_enterYield"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create an enter action and return the ordered unsigned transactions that open a position.","operationId":"ActionsController_enterYield_v1","parameters":[],"requestBody":"3c234944-4471-4e9a-89a2-ad44ce2eae2c","responses":{"201":"98ce1540-0d5a-4ff9-a4b7-3c0f952e384b","400":"442bf3c2-60ec-4ee3-abf4-fdee20be0668","401":"40ef23d0-e59b-4c05-89e6-0e382be8f724","403":"a0a154d5-c54b-4aec-96aa-7fac367b6aaf","404":"575b9d54-2765-42b2-8c39-466bdb4492eb","412":"9bc2b800-d5d3-437c-9c8c-51e68d12161d","429":"6261e923-7087-48c6-9eb5-c15a78fca08e","500":"32014337-a985-4518-8ba9-52bf3e4c9dee"},"security":["1529ca13-a0c0-4040-b6b3-6a6c01ea8e67"],"summary":"Enter a yield","tags":["Actions"],"method":"post","type":"path","servers":["d6740f15-07e0-4121-b4ef-4554fa44ef5a"],"path":"/v1/actions/enter","baseUrlOptions":["https://api.yield.xyz"],"title":"Enter a yield","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"yieldId":{"type":"string","description":"Yield ID to perform the action on","example":"ethereum-eth-lido-staking","isRequired":true,"uniqueKey":"yieldId","typeLabel":"string"},"address":{"type":"string","description":"User wallet address","example":"0x1234...","isRequired":true,"uniqueKey":"address","typeLabel":"string"},"arguments":{"type":"object","description":"Arguments for the action","properties":{"amount":{"type":"string","description":"Amount in human-readable token units, not the smallest denomination. For example, \"1.500000\" for 1.5 USDC (6 decimals) or \"0.01\" for 0.01 ETH (18 decimals). Precision up to the token's decimal places is supported. Mutually exclusive with amountRaw.","example":"1.500000","uniqueKey":"arguments.amount","typeLabel":"string"},"amountRaw":{"type":"string","description":"Amount in the smallest denomination (wei for ETH, satoshi for BTC, etc.). For example, \"1500000\" for 1.5 USDC (6 decimals) or \"10000000000000000\" for 0.01 ETH (18 decimals). Mutually exclusive with amount.","example":"1000000000000000000","uniqueKey":"arguments.amountRaw","typeLabel":"string"},"amounts":{"description":"Amounts in human-readable token units, not the smallest denomination. Precision up to the token's decimal places is supported.","example":["1.500000","2.000000"],"type":"array","items":{"type":"string","uniqueKey":"arguments.amounts.items.[INDEX]","typeLabel":"string"},"uniqueKey":"arguments.amounts","typeLabel":"string[]"},"shareAmount":{"type":"string","description":"Share amount to withdraw","example":"1.500000","uniqueKey":"arguments.shareAmount","typeLabel":"string"},"shareAmountRaw":{"type":"string","description":"Share amount to withdraw in raw decimals","example":"1500000","uniqueKey":"arguments.shareAmountRaw","typeLabel":"string"},"validatorAddress":{"type":"string","description":"Validator address for single validator selection","example":"cosmosvaloper1...","uniqueKey":"arguments.validatorAddress","typeLabel":"string"},"validatorAddresses":{"description":"Multiple validator addresses","example":["cosmosvaloper1...","cosmosvaloper2..."],"type":"array","items":{"type":"string","uniqueKey":"arguments.validatorAddresses.items.[INDEX]","typeLabel":"string"},"uniqueKey":"arguments.validatorAddresses","typeLabel":"string[]"},"providerId":{"type":"string","description":"Provider ID for Ethereum native staking","example":"kiln","uniqueKey":"arguments.providerId","typeLabel":"string"},"duration":{"type":"number","description":"Duration for Avalanche native staking (in seconds)","example":1209600,"uniqueKey":"arguments.duration","typeLabel":"number"},"inputToken":{"type":"string","description":"Token for deposits. Use \"0x\" for native token or provide the token address. For cross-chain deposits, also provide inputTokenNetwork.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","uniqueKey":"arguments.inputToken","typeLabel":"string"},"inputTokenNetwork":{"type":"string","description":"Network for the input token. Required for cross-chain deposits when the token is on a different network than the vault.","enum":["ethereum","ethereum-goerli","ethereum-holesky","ethereum-sepolia","ethereum-hoodi","arbitrum","base","base-sepolia","gnosis","optimism","polygon","polygon-amoy","starknet","zksync","linea","unichain","plume","monad-testnet","monad","robinhood","robinhood-testnet","arc-testnet","arc","avalanche-c","avalanche-c-atomic","avalanche-p","binance","celo","fantom","harmony","moonriver","okc","viction","core","sonic","plasma","katana","hyperevm","tempo","pharos","agoric","akash","axelar","band-protocol","bitsong","canto","chihuahua","comdex","coreum","cosmos","crescent","cronos","cudos","desmos","dydx","evmos","fetch-ai","gravity-bridge","injective","irisnet","juno","kava","ki-network","mars-protocol","nym","okex-chain","onomy","osmosis","persistence","quicksilver","regen","secret","sentinel","sommelier","stafi","stargaze","stride","teritori","tgrade","umee","sei","mantra","celestia","saga","zetachain","dymension","humansai","neutron","polkadot","kusama","westend","bittensor","aptos","binancebeacon","cardano","near","solana","solana-devnet","stellar","stellar-testnet","sui","tezos","tron","ton","ton-testnet","hyperliquid"],"uniqueKey":"arguments.inputTokenNetwork","typeLabel":"enum\u003cstring>"},"outputToken":{"type":"string","description":"Token for withdrawals. Use \"0x\" for native token or provide the token address. For cross-chain withdrawals, also provide outputTokenNetwork.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","uniqueKey":"arguments.outputToken","typeLabel":"string"},"outputTokenNetwork":{"type":"string","description":"Network for the output token. Required for cross-chain withdrawals when the destination is on a different network than the vault.","enum":["ethereum","ethereum-goerli","ethereum-holesky","ethereum-sepolia","ethereum-hoodi","arbitrum","base","base-sepolia","gnosis","optimism","polygon","polygon-amoy","starknet","zksync","linea","unichain","plume","monad-testnet","monad","robinhood","robinhood-testnet","arc-testnet","arc","avalanche-c","avalanche-c-atomic","avalanche-p","binance","celo","fantom","harmony","moonriver","okc","viction","core","sonic","plasma","katana","hyperevm","tempo","pharos","agoric","akash","axelar","band-protocol","bitsong","canto","chihuahua","comdex","coreum","cosmos","crescent","cronos","cudos","desmos","dydx","evmos","fetch-ai","gravity-bridge","injective","irisnet","juno","kava","ki-network","mars-protocol","nym","okex-chain","onomy","osmosis","persistence","quicksilver","regen","secret","sentinel","sommelier","stafi","stargaze","stride","teritori","tgrade","umee","sei","mantra","celestia","saga","zetachain","dymension","humansai","neutron","polkadot","kusama","westend","bittensor","aptos","binancebeacon","cardano","near","solana","solana-devnet","stellar","stellar-testnet","sui","tezos","tron","ton","ton-testnet","hyperliquid"],"uniqueKey":"arguments.outputTokenNetwork","typeLabel":"enum\u003cstring>"},"subnetId":{"type":"number","description":"Subnet ID for Bittensor staking","example":1,"uniqueKey":"arguments.subnetId","typeLabel":"number"},"tronResource":{"type":"string","description":"Tron resource type for Tron staking","enum":["BANDWIDTH","ENERGY"],"uniqueKey":"arguments.tronResource","typeLabel":"enum\u003cstring>"},"feeConfigurationId":{"type":"string","description":"Fee configuration ID for custom fee settings","example":"custom-fee-config-1","uniqueKey":"arguments.feeConfigurationId","typeLabel":"string"},"cosmosPubKey":{"type":"string","description":"Cosmos public key for Cosmos staking","example":"cosmospub1...","uniqueKey":"arguments.cosmosPubKey","typeLabel":"string"},"tezosPubKey":{"type":"string","description":"Tezos public key for Tezos staking","example":"edpk...","uniqueKey":"arguments.tezosPubKey","typeLabel":"string"},"cAddressBech":{"type":"string","description":"Avalanche C-chain address","example":"0x123...","uniqueKey":"arguments.cAddressBech","typeLabel":"string"},"pAddressBech":{"type":"string","description":"Avalanche P-chain address","example":"P-avax1...","uniqueKey":"arguments.pAddressBech","typeLabel":"string"},"executionMode":{"type":"string","description":"Transaction execution mode","enum":["individual","batched"],"example":"individual","uniqueKey":"arguments.executionMode","typeLabel":"enum\u003cstring>"},"ledgerWalletApiCompatible":{"type":"boolean","description":"Transactions should have Ledger wallet API compatibility for hardware wallet users","example":true,"uniqueKey":"arguments.ledgerWalletApiCompatible","typeLabel":"boolean"},"useMaxAmount":{"type":"boolean","description":"Use max amount for ERC4626 withdraw","example":true,"uniqueKey":"arguments.useMaxAmount","typeLabel":"boolean"},"useInstantExecution":{"type":"boolean","description":"Use instant execution for exit (faster but may have fees)","example":true,"uniqueKey":"arguments.useInstantExecution","typeLabel":"boolean"},"useAutoClaim":{"type":"boolean","description":"Authorize the redeem operator to auto-claim settled async redemptions (one-time per wallet)","example":true,"uniqueKey":"arguments.useAutoClaim","typeLabel":"boolean"},"skipPrechecks":{"type":"boolean","description":"Skip pre-flight balance and rent checks","example":false,"uniqueKey":"arguments.skipPrechecks","typeLabel":"boolean"},"useMaxAllowance":{"type":"boolean","description":"When true, ERC20 approval transactions use the maximum allowance (uint256.max) instead of the exact deposit amount. Useful to avoid repeated approval transactions on subsequent deposits.","example":true,"uniqueKey":"arguments.useMaxAllowance","typeLabel":"boolean"},"feePayerAddress":{"type":"string","description":"Fee payer address for gas-sponsored wallets (Solana). When provided, this address is used as the payer for account creation instructions and as the transaction-level fee payer.","example":"7Qo3awoTH4y5Vui1FQwsncq2arYDzUuivdeWhwgnAvVo","uniqueKey":"arguments.feePayerAddress","typeLabel":"string"},"receiverAddress":{"type":"string","description":"Receiver wallet address: ERC4626 vault flows, or on Solana the address for tokens after an optional post-exit swap","uniqueKey":"arguments.receiverAddress","typeLabel":"string"},"rangeMin":{"type":"string","description":"Minimum price bound for concentrated liquidity pools (as decimal string). Must be non-negative (can be 0) and less than rangeMax.","example":"0.0","uniqueKey":"arguments.rangeMin","typeLabel":"string"},"rangeMax":{"type":"string","description":"Maximum price bound for concentrated liquidity pools (as decimal string). Must be positive and greater than rangeMin.","example":"1.0","uniqueKey":"arguments.rangeMax","typeLabel":"string"},"percentage":{"type":"number","description":"Percentage of liquidity to exit (0-100). Required for partial exits from liquidity positions.","example":50,"minimum":0,"maximum":100,"uniqueKey":"arguments.percentage","typeLabel":"number"},"tokenId":{"type":"string","description":"NFT token ID for concentrated liquidity positions. Required for exiting specific positions.","example":"12345","uniqueKey":"arguments.tokenId","typeLabel":"string"}},"uniqueKey":"arguments","typeLabel":"object"}},"required":["yieldId","address"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"yieldId":"ethereum-eth-lido-staking","address":"0x1234...","arguments":{"amount":"1.500000","amountRaw":"1000000000000000000","amounts":["1.500000","2.000000"],"shareAmount":"1.500000","shareAmountRaw":"1500000","validatorAddress":"cosmosvaloper1...","validatorAddresses":["cosmosvaloper1...","cosmosvaloper2..."],"providerId":"kiln","duration":1209600,"inputToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","outputToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","subnetId":1,"feeConfigurationId":"custom-fee-config-1","cosmosPubKey":"cosmospub1...","tezosPubKey":"edpk...","cAddressBech":"0x123...","pAddressBech":"P-avax1...","executionMode":"individual","ledgerWalletApiCompatible":true,"useMaxAmount":true,"useInstantExecution":true,"useAutoClaim":true,"skipPrechecks":false,"useMaxAllowance":true,"feePayerAddress":"7Qo3awoTH4y5Vui1FQwsncq2arYDzUuivdeWhwgnAvVo","receiverAddress":"\u003cstring>","rangeMin":"0.0","rangeMax":"1.0","percentage":50,"tokenId":"12345"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"98ce1540-0d5a-4ff9-a4b7-3c0f952e384b":{"description":"Returns action with array of transactions to execute","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique action identifier","example":"action_123abc","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"intent":{"type":"string","description":"High-level action intent","enum":["enter","manage","exit"],"example":"manage","isRequired":true,"uniqueKey":"intent","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Specific action type","enum":["STAKE","UNSTAKE","WITHDRAW_REQUEST","INSTANT_WITHDRAW","CLAIM_REWARDS","AUTO_SWEEP_UNSTAKE_REWARDS","AUTO_SWEEP_WITHDRAW_REWARDS","RESTAKE_REWARDS","WITHDRAW","WITHDRAW_ALL","RESTAKE","CLAIM_UNSTAKED","UNLOCK_LOCKED","STAKE_LOCKED","VOTE","REVOKE","VOTE_LOCKED","REVOTE","REBOND","MIGRATE","VERIFY_WITHDRAW_CREDENTIALS","DELEGATE"],"example":"CLAIM_REWARDS","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"yieldId":{"type":"string","description":"Yield ID this action belongs to","example":"ethereum-eth-lido-staking","isRequired":true,"uniqueKey":"yieldId","typeLabel":"string"},"address":{"type":"string","description":"User wallet address","example":"0x1234...","isRequired":true,"uniqueKey":"address","typeLabel":"string"},"amount":{"oneOf":[{"type":"string","description":"Amount involved in the action, in human-readable token units (not the smallest denomination).","example":"1.0","isRequired":true,"uniqueKey":"amount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Amount involved in the action, in human-readable token units (not the smallest denomination).","example":"1.0","isRequired":true,"uniqueKey":"amount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"amount","typeLabel":"string | null"},"amountRaw":{"oneOf":[{"type":"string","description":"Raw smallest-denomination amount (full precision)","example":"1000000000000000000","isRequired":true,"uniqueKey":"amountRaw.oneOf.0","typeLabel":"string"},{"type":"null","description":"Raw smallest-denomination amount (full precision)","example":"1000000000000000000","isRequired":true,"uniqueKey":"amountRaw.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"amountRaw","typeLabel":"string | null"},"amountUsd":{"oneOf":[{"type":"string","description":"USD value of the amount","example":"1500.50","isRequired":true,"uniqueKey":"amountUsd.oneOf.0","typeLabel":"string"},{"type":"null","description":"USD value of the amount","example":"1500.50","isRequired":true,"uniqueKey":"amountUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"amountUsd","typeLabel":"string | null"},"transactions":{"description":"Array of transactions for this action","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique transaction identifier","example":"tx_123abc","isRequired":true,"uniqueKey":"transactions.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Display title for the transaction","example":"Approve USDC","isRequired":true,"uniqueKey":"transactions.items.[INDEX].title","typeLabel":"string"},"network":{"type":"string","description":"Network this transaction is for","enum":["ethereum","ethereum-goerli","ethereum-holesky","ethereum-sepolia","ethereum-hoodi","arbitrum","base","base-sepolia","gnosis","optimism","polygon","polygon-amoy","starknet","zksync","linea","unichain","plume","monad-testnet","monad","robinhood","robinhood-testnet","arc-testnet","arc","avalanche-c","avalanche-c-atomic","avalanche-p","binance","celo","fantom","harmony","moonriver","okc","viction","core","sonic","plasma","katana","hyperevm","tempo","pharos","agoric","akash","axelar","band-protocol","bitsong","canto","chihuahua","comdex","coreum","cosmos","crescent","cronos","cudos","desmos","dydx","evmos","fetch-ai","gravity-bridge","injective","irisnet","juno","kava","ki-network","mars-protocol","nym","okex-chain","onomy","osmosis","persistence","quicksilver","regen","secret","sentinel","sommelier","stafi","stargaze","stride","teritori","tgrade","umee","sei","mantra","celestia","saga","zetachain","dymension","humansai","neutron","polkadot","kusama","westend","bittensor","aptos","binancebeacon","cardano","near","solana","solana-devnet","stellar","stellar-testnet","sui","tezos","tron","ton","ton-testnet","hyperliquid"],"example":"ethereum","isRequired":true,"uniqueKey":"transactions.items.[INDEX].network","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Current status of the transaction","enum":["NOT_FOUND","CREATED","BLOCKED","WAITING_FOR_SIGNATURE","SIGNED","BROADCASTED","PENDING","CONFIRMED","FAILED","SKIPPED"],"example":"PENDING","isRequired":true,"uniqueKey":"transactions.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Type of transaction operation","enum":["SWAP","DEPOSIT","APPROVAL","STAKE","SET_OPERATOR","CLAIM_UNSTAKED","CLAIM_REWARDS","RESTAKE_REWARDS","UNSTAKE","SPLIT","MERGE","LOCK","UNLOCK","SUPPLY","ADD_LIQUIDITY","REMOVE_LIQUIDITY","BRIDGE","VOTE","REVOKE","RESTAKE","REBOND","WITHDRAW","WITHDRAW_ALL","CREATE_ACCOUNT","REVEAL","MIGRATE","DELEGATE","UNDELEGATE","UTXO_P_TO_C_IMPORT","UTXO_C_TO_P_IMPORT","WRAP","UNWRAP","UNFREEZE_LEGACY","UNFREEZE_LEGACY_BANDWIDTH","UNFREEZE_LEGACY_ENERGY","UNFREEZE_BANDWIDTH","UNFREEZE_ENERGY","FREEZE_BANDWIDTH","FREEZE_ENERGY","UNDELEGATE_BANDWIDTH","UNDELEGATE_ENERGY","P2P_NODE_REQUEST","CREATE_EIGENPOD","VERIFY_WITHDRAW_CREDENTIALS","START_CHECKPOINT","VERIFY_CHECKPOINT_PROOFS","QUEUE_WITHDRAWALS","COMPLETE_QUEUED_WITHDRAWALS","LZ_DEPOSIT","LZ_WITHDRAW","LUGANODES_PROVISION","LUGANODES_EXIT_REQUEST","INFSTONES_PROVISION","INFSTONES_EXIT_REQUEST","INFSTONES_CLAIM_REQUEST","BATCH"],"example":"STAKE","isRequired":true,"uniqueKey":"transactions.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"hash":{"oneOf":[{"type":"string","description":"Transaction hash (available after broadcast)","example":"0x1234567890abcdef...","isRequired":true,"uniqueKey":"transactions.items.[INDEX].hash.oneOf.0","typeLabel":"string"},{"type":"null","description":"Transaction hash (available after broadcast)","example":"0x1234567890abcdef...","isRequired":true,"uniqueKey":"transactions.items.[INDEX].hash.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].hash","typeLabel":"string | null"},"createdAt":{"format":"date-time","type":"string","description":"When the transaction was created","isRequired":true,"uniqueKey":"transactions.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"broadcastedAt":{"oneOf":[{"format":"date-time","type":"string","description":"When the transaction was broadcasted to the network","isRequired":true,"uniqueKey":"transactions.items.[INDEX].broadcastedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When the transaction was broadcasted to the network","isRequired":true,"uniqueKey":"transactions.items.[INDEX].broadcastedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].broadcastedAt","typeLabel":"string\u003cdate-time> | null"},"signedTransaction":{"oneOf":[{"type":"string","description":"Signed transaction data (ready for broadcast)","isRequired":true,"uniqueKey":"transactions.items.[INDEX].signedTransaction.oneOf.0","typeLabel":"string"},{"type":"null","description":"Signed transaction data (ready for broadcast)","isRequired":true,"uniqueKey":"transactions.items.[INDEX].signedTransaction.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].signedTransaction","typeLabel":"string | null"},"unsignedTransaction":{"oneOf":[{"type":"string","description":"The unsigned transaction data to be signed by the wallet","example":"0x02f87082012a022f2f83018000947a250d5630b4cf539739df2c5dacb4c659f2488d880de0b6b3a764000080c080a0ef0de6c7b46fc75dd6cb86dccc3cfd731c2bdf6f3d736557240c3646c6fe01a6a07cd60b58dfe01847249dfdd7950ba0d045dded5bbe410b07a015a0ed34e5e00d","isRequired":true,"uniqueKey":"transactions.items.[INDEX].unsignedTransaction.oneOf.0","typeLabel":"string"},{"type":"object","description":"The unsigned transaction data to be signed by the wallet","example":"0x02f87082012a022f2f83018000947a250d5630b4cf539739df2c5dacb4c659f2488d880de0b6b3a764000080c080a0ef0de6c7b46fc75dd6cb86dccc3cfd731c2bdf6f3d736557240c3646c6fe01a6a07cd60b58dfe01847249dfdd7950ba0d045dded5bbe410b07a015a0ed34e5e00d","isRequired":true,"uniqueKey":"transactions.items.[INDEX].unsignedTransaction.oneOf.1","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"transactions.items.[INDEX].unsignedTransaction.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"transactions.items.[INDEX].unsignedTransaction","typeLabel":"string | object | null"},"annotatedTransaction":{"oneOf":[{"type":"object","description":"Human-readable breakdown of the transaction for display purposes","example":{"method":"stake","inputs":{"amount":"1000000000000000000"}},"uniqueKey":"transactions.items.[INDEX].annotatedTransaction.oneOf.0","typeLabel":"object"},{"type":"null","description":"Human-readable breakdown of the transaction for display purposes","example":{"method":"stake","inputs":{"amount":"1000000000000000000"}},"uniqueKey":"transactions.items.[INDEX].annotatedTransaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].annotatedTransaction","typeLabel":"object | null"},"structuredTransaction":{"oneOf":[{"type":"object","description":"Detailed transaction data for client-side validation or simulation","uniqueKey":"transactions.items.[INDEX].structuredTransaction.oneOf.0","typeLabel":"object"},{"type":"null","description":"Detailed transaction data for client-side validation or simulation","uniqueKey":"transactions.items.[INDEX].structuredTransaction.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].structuredTransaction","typeLabel":"object | null"},"stepIndex":{"type":"number","description":"Zero-based index of the step in the action flow","example":0,"uniqueKey":"transactions.items.[INDEX].stepIndex","typeLabel":"number"},"description":{"type":"string","description":"User-friendly description of what this transaction does","example":"Approve USDC for staking","uniqueKey":"transactions.items.[INDEX].description","typeLabel":"string"},"error":{"oneOf":[{"type":"string","description":"Error message if the transaction failed","uniqueKey":"transactions.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error message if the transaction failed","uniqueKey":"transactions.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].error","typeLabel":"string | null"},"gasEstimate":{"type":"string","description":"Estimated gas cost for the transaction","example":"21000","uniqueKey":"transactions.items.[INDEX].gasEstimate","typeLabel":"string"},"explorerUrl":{"oneOf":[{"type":"string","description":"Link to the blockchain explorer for this transaction","example":"https://etherscan.io/tx/0x1234...","uniqueKey":"transactions.items.[INDEX].explorerUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"Link to the blockchain explorer for this transaction","example":"https://etherscan.io/tx/0x1234...","uniqueKey":"transactions.items.[INDEX].explorerUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].explorerUrl","typeLabel":"string | null"},"isMessage":{"type":"boolean","description":"Whether this transaction is a message rather than a value transfer","example":false,"uniqueKey":"transactions.items.[INDEX].isMessage","typeLabel":"boolean"}},"required":["id","title","network","status","type","hash","createdAt","broadcastedAt","signedTransaction","unsignedTransaction"],"uniqueKey":"transactions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transactions","typeLabel":"object[]"},"executionPattern":{"type":"string","description":"Transaction execution pattern - synchronous (submit one by one, wait for each), asynchronous (submit all at once), or batch (single transaction with multiple operations)","enum":["synchronous","asynchronous","batch"],"example":"synchronous","isRequired":true,"uniqueKey":"executionPattern","typeLabel":"enum\u003cstring>"},"rawArguments":{"oneOf":[{"type":"object","description":"Raw arguments exactly as submitted by the user for this action","properties":{"amount":{"type":"string","description":"Amount in human-readable token units, not the smallest denomination. For example, \"1.500000\" for 1.5 USDC (6 decimals) or \"0.01\" for 0.01 ETH (18 decimals). Precision up to the token's decimal places is supported. Mutually exclusive with amountRaw.","example":"1.500000","uniqueKey":"rawArguments.oneOf.0.amount","typeLabel":"string"},"amountRaw":{"type":"string","description":"Amount in the smallest denomination (wei for ETH, satoshi for BTC, etc.). For example, \"1500000\" for 1.5 USDC (6 decimals) or \"10000000000000000\" for 0.01 ETH (18 decimals). Mutually exclusive with amount.","example":"1000000000000000000","uniqueKey":"rawArguments.oneOf.0.amountRaw","typeLabel":"string"},"amounts":{"description":"Amounts in human-readable token units, not the smallest denomination. Precision up to the token's decimal places is supported.","example":["1.500000","2.000000"],"type":"array","items":{"type":"string","uniqueKey":"rawArguments.oneOf.0.amounts.items.[INDEX]","typeLabel":"string"},"uniqueKey":"rawArguments.oneOf.0.amounts","typeLabel":"string[]"},"shareAmount":{"type":"string","description":"Share amount to withdraw","example":"1.500000","uniqueKey":"rawArguments.oneOf.0.shareAmount","typeLabel":"string"},"shareAmountRaw":{"type":"string","description":"Share amount to withdraw in raw decimals","example":"1500000","uniqueKey":"rawArguments.oneOf.0.shareAmountRaw","typeLabel":"string"},"validatorAddress":{"type":"string","description":"Validator address for single validator selection","example":"cosmosvaloper1...","uniqueKey":"rawArguments.oneOf.0.validatorAddress","typeLabel":"string"},"validatorAddresses":{"description":"Multiple validator addresses","example":["cosmosvaloper1...","cosmosvaloper2..."],"type":"array","items":{"type":"string","uniqueKey":"rawArguments.oneOf.0.validatorAddresses.items.[INDEX]","typeLabel":"string"},"uniqueKey":"rawArguments.oneOf.0.validatorAddresses","typeLabel":"string[]"},"providerId":{"type":"string","description":"Provider ID for Ethereum native staking","example":"kiln","uniqueKey":"rawArguments.oneOf.0.providerId","typeLabel":"string"},"duration":{"type":"number","description":"Duration for Avalanche native staking (in seconds)","example":1209600,"uniqueKey":"rawArguments.oneOf.0.duration","typeLabel":"number"},"inputToken":{"type":"string","description":"Token for deposits. Use \"0x\" for native token or provide the token address. For cross-chain deposits, also provide inputTokenNetwork.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","uniqueKey":"rawArguments.oneOf.0.inputToken","typeLabel":"string"},"inputTokenNetwork":{"type":"string","description":"Network for the input token. Required for cross-chain deposits when the token is on a different network than the vault.","enum":["ethereum","ethereum-goerli","ethereum-holesky","ethereum-sepolia","ethereum-hoodi","arbitrum","base","base-sepolia","gnosis","optimism","polygon","polygon-amoy","starknet","zksync","linea","unichain","plume","monad-testnet","monad","robinhood","robinhood-testnet","arc-testnet","arc","avalanche-c","avalanche-c-atomic","avalanche-p","binance","celo","fantom","harmony","moonriver","okc","viction","core","sonic","plasma","katana","hyperevm","tempo","pharos","agoric","akash","axelar","band-protocol","bitsong","canto","chihuahua","comdex","coreum","cosmos","crescent","cronos","cudos","desmos","dydx","evmos","fetch-ai","gravity-bridge","injective","irisnet","juno","kava","ki-network","mars-protocol","nym","okex-chain","onomy","osmosis","persistence","quicksilver","regen","secret","sentinel","sommelier","stafi","stargaze","stride","teritori","tgrade","umee","sei","mantra","celestia","saga","zetachain","dymension","humansai","neutron","polkadot","kusama","westend","bittensor","aptos","binancebeacon","cardano","near","solana","solana-devnet","stellar","stellar-testnet","sui","tezos","tron","ton","ton-testnet","hyperliquid"],"uniqueKey":"rawArguments.oneOf.0.inputTokenNetwork","typeLabel":"enum\u003cstring>"},"outputToken":{"type":"string","description":"Token for withdrawals. Use \"0x\" for native token or provide the token address. For cross-chain withdrawals, also provide outputTokenNetwork.","example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","uniqueKey":"rawArguments.oneOf.0.outputToken","typeLabel":"string"},"outputTokenNetwork":{"type":"string","description":"Network for the output token. Required for cross-chain withdrawals when the destination is on a different network than the vault.","enum":["ethereum","ethereum-goerli","ethereum-holesky","ethereum-sepolia","ethereum-hoodi","arbitrum","base","base-sepolia","gnosis","optimism","polygon","polygon-amoy","starknet","zksync","linea","unichain","plume","monad-testnet","monad","robinhood","robinhood-testnet","arc-testnet","arc","avalanche-c","avalanche-c-atomic","avalanche-p","binance","celo","fantom","harmony","moonriver","okc","viction","core","sonic","plasma","katana","hyperevm","tempo","pharos","agoric","akash","axelar","band-protocol","bitsong","canto","chihuahua","comdex","coreum","cosmos","crescent","cronos","cudos","desmos","dydx","evmos","fetch-ai","gravity-bridge","injective","irisnet","juno","kava","ki-network","mars-protocol","nym","okex-chain","onomy","osmosis","persistence","quicksilver","regen","secret","sentinel","sommelier","stafi","stargaze","stride","teritori","tgrade","umee","sei","mantra","celestia","saga","zetachain","dymension","humansai","neutron","polkadot","kusama","westend","bittensor","aptos","binancebeacon","cardano","near","solana","solana-devnet","stellar","stellar-testnet","sui","tezos","tron","ton","ton-testnet","hyperliquid"],"uniqueKey":"rawArguments.oneOf.0.outputTokenNetwork","typeLabel":"enum\u003cstring>"},"subnetId":{"type":"number","description":"Subnet ID for Bittensor staking","example":1,"uniqueKey":"rawArguments.oneOf.0.subnetId","typeLabel":"number"},"tronResource":{"type":"string","description":"Tron resource type for Tron staking","enum":["BANDWIDTH","ENERGY"],"uniqueKey":"rawArguments.oneOf.0.tronResource","typeLabel":"enum\u003cstring>"},"feeConfigurationId":{"type":"string","description":"Fee configuration ID for custom fee settings","example":"custom-fee-config-1","uniqueKey":"rawArguments.oneOf.0.feeConfigurationId","typeLabel":"string"},"cosmosPubKey":{"type":"string","description":"Cosmos public key for Cosmos staking","example":"cosmospub1...","uniqueKey":"rawArguments.oneOf.0.cosmosPubKey","typeLabel":"string"},"tezosPubKey":{"type":"string","description":"Tezos public key for Tezos staking","example":"edpk...","uniqueKey":"rawArguments.oneOf.0.tezosPubKey","typeLabel":"string"},"cAddressBech":{"type":"string","description":"Avalanche C-chain address","example":"0x123...","uniqueKey":"rawArguments.oneOf.0.cAddressBech","typeLabel":"string"},"pAddressBech":{"type":"string","description":"Avalanche P-chain address","example":"P-avax1...","uniqueKey":"rawArguments.oneOf.0.pAddressBech","typeLabel":"string"},"executionMode":{"type":"string","description":"Transaction execution mode","enum":["individual","batched"],"example":"individual","uniqueKey":"rawArguments.oneOf.0.executionMode","typeLabel":"enum\u003cstring>"},"ledgerWalletApiCompatible":{"type":"boolean","description":"Transactions should have Ledger wallet API compatibility for hardware wallet users","example":true,"uniqueKey":"rawArguments.oneOf.0.ledgerWalletApiCompatible","typeLabel":"boolean"},"useMaxAmount":{"type":"boolean","description":"Use max amount for ERC4626 withdraw","example":true,"uniqueKey":"rawArguments.oneOf.0.useMaxAmount","typeLabel":"boolean"},"useInstantExecution":{"type":"boolean","description":"Use instant execution for exit (faster but may have fees)","example":true,"uniqueKey":"rawArguments.oneOf.0.useInstantExecution","typeLabel":"boolean"},"useAutoClaim":{"type":"boolean","description":"Authorize the redeem operator to auto-claim settled async redemptions (one-time per wallet)","example":true,"uniqueKey":"rawArguments.oneOf.0.useAutoClaim","typeLabel":"boolean"},"skipPrechecks":{"type":"boolean","description":"Skip pre-flight balance and rent checks","example":false,"uniqueKey":"rawArguments.oneOf.0.skipPrechecks","typeLabel":"boolean"},"useMaxAllowance":{"type":"boolean","description":"When true, ERC20 approval transactions use the maximum allowance (uint256.max) instead of the exact deposit amount. Useful to avoid repeated approval transactions on subsequent deposits.","example":true,"uniqueKey":"rawArguments.oneOf.0.useMaxAllowance","typeLabel":"boolean"},"feePayerAddress":{"type":"string","description":"Fee payer address for gas-sponsored wallets (Solana). When provided, this address is used as the payer for account creation instructions and as the transaction-level fee payer.","example":"7Qo3awoTH4y5Vui1FQwsncq2arYDzUuivdeWhwgnAvVo","uniqueKey":"rawArguments.oneOf.0.feePayerAddress","typeLabel":"string"},"receiverAddress":{"type":"string","description":"Receiver wallet address: ERC4626 vault flows, or on Solana the address for tokens after an optional post-exit swap","uniqueKey":"rawArguments.oneOf.0.receiverAddress","typeLabel":"string"},"rangeMin":{"type":"string","description":"Minimum price bound for concentrated liquidity pools (as decimal string). Must be non-negative (can be 0) and less than rangeMax.","example":"0.0","uniqueKey":"rawArguments.oneOf.0.rangeMin","typeLabel":"string"},"rangeMax":{"type":"string","description":"Maximum price bound for concentrated liquidity pools (as decimal string). Must be positive and greater than rangeMin.","example":"1.0","uniqueKey":"rawArguments.oneOf.0.rangeMax","typeLabel":"string"},"percentage":{"type":"number","description":"Percentage of liquidity to exit (0-100). Required for partial exits from liquidity positions.","example":50,"minimum":0,"maximum":100,"uniqueKey":"rawArguments.oneOf.0.percentage","typeLabel":"number"},"tokenId":{"type":"string","description":"NFT token ID for concentrated liquidity positions. Required for exiting specific positions.","example":"12345","uniqueKey":"rawArguments.oneOf.0.tokenId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"rawArguments.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"rawArguments.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"rawArguments","typeLabel":"object | null"},"createdAt":{"format":"date-time","type":"string","description":"When the action was created","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"completedAt":{"oneOf":[{"format":"date-time","type":"string","description":"When the action was completed","isRequired":true,"uniqueKey":"completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"format":"date-time","type":"null","description":"When the action was completed","isRequired":true,"uniqueKey":"completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completedAt","typeLabel":"string\u003cdate-time> | null"},"status":{"type":"string","description":"Current status of the action","enum":["CANCELED","CREATED","WAITING_FOR_NEXT","PROCESSING","FAILED","SUCCESS","STALE"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"entryReserveEstimate":{"type":"string","description":"Total SOL side-reserve required for enter validation: account rent plus ~0.005 SOL priority-fee buffer. For max native-SOL deposit use balance minus this value; do not also subtract amount. Only returned on the enter action creation response; omitted for exits, manage actions, and action retrieval.","uniqueKey":"entryReserveEstimate","typeLabel":"string"},"events":{"description":"Protocol-side events associated with this action, such as a redemption settlement executed by the protocol after the action completed. Omitted when there are none.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique event identifier","example":"event_123abc","isRequired":true,"uniqueKey":"events.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","description":"Type of protocol-side event associated with the action","enum":["REDEMPTION_SETTLED","REDEMPTION_CANCELLED"],"example":"REDEMPTION_SETTLED","isRequired":true,"uniqueKey":"events.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"transactionHash":{"oneOf":[{"type":"string","description":"Hash of the protocol transaction that produced the event (e.g. the redemption settlement transaction)","isRequired":true,"uniqueKey":"events.items.[INDEX].transactionHash.oneOf.0","typeLabel":"string"},{"type":"null","description":"Hash of the protocol transaction that produced the event (e.g. the redemption settlement transaction)","isRequired":true,"uniqueKey":"events.items.[INDEX].transactionHash.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"events.items.[INDEX].transactionHash","typeLabel":"string | null"},"occurredAt":{"format":"date-time","type":"string","description":"When the event occurred on-chain, falling back to when it was detected if the block is unavailable","isRequired":true,"uniqueKey":"events.items.[INDEX].occurredAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","transactionHash","occurredAt"],"uniqueKey":"events.items.[INDEX]","typeLabel":"object"},"uniqueKey":"events","typeLabel":"object[]"}},"required":["id","intent","type","yieldId","address","amount","amountRaw","amountUsd","transactions","executionPattern","rawArguments","createdAt","completedAt","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"action_123abc","intent":"manage","type":"CLAIM_REWARDS","yieldId":"ethereum-eth-lido-staking","address":"0x1234...","amount":"1.0","amountRaw":"1000000000000000000","amountUsd":"1500.50","transactions":[{"id":"tx_123abc","title":"Approve USDC","network":"ethereum","status":"PENDING","type":"STAKE","hash":"0x1234567890abcdef...","createdAt":"2023-11-07T05:31:56Z","broadcastedAt":"2023-11-07T05:31:56Z","signedTransaction":"\u003cstring>","unsignedTransaction":"0x02f87082012a022f2f83018000947a250d5630b4cf539739df2c5dacb4c659f2488d880de0b6b3a764000080c080a0ef0de6c7b46fc75dd6cb86dccc3cfd731c2bdf6f3d736557240c3646c6fe01a6a07cd60b58dfe01847249dfdd7950ba0d045dded5bbe410b07a015a0ed34e5e00d","annotatedTransaction":{"method":"stake","inputs":{"amount":"1000000000000000000"}},"structuredTransaction":{},"stepIndex":0,"description":"Approve USDC for staking","error":"\u003cstring>","gasEstimate":"21000","explorerUrl":"https://etherscan.io/tx/0x1234...","isMessage":false}],"executionPattern":"synchronous","rawArguments":{"amount":"1.500000","amountRaw":"1000000000000000000","amounts":["1.500000","2.000000"],"shareAmount":"1.500000","shareAmountRaw":"1500000","validatorAddress":"cosmosvaloper1...","validatorAddresses":["cosmosvaloper1...","cosmosvaloper2..."],"providerId":"kiln","duration":1209600,"inputToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","inputTokenNetwork":"ethereum","outputToken":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","outputTokenNetwork":"ethereum","subnetId":1,"tronResource":"BANDWIDTH","feeConfigurationId":"custom-fee-config-1","cosmosPubKey":"cosmospub1...","tezosPubKey":"edpk...","cAddressBech":"0x123...","pAddressBech":"P-avax1...","executionMode":"individual","ledgerWalletApiCompatible":true,"useMaxAmount":true,"useInstantExecution":true,"useAutoClaim":true,"skipPrechecks":false,"useMaxAllowance":true,"feePayerAddress":"7Qo3awoTH4y5Vui1FQwsncq2arYDzUuivdeWhwgnAvVo","receiverAddress":"\u003cstring>","rangeMin":"0.0","rangeMax":"1.0","percentage":50,"tokenId":"12345"},"createdAt":"2023-11-07T05:31:56Z","completedAt":"2023-11-07T05:31:56Z","status":"CANCELED","entryReserveEstimate":"\u003cstring>","events":[{"id":"event_123abc","type":"REDEMPTION_SETTLED","transactionHash":"\u003cstring>","occurredAt":"2023-11-07T05:31:56Z"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"442bf3c2-60ec-4ee3-abf4-fdee20be0668":{"description":"Invalid request parameters","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Validation failed","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"number","example":400,"uniqueKey":"statusCode","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Validation failed","error":"Bad Request","statusCode":400}}},"exampleType":"generated"}},"exampleType":"generated"},"40ef23d0-e59b-4c05-89e6-0e382be8f724":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Invalid API key","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Unauthorized","uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"number","example":401,"uniqueKey":"statusCode","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid API key","error":"Unauthorized","statusCode":401}}},"exampleType":"generated"}},"exampleType":"generated"},"a0a154d5-c54b-4aec-96aa-7fac367b6aaf":{"description":"Access denied due to geolocation restrictions","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Access denied from US (US-CA)","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Forbidden","uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"number","example":403,"uniqueKey":"statusCode","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Access denied from US (US-CA)","error":"Forbidden","statusCode":403}}},"exampleType":"generated"}},"exampleType":"generated"},"575b9d54-2765-42b2-8c39-466bdb4492eb":{"description":"Yield not found with the specified ID","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"9bc2b800-d5d3-437c-9c8c-51e68d12161d":{"description":"Yield is currently closed for new deposits","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"6261e923-7087-48c6-9eb5-c15a78fca08e":{"description":"Rate limit exceeded","headers":{"x-ratelimit-limit":{"description":"Request limit per window","schema":{"type":"string"}},"x-ratelimit-remaining":{"description":"Remaining requests (will be 0)","schema":{"type":"string"}},"x-ratelimit-reset":{"description":"Unix timestamp when window resets","schema":{"type":"string"}},"retry-after":{"description":"Seconds to wait before retrying","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Rate limit exceeded","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Too Many Requests","uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"number","example":429,"uniqueKey":"statusCode","typeLabel":"number"},"retryAfter":{"type":"number","example":30,"uniqueKey":"retryAfter","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Rate limit exceeded","error":"Too Many Requests","statusCode":429,"retryAfter":30}}},"exampleType":"generated"}},"exampleType":"generated"},"32014337-a985-4518-8ba9-52bf3e4c9dee":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Internal server error","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Internal Server Error","uniqueKey":"error","typeLabel":"string"},"statusCode":{"type":"number","example":500,"uniqueKey":"statusCode","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Internal server error","error":"Internal Server Error","statusCode":500}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1529ca13-a0c0-4040-b6b3-6a6c01ea8e67":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKey"}}},"servers":{"d6740f15-07e0-4121-b4ef-4554fa44ef5a":{"url":"https://api.yield.xyz","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"x-api-key"}],"title":"ApiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"yieldxyz","siteName":"Yield.xyz","title":"Enter a yield - Yield.xyz","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-12T06:29:21.759Z","originalFileLocation":"api-reference/ActionsController_enterYield.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create an enter action and return the ordered unsigned transactions that open a position.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yield.xyz\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Enter a yield - Yield.xyz\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an enter action and return the ordered unsigned transactions that open a position.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yield.xyz\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yield.xyz/api-reference/ActionsController_enterYield\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yieldxyz.mintlify.site/_mintlify/api/og/v2?division=Actions\u0026amp;title=Enter+a+yield\u0026amp;description=Create+an+enter+action+and+return+the+ordered+unsigned+transactions+that+open+a+position.\u0026amp;theme=c8d7c8842dce9d7ee41cc0e2\u0026amp;signature=2eb90d20125c46b9297846d303454b1c4a8d1bd9cd14e9a7d7b1b51fab810c10\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Enter a yield - Yield.xyz\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an enter action and return the ordered unsigned transactions that open a position.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yieldxyz.mintlify.site/_mintlify/api/og/v2?division=Actions\u0026amp;title=Enter+a+yield\u0026amp;description=Create+an+enter+action+and+return+the+ordered+unsigned+transactions+that+open+a+position.\u0026amp;theme=c8d7c8842dce9d7ee41cc0e2\u0026amp;signature=2eb90d20125c46b9297846d303454b1c4a8d1bd9cd14e9a7d7b1b51fab810c10\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yieldxyz/zjz-Emnb9Hb2w6C0/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yield.xyz\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A7A9B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yield.xyz/api-reference/ActionsController_enterYield\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ActionsController_enterYield.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yield.xyz/#organization\",\"name\":\"Yield.xyz\",\"url\":\"https://docs.yield.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yieldxyz/wKPrGUFXhqQs0ucX/logo/light.png?fit=max\u0026auto=format\u0026n=wKPrGUFXhqQs0ucX\u0026q=85\u0026s=fb7f9276a98f2fb34403561521aea55e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yield.xyz#website\",\"name\":\"Yield.xyz\",\"url\":\"https://docs.yield.xyz\",\"publisher\":{\"@id\":\"https://docs.yield.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield#webpage\",\"url\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield\",\"name\":\"Enter a yield\",\"description\":\"Create an enter action and return the ordered unsigned transactions that open a position.\",\"dateModified\":\"2026-10-12T06:29:21.759Z\",\"isPartOf\":{\"@id\":\"https://docs.yield.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Earn\",\"item\":\"https://docs.yield.xyz/api-reference/earn-objects\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enter a yield\",\"item\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield#apireference\",\"headline\":\"Enter a yield\",\"name\":\"Enter a yield\",\"description\":\"Create an enter action and return the ordered unsigned transactions that open a position.\",\"url\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yield.xyz/api-reference/ActionsController_enterYield#webpage\"},\"dateModified\":\"2026-10-12T06:29:21.759Z\",\"publisher\":{\"@id\":\"https://docs.yield.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yield.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yield.xyz\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Yield.xyz","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/documentation/get-started/welcome"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API reference","groups":[{"group":"Getting started","pages":[{"title":"Getting started","href":"/api-reference/getting-started"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Base URLs","href":"/api-reference/base-urls"},{"title":"Errors and retries","href":"/api-reference/errors-retries"},{"title":"SDKs","href":"/api-reference/sdks"}]},{"group":"Earn","pages":[{"title":"Objects and enums","href":"/api-reference/earn-objects"},{"group":"Yields","pages":[{"title":"List yields","openapi":"openapi.json GET /v1/yields","href":"/api-reference/YieldsController_getYields"},{"title":"Get a yield","openapi":"openapi.json GET /v1/yields/{yieldId}","href":"/api-reference/YieldsController_getYield"},{"title":"Get yield risk","openapi":"openapi.json GET /v1/yields/{yieldId}/risk","href":"/api-reference/YieldsController_getYieldRisk"},{"title":"List validators","openapi":"openapi.json GET /v1/yields/{yieldId}/validators","href":"/api-reference/YieldsController_getYieldValidators"},{"title":"List yield campaigns","openapi":"openapi.json GET /v1/yields/{yieldId}/campaigns","href":"/api-reference/YieldsController_getYieldCampaigns"}]},{"group":"Historical data","pages":[{"title":"Get reward rate history","openapi":"openapi.json GET /v1/yields/{yieldId}/reward-rate/history","href":"/api-reference/YieldsController_getYieldRewardRateHistory"},{"title":"Get TVL history","openapi":"openapi.json GET /v1/yields/{yieldId}/tvl/history","href":"/api-reference/YieldsController_getYieldTvlHistory"}]},{"group":"Metadata","pages":[{"title":"List tokens","openapi":"openapi.json GET /v1/tokens","href":"/api-reference/TokensController_getTokens"},{"title":"List networks","openapi":"openapi.json GET /v1/networks","href":"/api-reference/NetworksController_getNetworks"},{"title":"List providers","openapi":"openapi.json GET /v1/providers","href":"/api-reference/ProvidersController_getProviders"},{"title":"Get a provider","openapi":"openapi.json GET /v1/providers/{providerId}","href":"/api-reference/ProvidersController_getProvider"}]},{"group":"Balances","pages":[{"title":"Get balances across yields","openapi":"openapi.json POST /v1/yields/balances","href":"/api-reference/YieldsController_getAggregateBalances"},{"title":"Get balances for a yield","openapi":"openapi.json POST /v1/yields/{yieldId}/balances","href":"/api-reference/YieldsController_getYieldBalances"}]},{"group":"Rewards","pages":[{"title":"Get reward earnings","openapi":"openapi.json GET /v1/yields/{yieldId}/rewards","href":"/api-reference/YieldsController_getYieldRewardEarnings"},{"title":"Get reward earnings summary","openapi":"openapi.json GET /v1/yields/{yieldId}/rewards/summary","href":"/api-reference/YieldsController_getYieldRewardsSummary"}]},{"group":"KYC","pages":[{"title":"Get KYC status","description":"Get the normalized KYC status of a wallet address for a yield, with the issuer's authorization URL when available.","openapi":"openapi.json GET /v1/yields/{yieldId}/kyc/status","href":"/api-reference/KycController_getStatus"}]},{"group":"Actions","pages":[{"title":"Enter a yield","openapi":"openapi.json POST /v1/actions/enter","href":"/api-reference/ActionsController_enterYield"},{"title":"Simulate an enter","description":"Estimate gas for an enter action without creating an action or transactions.","openapi":"openapi.json POST /v1/actions/enter/simulate","href":"/api-reference/ActionsController_simulateEnter"},{"title":"Exit a yield","openapi":"openapi.json POST /v1/actions/exit","href":"/api-reference/ActionsController_exitYield"},{"title":"Simulate an exit","openapi":"openapi.json POST /v1/actions/exit/simulate","href":"/api-reference/ActionsController_simulateExit"},{"title":"Manage a yield","openapi":"openapi.json POST /v1/actions/manage","href":"/api-reference/ActionsController_manageYield"},{"title":"List actions","openapi":"openapi.json GET /v1/actions","href":"/api-reference/ActionsController_getActions"},{"title":"Get an action","openapi":"openapi.json GET /v1/actions/{actionId}","href":"/api-reference/ActionsController_getAction"}]},{"group":"Transactions","pages":[{"title":"Submit a transaction","openapi":"openapi.json POST /v1/transactions/{transactionId}/submit","href":"/api-reference/TransactionsController_submitTransaction"},{"title":"Submit a transaction hash","openapi":"openapi.json PUT /v1/transactions/{transactionId}/submit-hash","href":"/api-reference/TransactionsController_submitTransactionHash"},{"title":"Get a transaction","openapi":"openapi.json GET /v1/transactions/{transactionId}","href":"/api-reference/TransactionsController_getTransaction"}]},{"group":"Health","pages":[{"title":"Health check","openapi":"openapi.json GET /health","href":"/api-reference/HealthController_health"}]}]},{"group":"Trade","pages":[{"title":"Objects and enums","href":"/api-reference/perps-api/objects"},{"group":"Providers","pages":[{"title":"List providers","openapi":"openapi-perps.json GET /v1/providers","href":"/api-reference/perps-api/discovery/list-providers"},{"title":"Get a provider","openapi":"openapi-perps.json GET /v1/providers/{providerId}","href":"/api-reference/perps-api/discovery/get-provider"}]},{"group":"Markets","pages":[{"title":"List markets","openapi":"openapi-perps.json GET /v1/markets","href":"/api-reference/perps-api/discovery/list-markets"},{"title":"Get a market","openapi":"openapi-perps.json GET /v1/markets/{marketId}","href":"/api-reference/perps-api/discovery/get-market"},{"title":"Get candles","openapi":"openapi-perps.json GET /v1/markets/{marketId}/candles","href":"/api-reference/perps-api/market-data/get-candles"}]},{"group":"Actions","pages":[{"title":"Execute an action","openapi":"openapi-perps.json POST /v1/actions","href":"/api-reference/perps-api/actions/execute-action"},{"title":"List actions","openapi":"openapi-perps.json GET /v1/actions","href":"/api-reference/perps-api/actions/list-actions"},{"title":"Get an action","openapi":"openapi-perps.json GET /v1/actions/{id}","href":"/api-reference/perps-api/actions/get-action"}]},{"group":"Transactions","pages":[{"title":"Submit a transaction","openapi":"openapi-perps.json POST /v1/transactions/{transactionId}/submit","href":"/api-reference/perps-api/actions/submit-transaction"}]},{"group":"Portfolio","pages":[{"title":"Get positions","openapi":"openapi-perps.json POST /v1/positions","href":"/api-reference/perps-api/portfolio/get-positions"},{"title":"Get orders","openapi":"openapi-perps.json POST /v1/orders","href":"/api-reference/perps-api/portfolio/get-orders"},{"title":"Get balance","openapi":"openapi-perps.json POST /v1/balances","href":"/api-reference/perps-api/portfolio/get-balance"}]},{"group":"Activity","pages":[{"title":"Get activity","openapi":"openapi-perps.json GET /v1/activity","href":"/api-reference/perps-api/actions/get-activity"},{"title":"List events","openapi":"openapi-perps.json GET /v1/events","href":"/api-reference/perps-api/actions/list-events"},{"title":"Get an event","openapi":"openapi-perps.json GET /v1/events/{id}","href":"/api-reference/perps-api/actions/get-event"}]},{"group":"Health","pages":[{"title":"Health check","openapi":"openapi-perps.json GET /health","href":"/api-reference/perps-api/health/health-check"},{"title":"Provider health","openapi":"openapi-perps.json GET /v1/health/providers","href":"/api-reference/perps-api/health/provider-health"}]}]},{"group":"Borrow","pages":[{"title":"Objects and enums","href":"/api-reference/borrow/objects"},{"group":"Integrations","pages":[{"title":"List integrations","openapi":"openapi-borrow.json GET /v1/integrations","href":"/api-reference/borrow/integrations/list-integrations"},{"title":"Get an integration","openapi":"openapi-borrow.json GET /v1/integrations/{integrationId}","href":"/api-reference/borrow/integrations/get-integration"}]},{"group":"Markets","pages":[{"title":"List markets","openapi":"openapi-borrow.json GET /v1/markets","href":"/api-reference/borrow/markets/list-markets"},{"title":"Get a market","openapi":"openapi-borrow.json GET /v1/markets/{marketId}","href":"/api-reference/borrow/markets/get-market"}]},{"group":"Actions","pages":[{"title":"Execute an action","openapi":"openapi-borrow.json POST /v1/actions","href":"/api-reference/borrow/actions/execute-action"},{"title":"Simulate an action","openapi":"openapi-borrow.json POST /v1/actions/simulate","href":"/api-reference/borrow/actions/simulate-action"},{"title":"Step an action","openapi":"openapi-borrow.json POST /v1/actions/{id}/step","href":"/api-reference/borrow/actions/step-action"},{"title":"List actions","openapi":"openapi-borrow.json GET /v1/actions","href":"/api-reference/borrow/actions/list-actions"},{"title":"Get an action","openapi":"openapi-borrow.json GET /v1/actions/{id}","href":"/api-reference/borrow/actions/get-action"}]},{"group":"Transactions","pages":[{"title":"Submit a transaction","openapi":"openapi-borrow.json POST /v1/transactions/{transactionId}/submit","href":"/api-reference/borrow/transactions/submit-transaction"}]},{"group":"Positions","pages":[{"title":"Get positions","openapi":"openapi-borrow.json GET /v1/positions","href":"/api-reference/borrow/positions/get-positions"},{"title":"Get liquidations","openapi":"openapi-borrow.json GET /v1/positions/liquidations","href":"/api-reference/borrow/positions/get-liquidations"}]},{"group":"Health","pages":[{"title":"Health check","openapi":"openapi-borrow.json GET /health","href":"/api-reference/borrow/health/health-check"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Legal","pages":[{"title":"Legal","href":"/legal/terms-of-service"}]}]},"basePath":"","title":"Enter a yield - Yield.xyz","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597","c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BUDYNlhG.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","AssistantPageLink-9EK5IAXV.js"]}