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.
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.
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 previous block, also known as the parent block.
Defines the exact date/time when this block was mined in Unix Timestamp.
Represents the total number of all transactions as part of this block.
Defines the amount of all coins.
Defines the unit of the amount of all coins.
Defines the amount of all fees.
Defines the unit of the amount of all fees.
API Key
{
"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"
}
}
}
}