/earn/move
POST
/v1/agent/earn/moveCreate an earn move operation
Requires API-key authentication (agentAuth, agentId).
Body
from_position_idrequired | string | Existing earn-position identifier. Always a Base ERC4626 vault contract address (case-insensitive) identifying a vault the wallet holds shares in. Read these from /v1/agent/earn. |
move_all | boolean | |
to_vault_id | string | Earn vault identifier. Always a Base ERC4626 vault contract address (case-insensitive). Returned in /v1/agent/earn and /v1/agent/earn/opportunities as `vault_id`. |
to_best_available | boolean | |
amount | string | |
amount_usd | string |
