prepare_eigenlayer_deposit
Build an unsigned EigenLayer deposit transaction with automatic ERC-20 approval handling to stake assets into a strategy.
Instructions
Build an unsigned EigenLayer StrategyManager.depositIntoStrategy transaction. Includes an ERC-20 approve step if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| strategy | Yes | ||
| token | Yes | ||
| amount | Yes | Human-readable decimal amount of `token`, NOT raw wei/base units. Example: "0.5" for 0.5 stETH. | |
| approvalCap | No | Cap on the ERC-20 approval preceding this action. Omit for "unlimited" (standard DeFi UX — fewer follow-up approvals). Pass "exact" to approve only what this action pulls. Pass a decimal string (e.g. "500") for a specific ceiling in the asset's human units; must be ≥ the action amount, otherwise the transaction would revert. |