> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getBlockByHash | Base

Base API method that retrieves a block's information by its hash. The block hash is a unique identifier for each block in the blockchain, represented as a hexadecimal number.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `hash` — the hash of the block to retrieve, as a hexadecimal string.
* `fullTransactionObjects` — a boolean indicating whether to return full transaction objects or only their hashes. If `true`, full transaction objects are returned; if `false`, only the hashes of the transactions are returned.

## Response

* `result` — an object containing the block's information, including the block number, timestamp, transactions, and more. If `fullTransactionObjects` is `true`, this will include detailed information about each transaction in the block.

## Use case

The `eth_getBlockByHash` method is useful for applications that need to retrieve specific blocks from the blockchain, such as block explorers, wallets, or applications that process or display block information. For example, a block explorer might use this method to display detailed information about a block and its transactions to users.


## OpenAPI

````yaml /openapi/base_node_api/eth_getBlockByHash.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: eth_getBlockByHash example
  version: 1.0.0
  description: This is an API example for eth_getBlockByHash.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_getBlockByHash
      operationId: getBlockByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getBlockByHash
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  items:
                    anyOf:
                      - type: string
                        default: >-
                          0x07fcc7d5f86839e12afa756e979de05812b5341f936b850c9409aa0938819b30
                      - type: boolean
                        default: true
                  default:
                    - >-
                      0x07fcc7d5f86839e12afa756e979de05812b5341f936b850c9409aa0938819b30
                    - true
      responses:
        '200':
          description: The block information by hash
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````