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
Missed token returned by ankr_getAccountBalance method #13
Comments
Greetings! The issue is that in optimism chain you didn't receive ETH price?
like this query results zero prices? |
Sorry to confuse you, I should have described this issues in more detail I ran this method
This is the result returned by ankr_getAccountBalance method above
You can see no ETH token info is returned in the result even though ETH token actually exists in the account |
Got it. Yes, we have some issues with optimism network. |
I think the API is alright, however since Optimism uses Ethereum as it's NATIVE token you can notice the tokenType that shows "NATIVE", I do agree though it needs to be "Ethereum" with that native tokenType aswell. But you can surely add a small validation to get that right. :P |
I don't think the API is alright, the contributor confirmed that here is an issue #13 (comment) |
Closing as this has been fixed. ETH is now returned as NATIVE as well as Optimism. |
This problem come again, for now I ETH is not returned in the result
This is response
The problem here is no ETH included in the response, I want to confirm that ETH is already in my account at this request time, you can check it here https://gyazo.com/d98b7d2a98ec87725b22cc6dca1827b3 |
@aminhdev Could you double check please and send an output of the curl also? Because it returns three balances at that account from every our cluster and from rpc endpoint. |
Sorry to disturb you here. I've created a support ticket and received a response. I will discuss it in the supported ticket instead. |
Get account balance by running this
This is list tokens of 0xdaf835f11537fca6db91e91c266d153200f46d52
Expected result
ETH token returned in the result
Current result
Missed ETH token in the result
The text was updated successfully, but these errors were encountered: