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

GET /auth/accounts/{address} is not working #2206

Closed
idoor88 opened this issue Sep 1, 2018 · 2 comments
Closed

GET /auth/accounts/{address} is not working #2206

idoor88 opened this issue Sep 1, 2018 · 2 comments
Labels

Comments

@idoor88
Copy link

idoor88 commented Sep 1, 2018

I first queried https://gaia-seeds.interblock.io:1317/keys and got back this address: cosmosaccaddr1y7d8srezfl9mqhw38gxdxn25vyqy70x5vam8kg, then I used
https://gaia-seeds.interblock.io:1317/auth/accounts/cosmosaccaddr1y7d8srezfl9mqhw38gxdxn25vyqy70x5vam8kg, but I got 404 page not found error.
I followed document from this site https://github.com/cosmos/cosmos-sdk/blob/develop/docs/light/api.md for the light API.

I tried this as well without /auth as in cosmos voyager js code, which uses /accounts:
https://gaia-seeds.interblock.io:1317/accounts/cosmosaccaddr15ssurfanyhu97ddlxhx9mgq2n385ypefaxgvka
this returned nothing.

How to get account info without 404 page not found error?

Thanks
Idoor

@fedekunze
Copy link
Collaborator

Hi @idoor88, that document is currently in work-in-progress. Here are the issue with the list of the original endpoints and the proposed ones #1979. You can track the progress on the implementation in this issue #2113

The correct endpoint in this case is the one without /auth

@alessio
Copy link
Contributor

alessio commented Sep 22, 2018

As @fedekunze pointed out, there's an issue that used to keep track of the ongoing work and /accounts/{address} is presently the correct endpoint to query accounts.
Hence closing.

@alessio alessio closed this as completed Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants