wormhole-explorer/api/middleware
agodnic a21f40ed55
Get top assets by volume (#302)
### Summary

Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/276

This pull request implements the endpoint `GET /api/v1/top-assets-by-volume`, which returns the assets that have the highest volume. Internally, the endpoint uses data summarized daily to speed up query execution times.

This endpoint has a mandatory query parameter named `timerange`, which must be set to `7d`, `15d` or `30d`.
2023-05-10 17:39:18 -03:00
..
error_handler.go Feature/refactor api (#34) 2022-11-23 09:06:29 -03:00
extract_pagination.go Sort the output of `GET /api/v1/vaas` by timestamp (#267) 2023-04-28 10:18:07 -03:00
extract_parameters.go Get top assets by volume (#302) 2023-05-10 17:39:18 -03:00