GET
/
blockscout
/
main-page
/
blocks
get main page blocks
curl --request GET \
  --url https://data-api.b3.fun/blockscout/main-page/blocks
[
  {
    "hash": "0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a",
    "height": 17615720,
    "timestamp": "2023-07-03T20:09:59.000000Z"
  }
]

Query Parameters

chainId
enum<integer>

Chain ID to query. If not specified, queries default chain (B3 Mainnet) first, then falls back to all chains if no results found.

Available options:
8333,
1993,
19934,
10211403,
243,
4224
Example:

8333

fresh
boolean

Bypass cache and fetch fresh data. Rate limited to 20 requests per minute per IP address.

Response

200 - application/json

blocks

The response is of type object[].