Block
?module=block
https://instance_base_url/api?module=block
https://instance_base_url/api?module=block
Get block reward by block number
getblockreward
Returns the block reward and 'uncle' block rewards when applicable.
Example:
Parameter | Description |
---|---|
blockno |
|
Get block number by time stamp
getblocknobytime
Returns the block number created closest to a provided timestamp.
Example:
Parameter | Description |
---|---|
timestamp |
|
closest | closest block to the provided timestamp, either |
Get the latest block number
eth_block_number
Mimics Ethereum JSON RPC's eth_blockNumber.
Example:
Parameter | Description |
---|---|
id | optional nonnegative integer that represents the json rpc request id. |
More on json rpc request id.
Last updated