---
title: "Calculate Total Value Locked (TVL) for a lending pool"
method: POST
path: "/tvl"
---

# Calculate Total Value Locked (TVL) for a lending pool

`POST /tvl`

Calculate the Total Value Locked (TVL) in USD for a lending pool.

## Request body

- union
  - object
    - `pool_address` string, required — Address of the pool contract
    - `lp_token_address` string — Address of the LP token contract
    - `chain` string, required — Blockchain network identifier
  - object
    - `pool_address` string — Address of the pool contract
    - `lp_token_address` string, required — Address of the LP token contract
    - `chain` string, required — Blockchain network identifier

## Response `200`

TVL calculation response

- object
  - `success` boolean, required
  - `tvl` TVLResponse, required
    - `tvl` number, required — Total Value Locked in USD
    - `network_id` string, required — Blockchain network identifier
    - `pool_address` string — Address of the pool contract

---

[API](https://skmtc.net/gluexprotocol/apis/gluex-yield-api.md) · [All operations](https://skmtc.net/gluexprotocol/apis/gluex-yield-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gluexprotocol/gluex-yield-api/versions/fe660f40457e/schema)
