Get historical TVL on single vault at single timestamp

get

Get historical TVL data for a vault for block with closest timestamp to the given one

Authorizations
Path parameters
vaultAddressstringRequired

Address of a vault

Pattern: ^0x[a-fA-F0-9]{40}$
networkstring · enumRequired

Network name or caip

Possible values:
timestampintegerRequired

Timestamp of the historical data

Responses
200
Object describing the TVL of the vault in given time
application/json
get
GET //v1/vaults/{network}/{vaultAddress}/historical-tvl/{timestamp} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
200

Object describing the TVL of the vault in given time

{
  "timestamp": 1,
  "blockNumber": 1,
  "tvlDetails": {
    "tvlNative": "text",
    "tvlUsd": "text",
    "lockedNative": "text",
    "lockedUsd": "text",
    "liquidNative": "text",
    "liquidUsd": "text"
  }
}

Last updated