L3 Atom also provides useful indicators and metrics relating to the already existing data feeds shown on previous pages. This feature is currently limited as Websockets offer restricted customisation of data feeds, but as we develop and research into other API services like GraphQL, we aim to have high customisation in the data we give out to our users. Nevertheless, for this MVP we have indicators that users can tap into.
Copy { "op" : "subscribe" , "exchange" : <value> , "feed" : "indicators" }
e.g.
Copy { "op" : "subscribe" , "exchange" : "uniswap" , "feed" : "indicators" }
Copy {
"event" : "subscribed" ,
"topic" : "uniswap-indicators"
}
Copy {
"pools" : [
{
"token0" : {
"symbol" : "UMIIE" ,
"name" : "UMIIE COIN" ,
"volume" : "1000103.099007820197283854" ,
"totalValueLocked" : "50050480.103497613002904654" ,
"price" : "0.01000586374960270227477201921193648"
} ,
"token1" : {
"symbol" : "UMIIE2" ,
"name" : "Umiie 2" ,
"volume" : "99930988.660196871689931931" ,
"totalValueLocked" : "14644676667.240849617715772909" ,
"price" : "99.94139686738253752770898237370869"
} ,
"liquidity" : "1706245281880037395956227425" ,
"feesUSD" : "0" ,
"volumeUSD" : "0" ,
"totalValueLockedUSD" : "12887625156.60443191907094774602519" ,
"txCount" : "9" ,
"contractHash" : "0xa850478adaace4c08fc61de44d8cf3b64f359bec"
} ,
{
"token0" : {
"symbol" : "DAI" ,
"name" : "Dai Stablecoin" ,
"volume" : "9986522917.129600881555927634" ,
"totalValueLocked" : "423094338.885284441897591878" ,
"price" : "0.9999625449148163196132375810269326"
} ,
"token1" : {
"symbol" : "USDC" ,
"name" : "USD Coin" ,
"volume" : "9986661334.812961" ,
"totalValueLocked" : "601893151.639615" ,
"price" : "1.000037456488119633589150894051131"
} ,
"liquidity" : "5116689017610105336574460" ,
"feesUSD" : "998596.4567701906268345886118294492" ,
"volumeUSD" : "9985964567.701906268345886118294492" ,
"totalValueLockedUSD" : "1024987490.524899441897591878" ,
"txCount" : "89666" ,
"contractHash" : "0x5777d92f208679db4b9778590fa3cab3ac9e2168"
} ,
...
] ,
"timestamp" : 1659324002355 ,
"meta" : {
"poolCount" : "7550" ,
"txCount" : "17949832" ,
"totalVolumeUSD" : "666919796800.6506649051854303633527" ,
"totalVolumeETH" : "255311112.3686727533743634182388441" ,
"totalFeesUSD" : "1111225923.987287380174280525551717" ,
"totalFeesETH" : "402133.738218547595711383625586578" ,
"totalValueLockedUSD" : "13157148681.28780476047395500366981" ,
"totalValueLockedETH" : "7778352.81821219667042173664310763"
}
}
Copy { "op" : "unsubscribe" , "exchange" : <value> , "feed" : "indicators" }
e.g.
Copy { "op" : "unsubscribe" , "exchange" : "uniswap" , "feed" : "indicators" }