miraclesu/uniswap-sdk-go

Not able to get price data?

Opened this issue · 1 comments

Don't I have to add my infura(or others) provider URL to get the blockchain data for computing price?
Can you please add an example to extract the price of WETH in USDC?

No, this is an offchain library. If you want to use it with live data, you'll have to fetch it first using ethclient e.g.