prepare_eigenlayer_deposit
Builds an unsigned EigenLayer deposit transaction, automatically including ERC-20 approval if needed.
Instructions
Build an unsigned EigenLayer StrategyManager.depositIntoStrategy transaction. Includes an ERC-20 approve step if needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"strategy": "<strategy>",
"token": "<token>",
"amount": "<amount>"
},
"name": "prepare_eigenlayer_deposit"
}
}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. |