Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support uniswap v3 pricefeeds #37

Open
hrishikeshio opened this issue Oct 3, 2022 · 7 comments
Open

support uniswap v3 pricefeeds #37

hrishikeshio opened this issue Oct 3, 2022 · 7 comments
Assignees

Comments

@hrishikeshio
Copy link
Member

hrishikeshio commented Oct 3, 2022

https://etherscan.io/address/0xB210CE856631EeEB767eFa666EC7C1C57738d438#readContract#F7

100
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
0x50de6856358cc35f3a9a57eaaa34bd4cb707d2cd
0x45CDEc62E3e8866C917F8AB76F7B1D45DDE6673E
2000

@hrishikeshio
Copy link
Member Author

Any update @rajkharvar ?
Its pending since long time and it is a high priority. Please complete asap.

@rajkharvar
Copy link
Member

Oops, Sorry I missed this. Will look into this now.

@rajkharvar
Copy link
Member

@hrishikeshio It's not possible to query blockchain using simple HTTP GET request. If we want to support uniswap pricefeed though we might need a proxy server which fetches data from blockchain and serve it through GET request.

@hrishikeshio
Copy link
Member Author

hrishikeshio commented Oct 31, 2022

Why not? All applications talk to the blockchain using JSON RPC. Check, e.g. https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call @rajkharvar

@rajkharvar
Copy link
Member

Yes, through POST request it's possible but through GET request it's not possible.

@rajkharvar
Copy link
Member

@hrishikeshio Tried to fetch blocknumber using GET request from alchemy and infura node, but it's not supported.

I got this error.

Alchemy:

{"message":"Method Not Allowed","logref":null,"path":null,"_links":{"self":{"href":"/v2/Secb_SIZP3BfiGJKmVCDjxsbTf","templated":false,"profile":null,"deprecation":null,"title":null,"hreflang":null,"type":null,"name":null}},"_embedded":{"errors":[{"message":"Method [GET] not allowed for URI [/v2/Secb_SIZP3BfiGJKmVCDjxsbTf]. Allowed methods: [POST]","logref":null,"path":null,"_links":{},"_embedded":{}}]}}

Infura:
404 page not found

@SkandaBhat
Copy link
Contributor

Compatibility for this has been achieved in razor-network/oracle-node#1020. This will be released in v1.0.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants