Get block from block height
get https://ag.eqhub.eqbr.com/api/v2/request/blocks/
The block height is used as an identification value to obtain block information in a specific blockchain environment.
Name | Type | Required | Description |
---|
block | Object | True | Object representing block information. |
Name | Type | Required | Description |
---|
baseFeePerGas | String | True | The minimum fee required per unit of gas for a transaction to be included in a block. (Value not in use) |
difficulty | String | True | Difficulty for this block. |
extraData | String | True | The "extra data" field of this block. |
gasLimit | String | True | The maximum gas allowed in this block. |
gasUsed | String | True | The total used gas by all transactions in this block. |
hash | String | True | Hash of the block. |
logsBloom | String | True | The bloom filter for the logs of the block. |
miner | String | True | The address of the beneficiary to whom the mining rewards were given. |
mixHash | String | True | A hash value used in the proof-of-work algorithm to achieve mining consensus and ensure the integrity of the block's contents. (Value not in use) |
nonce | String | True | A value included in a block that miners modify during the mining process, aiming to find a valid hash that satisfies the required difficulty level, thereby securing the block. (Value not in use) |
number | Number | True | Number(height) of the block. |
parentHash | String | True | Hash of the parent block. |
receiptsRoot | String | True | The root of the receipts trie of the block. |
sha3Uncles | String | True | SHA3 of the uncles data in the block. |
size | String | True | The size of this block in bytes. |
stateRoot | String | True | The root of the final state trie of the block. |
timestamp | String | True | Unix timestamp. |
totalDifficulty | String | True | Difficulty of the chain until this block. |
transactions | Object[] | True | Object representing transaction information. |
transactionRoot | String | True | The root hash of the tree structure that stores all the transactions within a block. |
uncles | Array | True | Array of uncle hashes. |
Name | Type | Required | Description |
---|
blockHash | String | True | Hash of the block. |
blockNumber | Number | True | Number(height) of the block. |
from | String | True | Address which the transaction was sent from. |
gas | String | True | Integer of the gas provided for the transaction execution. |
gasPrice | String | True | Fixed gas price used for calculating on blockchain environment. |
hash | String | True | Hash of the transaction. |
input | String | True | Integer of the transactions index position in the block. |
nonce | String | True | The number of transactions made by the sender prior to this one. |
to | String | True | Address which the transaction was sent to. |
transactionIndex | String | True | Integer of the transactions index position in the block. |
value | String | True | Integer of the value sent with this transaction. |
type | String | True | Indicates the type of transaction performed on the blockchain network. |
v | String | True | Values for the transaction's signature. |
r | String | True | Values for the transaction's signature. |
s | String | True | Values for the transaction's signature. |
parsedInput | Object | Optional | Null if smart contract information, which includes the transaction which created this log, is not uploaded to EQ Hub. |