get https://api.amberdata.com/blockchains/blocks
Retrieves all the blocks within the specified range.
Blockchains Supported
This endpoint supports Bitcoin, Bitcoin Cash, Ethereum, Litecoin and Polygon.
Response Data
Field | Type | Description |
---|---|---|
baseFeePerGas | number | Minimum fee required for the transaction to be included in the block. |
burntFees | number | Amount of Ether destroyed when this block was mined. |
difficulty | string | A scalar value corresponding to the difficulty level of this block. |
duration | number | The block time in milliseconds. |
extraData | string | An arbitrary byte array containing data relevant to this block. |
gasLimit | string | The scalar value equal to the current limit of gas expenditure per block. |
gasUsed | string | The scalar value equal to the total gas used in transactions in this block. |
hash | string | Block header hash. |
logsBloom | string | The Bloom filter composed from indexable information (logger address and log topics) contained in each log entry from the receipt of each transaction in the transactions list. |
miner | object | Contains data about the block's miner, i.e. the address . |
address | string | The 160-bit address to which all fees collected from the successful mining of this block be transferred. |
mixHash | string | The 256-bit hash which proves combined with the nonce that a sufficient amount of computation has been carried out on this block. |
nonce | string | The 64-bit hash which proves combined with the mix-hash that a sufficient amount of computation has been carried out on this block |
numTransactions | number | Number of transactions contained in the block. |
number | string | The scalar value equal to the number of ancestor blocks. |
parent | object | Contains data about the block's parent. |
parent.hash | string | The Keccak 256-bit hash of the parent block’s header. |
parent.number | number | The parent block number. |
reward | string | The mining reward for the block. See full value conversion reference here. |
rewardFee | string | The sum of all the transaction fees for all the transactions in the block. See full value conversion reference here. |
uncleReward | string | The uncle reward. See full value conversion reference here. |
receiptsRoot | string | The Keccak 256-bit hash of the root node of the trie structure populated with the receipts of each transaction in the transactions list portion of the block. |
sha3Uncles | string | The combined hash of alluncles for a given parent. |
numUncles | number | The number of uncles to this block. |
size | number | The size of the block in bytes. |
stateRoot | string | The Keccak 256-bit hash of the root node of the state trie, after all transactions are executed and finalisations applied. |
timestamp | string | The scalar value equal to the reasonable output of Unix’s time() at this block’s inception. |
totalDifficulty | string | The total difficulty of the chain. |
transactionsRoot | string | The Keccak 256-bit hash of the root node of the trie structure populated with each transaction in the transactions list portion of the block. |