wormhole-explorer/api/routes/wormscan
agodnic 0f1797e44a
[API] Add `toChain` filter to `GET /api/v1/vaas/{emitterChain}/{emitterAddr}` (#598)
### Description

This pull request adds the parameter `toChain` to the endpoint `GET /api/v1/vaas/{emitterChain}/{emitterAddress}`.

Other VAA-related endpoints do not support this parameter.

Additionally, for performance reasons, a composite index must be created in MongoDB: `db.parsedVaa.createIndex({"emitterChain": -1, "emitterAddr": -1, "rawStandardizedProperties.toChain": -1, "indexedAt": -1})`
2023-08-01 16:38:34 -03:00
..
address Add endpoint `GET /api/v1/transactions` (#388) 2023-06-12 11:43:48 -03:00
governor [API] Fix governor endpoints (#202) 2023-03-22 13:41:11 -03:00
infrastructure add make to docker 2023-02-05 09:52:56 -03:00
observations [API] Fix sorting order in observation endpoints (#357) 2023-05-30 11:35:30 -03:00
transactions Fix `GET /api/v1/transactions?address={addr}` (#550) 2023-07-18 09:54:52 -03:00
vaa [API] Add `toChain` filter to `GET /api/v1/vaas/{emitterChain}/{emitterAddr}` (#598) 2023-08-01 16:38:34 -03:00
routes.go [API] Standard payload changes (#520) 2023-07-12 12:51:52 -03:00