Blocks

Get Block Rewards by BlockNo

Returns the block rewards.

https://api-opbnb.bscscan.com/api
   ?module=block
   &action=getblockreward
   &blockno=2165403
   &apikey=YourApiKeyToken

Query Parameters

Get Estimated Block Countdown Time by BlockNo

Returns the estimated time remaining, in seconds, until a certain block is mined.

https://api-opbnb.bscscan.com/api
   ?module=block
   &action=getblockcountdown
   &blockno=9201588
   &apikey=YourApiKeyToken

Query Parameters

Get Block Number by Timestamp

Returns the block number that was mined at a certain timestamp.

https://api-opbnb.bscscan.com/api
   ?module=block
   &action=getblocknobytime
   &timestamp=1700530846
   &closest=before
   &apikey=YourApiKeyToken

Query Parameters

Last updated