optakt / flow-dps

Flow Data Provisioning Service
Apache License 2.0
29 stars 13 forks source link

Rosetta: parse endpoint returns block height for reference block #378

Closed Maelkum closed 3 years ago

Maelkum commented 3 years ago

Parse endpoint parses the provided transaction (signed or unsinged) and returns the original data from which it was compiled - operations and metadata (optionally signatures).

Metadata we extract from the transaction includes the reference block ID, but not block height.

Parse endpoint can (via retriever) fetch the height for the given ID and provide it in the response (since it is available in the metadata endpoint.

awfm9 commented 3 years ago

This is done as part of the #387 PR.