hirosystems / stacks-blockchain-api

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

Rosetta: need to include burn_block_height in API implementations #1972

Closed crustywhale closed 1 month ago

crustywhale commented 2 months ago

Because burn_block_height is more relevant/important for determining transaction finality in Nakamoto, it should be included in Rosetta API endpoints.

Some examples:

https://docs.hiro.so/nakamoto-api/get-network-status should include the current bitcoin block height (i.e. burn block height) in addition to the stacks block height.

https://docs.hiro.so/nakamoto-api/get-a-block should include the bitcoin block height alongside block index and parent block index