wormhole-explorer/api/handlers
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 route `GET /api/v1/address/{address}` (#228) 2023-04-12 15:51:33 -03:00
governor Sort the output of `GET /api/v1/vaas` by timestamp (#267) 2023-04-28 10:18:07 -03:00
guardian Handle guardianSet by p2p enviroment in fly/api (#112) 2023-01-31 11:38:17 -03:00
heartbeats [API/PARSER] Chain activity and last transaction endpoints (#175) 2023-03-07 16:25:42 -03:00
infrastructure
observations [API] Fix sorting order in observation endpoints (#357) 2023-05-30 11:35:30 -03:00
transactions Transaction search by address: fix case sensitivity (#591) 2023-07-28 12:27:48 -03:00
vaa [API] Add `toChain` filter to `GET /api/v1/vaas/{emitterChain}/{emitterAddr}` (#598) 2023-08-01 16:38:34 -03:00