You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we're only accepting searches in hex format i.e.: GET /api/v1/vaas?txHash=4d72d6d109ca9e124b3d2e96a9774ab3b9da75023d607811663c844af5a3a249
We should upgrade the API so that it can search for transactions using the Solana format, i.e.: GET /api/v1/vaas?txHash=5J6BU3FqpDBzdqfEnz8SndAh93nB5ReM4ATmuA2tB2AfJ3Xdhdx8NQocHCHiipDqeb369MV5S5rnqeZR3WPe6ymN
The text was updated successfully, but these errors were encountered:
### Summary
This pull request adds the functionality to search for VAAs using Solana tx hashes, e.g.:
`GET /api/v1/vaas?txHash=2qnNNBQQQ152sGkQ1Rnq2Kdr48LvdN4oXwnTWyEmJqYYWFusLWxbwhpGS5KTXH1bKKx9gg9BLZMKd3g1cXiy7QMz`.
Also, the VAA objects returned by the API now have a new field `nativeTxHash`, which contains the tx hash that generated the VAA in the native format of the emitter chain.
Tracking issues: #212, #214
### Testing guidelines
Endpoints affected:
* `GET /api/v1/vaas` now supports Solana tx hashes by using the `?txHash=` query parameter. This search is limited to VAAs created by the portal token bridge.
* Some VAAs returned by the API should have a new field `nativeTxHash`. All VAAs related to the portal token bridge should have this field set.
* An internal refactoring affected pretty much all routes under `GET /api/v1/vaas*`, which should be re-tested.
* In the response of `/api/v1/global-tx/`, the field `originTx.signer` has been renamed to `originTx.from`
Summary
Currently, we're only accepting searches in hex format i.e.:
GET /api/v1/vaas?txHash=4d72d6d109ca9e124b3d2e96a9774ab3b9da75023d607811663c844af5a3a249
We should upgrade the API so that it can search for transactions using the Solana format, i.e.:
GET /api/v1/vaas?txHash=5J6BU3FqpDBzdqfEnz8SndAh93nB5ReM4ATmuA2tB2AfJ3Xdhdx8NQocHCHiipDqeb369MV5S5rnqeZR3WPe6ymN
The text was updated successfully, but these errors were encountered: