Withdraw funds
Redeem vault shares and return assets — plus any accrued yield — to the wallet using the withdraw endpoint. The returnedasset_amount reflects the original deposit plus yield earned.
Partial and full withdrawals
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 asset_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. If the vault’s lending markets are fully utilized, a withdrawal may partially fill or fail. Your app should check the vault’savailable_liquidity_usd from the get vault details endpoint before initiating large withdrawals.
Usage
- REST API
To withdraw funds via REST API, make a
POST request to:Parameters
The unique identifier for the vault.
Amount to withdraw in the token’s smallest unit.
Wallets with
owner_id present must provide an authorization
signature as a request header for withdraw operations.Returns
The operation ID. Use this to poll status with get sweep by ID.
The ID of the wallet receiving the withdrawn funds.
The ID of the vault being withdrawn from.
The operation type. Always
"withdraw" for this endpoint.The current status of the withdrawal operation.
Amount withdrawn in the token’s smallest unit, including accrued yield.
Vault shares redeemed.
null while the operation is pending.Example
Example response
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 CAIP-2 identifier rather than a vault ID. For apps with multiple vaults on the same chain, a single claim collects rewards across all vaults.Usage
- REST API
To claim rewards via REST API, make a
POST request to:Parameters
Chain identifier in CAIP-2 format (e.g.,
eip155:8453 for Base). Claims collect rewards across all vaults on the specified chain.Wallets with
owner_id present must provide an authorization
signature as a request header for claim operations.Returns
The claim operation ID. Use this to poll status with get claim by ID.
The chain identifier for the claim.
The current status of the claim operation.
List of rewards claimed, each with
token_address, token_symbol, and amount.Example
Example response
Claiming rewards is separate from withdrawing yield. To realize deposit earnings, use the
withdraw endpoint. Claiming does not affect withdrawals
or ongoing earnings.
Next steps
Setup
Deploy a fee wrapper and configure a vault.
Deposit funds
Deposit assets from a wallet into a yield vault.
Manage positions
Query vault positions and track activity with webhooks.

