blocks

Get block by hash or number

Returns the block information by given hash or number.

get/api/v1/blocks/{hashOrNumber}

Path parameters

hashOrNumberstring required

Accepts both eth and hedera hash format or block number

Response

OK

Block required— unresolved $ref

Changes

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

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

      response-property-became-nullable

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

      response-property-became-nullable

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

      response-property-became-nullable

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

      response-property-became-nullable

    • the response property gas_used became nullable for the status 200

      response-property-became-nullable

    • the response property hapi_version became nullable for the status 200

      response-property-became-nullable

    • the response property logs_bloom became nullable for the status 200

      response-property-became-nullable

    • the response property size became nullable for the status 200

      response-property-became-nullable

    • the response property timestamp/to/allOf[TimestampNullable]/ 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