Skip to content

Commit e92be5e

Browse files
committed
chore: remove repetitive word in markdown file
Signed-off-by: liuyueyangxmu <liuyueyangxmu@outlook.com>
1 parent 9c38a6c commit e92be5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coin-prices-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ We can see that \[index.ts] exports a function with the same name as the protoco
5656
getTokenPrices() uses a variety of functions and libraries to find token prices:
5757

5858
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.
59-
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.
59+
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.
6060
3. getTokenAndRedirectData() fetches information from the DefiLlama coins database, about coins deposited to the Euler markets.
6161
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.
6262

0 commit comments

Comments
 (0)