?module=block
https://quaiscan.io/api?module=blockgetblockreward
Returns the block reward and 'uncle' block rewards when applicable.
Example:
getblockcountdown
Returns the estimated time remaining, in seconds, until a certain block is included in blockchain.
Example:
getblocknobytime
Returns the block number created closest to a provided timestamp.
Example:
Note: .
quai_block_number
Mimics Quai Network JSON RPC's quai_blockNumber.
Example:
More on .
blockno
integer block number to check block rewards for eg. 2165403
blockno
integer block number to check block rewards for eg. 2165403
timestamp
integer representing the Unix timestamp in seconds.
closest
closest block to the provided timestamp, either before or after.
id
optional nonnegative integer that represents the json rpc request id.
{
"message": "OK",
"result": {
"blockMiner": "0x00a3e45aa16163f2663015b6695894d918866d19",
"blockNumber": "2165403",
"blockReward": "5314181600000000000",
"timeStamp": "1472533979",
"uncleInclusionReward": null,
"uncles": null
},
"status": "1"
}https://quaiscan.io/api
?module=block
&action=getblockreward
&blockno={blockNumber}https://quaiscan.io/api
?module=block
&action=getblockcountdown
&blockno={blockNumber}{
"message": "OK",
"result": {
"CurrentBlock": "115334213",
"CountdownBlock": "116015880",
"RemainingBlock": "681667",
"EstimateTimeInSec": "1363349.0"
},
"status": "1"
}https://quaiscan.io/api
?module=block
&action=getblocknobytime
×tamp={blockTimestamp}
&closest={before/after}{
"message": "OK",
"result": {
"blockNumber": "2165403"
},
"status": "1"
}https://quaiscan.io/api
?module=block
&action=quai_block_number{
"jsonrpc": "2.0",
"result": "0x103538a",
"id": 1
}