Blockstream / Blockstream/esplora

add api for retrieving getblockchaininfo RPC result

Open
#457 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
514
Avg merge
1d 10h
Merged PRs (30d)
16

Description

Many properties of the chain, especially for liquid, are reported by the `getblockchaininfo` RPC, that are not easily or directly retrievable from the current api.

An example of a property is the current `fedpegscript`, which is reported in the first block in each dynafed epoch (20160 for liquid mainnet). However the 20160 epoch length is a chain parameter, also reported by `getblockchaininfo`.

Adding a API resource that returns the current `getblockchaininfo` would assist thin clients in determining properties such as `fedpegscript`.

For bitcoin mainnet this resource would also be useful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.