Jump to
Ctrl
+
/

List Latest Mined Blocks UTXOs

GET
/blocks/utxo/{blockchain}/{network}/latest/unspent-outputs

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

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

Numeric representation of the Block bits

524517883
chainwork integer Required

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

262
difficulty integer Required

Numeric representation of the block difficulty

1234567890
merkleRoot string Required

String representation of the block merkle root

961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8
size integer Required

Numeric representation of the block size

1681893875
version integer Required

Numeric representation of the block version

4
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
nextBlockHash string Optional

String representation of the next block hash

00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce78f
previousBlockHash string Required

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

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

92
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 : 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": [
            {
                "bits": "524517883",
                "chainwork": 262,
                "difficulty": 1234567890,
                "merkleRoot": "961113ae943a3abf76da307cf881c4c6b6c13efb27fb67f02c9cdb46029848e8",
                "size": 1681893875,
                "version": 4,
                "hash": "3c7b39671b02df07c5c25c2ce135f3a1615acb47d01337211ece8aa5e5926b72",
                "height": 45903259,
                "nextBlockHash": "00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce78f",
                "previousBlockHash": "24057417652cd253e328ffc9a44ed3a8b0708c0c598bab73c5799505a1452e01",
                "strippedSize": 4322,
                "timestamp": 1681893875,
                "transactionsCount": 92,
                "versionHex": "20000010",
                "weight": 17288
            }
        ]
    }
}