Jump to
Ctrl
+
/

Get Last Mined Block UTXOs

GET
/blocks/utxo/{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, 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.

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
bits string Required

Numeric representation of the Block bits

524517883
chainwork string Required

Numeric representation of the expected number of hashes required to produce the chain up to this block

000000000000000000000000000000000000000000000000000000262b072797
difficulty integer Required

String representation of the block difficulty

1234567890
merkleRoot string Required

String representation of the block merkle root

961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8
size integer Required

Represents the total size of the block in Bytes.

1408113
version integer Required

Numeric representation of the block version

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

00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f
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
previousBlockHash string Required

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

00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f
strippedSize integer Required

Defines the numeric representation of the block size excluding the witness data.

4322
timestamp integer Required

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

1681893875
transactionsCount integer Required

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

23432
versionHex string Required

Is the hexadecimal string representation of the block's version.

20000010
weight integer Required

Represents a measurement to compare the size of different transactions to each other in proportion to the block size limit.

17288

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": {
            "bits": "524517883",
            "chainwork": "000000000000000000000000000000000000000000000000000000262b072797",
            "difficulty": 1234567890,
            "merkleRoot": "961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8",
            "size": 1408113,
            "version": 1234567,
            "hash": "00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f",
            "height": 234324,
            "previousBlockHash": "00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f",
            "strippedSize": 4322,
            "timestamp": 1681893875,
            "transactionsCount": 23432,
            "versionHex": "20000010",
            "weight": 17288
        }
    }
}