wormhole-foundation / wormhole-explorer

We could have named this super-parakeet. Tweet tweet.
Other
26 stars 21 forks source link

Add NTT Protocol Data to /api/v1/protocols/stats Endpoint #1495

Closed SamantaCasal closed 6 days ago

SamantaCasal commented 2 weeks ago

Description

Add NTT Protocol data to the /api/v1/protocols/stats endpoint. Currently, the endpoint returns information about the protocols CCTP, Allbridge, Mayan, and Portal Bridge. We need to include the historical information of all transactions carried out on Wormhole via NTT Protocol.

Requirements:

  1. Include NTT Protocol:Add a new object to the existing array with the relevant data for the NTT protocol.
  2. Historical Information:Include the historical information of all transactions carried out on Wormhole via NTT Protocol.
  3. Transactions to Consider: Include transactions conducted via "GENERIC_RELAYER", "NATIVE_TOKEN_TRANSFER", as well as those that are simply "NATIVE_TOKEN_TRANSFER".