Jump to
Ctrl
+
/

Get Last Mined Block EVM

GET
/blocks/evm/{blockchain}/{network}/latest/details

Through this endpoint customers can fetch the last mined block in a specific blockchain network, along with its details. These 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

network string Required

Represents the name of the blockchain network used

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
size integer Required

Represents the total size of the block in Bytes.

1408113
extraData string Required

Numeric representation of the block extra data

0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0
gasLimit integer Required

Defines the total gas limit of all transactions in the block.

12499653
gasUsed integer Required

Represents the total amount of gas used by all transactions in this block.

12488144
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".

234324
minedInSeconds string Required

Numeric representation of the block gas limit

7
nonce integer Required

Represents a random value that can be adjusted to satisfy the proof of work

2113101077
previousBlockHash string Required

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

0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0
timestamp integer Required

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

1681893875
totalDifficulty integer Required

Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.

4794080996481072
transactionsCount integer Required

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

23432
blockchainSpecific object Optional
bandwidthUsed integer Optional

Representation of the blocks' bandwidth limit.

83659
burnedTRX string Optional

Representation of the blocks' burned TRX.

3415556
energyUsed string Optional

Representation of the blocks' energy used.

100

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": {
            "size": 1408113,
            "extraData": "0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0",
            "gasLimit": 12499653,
            "gasUsed": 12488144,
            "hash": "0x6b1fdd6357845016fb238d1bd58992a01b01c94e668f55e9502d65f0a50ac021",
            "height": 234324,
            "minedInSeconds": "7",
            "nonce": 2113101077,
            "previousBlockHash": "0x45ec99037b9098f402ab83fa962ba54c11b6e5e5d3a981961e0784e8edf6f2a0",
            "timestamp": 1681893875,
            "totalDifficulty": 4794080996481072,
            "transactionsCount": 23432,
            "blockchainSpecific": {
                "bandwidthUsed": 83659,
                "burnedTRX": "3415556",
                "energyUsed": "100"
            }
        }
    }
}