> ## Documentation Index
> Fetch the complete documentation index at: https://zyfai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getTVL

Get total value locked (TVL) across all Zyfai accounts.

## Signature

```typescript theme={null}
getTVL(): Promise<TVLResponse>
```

## Returns

Total TVL in USD

## Return Type

```typescript theme={null}
interface TVLResponse {
  success: boolean;
  totalTvl: number;
}
```

## Example

```typescript theme={null}
const tvl = await sdk.getTVL();
console.log("Total TVL:", tvl.totalTvl);
```
