Block Info
Provides detailed information about a specific block by hash.
Path Parameters
A block hash
- 200
- 500
Requested data
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
data object required
header object required
The target value below which the blockhash must lie, encoded as a a float (with well-defined rounding, of course)
The root hash of the merkle tree of transactions in the block
The nonce, selected to obtain a low enough blockhash
Reference to the previous block in the chain
The timestamp of the block, as claimed by the miner
The protocol version. Should always be 1.
txdata object[] required
List of transactions contained in the block
input object[] required
List of inputs
previous_output object required
The index of the referenced output in its transaction's vout
The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behaviour cannot be enforced.
Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
Block number before which this transaction is valid, or 0 for valid immediately.
output object[] required
List of outputs
The value of the output, in satoshis
The protocol version, is currently expected to be 1 or 2 (BIP 68).
last_updated object required
{
"data": {
"header": {
"bits": 0,
"merkle_root": "string",
"nonce": 0,
"prev_blockhash": "string",
"time": 0,
"version": 0
},
"txdata": [
{
"input": [
{
"previous_output": {
"txid": "string",
"vout": 0
},
"script_sig": "string",
"sequence": 0,
"witness": [
"string"
]
}
],
"lock_time": 0,
"output": [
{
"script_pubkey": "string",
"value": 0
}
],
"version": 0
}
]
},
"last_updated": {
"block_hash": "string",
"block_height": 0
}
}
Internal server error