amount reflects the original deposit plus yield earned.
View the full API reference for the withdraw endpoint.
Withdrawal amount
Your app can withdraw any amount up to the wallet’s currentassets_in_vault balance. To withdraw everything, query the wallet’s position first and pass the full assets_in_vault value as the raw_amount.
Because yield accrues continuously, the redeemable balance may be slightly higher at withdrawal time than when the position was last queried.
Liquidity considerations
Withdrawals depend on available liquidity in the underlying vault. Your app should check the vault’savailable_liquidity_usd from the get vault details endpoint before initiating large withdrawals.
Usage
- Node SDK
- REST API
Use the The method returns an
withdraw convenience method on the earn ethereum service to withdraw assets from a vault.EarnWithdrawActionResponse with the pending wallet action. Poll the status with get wallet action, or listen for the wallet_action.earn_withdraw.succeeded webhook.Claim reward incentives
Some vaults distribute additional token incentives on top of base yield. Collect these with the claim endpoint. Claims operate at the chain level — pass a chain name rather than a vault ID. For apps with multiple vaults on the same chain, a single claim collects rewards across all vaults.Usage
- Node SDK
- REST API
Use the The method returns an
claim convenience method on the earn ethereum incentive service to claim reward incentives.EarnIncentiveClaimActionResponse with the pending wallet action. Claims operate at the chain level and collect rewards across all vaults on the specified chain.A
rejected status means the action failed before any transaction was signed or broadcast — for
example, due to insufficient balance or a policy violation. Your app can safely retry the request.
A failed status means a transaction was broadcast but reverted onchain. Inspect the action’s
steps for details.Next steps
Claim rewards
Collect additional token incentives distributed by the vault.

