Today we are releasing our token price API, which we've been developing and using internally for months This API aims to price all tokens, including exotic ones that don't get directly traded such as curve LPs Thread on how it works, how to use it and why we built it
At defillama we kept finding ourselves having to price exotic tokens such as LPs that never get traded and thus: - can't be priced through cex/dex - dont get listed on coingecko/cmc because no user is interested in trading them That's why we built our own price API
@DefiLlama Amazing work We really need this for @CryptoStats_, this will be integrated in no time
@DefiLlama Great work! We do something similar but locally on rotki. So user has a choice of oracles, like coingecko, crypto compare, manually input price or dexes For dexes and exotic tokens a path is attempted to be found as you also described. User can customise oracle order and prio
@DefiLlama Could the current infrastructure also support the pricing of non-fungible Uniswap V3 positions? Considering the query format is {chainid}:{address} where would you put the token ID?
@DefiLlama How difficult is to get the token price at a specific block/date?
@DefiLlama Amazing stuff ty, what an awesome team Any scope for full history of prices in the future?
@DefiLlama @IDrawCharts Would you say you released unllamated price info?
@DefiLlama I can't find the price for a specific token. Is there a list of all possible values?
@DefiLlama Any chance that you guys would sign the price data similarly to Coinbase? blog.coinbase.com/introducing-th…
@DefiLlama @DefiLlama interested to extend this to include LBP pricing? Can help intro a connect with @CopperPlatform Also happy to share some multi token BPT weighted pool logic. Also traditional BPTs use different logic.. only downside is that you’d need to detect by factory
@DefiLlama Maybe obvious but does it include earliest available historical price data? If so it will become the number 1 source for on chain price data on tradingview as i constantly cycle thru data providers on there for max visibility. Llama (PBUH) is good and great.
@DefiLlama Are you going to include Bancor smart tokens? This would be great because the devs broke their promise to the community for backwards compatibility and disabled several key components of the v1-v2 systems such as the main API replaced by the v2 and removal of the working API.
@DefiLlama Is the license MIT? Couldn't find it in the repo.