blocks

List blocks

Returns a list of blocks on the network.

get/api/v1/blocks

Query parameters

block.numberstring

The block's number

limitinteger

The maximum number of items to return

order'asc' | 'desc'

The order in which items are listed

timestampstring[]

The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.

Response

OK

blocksBlock[] — unresolved $ref

Changes

Changed in 1 of the 53 revisions of this API.8

    • the response property _status/messages/items/data became nullable for the status 400

      response-property-became-nullable

    • the response property _status/messages/items/detail became nullable for the status 400

      response-property-became-nullable

    • the response property blocks/items/gas_used became nullable for the status 200

      response-property-became-nullable

    • the response property blocks/items/hapi_version became nullable for the status 200

      response-property-became-nullable

    • the response property blocks/items/logs_bloom became nullable for the status 200

      response-property-became-nullable

    • the response property blocks/items/size became nullable for the status 200

      response-property-became-nullable

    • the response property blocks/items/timestamp/to/allOf[TimestampNullable]/ became nullable for the status 200

      response-property-became-nullable

    • the response property links/next became nullable for the status 200

      response-property-became-nullable

    This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog