Through this endpoint customers can obtain basic information about a given XRP block (a block on the XRP blockchain), specifically by using the height
parameter. These block details could include the hash of the specific, the previous and the next block, its transactions count, etc.
Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified.
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.
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".
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.
Specifies the version of the API that incorporates this endpoint.
Defines the ID of the request. The requestId
is generated by Crypto APIs and it's unique for every request.
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.
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.
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".
Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string.
Represents the hash of the previous block, also known as the parent block.
Defines the exact date/time when this block was mined in Unix Timestamp.
Represents the total Coins of the block as a string.
Represents the total amount of all Coins of the block as a string.
Represents the unit of total Coins of the block as a string.
Defines the total fees included in the specific block.
Defines the amount of all fees included in the specific block.
Defines the unit of all fees included in the specific block.
Represents the total number of all transactions as part of this block.
API Key
{
"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
}
}
}