Jump to
Ctrl
+
/

List Latest Mined Blocks EVM

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

Through this endpoint customers can list up to 50 from the latest blocks that were mined.

Path Parameters

network string Required

Represents the name of the blockchain network used

blockchain string Required

Represents the specific blockchain protocol name

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.

count integer Optional

Specifies how many records were requested.

Default : 10

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

Defines how many items should be returned in the response per page basis.

50
offset integer Required

The starting index of the response items, i.e. where the response should start listing the returned items.

0
total integer Required

Defines the total number of items returned in the response.

100
items array Items (object) Required
size integer Required

Numeric representation of the block size

123
extraData string Required

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

0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01
gasLimit integer Required

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

30000000
gasUsed integer Required

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

686304
hash string Required

Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

3c7b39671b02df07c5c25c2ce135f3a1615acb47d01337211ece8aa5e5926b72
height integer Required

Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.

45903259
minedInSeconds integer Required

Specifies the amount of time required for the block to be mined in second

3
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.

24057417652cd253e328ffc9a44ed3a8b0708c0c598bab73c5799505a1452e01
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

2437536
transactionsCount integer Required

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

92
blockchainSpecific object Optional
bandwidthUsed integer Required

Representation of the blocks' bandwidth limit.

83659
burnedTRX integer Required

Representation of the blocks' burned TRX.

3415556
energyUsed integer Required

Representation of the blocks' energy used.

1869991

Credits Cost : 1000 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-12-12",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "size": 123,
                "extraData": "0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01",
                "gasLimit": 30000000,
                "gasUsed": 686304,
                "hash": "3c7b39671b02df07c5c25c2ce135f3a1615acb47d01337211ece8aa5e5926b72",
                "height": 45903259,
                "minedInSeconds": 3,
                "nonce": 2113101077,
                "previousBlockHash": "24057417652cd253e328ffc9a44ed3a8b0708c0c598bab73c5799505a1452e01",
                "timestamp": 1681893875,
                "totalDifficulty": 2437536,
                "transactionsCount": 92,
                "blockchainSpecific": {
                    "bandwidthUsed": 83659,
                    "burnedTRX": 3415556,
                    "energyUsed": 1869991
                }
            }
        ]
    }
}