> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base.org/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. The response shape is identical to [`eth_getBlockByNumber`](/base-chain/api-reference/ethereum-json-rpc-api/eth_getBlockByNumber) — see that page 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": {
      "baseFeePerGas": "0x4c4b40",
      "blobGasUsed": "0x5384cc",
      "difficulty": "0x0",
      "excessBlobGas": "0x0",
      "extraData": "0x01000000640000000500000000004c4b40",
      "gasLimit": "0x17d78400",
      "gasUsed": "0x2155bc7",
      "hash": "0x491bca01d4bc076d60833dbd973fe031a74e7ae31866bf70d077619e09edb6ff",
      "logsBloom": "0xb765d5b0...",
      "miner": "0x4200000000000000000000000000000000000011",
      "mixHash": "0x47aecef0e1afa26b8e1f428e9a8696cf53d85c62587d8c2cea079c715cd29626",
      "nonce": "0x0000000000000000",
      "number": "0x2c31b0b",
      "parentBeaconBlockRoot": "0x15b9e7c8ac4cbe92dafc849ed30a23e91624bbe5cbe199c0ccea3f7de7fc6d49",
      "parentHash": "0x89f4c9e23a2f706f0afa9ca8f770c4b7dcbcb73ba7e9b1c29c4a8c1b90c31d24",
      "receiptsRoot": "0x5a428d77344334537d7adaf85a45eb6d7977bc807a68c669f36cb043600da6d2",
      "requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
      "size": "0x1bb3b",
      "stateRoot": "0x1b1525af0cdd504147b89f2a7ce1838ccb70c5439c45ce55522c2e2529801e87",
      "timestamp": "0x6a1092f9",
      "transactions": [
        "0x03c8f106f18ad94190e763e21b584c5825b2f4c61f1274c0e8abe65b4476cd51",
        "..."
      ],
      "transactionsRoot": "0x6b9c9fcbdf98a8f4d38a3c16d099e9f0c7b7b474c2f5e044af7c91949c04a234",
      "uncles": [],
      "withdrawals": [],
      "withdrawalsRoot": "0x57f4414a70a4af5e1a97b5fd8b8c6c870c00e8d9dbc0fde0059ce46e2cd28e5b"
    }
  }
  ```
</CodeGroup>
