Chain Info
Get Blockchain Info
GET https://api.whatsonchain.com/v1/<chain>/<network>/chain/infoExample Request
curl --location --request GET "https://api.whatsonchain.com/v1/bsv/main/chain/info"curl --location --request GET "https://api.whatsonchain.com/v1/btc/main/chain/info"Example Response
{
"chain": "main",
"blocks": 905064,
"headers": 905064,
"bestblockhash": "0000000000000000112ea3732c0417a2cee0130e9217dbba1b0ff078c92c904e",
"difficulty": 51223782275.04099,
"mediantime": 1752242156,
"verificationprogress": 0.9999990488341951,
"pruned": false,
"chainwork": "00000000000000000000000000000000000000000167559704876ce49d636d35"
}{
"chain": "main",
"blocks": 904937,
"headers": 904937,
"bestblockhash": "000000000000000000005c486692de6f8726bd9223bf4a2f80babedff0d44a91",
"difficulty": 116958512019762.1,
"mediantime": 1752160121,
"verificationprogress": 0.9999988962482643,
"pruned": false,
"chainwork": "0000000000000000000000000000000000000000d12c110e37cfdb5d73cdd4ec",
"size_on_disk": 763791035344
}Parameter
Description
Get Circulating Supply
Example Request
Example Response
Parameter
Description
Get Chain Tips
Example Request
Example Response
Parameter
Description
Get Peer Info
Example Request
Example Response
Parameter
Description
Last updated
Was this helpful?