> ## Documentation Index
> Fetch the complete documentation index at: https://daehan-base.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getBlockByHash

> Returns block information by block hash.

Returns information about a block by its hash.

## Parameters

<ParamField body="blockHash" type="string" required>
  The 32-byte block hash.
</ParamField>

<ParamField body="fullTransactions" type="boolean" required>
  If `true`, returns full transaction objects. If `false`, returns only transaction hashes.
</ParamField>

## Returns

<ResponseField name="result" type="object | null">
  A block object, or `null` if no block was found. See [`eth_getBlockByNumber`](/base-chain/api-reference/ethereum-json-rpc-api/eth_getBlockByNumber) for the full field list.
</ResponseField>

## Example

<CodeGroup>
  ```json Request theme={null}
  {
    "jsonrpc": "2.0",
    "method": "eth_getBlockByHash",
    "params": ["0x5c330e55a190f82ea486b61e5b12e27dfb4fb3cecfc5746886ef38ca1281bce8", false],
    "id": 1
  }
  ```

  ```json Response theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "number": "0x158a0e9",
      "hash": "0x5c330e55a190f82ea486b61e5b12e27dfb4fb3cecfc5746886ef38ca1281bce8",
      "parentHash": "0x9edc29b8b0a1e31d28616e40c16132ad0d58faa8bb952595b557526bdb9a960a",
      "timestamp": "0x67bf8332",
      "gasLimit": "0x3938700",
      "gasUsed": "0xab3f",
      "transactions": ["0x7ef8f8a0..."]
    }
  }
  ```
</CodeGroup>
