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

API does not respond correctly on bridged chain #3674

Closed
Moustikitos opened this issue May 2, 2020 · 6 comments
Closed

API does not respond correctly on bridged chain #3674

Moustikitos opened this issue May 2, 2020 · 6 comments

Comments

@Moustikitos
Copy link

https://radians.nl/api/transactions?type=600 returns void list in data while meta says there are 68 type-600-transactions...

{"meta":{"totalCountIsEstimate":true,"count":0,"pageCount":1,"totalCount":68,"next":null,"previous":null,"self":"/api/transactions?type=600&transform=true&page=1&limit=100","first":"/api/transactions?type=600&transform=true&page=1&limit=100","last":"/api/transactions?type=600&transform=true&page=1&limit=100"},"data":[]}

I found some type-600-transactions in radians blockchain...

@ghost
Copy link

ghost commented May 2, 2020

Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@faustbrian
Copy link
Contributor

The provided link doesn't work. Is there a public node available that can be queried?

@ghost
Copy link

ghost commented May 18, 2020

This issue or pull request needs further investigation. Please wait for further information, thank you.

@alessiodf
Copy link
Contributor

@ghost
Copy link

ghost commented Jun 22, 2020

This issue has been closed. If you wish to re-open it please provide additional information.

@faustbrian
Copy link
Contributor

faustbrian commented Jun 22, 2020

Seems to work as intended https://api.radians.nl/api/transactions?type=600&typeGroup=4000. You need to explicitly specify the typeGroup because it defaults to 1 for filtering and sorting.

https://github.com/e-m-s-y/scooter-transactions/blob/master/src/transactions/types.js#L2-L5

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

No branches or pull requests

3 participants