wormhole-explorer/api/handlers/transactions
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
..
model.go New endpoint: top chain pairs by number of transfers (#307) 2023-05-12 13:05:18 -03:00
queries.go fix query from last-tx endpoint (#311) 2023-05-12 10:54:29 -03:00
queries_test.go fix query from last-tx endpoint (#311) 2023-05-12 10:54:29 -03:00
repository.go New endpoint: top chain pairs by number of transfers (#307) 2023-05-12 13:05:18 -03:00
repository_test.go Get top assets by volume (#302) 2023-05-10 17:39:18 -03:00
service.go New endpoint: top chain pairs by number of transfers (#307) 2023-05-12 13:05:18 -03:00