Blocks

Get Block And Uncle Rewards by BlockNo

Returns the block reward and 'Uncle' block rewards.

https://api-sepolia.lineascan.build/api
   ?module=block
   &action=getblockreward
   &blockno=20000
   &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-sepolia.lineascan.build/api
   ?module=block
   &action=getblockcountdown
   &blockno=1451960
   &apikey=YourApiKeyToken

Query Parameters

Get Block Number by Timestamp

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

https://api-sepolia.lineascan.build/api
   ?module=block
   &action=getblocknobytime
   &timestamp=1712176834
   &closest=before
   &apikey=YourApiKeyToken

Query Parameters

Last updated