Get XRP (Ripple) Block Details By Block Height
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.
Path Parameters
-
Requirednetwork string
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", are test networks.
-
RequiredblockHeight string
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".
Query parameters
-
Optionalcontext string
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
Content-Type: application/json
The request has been successful.
Object :
-
RequiredapiVersion string
Specifies the version of the API that incorporates this endpoint.
Example : 2021-03-20 -
RequiredrequestId string
Defines the ID of the request. The
requestId
is generated by Crypto APIs and it's unique for every request.Example : 601c1710034ed6d407996b30 -
Optionalcontext string
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.Example : yourExampleString -
Requireddata object
-
Requireditem object
-
RequiredblockHash string
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.
Example : 1ab0614d2a438da8b23086cbceef7d443edbd295d9c7619fc8a19c7618bc22c9 -
RequiredblockHeight integer
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".
Example : 15886156 -
RequirednextBlockHash string
Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string.
Example : 738cf04b9e32826395a8445aa44ec6bbb83f2cc296d94201625f3a3d6ff85a5a -
RequiredpreviousBlockHash string
Represents the hash of the previous block, also known as the parent block.
Example : dcf6ade36e1d5f30b3e52605692ff47123f290f4c8915cbf5a6b7c3541f2354e -
Requiredtimestamp integer
Defines the exact date/time when this block was mined in Unix Timestamp.
Example : 1616069434 -
RequiredtotalCoins object
Represents the total Coins of the block as a string.
-
Requiredamount string
Represents the total amount of all Coins of the block as a string.
Example : 22.0012 -
Requiredunit string
Represents the unit of total Coins of the block as a string.
Example : Drops
-
-
RequiredtotalFees object
Defines the total fees included in the specific block.
-
Requiredamount string
Defines the amount of all fees included in the specific block.
Example : 0.004487 -
Requiredunit string
Defines the unit of all fees included in the specific block.
Example : XRP
-
-
RequiredtransactionsCount integer
Represents the total number of all transactions as part of this block.
Example : 0
-
-