freemartianCurrent TVL
    Updated 4 days ago
    with datas AS (

    SELECT defillama.get('/protocol/echelon-market', {}) as response
    -- select
    -- livequery.live.udf_api(
    -- 'GET',
    -- 'https://api.llama.fi/protocol/echelon-market',
    -- { 'content-type': 'application/json;charset=utf-8' },
    -- { }
    -- ) as response
    )

    -- SELECT

    -- value:currentChainTvls:Aptos AS TVL,
    -- value:currentChainTvls:borrowed AS borrowed

    -- FROM
    -- datas,
    -- LATERAL FLATTEN (input => response)
    -- WHERE TVL IS NOT NULL AND borrowed IS NOT NULL


    select
    livequery.live.udf_api(
    'GET',
    'https://api.llama.fi/protocol/echelon-market',
    { 'content-type': 'application/json;charset=utf-8' },
    { }
    ) as response






    Last run: 4 days agoAuto-refreshes every 1 hour
    RESPONSE
    1
    {"bytes":915,"error":"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Tran...
    1
    1KB
    2s