Skip to content

How to get latest eth price in solidity smart contract #20

Answered by stevenpiao0822
dodger213 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dodger213

To get latest eth price, you need to use Uniswap v2 router or chainlink oracle contract.
Plz check the Uniswap document , and/or Chainlink

Hope you finds it helpful.
Thanks

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dodger213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants