Make sense of tokens like UNI-V1 ETH-cDAI
Last updated
Last updated
Sometimes, a DeFi token contains several other tokens, and to calculate their price, you need to know their underlying assets. For example, a Uniswap V1 cDAI pool
consists of ETH
and cDAI
. cDAI
, in turn, has DAI
as an underlying token. With DeFi SDK you can call
and fetch the decomposition of UNI-token into ERC20 tokens, like ETH
and DAI