hemilabs / blockscout

Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
http://docs.blockscout.com
GNU General Public License v3.0
2 stars 1 forks source link

Optionally add btc_finality #5

Open gabmontes opened 5 months ago

gabmontes commented 5 months ago

Description

As requested in #3 and implemented in #4, the API calls that return the blocks and transactions now include the bitcoin finality in a btc_finality field by default.

If we ever want to contribute this back to blockscout/blockscout, querying op-node and adding that field should be optional and controlled by i.e. and environment variable.