earn_deposit
Deposit funds from a Simple Wallet pocket into Earn (Staking) to start earning rewards at the asset's APY. Preview the operation first, then confirm to execute.
Instructions
Deposit funds from Simple Wallet pocket to Earn (Staking). Funds will start earning rewards based on the asset's APY. Returns operation details with type: deposit. Use wallet_get_pockets to find your pocket ID and earn_get_positions to see available Earn strategies. Operation status ENUM: pending (operation in progress), completed (successfully finished), failed (operation failed or was cancelled). [PRIVATE] First call without confirm=true returns a preview; set confirm=true only after the user agrees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | No | Optional session token for authentication. API keys are recommended for most use cases. | |
| amount | Yes | Amount to deposit into Earn (as string for decimal precision) | |
| symbol | Yes | Cryptocurrency symbol (e.g., BTC, ETH) | |
| confirm | No | Must be true to execute. Ask the user first, then call again with confirm=true. Prevents accidental one-shot mutations by the LLM. | |
| pocket_id | Yes | Source pocket UUID from Simple Wallet | |
| idempotency_key | No | Stable key for this logical action (UUID recommended). Reuse the same value when retrying after a timeout so Bit2Me does not execute twice. Auto-generated if omitted. |