Blocks
Get Block Rewards by BlockNo
Returns the block reward awarded for validating a certain block.
https://api.ibvmscan.io/api
?module=block
&action=getblockreward
&blockno=2170000
&apikey=YourApiKeyTokenTry this endpoint in your browser 🔗
Query Parameters
Parameter
Description
blockno
the integer block number to check block rewards for eg. 12697906
Sample response
{
"status":"1",
"message":"OK",
"result":{
"blockNumber":"2170000",
"timeStamp":"1605182836",
"blockMiner":"0x68bf0b8b6fb4e317a0f9d6f03eaf8ce6675bc60d",
"blockReward":"13657915000000000",
"uncles":[
],
"uncleInclusionReward":"0"
}
}Get Estimated Block Countdown Time by BlockNo
Returns the estimated time remaining, in seconds, until a certain block is validated.
https://api.ibvmscan.io/api
?module=block
&action=getblockcountdown
&blockno=11926850
&apikey=YourApiKeyTokenTry this endpoint in your browser 🔗
Query Parameters
Parameter
Description
blockno
the integer block number to estimate time remaining to be validated eg. 12697906
Sample response
{
"status":"1",
"message":"OK",
"result":{
"CurrentBlock":"10526852",
"CountdownBlock":"10926850",
"RemainingBlock":"399998",
"EstimateTimeInSec":"1240008.8"
}
}Get Block Number by Timestamp
Returns the block number that was validated at a certain timestamp.
https://api.ibvmscan.io/api
?module=block
&action=getblocknobytime
×tamp=1601510400
&closest=before
&apikey=YourApiKeyTokenTry this endpoint in your browser 🔗
Query Parameters
Parameter
Description
timestamp
the integer representing the Unix timestamp in seconds.
closest
the closest available block to the provided timestamp, either before or after
Sample response
{
"status":"1",
"message":"OK",
"result":"946206"
}Last updated