Jump to
Ctrl
+
/

Get Latest Mined XRP (Ripple) Block

GET
/blockchain-data/xrp-specific/{network}/blocks/last

Through this endpoint customers can fetch the last mined XRP block in the blockchain, along with its details. These could include the hash of the specific, the previous and the next block, its transactions count, its height, etc.

Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified.

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 network like "testnet" is a test network.

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.

2023-04-25
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
blockHash 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
blockHeight 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
transactionsCount integer Required

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

1
totalCoins object Required
amount string Required

Defines the amount of all coins.

22.0012
unit string Required

Defines the unit of the amount of all coins.

Drops
totalFees object Required
amount string Required

Defines the amount of all fees.

0.00001
unit string Required

Defines the unit of the amount of all fees.

XRP

Credits Cost : 500 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "blockHash": "f9b304b7933ef298142fdd58ad2dec414a5267dcbbd8a4fe9fc2c0a5f9dde050",
            "blockHeight": 15975748,
            "previousBlockHash": "de9f9e5b68a1322a16f0d1217cf31765e9101764e6e2f3c7aa058b8c641da37a",
            "timestamp": 1616430182,
            "transactionsCount": 1,
            "totalCoins": {
                "amount": "22.0012",
                "unit": "Drops"
            },
            "totalFees": {
                "amount": "0.00001",
                "unit": "XRP"
            }
        }
    }
}