wormhole-explorer/api/middleware
agodnic c25ebcb6fc
New endpoint: top chain pairs by number of transfers (#307)
### Summary

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

This pull request implements the endpoint `GET /api/v1/top-chain-pairs-by-num-transfers`, which returns the chain pairs that have the most transfers.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-12 13:05: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 New endpoint: top chain pairs by number of transfers (#307) 2023-05-12 13:05:18 -03:00