listYieldVaults
Lists the Earn vaults available to the current environment. Public vaults are returned for every caller; private vaults (provisioned for a specific environment) are included only when they’re scoped to the caller’s environment. Each vault is enriched with livenetApy and tvlUsd on a best-effort basis — either field may be omitted if that data is temporarily unavailable.
Earn vaults are EVM-only today.
chainId on each vault is an EVM chain ID.Usage
Parameters
Returns
Promise<YieldVaultSummary[]> - The vaults accessible to this environment.
Examples
List vaults and pick one by asset
React
useListYieldVaults is a query hook — it fetches on mount and returns the vaults in data.
Related
getYieldDetails- Full details for one vaultgetYieldPosition- A wallet’s position in a vaultdepositToYieldVault- Deposit into a vault