Skip to main content
Fetches the current total value locked (TVL) for a vault from the backend API.

Import

Usage

Parameters

Provide either vaultAddress or vaultName. When vaultName is provided, the SDK resolves the address from cache.

Return Type

Example: TVL Display Component

Error Handling