algorand / algorand-sdk-testing

Testing framework for Algorand SDKs
MIT License
20 stars 35 forks source link

New algod endpoint: /v2/block/{round}/hash #230

Closed winder closed 2 years ago

winder commented 2 years ago

A new endpoint to fetch the block hash for a given round. The block endpoint provides a direct representation of the raw block, and doesn't provide the hash computed from the raw data. To avoid complicating that endpoint we should make a new endpoint at /v2/block/{round}/hash which returns

{
    "hash": ...
}

This is a small feature with many downstream dependencies: