/earn/withdraw
POST
/v1/agent/earn/withdrawCreate an earn withdrawal operation
Requires API-key authentication (agentAuth, agentId).
Body
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. |
withdraw_all | boolean | |
destination_asset | string | |
allow_conversion | boolean | |
amount | string | |
amount_usd | string |
