Jump to
Ctrl
+
/

Get XRP (Ripple) Block Details By Block Hash

GET
/blockchain-data/xrp-specific/{network}/blocks/hash/{blockHash}

Through this endpoint customers can obtain basic information about a given XRP block (a block on the XRP blockchain), specifically by using the hash parameter. These block details could include the hash of the specific, the previous and the next block, the number of included transactions, 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.

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.

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.

1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9
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".

15886156
nextBlockHash string Required

Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string.

738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a
previousBlockHash string Required

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

dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e
timestamp integer Required

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

1616069434
totalCoins object Required

Defines the total coins.

amount string Required

Defines the amount of the total coins.

22.0012
unit string Required

Defines the unit of the total coins.

Drops
totalFees object Required

Defines the total fees included in the specific block.

amount string Required

Defines the amount of all fees included in the specific block.

0.004487
unit string Required

Defines the unit of all fees included in the specific block.

XRP
transactionsCount integer Required

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

0

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": "1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9",
            "blockHeight": 15886156,
            "nextBlockHash": "738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a",
            "previousBlockHash": "dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e",
            "timestamp": 1616069434,
            "totalCoins": {
                "amount": "22.0012",
                "unit": "Drops"
            },
            "totalFees": {
                "amount": "0.004487",
                "unit": "XRP"
            },
            "transactionsCount": 0
        }
    }
}