💎TVL
Here are endpoints which allow to get information about DEX TVL are shown.
get
Returns the latest Total Value Locked (TVL) of DEX pools.
Query parameters
blockchainstringOptionalExample:
Filter TVL by blockchain.
Arbitrum
poolAddressstringOptionalExample:
Filter TVL by pool address.
0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839
periodstringOptionalDefault:
Give TVL since certain time ago
1d
Example: 1d
Responses
200
Latest TVL of DEX pools with specified filters.
application/json
401
Unauthorized
application/json
get
GET /v1/dex/tvl/latest HTTP/1.1
Host: apis.datamint.ai
Accept: */*
{
"status": "ok",
"response": [
{
"poolAddress": "0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839",
"blockchain": "Arbitrum",
"tvlInUSD": 1000000,
"timestamp": 1693392198
}
]
}
get
Returns historical TVL of DEX pools with optional filters.
Path parameters
sinceintegerRequiredExample:
UNIX-time from which to get historical TVL.
1693392198
Query parameters
untilintegerOptionalExample:
UNIX-time until which to get historical TVL.
1693392498
blockchainstringOptionalExample:
Filter TVL by blockchain.
Arbitrum
poolAddressstringOptionalExample:
Filter TVL by pool address.
0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839
granularitystringOptionalDefault:
Give TVL with certain granularity
1d
Example: 1d
Responses
200
Historical TVL of DEX pools with specified filters.
application/json
401
Unauthorized
application/json
get
GET /v1/dex/tvl/historical/{since} HTTP/1.1
Host: apis.datamint.ai
Accept: */*
{
"timestamp": 1693392198,
"tvlInUSD": 1000000
}
Last updated