Jump to
Ctrl
+
/

List Latest Mined Blocks XRP

GET
/blocks/xrp/{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 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"

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

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

15975748
previousBlockHash string Required

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

de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a
timestamp integer Required

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

1616430182
totalFees object Required
amount string Required
0.00001
unit string Required

Defines the unit of the amount of all fees.

XRP
transactionsCount integer Required

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

1234
totalCoins object Required
amount string Required

Defines the amount of all coins.

12345
unit string Required

Defines the unit of the amount of all coins.

Drops

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": [
            {
                "hash": "f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050",
                "height": 15975748,
                "previousBlockHash": "de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a",
                "timestamp": 1616430182,
                "totalFees": {
                    "amount": "0.00001",
                    "unit": "XRP"
                },
                "transactionsCount": 1234,
                "totalCoins": {
                    "amount": "12345",
                    "unit": "Drops"
                }
            }
        ]
    }
}