> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zyf.ai/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);
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.