Get Block Rewards by BlockNo
Returns the block timestamp, miner and rewards.
https://api.snowscan.xyz/api
?module=block
&action=getblockreward
&blockno=13064381
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":{
"blockNumber":"13064381",
"timeStamp":"1649244492",
"blockMiner":"0x0100000000000000000000000000000000000000",
"blockReward":"0",
"uncles":[
],
"uncleInclusionReward":"0"
}
}
Get Estimated Block Countdown Time by BlockNo
Returns the estimated time remaining, in seconds, until a certain block is mined.
https://api.snowscan.xyz/api
?module=block
&action=getblockcountdown
&blockno= 13074381
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":{
"CurrentBlock":"13064451",
"CountdownBlock":"13074381",
"RemainingBlock":"9930",
"EstimateTimeInSec":"19875.0"
}
}
Get Block Number by Timestamp
Returns the block number that was mined at a certain timestamp.
https://api.snowscan.xyz/api
?module=block
&action=getblocknobytime
×tamp=1649244681
&closest=before
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":"13064475"
}
Returns the daily average block size within a date range.
https://api.snowscan.xyz/api
?module=stats
&action=dailyavgblocksize
&startdate=2023-02-01
&enddate=2023-02-28
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"UTCDate":"2023-02-01",
"unixTimeStamp":"1675209600",
"blockSize_bytes":2801
},
{
"UTCDate":"2023-02-02",
"unixTimeStamp":"1675296000",
"blockSize_bytes":3139
},
{
"UTCDate":"2023-02-27",
"unixTimeStamp":"1677456000",
"blockSize_bytes":2091
},
{
"UTCDate":"2023-02-28",
"unixTimeStamp":"1677542400",
"blockSize_bytes":2030
}
]
}
Returns the number of blocks mined daily and the amount of block rewards.
https://api.snowscan.xyz/api
?module=stats
&action=dailyblkcount
&startdate=2023-4-04
&enddate=2023-4-05
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-04-04",
"unixTimeStamp": "1680566400",
"blockCount": 42718,
"blockRewards_Eth": "0"
},
{
"UTCDate": "2023-04-05",
"unixTimeStamp": "1680652800",
"blockCount": 42827,
"blockRewards_Eth": "0"
}
]
}
Returns the amount of block rewards distributed to miners daily.
https://api.snowscan.xyz/api
?module=stats
&action=dailyblockrewards
&startdate=2023-4-04
&enddate=2023-4-05
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-04-04",
"unixTimeStamp": "1680566400",
"blockRewards_Eth": "0"
},
{
"UTCDate": "2023-04-05",
"unixTimeStamp": "1680652800",
"blockRewards_Eth": "0"
}
]
}
Returns the daily average of time needed for a block to be successfully mined.
https://api.snowscan.xyz/api
?module=stats
&action=dailyavgblocktime
&startdate=2023-4-04
&enddate=2023-4-05
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"UTCDate": "2023-04-04",
"unixTimeStamp": "1680566400",
"blockTime_sec": "2.02"
},
{
"UTCDate": "2023-04-05",
"unixTimeStamp": "1680652800",
"blockTime_sec": "2.02"
}
]
}
Last updated