Get Latest Mined Zilliqa Block
Through this endpoint users can obtain information on the latest block that has been mined on the Zilliqa blockchain. Data could include the current and previous block hashes, transaction count, and more.
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", "ropsten" are test networks.
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 : 0xf679d0b5387f0b0b3c3c1f368305512b23860888ba4415063d464a09b8bb6205 Block 1244297 Block 1244299 -
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 : 1244298 -
Requireddifficulty string
Defines how difficult it is for a specific miner to mine the block.
Example : 41.375 -
RequireddsBlock integer
Represents the Directory Service block which contains metadata about the miners who participate in the consensus protocol.
Example : 12443 -
RequireddsDifficulty string
Defines how difficult it is to mine the dsBlocks.
Example : 48.625 -
RequireddsLeader string
Represents a part of the DS Committee which leads the consensus protocol for the epoch.
Example : zil1k9hne0uu86wuj2n7qdqwhrm9uma0xn7ut42tsj -
RequiredgasLimit integer
Represents the maximum amount of gas allowed in the block in order to determine how many transactions it can fit.
Example : 550000 -
RequiredgasUsed integer
Defines how much of the gas for the block has been used.
Example : 10028 -
RequiredmicroBlocks array
Micro blocks are validated simultaneously with other smaller components called "shards" in order to form the final txBlock.
Example : [0] 5b7c58118c4873f1f83bf0d1f93c58d608f1fb2692efbbe93483d8d03d7d6119 [1] 7504a82d1fcf28b03103b4e23bdf3b5045ac63d8c1b8af4bf533907f3b20ee9c [2] 6ea4f053dc37e0938dc3e729aa2f197dff3c13dcaa9558857a0d90260210950e [3] 31de23ba0a8a57e80a1d3a4a24ab378bd4a814ea0f0354f73ff9a6a46a785297 -
RequiredpreviousBlockHash string
Represents the hash of the previous block, also known as the parent block.
Example : 0xe347b6c09e54a582478f6ccc9f85a386616ad1367e9965e5409fab790e538d16 Block 1244296 Block 1244298 -
Requiredtimestamp integer
Defines the exact date/time when this block was mined in Unix Timestamp.
Example : 1616069434 -
RequiredtransactionsCount integer
Represents the total number of all transactions as part of this block.
Example : 1
-
-