💡Query Defi Llama

Get TVL Data from DeFi Llama

We can post a simple get request to DeFi Llama's chains endpoint. Because this API call is a get and requires no authentication or headers, our query is very simple.

SELECT
  livequery.live.udf_api('https://api.llama.fi/chains') as response;

Last updated