1. Home
  2. Docs
  3. Polygon POS Chain Developer APIs
  4. Blocks API

Blocks API

Blocks API

Get Block And Uncle Rewards by BlockNo

https://api.polygonscan.com/api?module=block&action=getblockreward&blockno=2150000&apikey=YourApiKeyToken

Get Estimated Block Countdown Time by BlockNo

https://api.polygonscan.com/api?module=block&action=getblockcountdown&blockno=99999999&apikey=YourApiKeyToken

Get Block Number by Timestamp

[Parameters] timestamp format: Unix timestamp (supports Unix timestamps in seconds), closest value: ‘before’ or ‘after’

https://api.polygonscan.com/api?module=block&action=getblocknobytime&timestamp=1601510400&closest=before&apikey=YourApiKeyToken

Originally published @ https://polygonscan.com/apis#blocks

Was this article helpful to you? Yes No

How can we help?