Skip to content
Hightop docs header art
Hightop
API and Integrations

/earn/withdraw

POST/v1/agent/earn/withdraw

Create an earn withdrawal operation

Requires API-key authentication (agentAuth, agentId).

Body

position_idrequiredstringExisting 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_allboolean
destination_assetstring
allow_conversionboolean
amountstring
amount_usdstring