Jump to
Ctrl
+
/

Get Block Details By Block Hash EVM

GET
/blocks/evm/{blockchain}/{network}/hash/{blockHash}/details

Through this endpoint customers can obtain basic information about a given mined block, specifically by using the hash parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, its height, etc.

Blockchain specific data is information such as version, nonce, size, bits, merkleroot, etc.

Path Parameters

blockchain string Required

Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks.

blockHash string Required

Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2024-12-12
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
item object Required
extraData string Required

Represents any data that can be included by the miner in the block.

0xd983010203844765746887676f312e342e328777696e646f7773
gasLimit integer Required

Numeric representation of the block gas limit

3141592
gasUsed integer Required

Numeric representation of the block gas used

21000
hash string Required

Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

0x6b1fdd6357845016fb238d1bd58992a01b01c94e668f55e9502d65f0a50ac021
height integer Required

Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".

1941208
minedInSeconds integer Required

Numeric representation of the block gas limit

5
nextBlockHash string Required

Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string.

0x78e1c05abcb5dc5ec223800c27bc31cf610488097c8d848dcd2260ac0cf857bf
nonce integer Required

Numeric representation of the block nonce

2
previousBlockHash string Required

Represents the hash of the previous block, also known as the parent block.

0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0
size integer Required

Numeric representation of the block size

3892
timestamp integer Required

Defines the exact date/time when this block was mined in Unix Timestamp.

1615378134
totalDifficulty integer Required

Numeric representation of the block total difficulty

209515044
transactionsCount integer Required

Represents the total number of all transactions as part of this block.

145

Credits Cost : 500 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-12-12",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "extraData": "0xd983010203844765746887676f312e342e328777696e646f7773",
            "gasLimit": 3141592,
            "gasUsed": 21000,
            "hash": "0x6b1fdd6357845016fb238d1bd58992a01b01c94e668f55e9502d65f0a50ac021",
            "height": 1941208,
            "minedInSeconds": 5,
            "nextBlockHash": "0x78e1c05abcb5dc5ec223800c27bc31cf610488097c8d848dcd2260ac0cf857bf",
            "nonce": 2,
            "previousBlockHash": "0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0",
            "size": 3892,
            "timestamp": 1615378134,
            "totalDifficulty": 209515044,
            "transactionsCount": 145
        }
    }
}