Changelly

Cryptocurrency

What is a block index in blockchain.info?

1 Mins read


On blockchain’s blockchain api documentation, located here

https://blockchain.info/api/blockchain_api

There is an api call that uses a parameter called block_index. What is this value, and how does it differ from block_height? From playing around with changing the block_index value in the following api call:

https://blockchain.info/block-index/$block_index?format=json

It seems like (imo quite arbitrarily, which adds to my confusion) that block_index 14849 corresponds to the genesis block. Finally, on the api page listed at the top the first example output they show gives a block whose index is 818044, yet when I enter the following api call into my browser’s address bar:

https://blockchain.info/block-index/818044?format=json

I get “Block Not Found”. Is this just a bug in blockchain.info that the example output they provide doesn’t actually work, or am I using block_index incorrectly?



Source link

Related posts
Cryptocurrency

The Price of the SNAKE (SNK) Game Token Is Growing as We Approach November 30. Wait for a Dump or Buy Now?

2 Mins read
Less than two weeks are left before the start of one of the most anticipated blockchain games of 2021 — Cryptosnake. Now…
Cryptocurrency

Java: bitcoinj; how to download a full block?

1 Mins read
I would like to download a full block using Java and bitcoinj and then parse it to an array to be able…
Cryptocurrency

Expected property "0" of type ECPair, got p

1 Mins read
When I’m trying to create a wallet in react app using the following code: const seed = bip39.mnemonicToSeed(mnemonic); const master = bitcoin.HDNode.fromSeedBuffer(seed,…

Leave a Reply

Your email address will not be published. Required fields are marked *