From e92be5e4613c3ffda67c152dd68fb2314399a797 Mon Sep 17 00:00:00 2001 From: liuyueyangxmu Date: Tue, 16 Dec 2025 16:17:07 +0800 Subject: [PATCH] chore: remove repetitive word in markdown file Signed-off-by: liuyueyangxmu --- coin-prices-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin-prices-api.md b/coin-prices-api.md index b9c45bb..66fa83d 100644 --- a/coin-prices-api.md +++ b/coin-prices-api.md @@ -56,7 +56,7 @@ We can see that \[index.ts] exports a function with the same name as the protoco getTokenPrices() uses a variety of functions and libraries to find token prices: 1. Axios is used in fetchFromIpfs(), to fetch market information from IPFS by a REST get call. API calls don't necessarily have to be to IPFS, however we do prefer on-chain data to protocol APIs. Especially for numerical data used to calculate price. -2. The getBlock() utility is used to find the block height of the given chain at the the given timestamp. It is worth checking the utils folder for any functions you need that may have already been written. +2. The getBlock() utility is used to find the block height of the given chain at the given timestamp. It is worth checking the utils folder for any functions you need that may have already been written. 3. getTokenAndRedirectData() fetches information from the DefiLlama coins database, about coins deposited to the Euler markets. 4. multiCall()is a function from the DefiLlama SDK which allows us to fetch on-chain data from many functions at once. There are lots of examples on how to use the DefiLlama SDK in the DefiLlama/DefiLlama-Adapters repo.