This step is only necessary for Aave vaults. Morpho and Veda vaults accrue and distribute fees
differently — Morpho fees accrue as shares in the admin wallet, and Veda distributes fees on a
recurring schedule. See revenue sharing for how fee
collection works across providers.
View the full API reference for the collect fees
endpoint.
Usage
- REST API
Make a The
POST request to:wallet_id in the path must be the vault’s admin wallet — find it in the Privy Dashboard or as admin_wallet_id in the get vault details response. A single call collects all available fees for the vault; partial collection is not supported.Parameters
This endpoint accepts your app secret or a wallet signer. If the admin wallet was created
automatically when the vault was deployed and has not been modified, your app secret alone
authorizes the request. Admin wallets with an
owner_id must provide an authorization
signature as a request header.Returns
The wallet action ID. Use this to poll status with get wallet action.
The collected amount in the underlying asset, as a human-readable decimal.
null while the action is pending; populated after onchain confirmation. This is your app’s share after the revenue split.The collected amount in the smallest unit of the underlying asset. Populated after onchain confirmation.
Example
Example response
Next steps
Aave integration guide
Deposit, withdraw, read positions, and collect fees for Aave vaults.

