hirosystems / stacks-blockchain-api

API for the Stacks blockchain
https://stacks-blockchain-api.vercel.app
GNU General Public License v3.0
178 stars 115 forks source link

Add Route to Fetch Blocks by Tenure Height #2144

Open bowtiedbot opened 1 month ago

bowtiedbot commented 1 month ago

Add a route that opens an endpoint on the API that allows users to fetch the blocks by tenure height:

/extended/v2/tenure-height/{height}/blocks

This endpoint returns the same data as /extended/v2/burn-blocks/{height_or_hash}/blocks does, but by the tenure height instead of the burn height/hash.

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.